Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51795 - johntheripper fails to compile
Summary: johntheripper fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Daniel Black (RETIRED)
URL:
Whiteboard:
Keywords:
: 51913 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-05-22 22:02 UTC by Owen Ford
Modified: 2004-12-12 09:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Owen Ford 2004-05-22 22:02:59 UTC
spider root # emerge -pv johntheripper

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] app-crypt/johntheripper-1.6.37 [1.6-r3] -mmx +mysql -ntlm -skey  0 kB 
Total size of downloads: 0 kB
spider root # 


gcc -c -march=pentium3 -O3 -pipe -fomit-frame-pointer -I/usr/include/openssl -funroll-loops  -DMYSQL -DEGG signals.c
gcc -c -march=pentium3 -O3 -pipe -fomit-frame-pointer -I/usr/include/openssl -funroll-loops  -DMYSQL -DEGG tty.c
gcc -c -march=pentium3 -O3 -pipe -fomit-frame-pointer -I/usr/include/openssl -finline-functions DES_bs_b.c
gcc -s arch.o DES_fmt.o DES_std.o DES_bs.o DES_bs_b.o MD5_fmt.o MD5_std.o BF_fmt.o BF_std.o bench.o best.o common.o config.o formats.o math.o memory.o miscnl.o params.o path.o signals.o tty.o -o bench
gcc: arch.o: No such file or directory
make[1]: *** [bench] Error 1
make[1]: Leaving directory `/var/tmp/portage/johntheripper-1.6.37/work/john-1.6.37/src'
make: *** [generic.h] Error 1

!!! ERROR: app-crypt/johntheripper-1.6.37 failed.
!!! Function src_compile, Line 61, Exitcode 2
!!! Make failed


Reproducible: Always
Steps to Reproduce:
1. emerge johntheripper
2. ??
3. profit




spider root # emerge info
Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040420-r0,
2.6.4-gentoo)
=================================================================
System uname: 2.6.4-gentoo i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.15
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="no"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirror.tucdemonic.org/gentoo/
http://gentoo.binarycompass.org http://128.213.5.34/gentoo/
http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j3"
PKGDIR="/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apache2 avi bonobo crypt cups curl emacs esd ethereal evo foomaticdb
foreign-package foreign-sysvinit gd gdbm gif gnome gpm gtk gtk2 guile imlib java
jikes jpeg ldap leim libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses
offensive oggvorbis opengl operanom2 pam pdflib perl png python qt quicktime
readline sdl slang spell ssl svga tcltk tcpd tetex tiff truetype videos x86 xml2
xmms xv zlib"

spider root #
Comment 1 Ghislain Bourgeois 2004-05-23 10:17:52 UTC
I think this is because of the new ebuild. It includes contrib patches to john, but the use flag are used to look for dependencies. Try it with kerberos, skey and ntlm use flags and see if it works.

Hysteric
Comment 2 Ernani MElode Sousa Reis 2004-05-23 15:30:30 UTC
I tried with the use flags you mentioned (kerberos, skey and ntlm) and got the same result.
Comment 3 Daniel Black (RETIRED) gentoo-dev 2004-05-23 22:30:03 UTC
I committed version 1.6.37-r1 a few hours ago that fixed lots of bugs and have removed 1.6.37.

This bench target that it seems to be building I had included however it is an executable without a main function. I have not found a reason for it to be included and as such it has been removed since been removed from the compile process.

The skey part of 1.6.37-r1 fails a self test (john -test) and I'm still investigating as to why that fails.

Please reopen if version 1.6.37-r1 fails.
Comment 4 Guillaume Baudot 2004-05-24 08:38:21 UTC
Same error with version 1.6.37-r1

...
gcc: arch.o: No such file or directory
...
Comment 5 Daniel Black (RETIRED) gentoo-dev 2004-05-24 14:58:55 UTC
*** Bug 51913 has been marked as a duplicate of this bug. ***
Comment 6 Daniel Black (RETIRED) gentoo-dev 2004-05-24 16:01:14 UTC
Ok fixed properly this time (touch wood). This will not work with hppa or mips for a little bit (until I fix something). sparc,x86,ppc,amd64,alpha all should be fine though (awaiting tested confirmation in bug #51442)

Thank for the bug report.
Comment 7 Daniel Black (RETIRED) gentoo-dev 2004-05-24 16:51:05 UTC
Owen,
While I think of it. If you have a P3 (as I do) you should be able to set the mmx use flag and get a bit of added performance. Check /proc/cpuinfo for the flags. If it contains mmx you can use the useflag to get the added performence.