Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 353969

Summary: app-crypt/johntheripper-1.7.6-r1 fails to compile with USE=altivec
Product: Gentoo Linux Reporter: Samuli Suominen (RETIRED) <ssuominen>
Component: Current packagesAssignee: Crypto team [DISABLED] <crypto+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: ppc64, ppc
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Samuli Suominen (RETIRED) gentoo-dev 2011-02-07 14:26:39 UTC
This one is related to bug 327211 which got a bit mixed up due to multiple different issues there. So this one is strictly for PPC/PPC64 and USE=altivec problems. Others, don't even bother to comment here. Thanks.


Portage 2.2.0_alpha9 (default/linux/powerpc/ppc64/10.0/64bit-userland, gcc-4.4.4, glibc-2.11.2-r3, 2.6.28-gentoo ppc64)
=================================================================
System uname: Linux-2.6.28-gentoo-ppc64-POWER5+_-gs-with-gentoo-1.12.14
Timestamp of tree: Mon, 07 Feb 2011 11:00:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5-r3
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.6.3-r1, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
Repositories: gentoo
ACCEPT_KEYWORDS="ppc64"
ACCEPT_LICENSE="*"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=power5 -mtune=power5"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /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=power5 -mtune=power5"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
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=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl berkdb bzip2 cairo cli consolekit cracklib crypt cups cxx dbus device-mapper dri extras fortran gdbm gdu gnome gpm gtk ibm iconv ipv6 jpeg modules mudflap ncurses nls nptl nptlonly opengl openmp pam pcre perl png policykit ppc64 pppd private-headers python qt3support qt4 readline session sqlite ssl svg sysfs tcpd tk unicode xorg 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" 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 evdev" 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="fbdev mach64 mga nv r128 radeon dummy v4l" 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, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2011-02-07 14:26:53 UTC
Created attachment 261723 [details]
build.log
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2011-02-07 14:30:01 UTC
And before anyone asks, adding -mabi=altivec or -maltivec has no difference here.
Comment 3 Rafał Mużyło 2011-02-07 14:46:40 UTC
Unless I'm missing something, johntheripper-1.7.6-cflags.patch is just a collection of typos.
Comment 4 Dane Smith (RETIRED) gentoo-dev 2011-02-07 15:05:09 UTC
(In reply to comment #3)
> Unless I'm missing something, johntheripper-1.7.6-cflags.patch is just a
> collection of typos.
> 

Fixed the patch in CVS. Not sure if it will fix it, but it will definitely be more likely to fix it than the original one. Good catch. Thanks!
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2011-02-07 15:18:24 UTC
Nice catch Rafał and thanks for applying Dane but unfortunately this has no effect on the end result. Still fails the same way.
Comment 6 Dane Smith (RETIRED) gentoo-dev 2011-02-09 18:45:38 UTC
Removed the altivec use flag in 1.7.6-r1 as the issue is almost certainly upstream. I will be contacting them. Should build fine on ppc/ppc64 now. Thanks for all the help Samuli. Closing.

+  09 Feb 2011; Dane Smith <c1pher@gentoo.org>
+  -files/johntheripper-1.7.3.1-cflags.patch, -johntheripper-1.7.3.4.ebuild,
+  johntheripper-1.7.6-r1.ebuild:
+  *Remove altivec use flag wrt bug 353969.
+  *Mark ppc/ppc64 as stable in 1.7.6-r1 with permission from ssuominen now
+  that
+  the altivec issues are resolved.
+  *Drop old version and old patch.