#987939 cgminer: fails to build from the source

Package:
src:cgminer
Source:
cgminer
Submitter:
Andrej Shadura
Date:
2023-04-05 15:39:26 UTC
Severity:
serious
Tags:
#987939#5
Date:
2021-05-02 10:40:07 UTC
From:
To:
Dear Maintainer,

While rebuilding your package from the source, I received this error:

    gcc  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -lpthread
    -specs=/usr/share/dpkg/no-pie-link.specs -Wl,-z,relro -Wl,-z,now -o cgminer cgminer-cgminer.o cgminer-util.o cgminer-sha2.o cgminer-api.o cgminer-logging.o cgmin
    er-klist.o cgminer-noncedup.o  cgminer-usbutils.o cgminer-libbitfury.o cgminer-mcp2210.o cgminer-crc16.o cgminer-driver-avalon.o  cgminer-driver-bflsc.o  cgminer
    -driver-hashfast.o cgminer-driver-hashratio.o cgminer-driver-bitfury.o  cgminer-driver-drillbit.o cgminer-driver-icarus.o cgminer-driver-klondike.o cgminer-drive
    r-cointerra.o    cgminer-driver-avalon2.o cgminer-driver-avalon4.o       -ldl -lcurl  -ljansson -lpthread -lusb-1.0   -lrt -lsystemd -lm lib/libgnu.a ccan/libcca
    n.a  -lncurses -lpthread
    /usr/bin/ld: cgminer-util.o:./miner.h:273: multiple definition of `sp30_drv'; cgminer-cgminer.o:././miner.h:273: first defined here
    /usr/bin/ld: cgminer-util.o:./miner.h:273: multiple definition of `sp10_drv'; cgminer-cgminer.o:././miner.h:273: first defined here
    /usr/bin/ld: cgminer-util.o:./miner.h:273: multiple definition of `minion_drv'; cgminer-cgminer.o:././miner.h:273: first defined here
    /usr/bin/ld: cgminer-util.o:./miner.h:273: multiple definition of `bab_drv'; cgminer-cgminer.o:././miner.h:273: first defined here
    /usr/bin/ld: cgminer-util.o:./miner.h:273: multiple definition of `drillbit_drv'; cgminer-cgminer.o:././miner.h:273: first defined here
    /usr/bin/ld: cgminer-util.o:./miner.h:273: multiple definition of `bitmineA1_drv'; cgminer-cgminer.o:././miner.h:273: first defined here
    /usr/bin/ld: cgminer-util.o:./miner.h:273: multiple definition of `knc_drv'; cgminer-cgminer.o:././miner.h:273: first defined here
    /usr/bin/ld: cgminer-util.o:./miner.h:273: multiple definition of `klondike_drv'; cgminer-cgminer.o:././miner.h:273: first defined here
    /usr/bin/ld: cgminer-util.o:./miner.h:273: multiple definition of `icarus_drv'; cgminer-cgminer.o:././miner.h:273: first defined here
    …

Most likely this failure is related to the new defaults GCC 10 comes
with.
The complete build log is attached to the bug report.

#987939#10
Date:
2023-04-05 15:36:41 UTC
From:
To:
Dear submitter,

as the package cgminer has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1033881

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)