Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706852 - net-fs/netatalk-3.1.12 : fails to build with -fno-common or gcc-10
Summary: net-fs/netatalk-3.1.12 : fails to build with -fno-common or gcc-10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-28 18:22 UTC by Toralf Förster
Modified: 2020-06-11 13:49 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.24 KB, text/plain)
2020-01-28 18:23 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,61.96 KB, text/plain)
2020-01-28 18:23 UTC, Toralf Förster
Details
environment (environment,134.50 KB, text/plain)
2020-01-28 18:23 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.46 KB, application/x-bzip)
2020-01-28 18:23 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,30.21 KB, application/x-bzip)
2020-01-28 18:23 UTC, Toralf Förster
Details
net-fs:netatalk-3.1.12:20200128-015419.log (net-fs:netatalk-3.1.12:20200128-015419.log,176.54 KB, text/plain)
2020-01-28 18:23 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,45.26 KB, application/x-bzip)
2020-01-28 18:23 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-01-28 18:22:57 UTC
      |           ^~~~~~~~~~
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../../include -I../..  -pthread -DAPPLCNAME -DSERVERTEXT=\"/var/lib/netatalk/msg/\" -D_PATH_AFPDPWFILE=\"/etc/afppasswd\" -D_PATH_AFPDUAMPATH=\"/usr/lib64/netatalk//\" -D_PATH_CONFDIR=\"/etc/\" -D_PATH_STATEDIR='"/var/lib/netatalk/"'   -D_U_="__attribute__((unused))" -O2 -pipe -march=native -fno-common -fno-strict-aliasing -c -o afpd-acls.o `test -f 'acls.c' || echo './'`acls.c
/bin/sh ../../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -pthread -DAPPLCNAME -DSERVERTEXT=\"/var/lib/netatalk/msg/\" -D_PATH_AFPDPWFILE=\"/etc/afppasswd\" -D_PATH_AFPDUAMPATH=\"/usr/lib64/netatalk//\" -D_PATH_CONFDIR=\"/etc/\" -D_PATH_STATEDIR='"/var/lib/netatalk/"'   -D_U_="__attribute__((unused))" -O2 -pipe -march=native -fno-common -fno-strict-aliasing -export-dynamic  -Wl,-O1 -Wl,--as-needed -o afpd afpd-afp_config.o afpd-afp_dsi.o afpd-afp_options.o afpd-afp_util.o afpd-afprun.o afpd-afs.o afpd-appl.o afpd-auth.o afpd-catsearch.o afpd-desktop.o afpd-dircache.o afpd-directory.o afpd-enumerate.o afpd-extattrs.o afpd-fce_api.o afpd-fce_util.o afpd-file.o afpd-filedir.o afpd-fork.o afpd-hash.o afpd-main.o afpd-mangle.o afpd-messages.o afpd-nfsquota.o afpd-ofork.o afpd-quota.o afpd-spotlight_marshalling.o afpd-status.o afpd-switch.o afpd-uam.o afpd-uid.o afpd-unix.o afpd-volume.o  afpd-acls.o  ../../libatalk/libatalk.la -lgcrypt -lgpg-error -lwrap -ldl   -lacl -lattr -L/usr/lib64 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -L/usr/lib64 -lkrb5 -lk5crypto -lcom_err    
libtool: link: x86_64-pc-linux-gnu-gcc -pthread -DAPPLCNAME -DSERVERTEXT=\"/var/lib/netatalk/msg/\" -D_PATH_AFPDPWFILE=\"/etc/afppasswd\" -D_PATH_AFPDUAMPATH=\"/usr/lib64/netatalk//\" -D_PATH_CONFDIR=\"/etc/\" -D_PATH_STATEDIR=\"/var/lib/netatalk/\" "-D_U_=__attribute__((unused))" -O2 -pipe -march=native -fno-common -fno-strict-aliasing -Wl,-O1 -o .libs/afpd afpd-afp_config.o afpd-afp_dsi.o afpd-afp_options.o afpd-afp_util.o afpd-afprun.o afpd-afs.o afpd-appl.o afpd-auth.o afpd-catsearch.o afpd-desktop.o afpd-dircache.o afpd-directory.o afpd-enumerate.o afpd-extattrs.o afpd-fce_api.o afpd-fce_util.o afpd-file.o afpd-filedir.o afpd-fork.o afpd-hash.o afpd-main.o afpd-mangle.o afpd-messages.o afpd-nfsquota.o afpd-ofork.o afpd-quota.o afpd-spotlight_marshalling.o afpd-status.o afpd-switch.o afpd-uam.o afpd-uid.o afpd-unix.o afpd-volume.o afpd-acls.o -Wl,--export-dynamic  -Wl,--as-needed ../../libatalk/.libs/libatalk.so -ltdb -lgcrypt -lgpg-error -lwrap -ldl -lacl -lattr -L/usr/lib64 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -pthread
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: afpd-appl.o:(.bss+0x0): multiple definition of `invalid_dircache_entries'; afpd-afp_dsi.o:(.bss+0x10): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: afpd-auth.o:(.bss+0x0): multiple definition of `invalid_dircache_entries'; afpd-afp_dsi.o:(.bss+0x10): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-20200126-201521

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

  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 Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *

java-config:
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.242_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 28 Jan 2020 01:06:18 +0000

emerge -qpvO net-fs/netatalk
[ebuild  N    ] net-fs/netatalk-3.1.12  USE="(acl) kerberos pam shadow ssl tcpd utils -cracklib -dbus -debug -ldap -pgp -quota -samba -static-libs -tracker -zeroconf" PYTHON_TARGETS="python2_7"
Comment 1 Toralf Förster gentoo-dev 2020-01-28 18:23:00 UTC
Created attachment 606122 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 18:23:03 UTC
Created attachment 606124 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-28 18:23:05 UTC
Created attachment 606126 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-28 18:23:08 UTC
Created attachment 606128 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-28 18:23:11 UTC
Created attachment 606130 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-28 18:23:15 UTC
Created attachment 606132 [details]
net-fs:netatalk-3.1.12:20200128-015419.log
Comment 7 Toralf Förster gentoo-dev 2020-01-28 18:23:18 UTC
Created attachment 606134 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-06-11 13:49:21 UTC
The bug has been closed via the following commit(s):

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

commit 233aa32334f7ed86ac66897f9edd47f221bc299f
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-06-11 13:49:03 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-06-11 13:49:03 +0000

    net-fs/netatalk: Fix building with -fno-common
    
    Closes: https://bugs.gentoo.org/706852
    Package-Manager: Portage-2.3.100, Repoman-2.3.22
    Signed-off-by: David Seifert <soap@gentoo.org>

 net-fs/netatalk/files/netatalk-3.1.12-fno-common.patch | 11 +++++++++++
 net-fs/netatalk/netatalk-3.1.12.ebuild                 |  1 +
 2 files changed, 12 insertions(+)