app-crypt/johntheripper-1.7.8 is currently installed, updating to 1.7.9 fails with x86_64-pc-linux-gnu-gcc: /var/tmp/portage/app-crypt/johntheripper-1.7.9/work/john-1.7.9/config.gentoo: linker input file unused because linking not done x86_64-pc-linux-gnu-gcc DES_fmt.o DES_std.o DES_bs.o DES_bs_b.o BSDI_fmt.o MD5_fmt.o MD5_std.o BF_fmt.o BF_std.o AFS_fmt.o LM_fmt.o trip_fmt.o timer.o md5_go.o md5_eq$ john.o: In function `CPU_detect_or_fallback': john.c:(.text+0xd65): undefined reference to `CPU_detect' collect2: ld returned 1 exit status make[1]: *** [../run/john] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-crypt/johntheripper-1.7.9/work/john-1.7.9/src' make: *** [linux-x86-64] Error 2 make: Leaving directory `/var/tmp/portage/app-crypt/johntheripper-1.7.9/work/john-1.7.9/src' * ERROR: app-crypt/johntheripper-1.7.9 failed (compile phase): Portage 2.2.0_alpha89 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.14.1-r2, 3.2.6-gentoo x86_64) ================================================================= System uname: Linux-3.2.6-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600K_CPU_@_3.40GHz-with-gentoo-2.1 Timestamp of tree: Sun, 26 Feb 2012 15:15:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.2_p20 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.2-r3, 3.2.2 dev-util/cmake: 2.8.7-r3 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1 sys-apps/openrc: 0.9.9.2 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.3 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.5.3-r2 sys-devel/gcc-config: 1.5-r2 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.2-r1 (virtual/os-headers) sys-libs/glibc: 2.14.1-r2 Repositories: gentoo arduino mythtv sunrise digimed Installed sets: @base, @claws-mail, @kde4, @lxf, @missingdeps, @mpd, @mythtv, @temp, @xorg-temp, @zenus-deps ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=native -fomit-frame-pointer -pipe -floop-block -floop-strip-mine -floop-interchange" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/env.d /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb" 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/init.d /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/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 -march=native -fomit-frame-pointer -pipe -floop-block -floop-strip-mine -floop-interchange" DISTDIR="/mnt/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical --jobs --load-average 12" FEATURES="assume-digests binpkg-logs buildpkg distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="ftp://ftp.heanet.ie/pub/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/" LANG="en_GB" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en_GB" MAKEOPTS="--jobs --load 10" PKGDIR="/mnt/portage/packages/hactar" 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="/var/tmp" PORTDIR="/var/portage" PORTDIR_OVERLAY="/mnt/portage/luksans-arduino /mnt/portage/mythtv/Gentoo /mnt/portage/layman/sunrise /mnt/portage/local" SYNC="rsync://marvin/portage" USE="X a52 aac acl acpi alsa amd64 apache2 berkdb bluetooth bluray branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt css cups cxx dbus declarative device-mapper dri dts dv dvb dvd dvdr ebook encode exif fam ffmpeg firefox flac foomaticdb fortran gallium gdbm gdu gif gmp gnutls gpg gphoto2 gpm gtk gtk3 iconv id3 imap jabber java jpeg jpeg2k kde kdeenablefinal kipi libnotify logrotate lzma mad matroska mmx mmxext mng modules mp3 mp4 mpeg mplayer mudflap multilib mysql ncurses nptl nptlonly nsplugin ntfs offensive ogg ogm opengl openmp oss pam pango pcre pdf phonon plasma png policykit ppds pppd qt3support qt4 quicktime rdesktop readline reiserfs samba scanner sdl session slp snmp spell sse sse2 ssl ssse3 startup-notification svg sysfs tcpd theora threads tiff truetype udev unicode usb v4l2 vnc vorbis wav x264 xcb xcomposite xinerama xml xmp xorg xscreensaver xulrunner xv xvid xvmc zlib zsh-completion" 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="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="canon nikon ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="crypt lvm mdraid syslog" ELIBC="glibc" FOO2ZJS_DEVICES="hp1020 hp1022" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev aiptek" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" SANE_BACKENDS="genesys" USERLAND="GNU" VIDEO_CARDS="vesa intel" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 303385 [details] build log
Same thing here on both x86 and x64. Portage 2.2.0_alpha89 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r2, 3.2.6-gentoo x86_64) ================================================================= System uname: Linux-3.2.6-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.1 Timestamp of tree: Tue, 28 Feb 2012 19:45:01 +0000 app-shells/bash: 4.2_p20 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.2-r3::local-repo, 3.2.2 dev-util/cmake: 2.8.7-r3 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1 sys-apps/openrc: 0.9.9.2 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.10.3, 1.11.3 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.5.3-r2 sys-devel/gcc-config: 1.5-r2 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.2-r1 (virtual/os-headers) sys-libs/glibc: 2.14.1-r2 Repositories: gentoo local-repo Installed sets: @mybase, @mydesktop, @myfonts, @mykde, @mymedia, @mynvidia, @myscoring, @mysecurity, @mysplash, @mystandard, @myvirtual, @mywireless, @myx64, @system ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb" 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.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--jobs=3 --load-average=8.1 --keep-going --with-bdeps=y --complete-graph" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://www.cyberuse.com/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.netnitco.net http://gentoo.wetzlmayr.com/ http://gentoo.mirrors.tds.net/gentoo" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en en_US" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--progress" 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="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="64bit X a52 aac acl acpi alsa amd64 apache2 artworkextra asf audiofile automount avahi berkdb branding bzip2 cairo caps cdda cddb cdio cdparanoia cdr cli consolekit cracklib crypt cups curl cxx dbus device-mapper dri dts dvd dvdr dvi encode escreen ffmpeg flac fontconfig foomaticdb fortran fuse gd gdbm gif gimp glib glibc-omitfp gmp gnome gnuplot gphoto2 gpm graphviz gstreamer gtk gtk3 iconv id3tag ieee1394 ifp imagemagick imlib inotify ipv6 ithreads java java5 java6 jpeg jpeg2k kde lame laptop latex libnotify libwww lm_sensors logrotate lua lzma mad md5sum mdnsresponder-compat mmap mmx mng modules mp2 mp3 mp4 mpeg mplayer mtp mudflap multilib musicbrainz mysql mysqli nautilus ncurses nls nptl nptlonly nsplugin offensive ogg openal openexr opengl openmp pam pcre pdf pdo perl php plotutils png policykit posix ppds pppd python qt3support qt4 quicktime rar rdp readline rtc samba scanner sdl session sift skins smbclient sndfile spell sqlite sse sse2 sse41 ssl ssse3 startup-notification svg sysfs tcpd theora threads tiff transcode truetype twolame udev unicode usb vcd vdpau vhosts vim-with-x vorbis webkit wmf wxwidgets wxwindows x264 xcomposite xinerama xml xorg xpm xscreensaver xulrunner xv xvid zip 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="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 stage tables krita karbon braindump" CAMERAS="canon" 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 en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby19" SANE_BACKENDS="genesys" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
I forgot to mention that this is still happening after doing an: emerge -e @world
Workaround: Fails with: MAKEOPTS="-j1" CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer" emerge --oneshot johntheripper Builds and installs fine with: MAKEOPTS="-j1" CFLAGS="-O2 -mtune=native -pipe -fomit-frame-pointer" emerge --oneshot johntheripper This is with an Intel 2600K. Hope this helps.
I can confirm this, switching from -march=native to -mtune=native, without changing MAKEOPTS, worked for me.
If you add this line just inside of src_compile it allows me to build despite my unsupported cflag: replace-flags -march=native -mtune=native I suggest we update the ebuild. Thanks, ZC
The fix in bug 405941 should work for this as well. Thanks, ZC
Fixed in CVS.
That's fixed it for me, thanks.
This is happening again with app-crypt/johntheripper-1.7.9-r1
(In reply to comment #10) > This is happening again with app-crypt/johntheripper-1.7.9-r1 This is caused by the CFLAGS line not pointing at config.gentoo properly and is a completely new bug. >>> Compiling source in /var/tmp/portage/app-crypt/johntheripper-1.7.9-r1/work/john-1.7.9 ... cc1: fatal error: \"/var/tmp/portage/app-crypt/johntheripper-1.7.9-r1/work/john-1.7.9\"/config.gentoo: No such file or directory compilation terminated. cc1: fatal error: \"/var/tmp/portage/app-crypt/johntheripper-1.7.9-r1/work/john-1.7.9\"/config.gentoo: No such file or directory compilation terminated. This is the issue, no idea why, I can easily enough fix it by editing the line in the ebuild, but none of my fixes look clean.... When I change: CFLAGS="${CFLAGS} -include \\\"${S}\\\"/config.gentoo" to: CFLAGS="${CFLAGS} -include ${S}/config.gentoo" it builds cleanly, but I'm not sure if that breaks the rules about having ${S} surrounded by quotes (it still is surrounded by quotes, they are just further away).
(In reply to comment #10) > This is happening again with app-crypt/johntheripper-1.7.9-r1 Please don't reopen old, unrelated bugs with new info. Anyway, this is now fixed in CVS.
Sorry, I didn't think it was unrelated, it looked like the same error all over again - otherwise I would have opened a new bug.