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

Bug 297821

Summary: app-crypt/johntheripper-1.7.3.1 emerge fail with mpi flag enable
Product: Gentoo Linux Reporter: Joaquin Ignacio Bogado Garcia <joaquinbogado>
Component: New packagesAssignee: Crypto team [DISABLED] <crypto+disabled>
Status: RESOLVED CANTFIX    
Severity: normal CC: c1pher
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch log
the emerge log

Description Joaquin Ignacio Bogado Garcia 2009-12-21 18:49:21 UTC
With this 2 lines in /etc/portage/package.use

sys-cluster/openmpi mpi-threads threads
app-crypt/johntheripper mpi

emerge fails after installing normally 
sys-cluster/openmpi-1.2.9  USE="cxx fortran ipv6 mpi-threads threads -debug -heterogeneous -pbs -romio"



Reproducible: Always

Steps to Reproduce:
1.# emerge -va johntheripper                                                    

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] sys-cluster/openmpi-1.2.9  USE="cxx fortran ipv6 mpi-threads threads -debug -heterogeneous -pbs -romio" 3,479 kB                                                                                                                            
[ebuild  N    ] app-crypt/johntheripper-1.7.3.1  USE="mmx mpi sse2 (-altivec) -custom-cflags -minimal" 894 kB

2.emerge fail after install normally openmpi package
3.

Actual Results:  
the package johntheripper doesn't install.


emerge --info
Portage 2.1.6.13 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.32ThinkPadR400 i686)
=================================================================                                    
System uname: Linux-2.6.32ThinkPadR400-i686-Intel-R-_Core-TM-2_Duo_CPU_P8400_@_2.26GHz-with-gentoo-1.12.13
Timestamp of tree: Wed, 16 Dec 2009 19:30:01 +0000                                                        
ccache version 2.4 [enabled]                                                                              
app-shells/bash:     4.0_p35                                                                              
dev-java/java-config: 2.1.9-r1                                                                            
dev-lang/python:     2.6.4                                                                                
dev-util/ccache:     2.4-r7                                                                               
dev-util/cmake:      2.6.4-r3                                                                             
sys-apps/baselayout: 1.12.13                                                                              
sys-apps/sandbox:    1.6-r2                                                                               
sys-devel/autoconf:  2.13, 2.63-r1                                                                        
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2                                                           
sys-devel/binutils:  2.18-r3                                                                              
sys-devel/gcc-config: 1.4.1                                                                               
sys-devel/libtool:   2.2.6b                                                                               
virtual/os-headers:  2.6.27-r2                                                                            
ACCEPT_KEYWORDS="x86"                                                                                     
CBUILD="i686-pc-linux-gnu"                                                                                
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"                                                     
CHOST="i686-pc-linux-gnu"                                                                                 
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"                                                
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/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 /etc/udev/rules.d"                    
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"                                                                       
DISTDIR="/usr/portage/distfiles"                                                                                              
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sfperms strict unmerge-orphans userfetch"                 
GENTOO_MIRRORS="http://gentoo.localhost.net.ar/ "                                                                             
LANG="es_AR.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="es es_AR es_LA"
MAKEOPTS="-j5"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dfx 3dnow 3dnowext X aac aalib acl acpi addbookmarks akonadi alias alsa apm autoreplace bash-completion berkdb binfilter bluetooth branding bzip2 cli connectionstatus consolekit contactnotes cracklib crypt css cups cxx dbus dga djvu dmx dri dts dv dvd dvdr dvdread enca encode esd extras fbcon ffmpeg firefox flac fortran gdbm ggi gif gpm groupwise highlight history iconv idn ieee1394 imagemagic ipv6 irc java jingle jpeg jpeg2k kde kpathsea laptop latex libcaca lzo mad mmx mmxext mng modplug modules mp3 mpeg msn mudflap musepack musicbrainz mysql ncurses netmeeting networkmanager nls nowlistening nptl nptlonly ntp ogg openal opengl openmp pam pcre perl pmu png pppd pulseaudio python qt3 qt3support qt4 readline reflection sametime schroedinger sdl semantic-desktop session slp sms sndfile sound spell spl sql sse sse2 sse3 ssl ssse3 statistics svg sysfs tcpd texteffect theora tiff translator truetype unicode v4l v4l2 vcd vorbis wavpack webkit webpresence wicd win32codecs winpopup wma x264 x86 xanim xine xorg xscreensaver xulrunner xv xvid xvmc yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse none synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_AR es_LA" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev none intel v4l v4l2 vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Joaquin Ignacio Bogado Garcia 2009-12-21 18:54:45 UTC
Created attachment 213702 [details]
patch log
Comment 2 Joaquin Ignacio Bogado Garcia 2009-12-21 18:59:20 UTC
Created attachment 213704 [details]
the emerge log
Comment 3 Joaquin Ignacio Bogado Garcia 2009-12-21 19:30:33 UTC
(In reply to comment #2)
> Created an attachment (id=213704) [details]
> the emerge log
> 

WORKAROUND

The problem doesn't appear if I emerge johntheripper with -mpi flag disabled.
Comment 4 Dane Smith (RETIRED) gentoo-dev 2010-12-03 19:08:38 UTC
MPI Support was removed from subsequent version since upstream development of the patchset in question ceased in 1.7.2. It appears that some people may have tried to pick it up. I will look into that as time permits. In the mean time, upstream added built in parallelization support through OpenMP into the core of john as of 1.7.6. I added support for this into 1.7.6-r1 via the openmp use flag.

Closing this as CANTFIX. I will scope out the other new MPI patch sets as soon as I can. Thanks for the report.