Pekkari / foxiverlay

1 stars 0 forks source link

Can't merge ethminer 0.13 #1

Open RayOfLight1 opened 4 years ago

RayOfLight1 commented 4 years ago

Can't merge ethminer, this is the output:

`sudo emerge -1 -j1 ethminer

These are the packages that would be merged, in reverse order:

Calculating dependencies... done! [ebuild R ~] net-p2p/ethminer-0.13.0::foxiverlay USE="opencl stratum -cuda" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

Verifying ebuild manifests

Emerging (1 of 1) net-p2p/ethminer-0.13.0::foxiverlay

  • ethminer-0.13.0.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ]
  • If you have problems with finding the OpenCL library
  • please ensure that you select opencl library from
  • eselect opencl list
  • Unpacking source... Unpacking ethminer-0.13.0.tar.gz to /var/tmp/portage/net-p2p/ethminer-0.13.0/work Source unpacked in /var/tmp/portage/net-p2p/ethminer-0.13.0/work Preparing source in /var/tmp/portage/net-p2p/ethminer-0.13.0/work/ethminer-0.13.0 ...

  • Hardcoded definition(s) removed in CMakeLists.txt:
  • set(CMAKE_BUILD_TYPE Release CACHE STRING "Build type on single-configuration
  • Applying libdl.so.2.DSO.missing.patch ... [ ok ] Source prepared. Configuring source in /var/tmp/portage/net-p2p/ethminer-0.13.0/work/ethminer-0.13.0 ... Working in BUILD_DIR: "/var/tmp/portage/net-p2p/ethminer-0.13.0/work/ethminer-0.13.0_build" cmake -C /var/tmp/portage/net-p2p/ethminer-0.13.0/work/ethminer-0.13.0_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DETHASHCL=yes -DETHASHCUDA=no -DETHSTRATUM=yes -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/net-p2p/ethminer-0.13.0/work/ethminer-0.13.0_build/gentoo_toolchain.cmake /var/tmp/portage/net-p2p/ethminer-0.13.0/work/ethminer-0. 13.0 loading initial cache file /var/tmp/portage/net-p2p/ethminer-0.13.0/work/ethminer-0.13.0_build/gentoo_common_config.cmake -- The C compiler identification is GNU 9.3.0 -- The CXX compiler identification is GNU 9.3.0 -- Check for working C compiler: /usr/lib/distcc/bin/x86_64-pc-linux-gnu-gcc -- Check for working C compiler: /usr/lib/distcc/bin/x86_64-pc-linux-gnu-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/lib/distcc/bin/x86_64-pc-linux-gnu-g++ -- Check for working CXX compiler: /usr/lib/distcc/bin/x86_64-pc-linux-gnu-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Boost: /usr/include (found version "1.72.0") found components: system CMake Error at CMakeLists.txt:124 (find_package): By not providing "Findjsoncpp.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "jsoncpp", but CMake did not find one.

Could not find a package configuration file provided by "jsoncpp" with any of the following names:

jsoncppConfig.cmake
jsoncpp-config.cmake

Add the installation prefix of "jsoncpp" to CMAKE_PREFIX_PATH or set "jsoncpp_DIR" to a directory containing one of the above files. If "jsoncpp" provides a separate development package or SDK, be sure it has been installed.

-- Configuring incomplete, errors occurred! See also "/var/tmp/portage/net-p2p/ethminer-0.13.0/work/ethminer-0.13.0_build/CMakeFiles/CMakeOutput.log".

Failed to emerge net-p2p/ethminer-0.13.0, Log file:

'/var/tmp/portage/net-p2p/ethminer-0.13.0/temp/build.log'

Do you have a patch file to add to this overlay, or any information? or is desktop ethminer dead by now?

Regards,

RayOfLight1 commented 4 years ago

downgraded cmake version from 3.16.5 to 3.14.6 which allowed me to downgrade jsoncpp to v.1.9.1 from v.1.9.3 and merged without trouble... damn...

Pekkari commented 4 years ago

Thanks for the report, though I'm terribly surprised, does this version of ethminer even works with current ethereum network nowadays?

This was the last version before ethminer introduced hunter as a "package manager" which effectively doesn't let you build from your system libraries but using downloaded binaries instead, so any effort in creating an ebuild for a new version was a waste of time.

RayOfLight1 commented 4 years ago

Sorry for the delay, I might have missed the notification; I don't use ethminer to answer your question, in fact I was just going to unmerge it and I noticed that 0.13 is from 23 Jan 2018 and they went up to 0.19. (I used it to warm my bedroom on some of the coldest winter days)

Anyways, I was not up to date to the ethminer situation and I'm sad to hear that it requires binaries now, I'm quitting this, I'm out of this game.

Thank you for your answer.

PD: I'm never for deleting ebuilds, but this might be a situation which may be convenient.

RayOfLight1 commented 4 years ago

I just ran an old command i had in bash history and I got this:

  ℹ  14:43:52|ethminer  Connecting to stratum server eu1.ethermine.org:4444
Could not resolve host eu1.ethermine.org:4444, Operation canceled  ℹ  14:43:52|ethminer  Reconnecting in 3 seconds...
  ℹ  14:43:55|ethminer  Connecting to stratum server eu1.ethermine.org:4444
  ℹ  14:43:55|stratum   Connected to stratum server eu1.ethermine.org : 4444
  ℹ  14:43:55|stratum   Starting farm
 cl  14:43:55|cl-0      No work. Pause for 3 s.
  ℹ  14:43:55|stratum   Subscribed to stratum server
  ℹ  14:43:55|stratum   Authorized worker 0xREDACTED.DESKTOP_PC
  ℹ  14:43:55|stratum   Received new job #REDACTED  seed: #REDACTED  target: #REDACTED
  m  14:43:56|ethminer  Speed   0.00 Mh/s    gpu/0  0.00  [A0+0:R0+0:F0] Time: 00:00
  ℹ  14:43:58|stratum   Received new job #REDACTED  seed: #REDACTED  target: #REDACTED
  m  14:43:58|ethminer  Speed   0.00 Mh/s    gpu/0  0.00  [A0+0:R0+0:F0] Time: 00:00
 cl  14:43:58|cl-0      New work: header #REDACTED… target REDACTED
 cl  14:43:58|cl-0      New seed #cfa49831…
  ℹ  14:44:00|stratum   Received new job #REDACTED  seed: #REDACTED  target: #REDACTED
  ℹ  14:44:00|stratum   Received new job #REDACTED  seed: #REDACTED  target: #REDACTED
  m  14:44:00|ethminer  Speed   0.00 Mh/s    gpu/0  0.00  [A0+0:R0+0:F0] Time: 00:00
  m  14:44:02|ethminer  Speed   0.00 Mh/s    gpu/0  0.00  [A0+0:R0+0:F0] Time: 00:00
 cl  14:44:02|cl-0      Platform: Clover
 cl  14:44:02|cl-0      Device:   AMD Radeon HD 7800 Series (PITCAIRN, DRM 3.36.0, 5.5.8-gentoo, LLVM 10.0.0)  / OpenCL 1.1 Mesa 20.1.0-rc3
 cl  14:44:02|cl-0      OpenCL 1.1  not supported, but platform Clover might work nevertheless. USE AT OWN RISK!
 cl  14:44:02|cl-0      OpenCL kernel: Stable kernel
  ℹ  14:44:04|stratum   Received new job #REDACTED  seed: #REDACTED  target: #REDACTED
  m  14:44:04|ethminer  Speed   0.00 Mh/s    gpu/0  0.00  [A0+0:R0+0:F0] Time: 00:00
 cl  14:44:04|cl-0      Build info:
  ℹ  14:44:04|cl-0      OpenCL device AMD Radeon HD 7800 Series (PITCAIRN, DRM 3.36.0, 5.5.8-gentoo, LLVM 10.0.0)  has insufficient GPU memory. 3221225472  bytes of memory found < 3900702592  bytes of memory required
  ✘  14:44:04|cl-0      OpenCL Error: clEnqueueWriteBuffer: CL_INVALID_MEM_OBJECT (-38)
  m  14:44:06|ethminer  Speed   0.00 Mh/s    gpu/0  0.00  [A0+0:R0+0:F0] Time: 00:00
  ℹ  14:44:07|stratum   Received new job #REDACTED  seed: #REDACTED  target: #REDACTED
  ℹ  14:44:07|stratum   Received new job #REDACTED  seed: #REDACTED  target: #REDACTED
  m  14:44:08|ethminer  Speed   0.00 Mh/s    gpu/0  0.00  [A0+0:R0+0:F0] Time: 00:00

So I guess it works, but I needed 3.63GB of VRAM :(

ghost commented 4 years ago

Indeed, as long as the difficulty to mine in the net increases you need more memory for these things, also, using opencl 2 would be another thing to try if you were about to try rocm opencl.

About unmerging, it's natural to do so, this may have dependencies in packages that are no longer in the main tree, so if you don't unmerge it, your system would become difficult to maintain. Good to see though that it warmed up some cold winter nights for you :)