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

Bug 173554

Summary: app-crypt/johntheripper - MPI version
Product: Gentoo Linux Reporter: Oleg Korsak <kamikaze.is.waiting.you>
Component: New packagesAssignee: Christian Heim (RETIRED) <phreak>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: crypto+disabled, mmokrejs
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: johntheripper-1.7.2-r1.ebuild with gentoo+MPI patches

Description Oleg Korsak 2007-04-06 11:11:30 UTC
It could be better to work with more than 1 processor core. I'm trying to add MPI patch, but I have an error at linkage. I have uploaded my version of johntheripper ebuild. It is based on 1.7.2 version and includes single patch with gentoo patches and MPI patches. If someone can help to resolve that linkage problem - it will be much faster.

Reproducible: Always

Steps to Reproduce:
1.emerge johntheripper
2.
3.

Actual Results:  
x86_64-pc-linux-gnu-gcc -c -Wall -Wall -O2 -march=athlon64 -msse3 -pipe  tty.c
x86_64-pc-linux-gnu-gcc -c -Wall -Wall -O2 -march=athlon64 -msse3 -pipe  wordlist.c
x86_64-pc-linux-gnu-gcc -c -Wall -Wall -O2 -march=athlon64 -msse3 -pipe  unshadow.c
x86_64-pc-linux-gnu-gcc -c -Wall -Wall -O2 -march=athlon64 -msse3 -pipe  ryan.c
x86_64-pc-linux-gnu-gcc -c -Wall -Wall -O2 -march=athlon64 -msse3 -pipe  unafs.c
x86_64-pc-linux-gnu-gcc -c -Wall -Wall -O2 -march=athlon64 -msse3 -pipe  undrop.c
x86_64-pc-linux-gnu-gcc -c -Wall -Wall -O2 -march=athlon64 -msse3 -pipe  unique.c
x86_64-pc-linux-gnu-gcc -c x86-64.S
x86_64-pc-linux-gnu-gcc -lpthread -lmpich -lm DES_fmt.o DES_std.o DES_bs.o BSDI_fmt.o MD5_fmt.o MD5_std.o BF_fmt.o BF_std.o AFS_fmt.o LM_fmt.o DOMINOSEC_fmt.o KRB5_fmt.o KRB5_std.o md5_go.o rawMD5go_fmt.o PO_fmt.o IPB2_fmt.o des.o MD5_apache_fmt.o BFEgg_fmt.o lotus5_fmt.o md5.o NSLDAP_fmt.o NSLDAPS_fmt.o sha1.o base64.o MYSQL_fmt.o NT_fmt.o md4.o smbencrypt.o rawMD5_fmt.o rawSHA1_fmt.o mssql_fmt.o hmacMD5_fmt.o WPAPSK_fmt.o mscash_fmt.o oracle_fmt.o batch.o bench.o charset.o common.o compiler.o config.o cracker.o crc32.o external.o formats.o getopt.o idle.o inc.o john.o list.o loader.o logger.o math.o memory.o misc.o options.o params.o path.o recovery.o rpp.o rules.o signals.o single.o status.o tty.o wordlist.o unshadow.o ryan.o unafs.o undrop.o unique.o x86-64.o -o ../run/john -lcrypto -lssl -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../lib64/libmpich.so: undefined reference to `MPIU_Free'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../lib64/libmpich.so: undefined reference to `MPIU_Malloc'
collect2: выполнение ld завершилось с кодом возврата 1
make[1]: *** [../run/john] Ошибка 1
make[1]: Leaving directory `/var/tmp/portage/app-crypt/johntheripper-1.7.2-r1/work/john-1.7.2/src'
make: *** [linux-x86-64] Ошибка 2

!!! ERROR: app-crypt/johntheripper-1.7.2-r1 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  johntheripper-1.7.2-r1.ebuild, line 61:   Called die

!!! Make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/app-crypt/johntheripper-1.7.2-r1/temp/build.log'.

!!! This ebuild is from an overlay: '/usr/local/portage'
Comment 1 Oleg Korsak 2007-04-06 11:13:50 UTC
Created attachment 115557 [details]
johntheripper-1.7.2-r1.ebuild with gentoo+MPI patches

johntheripper-1.7.2-r1.ebuild with gentoo+MPI patches
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-04-06 12:26:26 UTC
500K+ patch? o_O 

Well, sorry but you'll need to take this upstream, not really something we should/could ever maintain.
Comment 3 Oleg Korsak 2007-04-06 13:48:37 UTC
(In reply to comment #2)
> 500K+ patch? o_O 
> 
> Well, sorry but you'll need to take this upstream, not really something we
> should/could ever maintain.
> 

Yes ~500K... check it here: http://www.bindshell.net/tools/johntheripper
Comment 4 Alon Bar-Lev (RETIRED) gentoo-dev 2007-04-07 22:06:36 UTC
Please work with upstream regarding adding new functionality to products.
Distribution developers do not replace upstream.
Comment 5 Martin Mokrejš 2008-01-22 23:40:57 UTC
The `MPIU_Free' and `MPIU_Malloc' are fixed in mpich2-1.0.5p4 and above. I hope 1.0.6 will be bumped in for amd64 and x86 as well.