net-fs/netatalk-2.1.3 fails to build on ppc32 stable machine with errors such as: expected specifier-qualifier-list before ‘bool’ ‘logtype_conf_t’ has no member named ‘level’ under ./netatalk-2.1.3/libatalk/adouble May relate to bug #332797. Reproducible: Always Steps to Reproduce: try to build net-fs/netatalk-2.1.3 Actual Results: Bombs on compile Expected Results: Compiles
Created attachment 249894 [details] build.log
you must post `emerge --info` with every bug report as documented in the report page as well as the bugzilla howto
Sorry, I forgot the emerge --info. /Mike $ emerge --info Portage 2.1.8.3 (default/linux/powerpc/ppc32/10.0, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r1 ppc) ================================================================= System uname: Linux-2.6.34-gentoo-r1-ppc-7400,_altivec_supported-with-gentoo-2.0.1 Timestamp of tree: Thu, 07 Oct 2010 23:15:01 +0000 distcc 3.1 powerpc-unknown-linux-gnu [disabled] ccache version 2.4 [enabled] app-shells/bash: 4.1_p7 dev-lang/python: 2.6.5-r3, 3.1.2-r4 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.3 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.65-r1 sys-devel/automake: 1.6.3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.3-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="ppc" ACCEPT_LICENSE="* -@EULA" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-mcpu=7400 -O2 -pipe -maltivec -mabi=altivec" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-mcpu=7400 -O2 -pipe -maltivec -mabi=altivec" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests buildpkg ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.ds.karen.hj.se/gentoo/ http://ftp.ing.umu.se/linux/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" PKGDIR="/var/pkg" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="acl alsa altivec autoipd avahi bash-completion berkdb bzip2 caps cli cracklib crypt cups curl cxx dbus dri emacs fam fortran gdbm gnutls gpm iconv ipv6 kerberos ldap mailwrapper modules mudflap nagios-ssh ncurses network-cron nls no-old-linux nptl nptlonly openmp openssl pam pcre perl ppc pppd python readline reflection sasl session sound spell ssl sysfs tcpd threads udev unicode xattr xml xorg zlib" ALSA_CARDS="powermac" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon fbdev" 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: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
so it only occurs when you mix stable & unstable ? or does the stable netatalk also fail ?
(In reply to comment #4) > so it only occurs when you mix stable & unstable ? or does the stable netatalk > also fail ? > Since I have buildpkg in FEATURES I looked back and found: # ls -l /var/pkg/net-fs/ total 2482 -rw-r-xr-x 1 root ftpgroup 795199 Feb 13 2010 netatalk-2.0.5-r1.tbz2 -rw-r-xr-x 1 root ftpgroup 1017392 Aug 12 17:32 netatalk-2.1.tbz2 So in Feb, the current stable--but old--version, 2.0.5-r1 compiled, and in Aug the recently latest unstable version 2.1 compiled. To answer your question, I tried uninstalling 2.1 and compiling the still stable 2.0.5-r1, but now it does not compile either :-(. The 2.0.5-r1 version fails on: In file included from ../../include/atalk/logger.h:6, from ad_open.c:39: ../../include/atalk/boolean.h:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token In file included from ad_open.c:39: ../../include/atalk/logger.h:91: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'log_setup in ...work/netatalk-2.0.5/libatalk/adouble (same place as current problem). So, regression test fails. Should I open another bug for 2.0.5-r1? /Mike
you could try netatalk-2.1.5
(In reply to comment #0) > net-fs/netatalk-2.1.3 fails to build on ppc32 stable machine with errors such > as: > expected specifier-qualifier-list before ‘bool’ > ‘logtype_conf_t’ has no member named ‘level’ > under ./netatalk-2.1.3/libatalk/adouble > May relate to bug #332797. > > Reproducible: Always > > Steps to Reproduce: > try to build net-fs/netatalk-2.1.3 > Actual Results: > Bombs on compile > > Expected Results: > Compiles > Netatalk fails on ppc and ppc64 when using gcc > 4.3 because gcc 4.4 predefines 'bool' iff -maltivec is used see bug 355109 As a workaround 'netatalk' compiles fine if '-Ubool' is added to CFLAGS I don't know whether gcc should have 'bool' removed from predefined macros or whether netatalk should treat 'bool' as a keyword and not try to define it in include/atalk/boolean.h
Created attachment 262817 [details, diff] Patch for net-fs/netatalk This patch can be applied to netatalk 2.0.5-r1, 2.1, 2.1.3, 2.1.5 and then netatalk emerges with either gcc 4.3.4 or gcc 4.4.4 on both ppc and ppc64 with or without -maltivec option not tested on other arch's but should be OK Hope this is helpful
Can you please check if this is still needed with 2.2 series?
(In reply to comment #9) > Can you please check if this is still needed with 2.2 series? net-fs/netatalk-2.2.1-r3 does seem to build for me with gcc-4.5.3 so it looks like the patch is not required on ppc64 at least # emerge --info netatalk Portage 2.1.10.49 (default/linux/powerpc/ppc64/10.0/64bit-userland/desktop/gnome, gcc-4.5.3, glibc-2.13-r4, 2.6.32-gentoo-r29-sl ppc64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.32-gentoo-r29-sl-ppc64-PPC970FX,_altivec_supported-with-gentoo-2.0.3 Timestamp of tree: Mon, 09 Apr 2012 12:00:01 +0000 app-shells/bash: 4.2_p20 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.2-r3, 3.1.4-r3, 3.2.2 dev-util/cmake: 2.8.6-r4 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.9.8.4 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.7.9-r2, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.4.5, 4.5.3-r2 sys-devel/gcc-config: 1.5-r2 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 3.1 (virtual/os-headers) sys-libs/glibc: 2.13-r4 Repositories: gentoo x-portage ACCEPT_KEYWORDS="ppc64" ACCEPT_LICENSE="* -@EULA IBM-J1.6" CBUILD="powerpc64-unknown-linux-gnu" CFLAGS="-O2 -pipe -mcpu=970 -mtune=970 -maltivec -mabi=altivec" CHOST="powerpc64-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -mcpu=970 -mtune=970 -maltivec -mabi=altivec" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="ftp://mirror.mcs.anl.gov/pub/gentoo/ http://distfiles.gentoo.org/ http://www.ibiblio.org/pub/Linux/distributions/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/mnt/sda9" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl alsa altivec appletalk audio berkdb branding bzip2 cairo caps cdda cdr cli consolekit cracklib crypt cups cxx dbus doc dri dts dvd dvdr eds emboss encode evo examples exif extensions fam ffmpeg fftw firefox flac fontconfig gconf gdbm gdu gif gnome gnome-keyring gnome-online-accounts gnutls gpm graphite gstreamer gtk guile ibm iconv ieee1394 ipv6 jpeg jpeg2k lcms ldap libnotify mad mng modules motif mp3 mp4 mpeg mudflap nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf png policykit ppc64 ppds pppd pulseaudio qt3support qt4 readline sdl session sip socialweb spell sqlite sqlite3 ssl startup-notification stun svg sysfs tcl tcpd theora threads tiff truetype udev unicode usb v4l v4l2 video vim vorbis wav wxwidgets xcb xine xml xorg xulrunner xv xvid zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="canon ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 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: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= net-fs/netatalk-2.2.1-r3 was built with the following: USE="acl appletalk cracklib cups ldap pam ssl tcpd -avahi -debug -kerberos -quota -slp -static-libs" CFLAGS="-O2 -pipe -mcpu=970 -mtune=970 -maltivec -mabi=altivec -fno-strict-aliasing" CXXFLAGS="-O2 -pipe -mcpu=970 -mtune=970 -maltivec -mabi=altivec -fno-strict-aliasing"
(In reply to comment #9) > Can you please check if this is still needed with 2.2 series? I just tried it on a G3 (ppc32) but it still fails to build on: uams_gss.c: In function 'get_afpd_principal': uams_gss.c:201:37: error: 'gss_nt_service_name' undeclared (first use in this function) uams_gss.c:201:37: note: each undeclared identifier is reported only once for each function it appears in make[4]: *** [uams_gss_la-uams_gss.lo] Error 1 (I'll include the build log next.) The current emerge info is below. watery ~ # emerge --info net-fs/netatalk [5/511] Portage 2.1.10.49 (default/linux/powerpc/ppc32/10.0, gcc-4.5.3, glibc-2.13-r4, 3.3.0-gentoo ppc) ================================================================= System Settings ================================================================= System uname: Linux-3.3.0-gentoo-ppc-740-750-with-gentoo-2.1 Timestamp of tree: Sun, 08 Apr 2012 23:15:01 +0000 distcc 3.1 powerpc-unknown-linux-gnu [disabled] ccache version 3.1.6 [enabled] app-shells/bash: 4.2_p20 dev-lang/python: 2.7.2-r3, 3.2.2-r1 dev-util/ccache: 3.1.6 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1 sys-apps/openrc: 0.9.9.3 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.68 sys-devel/automake: 1.10.3, 1.11.1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.5.3-r2 sys-devel/gcc-config: 1.5-r2 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 3.3 (virtual/os-headers) sys-libs/glibc: 2.13-r4 Repositories: gentoo mhammill local-repo ACCEPT_KEYWORDS="ppc" ACCEPT_LICENSE="* -@EULA" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-mcpu=750 -O2 -pipe -fno-strict-aliasing" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-mcpu=750 -O2 -pipe -fno-strict-aliasing" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--autounmask=y --autounmask-write" FEATURES="assume-digests binpkg-logs buildpkg ccache distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-featu res-warn unmerge-logs unmerge-orphans userfetch xattr" FFLAGS="" GENTOO_MIRRORS="http://mirror.mdfnet.se/gentoo ftp://mirror.mdfnet.se/gentoo" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j1" PKGDIR="/var/pkg" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclud e=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/mhammill /usr/local/portage" SYNC="rsync://giddy.michael.hammill.name/gentoo-portage" USE="acl alsa bash-completion berkdb branding bzip2 caps ccache cli cracklib crypt cups curl cxx emacs fam fortran gcrypt gdbm git gnutls gpm hpn iconv ipv6 kerberos ldap lvm mailwrapper modules mudflap nagios-ssh ncurses network-cron nls nptl nptlonly openmp openssl pam pcre ppc pppd python readline sasl session sound ssh ssl sysfs tcpd tftp threads udev unicode xattr zlib" ALSA_CARDS="powermac" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 negotiati on rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindum p" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 gar min garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DE VICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS=" ruby18" USERLAND="GNU" VIDEO_CARDS="r128 radeon fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition te e tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Created attachment 308319 [details] Build log (netatalk-2.2.1-r3) No special USE flags or patches attempted.
(In reply to comment #12) I don't know if gut reactions really help--because that is all I have since I have not had time to look into it--but I suspect heimdal is possibly the problem here and perhaps not netatalk. I note that watery ~ # equery b /usr/include/gssapi/gssapi.h * Searching for /usr/include/gssapi/gssapi.h ... app-crypt/heimdal-1.5.1-r1 (/usr/include/gssapi/gssapi.h) and that I have another long outstanding bug# 398253 with OpenAFS that appears to be because of an undefined reference (krb5_524_conv_principal) also coming out of heimdal (both 1.5.1 and 1.5.2). Just a hunch. /Mike
*** Bug 411353 has been marked as a duplicate of this bug. ***
3.1.8 should fix this