x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I. -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-z,now -Wl,-z,relro -O2 -pipe -march=native -fno-common -c hmacmd5.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DHAVE_ZLIB -DHAVE_MATH_H -I/usr/include/mysql -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include/subversion-1 -I/usr/include/apr-1 -I/usr/include/subversion-1 x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I. -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-z,now -Wl,-z,relro -O2 -pipe -march=native -fno-common -c hydra-mod.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DHAVE_ZLIB -DHAVE_MATH_H -I/usr/include/mysql -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include/subversion-1 -I/usr/include/apr-1 -I/usr/include/subversion-1 x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I. -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-z,now -Wl,-z,relro -O2 -pipe -march=native -fno-common -c hydra-time.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DHAVE_ZLIB -DHAVE_MATH_H -I/usr/include/mysql -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include/subversion-1 -I/usr/include/apr-1 -I/usr/include/subversion-1 x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I. -Wl,-O1 -Wl,--as-needed -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-z,now -Wl,-z,relro -lm -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -o hydra hydra.c hydra-vnc.o hydra-pcnfs.o hydra-rexec.o hydra-nntp.o hydra-socks5.o hydra-telnet.o hydra-cisco.o hydra-http.o hydra-ftp.o hydra-imap.o hydra-pop3.o hydra-smb.o hydra-icq.o hydra-cisco-enable.o hydra-ldap.o hydra-memcached.o hydra-mongodb.o hydra-mysql.o hydra-mssql.o hydra-xmpp.o hydra-http-proxy-urlenum.o hydra-snmp.o hydra-cvs.o hydra-smtp.o hydra-smtp-enum.o hydra-sapr3.o hydra-ssh.o hydra-sshkey.o hydra-teamspeak.o hydra-postgres.o hydra-rsh.o hydra-rlogin.o hydra-oracle-listener.o hydra-svn.o hydra-pcanywhere.o hydra-sip.o hydra-oracle-sid.o hydra-oracle.o hydra-vmauthd.o hydra-asterisk.o hydra-firebird.o hydra-afp.o hydra-ncp.o hydra-http-proxy.o hydra-http-form.o hydra-irc.o hydra-redis.o hydra-rdp.o hydra-s7-300.c hydra-adam6500.o hydra-rtsp.o hydra-rpcap.o hydra-radmin2.o crc32.o d3des.o bfg.o ntlm.o sasl.o hmacmd5.o hydra-mod.o hydra-time.o -lm -lz -lncurses -ltinfo -lssl -lpcre -lcrypto -I/usr/include/mysql -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include/subversion-1 -I/usr/include/apr-1 -I/usr/include/subversion-1 -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DHAVE_ZLIB -DHAVE_MATH_H /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hydra-pcnfs.o:(.bss+0x0): multiple definition of `buf'; hydra-vnc.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hydra-pcnfs.o:(.bss+0x8): multiple definition of `cmdlinetarget'; hydra-vnc.o:(.bss+0x10): first defined here ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no-multilib-20200124-204141 ------------------------------------------------------------------- Please see the tracker bug for details. gcc-config -l: [1] x86_64-pc-linux-gnu-9.2.0 * llvm: 9.0.1 Available Python interpreters, in order of preference: [1] python3.7 [2] python3.6 [3] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-1.40.0 * repository: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Sun, 26 Jan 2020 08:26:14 +0000 emerge -qpvO net-analyzer/hydra [ebuild N ] net-analyzer/hydra-9.0 USE="ncurses pcre zlib -debug -firebird -gcrypt -gtk -idn -libressl -libssh -memcached -mongodb -mysql -ncp -oracle -postgres -rdp -subversion"
Created attachment 604578 [details] emerge-info.txt
Created attachment 604580 [details] emerge-history.txt
Created attachment 604582 [details] environment
Created attachment 604584 [details] etc.portage.tbz2
Created attachment 604586 [details] net-analyzer:hydra-9.0:20200126-100038.log
Created attachment 604588 [details] temp.tbz2
I have a 36kB patchset ready but I think it's best to pass it on upstream first.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95c1ff070c3d3a67d6e14734cf7f4f28b641b382 commit 95c1ff070c3d3a67d6e14734cf7f4f28b641b382 Author: Jeroen Roovers <jer@gentoo.org> AuthorDate: 2020-01-26 16:42:16 +0000 Commit: Jeroen Roovers <jer@gentoo.org> CommitDate: 2020-01-26 16:43:48 +0000 net-analyzer/hydra: Fix -fno-common issues Package-Manager: Portage-2.3.85, Repoman-2.3.20 Bug: https://bugs.gentoo.org/706416 Signed-off-by: Jeroen Roovers <jer@gentoo.org> .../hydra/files/hydra-9.0-fcommon-gtk.patch | 79 ++++ .../hydra/files/hydra-9.0-fcommon-http.patch | 27 ++ .../hydra/files/hydra-9.0-fcommon-mod.patch | 63 +++ .../hydra/files/hydra-9.0-fcommon-mods.patch | 496 +++++++++++++++++++++ .../hydra/files/hydra-9.0-unneeded-buf.patch | 60 +++ net-analyzer/hydra/files/hydra-9.0-vnc.patch | 11 + .../hydra/files/hydra-9999999-fcommon-http.patch | 27 ++ net-analyzer/hydra/hydra-9.0-r1.ebuild | 131 ++++++ net-analyzer/hydra/hydra-9999999.ebuild | 30 +- 9 files changed, 913 insertions(+), 11 deletions(-)
Upstream disagrees with the -fno-common patches.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e301de130b75dc4ee76ca2e344de67e6965b90b commit 8e301de130b75dc4ee76ca2e344de67e6965b90b Author: Jeroen Roovers <jer@gentoo.org> AuthorDate: 2020-01-28 08:48:45 +0000 Commit: Jeroen Roovers <jer@gentoo.org> CommitDate: 2020-01-28 08:49:23 +0000 net-analyzer/hydra: Set CFLAGS=-fcommon Package-Manager: Portage-2.3.85, Repoman-2.3.20 Closes: https://bugs.gentoo.org/show_bug.cgi?id=706416 Signed-off-by: Jeroen Roovers <jer@gentoo.org> .../hydra/files/hydra-9.0-fcommon-gtk.patch | 79 ---- .../hydra/files/hydra-9.0-fcommon-http.patch | 27 -- .../hydra/files/hydra-9.0-fcommon-mod.patch | 63 --- .../hydra/files/hydra-9.0-fcommon-mods.patch | 496 --------------------- .../hydra/files/hydra-9999999-fcommon-http.patch | 27 -- net-analyzer/hydra/hydra-9.0-r1.ebuild | 8 +- net-analyzer/hydra/hydra-9999999.ebuild | 9 +- 7 files changed, 5 insertions(+), 704 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d9c6e448feeb4f6f0bbf5ad516f655e27407bcd commit 4d9c6e448feeb4f6f0bbf5ad516f655e27407bcd Author: Andreas K. Huettel <dilfridge@gentoo.org> AuthorDate: 2021-01-02 15:44:44 +0000 Commit: Andreas K. Huettel <dilfridge@gentoo.org> CommitDate: 2021-01-02 15:45:06 +0000 net-analyzer/hydra: Also add gcc-10 fix to 9.0 Bug: https://bugs.gentoo.org/706416 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Andreas K. Huettel <dilfridge@gentoo.org> net-analyzer/hydra/hydra-9.0.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)