Package Details: sgminer 5.6.1-1

Git Clone URL: (read-only, click to copy)
Package Base: sgminer
Description: A multi-threaded multi-pool GPU miner for scrypt-based coins.
Upstream URL:
Keywords: crypto miner multipool
Licenses: GPL3
Conflicts: sgminer-gm
Provides: sgminer
Submitter: blackleg
Maintainer: None
Last Packager: TheGoliath
Votes: 1
Popularity: 0.000000
First Submitted: 2015-09-05 00:12 (UTC)
Last Updated: 2018-02-06 17:52 (UTC)

Latest Comments

1 2 Next › Last »

ILMostro7 commented on 2018-10-19 03:02 (UTC)

This fails if "jansson" is already installed on the system. The configure script doesn't appear to have an option to work around this easily. The PKGBUILD does not take this into account either.

error: failed to commit transaction (conflicting files)
sgminer: /usr/include/jansson.h exists in filesystem (owned by jansson)
sgminer: /usr/include/jansson_config.h exists in filesystem (owned by jansson)
sgminer: /usr/lib/ exists in filesystem (owned by jansson)
sgminer: /usr/lib/ exists in filesystem (owned by jansson)
sgminer: /usr/lib/pkgconfig/jansson.pc exists in filesystem (owned by jansson)
Errors occurred, no packages were upgraded.
==> WARNING: Failed to install built package(s).

wincraft71 commented on 2018-02-06 03:43 (UTC)

Assuming you have the necessary packages (wget, unzip, opencl-headers, opencl-catalyst, ocl-icd, base-devel, headers package for your kernel), what worked for me was getting the files directly:

  1. Download the latest .bz2 for either "32-bit Linux or 64-bit Linux" from

  2. Move it to your desired directory for unpacking.

  3. tar xvjf the .bz2 file and run the installer .sh as root.

  4. reboot your system.

  5. Download the latest .zip from

  6. Move it to your desired directory and unzip it. We will refer to the folder as 'folder/ADL_SDK'.

  7. cd into your desired directory first.

  8. git clone

  9. Edit replace all files in the 'sgminer/algorithm' folder: "sed -i 's/^inline //g' sgminer/algorithm/*"

  10. cp the files from your 'folder/ADL_SDK/include' folder into 'sigminer/ADL_SDK'

  11. cd into the 'sigminer' folder.

  12. git submodule init

  13. git submodule update

  14. autoreconf -i

  15. CFLAGS="-O2 -Wall -march=native -std=gnu99" ./configure

  16. make && make install

sum01 commented on 2018-02-05 23:09 (UTC) (edited on 2018-02-05 23:28 (UTC) by sum01)

Consider changing to nicehash's sgminer?

sgminer-dev hasn't had a release since 2015, but nicehash still patches theirs.

Also, I think opencl-mesa as an optdepend instead of catalyst would be good, unless it doesn't work?

jDally987 commented on 2017-10-29 03:26 (UTC)

I used noraj's suggestion of changing url= to the sgminer-dev github; and also changed libcl in the PKGBUILD to ocl-icd. Get this error trying to build: make all-recursive make[1]: Entering directory '/home/john/Downloads/sgminer/sgminer/src/sgminer-5.1.1' Making all in lib make[2]: Entering directory '/home/john/Downloads/sgminer/sgminer/src/sgminer-5.1.1/lib' GEN arg-nonnull.h GEN c++defs.h GEN warn-on-use.h GEN signal.h GEN string.h make all-recursive make[3]: Entering directory '/home/john/Downloads/sgminer/sgminer/src/sgminer-5.1.1/lib' make[4]: Entering directory '/home/john/Downloads/sgminer/sgminer/src/sgminer-5.1.1/lib' CC dummy.o AR libgnu.a ar: `u' modifier ignored since `D' is the default (see `U') make[4]: Leaving directory '/home/john/Downloads/sgminer/sgminer/src/sgminer-5.1.1/lib' make[3]: Leaving directory '/home/john/Downloads/sgminer/sgminer/src/sgminer-5.1.1/lib' make[2]: Leaving directory '/home/john/Downloads/sgminer/sgminer/src/sgminer-5.1.1/lib' Making all in submodules make[2]: Entering directory '/home/john/Downloads/sgminer/sgminer/src/sgminer-5.1.1/submodules' Making all in jansson make[3]: Entering directory '/home/john/Downloads/sgminer/sgminer/src/sgminer-5.1.1/submodules/jansson' make[3]: *** No rule to make target 'all'. Stop. make[3]: Leaving directory '/home/john/Downloads/sgminer/sgminer/src/sgminer-5.1.1/submodules/jansson' make[2]: *** [Makefile:512: all-recursive] Error 1 make[2]: Leaving directory '/home/john/Downloads/sgminer/sgminer/src/sgminer-5.1.1/submodules' make[1]: *** [Makefile:1402: all-recursive] Error 1 make[1]: Leaving directory '/home/john/Downloads/sgminer/sgminer/src/sgminer-5.1.1' make: *** [Makefile:629: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...

noraj commented on 2017-07-11 10:08 (UTC)

When wanting to keep ocl-icd (libcl) build fails: ==> Install or build missing dependencies for sgminer: resolving dependencies... looking for conflicting packages... :: opencl-catalyst and ocl-icd are in conflict (libcl). Remove ocl-icd? [y/N] N error: unresolvable package conflicts detected error: failed to prepare transaction (conflicting dependencies) :: opencl-catalyst and ocl-icd are in conflict

noraj commented on 2017-07-11 10:02 (UTC)

In PKGBUILD, change url="" to url=""

commented on 2017-06-13 19:11 (UTC)

Muelso reporting a known issue is not "out of date" there is no newer version of this package. Use the features of the AUR appropriately.

commented on 2017-04-25 10:40 (UTC)

This is the new lib i'll replace libcl with "ocl-icd"

commented on 2017-04-25 07:00 (UTC)

EDIT: Not renamed, totally new package but provides the same dependency