Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1793912

Summary: netatalk-3.1.12-11.fc32 FTBFS: /usr/bin/ld: afpd-appl.o: in function `$d': /builddir/build/BUILD/netatalk-3.1.12/etc/afpd/directory.h:94: multiple definition of `invalid_dircache_entries'
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: netatalkAssignee: Andrew Bauer <zonexpertconsulting>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jaskalnik, lnykryn, orion, ryan, zonexpertconsulting
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/netatalk?collection=f32
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-22 16:22:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1750908, 1792464    

Description Petr Pisar 2020-01-22 09:11:09 UTC
netatalk-3.1.12-11.fc32 fails to build with GCC 10 in Fedora 32:
libtool: link: gcc -pthread -DAPPLCNAME -DSERVERTEXT=\"/var/lib/netatalk/msg/\" -D_PATH_AFPDPWFILE=\"/etc/netatalk/afppasswd\" -D_PATH_AFPDUAMPATH=\"/usr/lib64/netatalk//\" -D_PATH_CONFDIR=\"/etc/netatalk/\" -D_PATH_STATEDIR=\"/var/lib/netatalk/\" -I/usr/include/tracker-2.0 -I/usr/include/tracker-2.0/libtracker-sparql -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DDBUS_COMPILATION "-D_U_=__attribute__((unused))" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pthread -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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-spotlight.o afpd-acls.o afpd-afpstats.o afpd-afpstats_obj.o -Wl,--as-needed -Wl,--as-needed afp_dtrace.o -Wl,--export-dynamic  -ldbus-1 -lgthread-2.0 -ldbus-glib-1 ../../libatalk/.libs/libatalk.so -L/usr/lib64/ -lldap -ltdb -lgcrypt -lgpg-error -ldl -lacl -lattr -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lmariadb ../../etc/spotlight/.libs/libspotlight.a -ltracker-sparql-2.0 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lcrack -pthread
[...]
/usr/bin/ld: afpd-appl.o: in function `$d':
/builddir/build/BUILD/netatalk-3.1.12/etc/afpd/directory.h:94: multiple definition of `invalid_dircache_entries'; afpd-afp_dsi.o:/builddir/build/BUILD/netatalk-3.1.12/etc/afpd/directory.h:94: first defined here