Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 708640

Summary: net-irc/scrollz-2.3 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
net-irc:scrollz-2.3:20200207-082016.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-02-07 18:22:53 UTC
trace.c:121:5: warning: implicit declaration of function ‘say’ [-Wimplicit-function-declaration]
  121 |     say("Trace facility was not enabled at compile time");
      |     ^~~
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -DHAVE_CONFIG_H  -o scrollz alias.o blowfish.o cdcc.o celerity.o crypt.o ctcp.o dcc.o debug.o edit.o edit2.o edit3.o edit4.o edit5.o edit6.o exec.o files.o flood.o funny.o help.o history.o hold.o hook.o if.o ignore.o input.o irc.o ircaux.o ircsig.o keys.o lastlog.o list.o log.o mail.o menu.o names.o newio.o notice.o notify.o numbers.o operv.o output.o parse.o queue.o reg.o scandir.o screen.o server.o stack.o status.o term.o translat.o vars.o whois.o whowas.o window.o dh1080.o fish.o sha-256.o trace.o  -lcrypt -ltinfo -L/usr/lib  -lresolv -lresolv -lssl -lcrypto
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ctcp.o:(.bss+0x8): multiple definition of `NUMCOLORS'; alias.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ctcp.o:(.bss+0x10): multiple definition of `SETAB'; alias.o:(.bss+0x8): first defined here

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-test-20200203-215003

  -------------------------------------------------------------------

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)

Available Rust versions:
  [1]   rust-1.41.0 *


ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Fri, 07 Feb 2020 07:27:04 +0000

emerge -qpvO net-irc/scrollz
[ebuild  N    ] net-irc/scrollz-2.3  USE="ipv6 ssl -gmp -gnutls -socks5"
Comment 1 Toralf Förster gentoo-dev 2020-02-07 18:22:56 UTC
Created attachment 612524 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-07 18:22:59 UTC
Created attachment 612526 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-07 18:23:02 UTC
Created attachment 612528 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-07 18:23:04 UTC
Created attachment 612530 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-07 18:23:07 UTC
Created attachment 612532 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-07 18:23:10 UTC
Created attachment 612534 [details]
net-irc:scrollz-2.3:20200207-082016.log
Comment 7 Toralf Förster gentoo-dev 2020-02-07 18:23:13 UTC
Created attachment 612536 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-08-30 04:34:33 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7194a7ea3cc290575537323eccc8aad7adc2e72

commit c7194a7ea3cc290575537323eccc8aad7adc2e72
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2020-08-30 04:29:03 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-08-30 04:29:03 +0000

    net-irc/scrollz: fix gcc 10 build
    
    Closes: https://bugs.gentoo.org/708640
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: Sam James <sam@gentoo.org>

 net-irc/scrollz/files/scrollz-2.3-fcommon.patch | 17 +++++++++++++++++
 net-irc/scrollz/scrollz-2.3.ebuild              | 16 ++++++++++------
 2 files changed, 27 insertions(+), 6 deletions(-)