e2fsprogs failing to compile on amd64, CFLAGS="-march=nocona -O2 -pipe", CHOST="x86_64-pc-linux-gnu" with error: unix.c: In function 'PRS': unix.c:640: error: 'et_ext2_error_table' undeclared (first use in this function) Reproducible: Always Steps to Reproduce: 1. Stable up-to-date system, try to upgrade sys-fs/e2fsprogs-1.41.3 to sys-fs/e2fsprogs-1.41.3-r1 2. Build error occurs with MAKEOPTS="-j1" and/or MAKEFLAGS="-j1" makes no difference. This appears to be the same problem described in bug #210232 <http://bugs.gentoo.org/show_bug.cgi?id=210232>, but no suggestions from that worked for me, and I have a different build environment. # emerge --info Portage 2.1.6.7 (default/linux/amd64/2008.0/no-multilib, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 x86_64) ================================================================= System uname: Linux-2.6.27-gentoo-r8-x86_64-Intel-R-_Pentium-R-_D_CPU_2.80GHz-with-glibc2.2.5 Timestamp of tree: Sat, 21 Feb 2009 12:15:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-lang/python: 2.5.2-r7 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.63 sys-devel/automake: 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.linux.ee/pub/gentoo/distfiles/ http://ftp.rhnet.is/pub/gentoo/ http://mirror.gentoo.no/ http://gentoo.osuosl.org/" LDFLAGS="-Wl,-O1" MAKEOPTS="-j1" PKGDIR="/var/pkg" 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 afs amd64 apache2 berkdb bzip2 cli cracklib crypt cups curl dri emacs fam fortran gdbm geoip gpm iconv ipv6 isdnlog ldap mailwrapper midi mmx mudflap nagios-ssh ncurses network-cron nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl sysfs tcpd threads unicode vhosts xattr xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="access actions alias asis auth auth_anon auth_dbm auth_digest authz_default authz_host autoindex cache case_filter_in case_filter cern_meta cgi cgid charset_lite dav dav_fs dav_lock deflate dir disk_cache echo env expires ext_filter file_cache filter headers imap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_connect proxy_ftp proxy_http rewrite setenvif so speling status unique_id unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
# which compile_et /usr/bin/compile_et # equery b /usr/bin/compile_et [ Searching for file(s) /usr/bin/compile_et in *... ] app-crypt/heimdal-1.2.1-r1 (/usr/bin/compile_et) sys-libs/e2fsprogs-libs-1.41.3-r1 (/usr/bin/compile_et)
My last comment pointed to a work around, which was to: 1. unemerge heimdal (which wipes /usr/bin/compile_et) 2. re-emerge sys-libs/e2fsprogs-libs (to get correct compile_et) 3. emerge sys-libs/e2fsprogs While that works, I now see the problem was collision between heimdal and e2fsprogs-libs. That seems a bit nasty. Where should that be reported? Do I resubmit this bug with heimdal or e2fsprogs-libs? As is, I need heimdal, but am afraid to emerge it if it hoses e2fsprogs-libs.
the kerberos packages should have stopped providing the et related files a while ago ... that means binaries, includes, and libraries
(In reply to comment #3) OK, I guess this should be closed then. You make the final decision. I added collision-protect to FEATURES and re-emerged heimdal. There was no collision on compile_et (or anything else). Double checking I found # equery b /usr/bin/compile_et [ Searching for file(s) /usr/bin/compile_et in *... ] sys-libs/e2fsprogs-libs-1.41.3-r1 (/usr/bin/compile_et) So all looks as it should. I guess that app-crypt/heimdal-1.2.1-r1 owned compile_et as shown earlier was something inherited from an older version of heimdal. /Mike
you're saying you re-emerged the same exact version (down to the -r#) and heimdal stopped installing certain files ? ugh, that's no good ... heimdal should get a rev bump to force that change out to systems.
(In reply to comment #5) Yes, that is exactly it. Same version down to the -r#. What I don't know is if heimdal-1.2.1-r1 originally installed /usr/bin/compile_et or if it was an earlier version of heimdal and heimdal-1.2.1-r1 simply picked up ownership from its predecessor.
the kerberos guys can double check to make sure
I do not see such a collision with e2fsprogs-libs-1.41.12 and heimdal-1.3.3-r1 on my ~x86. Maybe fixed since: *heimdal-1.2.1-r4 (27 Aug 2009) 27 Aug 2009; Michael Hammer <mueli@gentoo.org> +files/heimdal-mit-krb5-free.patch, +heimdal-1.2.1-r4.ebuild: added heimdal-1.2.1-r4 with a patch fixing bug #282459 06 Aug 2009; Michael Hammer <mueli@gentoo.org> heimdal-1.2.1-r3.ebuild: pulled util-linux in as dependency because libuuid is going to move there 05 Aug 2009; Michael Hammer <mueli@gentoo.org> heimdal-1.2.1-r3.ebuild: changed depend for e2fsprogs-libs - it is now stable and we don't have to chooce beetwen this and com_err and ss
Aye, not an issue anymore. Closing.