Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 774333 - net-irc/eggdrop-1.8.4-r1[static]: failed build with GCC 10 (multiple definition of `nett_t'; mod/ctcp.o:(.bss+0x194): first defined here)
Summary: net-irc/eggdrop-1.8.4-r1[static]: failed build with GCC 10 (multiple definiti...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Louis Sautier (sbraz)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2021-03-05 18:44 UTC by Sam James
Modified: 2021-04-02 22:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (file_774333.txt,29.72 KB, text/plain)
2021-03-05 18:44 UTC, Sam James
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-03-05 18:44:05 UTC
Created attachment 689499 [details]
build.log

FEATURES=' test' USE='' succeeded for =net-irc/eggdrop-1.8.4-r1
USE='-doc -ipv6 -ssl -static' succeeded for =net-irc/eggdrop-1.8.4-r1
USE='doc -ipv6 -ssl -static' succeeded for =net-irc/eggdrop-1.8.4-r1
USE='-doc ipv6 -ssl -static' succeeded for =net-irc/eggdrop-1.8.4-r1
USE='doc ipv6 -ssl -static' succeeded for =net-irc/eggdrop-1.8.4-r1
USE='doc -ipv6 ssl -static' succeeded for =net-irc/eggdrop-1.8.4-r1
USE='-doc ipv6 ssl -static' succeeded for =net-irc/eggdrop-1.8.4-r1
USE='doc ipv6 ssl -static' succeeded for =net-irc/eggdrop-1.8.4-r1
USE='-doc -ipv6 -ssl static' failed for =net-irc/eggdrop-1.8.4-r1
    log has been saved as /root/logs/net-irc_eggdrop-1.8.4-r1_use_qESIO
USE='doc -ipv6 -ssl static' failed for =net-irc/eggdrop-1.8.4-r1
    log has been saved as /root/logs/net-irc_eggdrop-1.8.4-r1_use_ND7hd
USE='doc ipv6 -ssl static' failed for =net-irc/eggdrop-1.8.4-r1
    log has been saved as /root/logs/net-irc_eggdrop-1.8.4-r1_use_cDxKv
USE='-doc -ipv6 ssl static' failed for =net-irc/eggdrop-1.8.4-r1
    log has been saved as /root/logs/net-irc_eggdrop-1.8.4-r1_use_8lFlJ
USE='-doc ipv6 ssl static' failed for =net-irc/eggdrop-1.8.4-r1
    log has been saved as /root/logs/net-irc_eggdrop-1.8.4-r1_use_RqvQI

I guess USE=static is the issue (which you could probably just drop if you wanted)?

---

Linking eggdrop (static version).

make[2]: Leaving directory '/var/tmp/portage/net-irc/eggdrop-1.8.4-r1/work/eggdrop-1.8.4/src'
make[2]: Entering directory '/var/tmp/portage/net-irc/eggdrop-1.8.4-r1/work/eggdrop-1.8.4/src'
aarch64-unknown-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -pipe -Wall -I.. -I..  -DHAVE_CONFIG_H -DSTATIC -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o ../eggdrop bg.o botcmd.o botmsg.o botnet.o chanprog.o cmds.o dcc.o dccutil.o dns.o flags.o language.o match.o main.o mem.o misc.o misc_file.o modules.o net.o rfc1459.o tcl.o tcldcc.o tclhash.o tclmisc.o tcluser.o tls.o userent.o userrec.o users.o mod/*.o -ltcl8.6  -lz -lpthread -lm -ldl  md5/md5c.o compat/*.o `cat mod/mod.xlibs`
/usr/lib/gcc/aarch64-unknown-linux-gnu/10.2.0/../../../../aarch64-unknown-linux-gnu/bin/ld: mod/irc.o:(.bss+0x3a8): multiple definition of `nett_t'; mod/ctcp.o:(.bss+0x194): first defined here
/usr/lib/gcc/aarch64-unknown-linux-gnu/10.2.0/../../../../aarch64-unknown-linux-gnu/bin/ld: mod/server.o:(.bss+0xdec): multiple definition of `nett_t'; mod/ctcp.o:(.bss+0x194): first defined here
/usr/lib/gcc/aarch64-unknown-linux-gnu/10.2.0/../../../../aarch64-unknown-linux-gnu/bin/ld: mod/uptime.o:(.bss+0xa4): multiple definition of `nett_t'; mod/ctcp.o:(.bss+0x194): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:45: link] Error 1

---

Portage 3.0.14 (python 3.7.9-final-0, default/linux/arm64/17.0/desktop, gcc-10.2.0, glibc-2.32-r7, 5.4.101 aarch64)
=================================================================
System uname: Linux-5.4.101-aarch64-with-gentoo-2.7
KiB Mem:   131636508 total, 101398968 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Fri, 05 Mar 2021 17:52:08 +0000
sh bash 5.1_p4
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
app-shells/bash:          5.1_p4::gentoo
dev-lang/perl:            5.32.1::gentoo
dev-lang/python:          2.7.18_p7::gentoo, 3.8.8::gentoo, 3.9.2::gentoo
dev-util/cmake:           3.19.5::gentoo
sys-apps/baselayout:      2.7-r1::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo
sys-devel/gcc:            10.2.0-r5::gentoo
sys-devel/gcc-config:     2.3.3::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.11::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes

ACCEPT_KEYWORDS="arm64 ~arm64"
ACCEPT_LICENSE="@FREE"
CBUILD="aarch64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches"
CHOST="aarch64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --complete-graph --usepkg=y --with-bdeps=y --deep"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa arm64 berkdb bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus dri dts dvdr elogind emboss encode exif flac fortran gdbm gif gpm gtk gui iconv icu ipv6 jpeg lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt5 readline sdl seccomp spell split-usr ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ADA_TARGET="gnat_2018" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp thumb thumb2 v4 v5 v6 v7 v8 vfp vfp-d32 vfpv3 vfpv4" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-US en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8 pypy3 python3_9" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="fbdev dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-03-15 01:16:18 UTC
The ebuild sbraz sent me works perfectly, thanks!
Comment 2 Larry the Git Cow gentoo-dev 2021-04-02 22:37:13 UTC
The bug has been closed via the following commit(s):

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

commit 47abc08518a8905bab98cfdc4eb325edda2c1d8c
Author:     Louis Sautier <sbraz@gentoo.org>
AuthorDate: 2021-04-02 22:30:16 +0000
Commit:     Louis Sautier <sbraz@gentoo.org>
CommitDate: 2021-04-02 22:35:04 +0000

    net-irc/eggdrop: add 1.9.0, fixes build with USE=static
    
    Closes: https://bugs.gentoo.org/774333
    Signed-off-by: Louis Sautier <sbraz@gentoo.org>

 net-irc/eggdrop/Manifest             |  1 +
 net-irc/eggdrop/eggdrop-1.9.0.ebuild | 72 ++++++++++++++++++++++++++++++++++++
 2 files changed, 73 insertions(+)