ERROR: app-crypt/johntheripper-1.6-r3 failed Reproducible: Always Steps to Reproduce: 1. emerge sync 2. emerge -vuDa world 3. crash johntheripper-1.6-r3 >>> Unpacking source... >>> Unpacking john-1.6.tar.gz to /var/portage/johntheripper-1.6-r3/work >>> Unpacking john-1.6-gentoo.patch to /var/portage/johntheripper-1.6-r3/work unpack john-1.6-gentoo.patch: file format not recognized. Ignoring. * Applying john-1.6- gentoo.patch ... [ ok ] >>> Source unpacked. /usr/portage/app-crypt/johntheripper/johntheripper-1.6-r3.ebuild: line 55: local: `-march=k6-3': not a valid identifier rm -f arch.h gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl detect.c gcc -s detect.o -o detect ./best.sh "make" \ "DES_fmt.o DES_std.o" \ "MD5_std.o" \ "BF_std.o" Compiling: DES benchmark (code version #1) make[1]: Entering directory `/var/portage/johntheripper-1.6-r3/work/john- 1.6/src' gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG DES_bs.c sed "s/unsigned long/ARCH_WORD/" nonstd.c > DES_bs_s.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG DES_fmt.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG DES_std.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG MD5_fmt.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG MD5_std.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG BF_fmt.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG BF_std.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG bench.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG best.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG common.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG config.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG formats.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG memory.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG misc.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG params.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG path.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG signals.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG tty.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - finline-functions DES_bs_b.c gcc -s DES_bs.o DES_bs_b.o DES_fmt.o DES_std.o MD5_fmt.o MD5_std.o BF_fmt.o BF_std.o bench.o best.o common.o config.o formats.o memory.o misc.o params.o path.o signals.o tty.o -o bench make[1]: Leaving directory `/var/portage/johntheripper-1.6-r3/work/john-1.6/src' Benchmarking: Standard DES [24/32 4K]... 64156 c/s real, 64078 c/s virtual Compiling: DES benchmark (code version #2) make[1]: Entering directory `/var/portage/johntheripper-1.6-r3/work/john- 1.6/src' gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG DES_fmt.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG DES_std.c gcc -s DES_bs.o DES_bs_b.o DES_fmt.o DES_std.o MD5_fmt.o MD5_std.o BF_fmt.o BF_std.o bench.o best.o common.o config.o formats.o memory.o misc.o params.o path.o signals.o tty.o -o bench make[1]: Leaving directory `/var/portage/johntheripper-1.6-r3/work/john-1.6/src' Benchmarking: Standard DES [24/32 128K]... 85347 c/s real, 85347 c/s virtual Compiling: DES benchmark (code version #3) make[1]: Entering directory `/var/portage/johntheripper-1.6-r3/work/john- 1.6/src' gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG DES_fmt.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG DES_std.c gcc -s DES_bs.o DES_bs_b.o DES_fmt.o DES_std.o MD5_fmt.o MD5_std.o BF_fmt.o BF_std.o bench.o best.o common.o config.o formats.o memory.o misc.o params.o path.o signals.o tty.o -o bench make[1]: Leaving directory `/var/portage/johntheripper-1.6-r3/work/john-1.6/src' Benchmarking: Standard DES [24/32 4K]... 62251 c/s real, 62325 c/s virtual Compiling: DES benchmark (code version #4) make[1]: Entering directory `/var/portage/johntheripper-1.6-r3/work/john- 1.6/src' gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG DES_fmt.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG DES_std.c gcc -s DES_bs.o DES_bs_b.o DES_fmt.o DES_std.o MD5_fmt.o MD5_std.o BF_fmt.o BF_std.o bench.o best.o common.o config.o formats.o memory.o misc.o params.o path.o signals.o tty.o -o bench make[1]: Leaving directory `/var/portage/johntheripper-1.6-r3/work/john-1.6/src' Benchmarking: Standard DES [24/32 4K]... 67633 c/s real, 67546 c/s virtual Compiling: DES benchmark (code version #2, no key copying) make[1]: Entering directory `/var/portage/johntheripper-1.6-r3/work/john- 1.6/src' gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG DES_fmt.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG DES_std.c gcc -s DES_bs.o DES_bs_b.o DES_fmt.o DES_std.o MD5_fmt.o MD5_std.o BF_fmt.o BF_std.o bench.o best.o common.o config.o formats.o memory.o misc.o params.o path.o signals.o tty.o -o bench make[1]: Leaving directory `/var/portage/johntheripper-1.6-r3/work/john-1.6/src' Benchmarking: Standard DES [24/32 128K]... 86760 c/s real, 86331 c/s virtual Compiling: DES benchmark (bitslice) make[1]: Entering directory `/var/portage/johntheripper-1.6-r3/work/john- 1.6/src' gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG DES_fmt.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG DES_std.c gcc -s DES_bs.o DES_bs_b.o DES_fmt.o DES_std.o MD5_fmt.o MD5_std.o BF_fmt.o BF_std.o bench.o best.o common.o config.o formats.o memory.o misc.o params.o path.o signals.o tty.o -o bench make[1]: Leaving directory `/var/portage/johntheripper-1.6-r3/work/john-1.6/src' Benchmarking: Standard DES [32/32 BS]... 72311 c/s real, 72211 c/s virtual Benchmarking: FreeBSD MD5 [32/32]... 1676 c/s real, 1675 c/s virtual Compiling: MD5 benchmark (immediate values) make[1]: Entering directory `/var/portage/johntheripper-1.6-r3/work/john- 1.6/src' gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG MD5_std.c gcc -s DES_bs.o DES_bs_b.o DES_fmt.o DES_std.o MD5_fmt.o MD5_std.o BF_fmt.o BF_std.o bench.o best.o common.o config.o formats.o memory.o misc.o params.o path.o signals.o tty.o -o bench make[1]: Leaving directory `/var/portage/johntheripper-1.6-r3/work/john-1.6/src' Benchmarking: FreeBSD MD5 [32/32]... 1885 c/s real, 1885 c/s virtual Benchmarking: OpenBSD Blowfish (x32) [32/32]... 133 c/s real, 133 c/s virtual Compiling: Blowfish benchmark (scale) make[1]: Entering directory `/var/portage/johntheripper-1.6-r3/work/john- 1.6/src' gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG BF_std.c gcc -s DES_bs.o DES_bs_b.o DES_fmt.o DES_std.o MD5_fmt.o MD5_std.o BF_fmt.o BF_std.o bench.o best.o common.o config.o formats.o memory.o misc.o params.o path.o signals.o tty.o -o bench make[1]: Leaving directory `/var/portage/johntheripper-1.6-r3/work/john-1.6/src' Benchmarking: OpenBSD Blowfish (x32) [32/32]... 147 c/s real, 147 c/s virtual rm -f arch.h ln -s generic.h arch.h make ../run/john ../run/unshadow ../run/unafs ../run/unique ../run/undrop \ JOHN_OBJS="DES_bs.o DES_bs_b.o DES_fmt.o DES_std.o BSDI_fmt.o MD5_fmt.o MD5_std.o BF_fmt.o BF_std.o AFS_fmt.o LM_fmt.o batch.o bench.o charset.o common.o compiler.o config.o cracker.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 unafs.o unique.o MYSQL_fmt.o BFEgg_fmt.o undrop.o" make[1]: Entering directory `/var/portage/johntheripper-1.6-r3/work/john- 1.6/src' gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG DES_fmt.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG DES_std.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG BSDI_fmt.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG MD5_std.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG BF_std.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG AFS_fmt.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG LM_fmt.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG batch.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG charset.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG compiler.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG cracker.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG external.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG getopt.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG idle.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG inc.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG john.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG list.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG loader.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG logger.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG math.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG options.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG recovery.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG rpp.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG rules.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG single.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG status.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG wordlist.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG unshadow.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG unafs.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG unique.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG MYSQL_fmt.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG BFEgg_fmt.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG undrop.c gcc -s DES_bs.o DES_bs_b.o DES_fmt.o DES_std.o BSDI_fmt.o MD5_fmt.o MD5_std.o BF_fmt.o BF_std.o AFS_fmt.o LM_fmt.o batch.o bench.o charset.o common.o compiler.o config.o cracker.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 unafs.o unique.o MYSQL_fmt.o BFEgg_fmt.o undrop.o -o ../run/john MYSQL_fmt.o(.text+0x5fb): In function `scramble': : undefined reference to `floor' MYSQL_fmt.o(.text+0x654): In function `scramble': : undefined reference to `floor' collect2: ld returned 1 exit status make[1]: *** [../run/john] B
ERROR: app-crypt/johntheripper-1.6-r3 failed Reproducible: Always Steps to Reproduce: 1. emerge sync 2. emerge -vuDa world 3. crash johntheripper-1.6-r3 >>> Unpacking source... >>> Unpacking john-1.6.tar.gz to /var/portage/johntheripper-1.6-r3/work >>> Unpacking john-1.6-gentoo.patch to /var/portage/johntheripper-1.6-r3/work unpack john-1.6-gentoo.patch: file format not recognized. Ignoring. * Applying john-1.6- gentoo.patch ... [ ok ] >>> Source unpacked. /usr/portage/app-crypt/johntheripper/johntheripper-1.6-r3.ebuild: line 55: local: `-march=k6-3': not a valid identifier rm -f arch.h gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl detect.c gcc -s detect.o -o detect ./best.sh "make" \ "DES_fmt.o DES_std.o" \ "MD5_std.o" \ "BF_std.o" Compiling: DES benchmark (code version #1) make[1]: Entering directory `/var/portage/johntheripper-1.6-r3/work/john- 1.6/src' gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG DES_bs.c sed "s/unsigned long/ARCH_WORD/" nonstd.c > DES_bs_s.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG DES_fmt.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG DES_std.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG MD5_fmt.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG MD5_std.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG BF_fmt.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG BF_std.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG bench.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG best.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG common.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG config.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG formats.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG memory.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG misc.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG params.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG path.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG signals.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG tty.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - finline-functions DES_bs_b.c gcc -s DES_bs.o DES_bs_b.o DES_fmt.o DES_std.o MD5_fmt.o MD5_std.o BF_fmt.o BF_std.o bench.o best.o common.o config.o formats.o memory.o misc.o params.o path.o signals.o tty.o -o bench make[1]: Leaving directory `/var/portage/johntheripper-1.6-r3/work/john-1.6/src' Benchmarking: Standard DES [24/32 4K]... 64156 c/s real, 64078 c/s virtual Compiling: DES benchmark (code version #2) make[1]: Entering directory `/var/portage/johntheripper-1.6-r3/work/john- 1.6/src' gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG DES_fmt.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG DES_std.c gcc -s DES_bs.o DES_bs_b.o DES_fmt.o DES_std.o MD5_fmt.o MD5_std.o BF_fmt.o BF_std.o bench.o best.o common.o config.o formats.o memory.o misc.o params.o path.o signals.o tty.o -o bench make[1]: Leaving directory `/var/portage/johntheripper-1.6-r3/work/john-1.6/src' Benchmarking: Standard DES [24/32 128K]... 85347 c/s real, 85347 c/s virtual Compiling: DES benchmark (code version #3) make[1]: Entering directory `/var/portage/johntheripper-1.6-r3/work/john- 1.6/src' gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG DES_fmt.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG DES_std.c gcc -s DES_bs.o DES_bs_b.o DES_fmt.o DES_std.o MD5_fmt.o MD5_std.o BF_fmt.o BF_std.o bench.o best.o common.o config.o formats.o memory.o misc.o params.o path.o signals.o tty.o -o bench make[1]: Leaving directory `/var/portage/johntheripper-1.6-r3/work/john-1.6/src' Benchmarking: Standard DES [24/32 4K]... 62251 c/s real, 62325 c/s virtual Compiling: DES benchmark (code version #4) make[1]: Entering directory `/var/portage/johntheripper-1.6-r3/work/john- 1.6/src' gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG DES_fmt.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG DES_std.c gcc -s DES_bs.o DES_bs_b.o DES_fmt.o DES_std.o MD5_fmt.o MD5_std.o BF_fmt.o BF_std.o bench.o best.o common.o config.o formats.o memory.o misc.o params.o path.o signals.o tty.o -o bench make[1]: Leaving directory `/var/portage/johntheripper-1.6-r3/work/john-1.6/src' Benchmarking: Standard DES [24/32 4K]... 67633 c/s real, 67546 c/s virtual Compiling: DES benchmark (code version #2, no key copying) make[1]: Entering directory `/var/portage/johntheripper-1.6-r3/work/john- 1.6/src' gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG DES_fmt.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG DES_std.c gcc -s DES_bs.o DES_bs_b.o DES_fmt.o DES_std.o MD5_fmt.o MD5_std.o BF_fmt.o BF_std.o bench.o best.o common.o config.o formats.o memory.o misc.o params.o path.o signals.o tty.o -o bench make[1]: Leaving directory `/var/portage/johntheripper-1.6-r3/work/john-1.6/src' Benchmarking: Standard DES [24/32 128K]... 86760 c/s real, 86331 c/s virtual Compiling: DES benchmark (bitslice) make[1]: Entering directory `/var/portage/johntheripper-1.6-r3/work/john- 1.6/src' gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG DES_fmt.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG DES_std.c gcc -s DES_bs.o DES_bs_b.o DES_fmt.o DES_std.o MD5_fmt.o MD5_std.o BF_fmt.o BF_std.o bench.o best.o common.o config.o formats.o memory.o misc.o params.o path.o signals.o tty.o -o bench make[1]: Leaving directory `/var/portage/johntheripper-1.6-r3/work/john-1.6/src' Benchmarking: Standard DES [32/32 BS]... 72311 c/s real, 72211 c/s virtual Benchmarking: FreeBSD MD5 [32/32]... 1676 c/s real, 1675 c/s virtual Compiling: MD5 benchmark (immediate values) make[1]: Entering directory `/var/portage/johntheripper-1.6-r3/work/john- 1.6/src' gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG MD5_std.c gcc -s DES_bs.o DES_bs_b.o DES_fmt.o DES_std.o MD5_fmt.o MD5_std.o BF_fmt.o BF_std.o bench.o best.o common.o config.o formats.o memory.o misc.o params.o path.o signals.o tty.o -o bench make[1]: Leaving directory `/var/portage/johntheripper-1.6-r3/work/john-1.6/src' Benchmarking: FreeBSD MD5 [32/32]... 1885 c/s real, 1885 c/s virtual Benchmarking: OpenBSD Blowfish (x32) [32/32]... 133 c/s real, 133 c/s virtual Compiling: Blowfish benchmark (scale) make[1]: Entering directory `/var/portage/johntheripper-1.6-r3/work/john- 1.6/src' gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG BF_std.c gcc -s DES_bs.o DES_bs_b.o DES_fmt.o DES_std.o MD5_fmt.o MD5_std.o BF_fmt.o BF_std.o bench.o best.o common.o config.o formats.o memory.o misc.o params.o path.o signals.o tty.o -o bench make[1]: Leaving directory `/var/portage/johntheripper-1.6-r3/work/john-1.6/src' Benchmarking: OpenBSD Blowfish (x32) [32/32]... 147 c/s real, 147 c/s virtual rm -f arch.h ln -s generic.h arch.h make ../run/john ../run/unshadow ../run/unafs ../run/unique ../run/undrop \ JOHN_OBJS="DES_bs.o DES_bs_b.o DES_fmt.o DES_std.o BSDI_fmt.o MD5_fmt.o MD5_std.o BF_fmt.o BF_std.o AFS_fmt.o LM_fmt.o batch.o bench.o charset.o common.o compiler.o config.o cracker.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 unafs.o unique.o MYSQL_fmt.o BFEgg_fmt.o undrop.o" make[1]: Entering directory `/var/portage/johntheripper-1.6-r3/work/john- 1.6/src' gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG DES_fmt.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG DES_std.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG BSDI_fmt.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG MD5_std.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG BF_std.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG AFS_fmt.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG LM_fmt.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG batch.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG charset.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG compiler.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG cracker.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG external.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG getopt.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG idle.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG inc.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG john.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG list.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG loader.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG logger.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG math.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG options.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG recovery.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG rpp.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG rules.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG single.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG status.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG wordlist.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG unshadow.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG unafs.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG unique.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG MYSQL_fmt.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG BFEgg_fmt.c gcc -c -Os -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/openssl - funroll-loops -DMYSQL -DEGG undrop.c gcc -s DES_bs.o DES_bs_b.o DES_fmt.o DES_std.o BSDI_fmt.o MD5_fmt.o MD5_std.o BF_fmt.o BF_std.o AFS_fmt.o LM_fmt.o batch.o bench.o charset.o common.o compiler.o config.o cracker.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 unafs.o unique.o MYSQL_fmt.o BFEgg_fmt.o undrop.o -o ../run/john MYSQL_fmt.o(.text+0x5fb): In function `scramble': : undefined reference to `floor' MYSQL_fmt.o(.text+0x654): In function `scramble': : undefined reference to `floor' collect2: ld returned 1 exit status make[1]: *** [../run/john] B³±d 1 make[1]: Leaving directory `/var/portage/johntheripper-1.6-r3/work/john-1.6/src' make: *** [generic] B³±d 2 !!! ERROR: app-crypt/johntheripper-1.6-r3 failed. !!! Function src_compile, Line 61, Exitcode 2 !!! Make failed !!! If you need support, post the topmost build error, NOT this status message. wset ~ # emerge info Portage 2.0.51.22-r2 (hardened/x86, gcc-3.3.6, glibc-2.3.5-r1, 2.4.31-hardened i686) ================================================================= System uname: 2.4.31-hardened i686 Pentium III (Coppermine) Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.4.22-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=pentium3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/ config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-Os -march=pentium3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/ ftp://ftp.du.se/pub/os/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.tiscali.nl/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://www.gigaload.org/gentoo.org/" LANG="pl_PL" LC_ALL="pl_PL" LINGUAS="pl" MAKEOPTS="-j3" PKGDIR="/usr/portage//packages/x86/" PORTAGE_TMPDIR="/var" PORTDIR="/usr/portage/" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acpi acpi4linux apache2 autofs berkdb bidi crypt curl devfs dlloader doc foomaticdb gd gdbm gif gpm hardened hardenedphp ipv6 jpeg md5sum mysql ncurses nls no-htdocs pam perl perlsuid php pic png python readline ruby samba sasl sse ssl tcpd usb userlocales x86 xml xml2 zlib linguas_pl userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, PORTDIR_OVERLAY
After USE="-mysql" emerge -vuDa world gcc -s DES_bs.o DES_bs_b.o DES_fmt.o DES_std.o BSDI_fmt.o MD5_fmt.o MD5_std.o BF_fmt.o BF_std.o AFS_fmt.o LM_fmt.o batch.o bench.o charset.o common.o compiler.o config.o cracker.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 unafs.o unique.o BFEgg_fmt.o undrop.o -o ../run/john ln -s john ../run/unshadow ln -s john ../run/unafs ln -s john ../run/unique rm -f ../run/undrop ln -s john ../run/undrop make[1]: Leaving directory `/var/portage/johntheripper-1.6-r3/work/john-1.6/src' All is OK.
I can't reproduce :-(. Version of mysql?
In the meanwhile, I marked it back to ~x86. Most people running unstable are probably running 1.6.38, so maybe 1.6-r3 didn't get enough testing.
Version mysql is: Latest version available: 4.0.25-r2 Latest version installed: 4.0.25-r2
Marek Can you try without -Os? I've heard sometimes this is buggy. As Marcelo said this works for me too. Like bug 106330 I may need to cludge a -m in the link options.
needs a -lm similar to 106330 I definately recommend 1.6.38 or 1.6.37_p11
on amd64 with USE=mysql, app-crypt/johntheripper-1.6.37_p11 also complains about undefined reference to `floor`: x86_64-pc-linux-gnu-gcc -c -Wall -O3 -fomit-frame-pointer -I/usr/local/include -L/usr/local/lib -finline-functions -finline-limit=2000 DES_bs_b.c x86_64-pc-linux-gnu-gcc -s DES_fmt.o DES_std.o DES_bs.o BSDI_fmt.o MD5_fmt.o MD5_std.o MD5_apache_fmt.o BF_fmt.o BF_std.o AFS_fmt.o BFEgg_fmt.o LM_fmt.o lotus5_fmt.o md5.o NSLDAP_fmt.o sha1.o base64.o MYSQL_fmt.o NT_fmt.o md4.o smbencrypt.o rawMD5_fmt.o mscash_fmt.o batch.o bench.o charset.o common.o compiler.o config.o cracker.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 unafs.o undrop.o unique.o DES_bs_b.o -o ../run/john MYSQL_fmt.o(.text+0x819): In function `scramble': : undefined reference to `floor' MYSQL_fmt.o(.text+0x8f9): In function `scramble': : undefined reference to `floor' collect2: ld returned 1 exit status make[1]: *** [../run/john] Error 1 make[1]: Leaving directory `/var/tmp/portage/johntheripper-1.6.37_p11/work/john-1.6.37/src' make: *** [linux-x86-64] Error 2 As per bug 106330 I tried running LDFLAGS="-lm" emerge -av johntheripper but that didn't change the errors
I've added 1.6.40 which does include mysql support. It is currently masked for testing and to fix a TEXTREL associated with it. Can you please test it by adding =app-crypt/johntheripper-1.6.40 to /etc/portage/package.mask and emergeing it. In particular please test john is using the paths correctly for config and all other files it uses. Thanks.
/etc/portage/package.unmask - it must be getting late.
I have just synced and added johntheripper-1.6.40 to package.unmask and package.keywords, but I still get the same error about an undefined reference to `floor': <snip> sed "s/unsigned long/ARCH_WORD/" sboxes.c > DES_bs_s.c sed "s/unsigned long/ARCH_WORD/" nonstd.c > DES_bs_n.c x86_64-pc-linux-gnu-gcc -c -Wall -O2 -march=k8 -fomit-frame-pointer -momit-leaf-frame-pointer -fweb -frename-registers -pipe -finline-limit=2000 DES_bs_b.c x86_64-pc-linux-gnu-gcc -s 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 des.o MD5_apache_fmt.o BFEgg_fmt.o lotus5_fmt.o md5.o NSLDAP_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 unafs.o undrop.o unique.o DES_bs_b.o -o ../run/john MYSQL_fmt.o: In function `scramble': MYSQL_fmt.c:(.text+0x338): undefined reference to `floor' MYSQL_fmt.c:(.text+0x373): undefined reference to `floor' collect2: ld returned 1 exit status make[1]: *** [../run/john] Error 1 make[1]: Leaving directory `/var/tmp/portage/johntheripper-1.6.40/work/john-1.6.40/src' make: *** [linux-x86-64] Error 2 !!! ERROR: app-crypt/johntheripper-1.6.40 failed. !!! Function src_compile, Line 55, Exitcode 2 # emerge info Portage 2.0.53 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r2 x86_64) ================================================================= System uname: 2.6.14-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.13 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8 -fomit-frame-pointer -momit-leaf-frame-pointer -fweb -frename-registers -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /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="-O2 -march=k8 -fomit-frame-pointer -momit-leaf-frame-pointer -fweb -frename-registers -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy ccache distlocks moo sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.tiscali.nl/pub/mirror/gentoo" LINGUAS="nl en_GB" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage" USE="amd64 S3TC X a52 aac aalib acpi alsa amarok apm arts artswrappersuid asterisk audiofile avi bash-completion berkdb bitmap-fonts bluetooth browserplugin bzip2 cddb cdparanoia cdr chroot crypt css cups curl dedicated dga dio directfb divx4linux dmx dts dv dvd dvdr dvdread edl eds emboss emul-linux-x86 encode evo exif expat fam fame fbcon fbdev festival ffmpeg fftw flac floppyd foomaticdb fortran freetype ftp gcj gd gdbm ggi gif glut gmp gpm graphviz gs gstreamer gtk gtk2 hal icq idn ieee1394 imagemagick imap imlib imlib2 ipv6 irmc ithreads jabber java javascript joystick jp2 jpeg jpeg2k kde kdeenablefinal kdepim lcd lcms libcaca libclamav libwww lirc live lm_sensors logitech-mouse lzo lzw lzw-tiff mad mbox mbrola mcal mime mjpeg mng mozcalendar mozsvg mozxmlterm mp3 mpeg mpeg4 mpi mplayer msn musicbrainz mysql mythtv nas ncurses net nethack network nls nowin nptl nptlonly nvidia oav objc offensive ogg oggvorbis openal opengl oss pcre pda pdf pdflib perl pic plotutils png posix ppds python qt quicktime rdesktop readline real rtc samba sasl sdl session slp smime sms snmp speex spell sqlite ssl stream subp subversion svg tcltk tetex tga theora threads tiff transcode truetype truetype-fonts type1-fonts udev usb userlocales v4l v4l2 vcd vcdimager videos visualization vorbis winbind wmf xine xml2 xmms xosd xpm xrandr xscreensaver xv xvid xvmc yv12 zlib zvbi linguas_nl linguas_en_GB userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS
first of all, the 1.6.40 doesn't use the useflags from 1.6-r3, which is suboptimal. Secondly, to fix it (at least for now), add LIBS=-lm to the OPTIONS= line. The floor() function is part of the math libs. Probably this should read like use mysql && OPTIONS="${OPTIONS} LIBS=-lm" but as the useflag isn't interpreted right now (it's not set for me and still compiles mysql support), just hardcode it. Works for me at least (amd64).
(In reply to comment #11) > first of all, the 1.6.40 doesn't use the useflags from 1.6-r3, which is > suboptimal. Why? All decrypt functions can be provided at once without conflict. It would be a pain to make it USE flag specific and it wouldn't gain anything. There are no conditional dependencies. > Secondly, to fix it (at least for now), add LIBS=-lm to the OPTIONS= line. The > floor() function is part of the math libs. Probably this should read like Try a revdep-rebuild and see if it picks up anything. I'm sure this shouldn't be needed but I'll ask around. > use mysql && OPTIONS="${OPTIONS} LIBS=-lm" > > but as the useflag isn't interpreted right now (it's not set for me and still > compiles mysql support), just hardcode it. Works for me at least (amd64). > This is why I don't think there should be a need to link the library. ldd /usr/sbin/unafs /usr/sbin/unique /usr/sbin/unshadow /usr/sbin/undrop /usr/sbin/john /usr/sbin/unafs: linux-gate.so.1 => (0xffffe000) libc.so.6 => /lib/libc.so.6 (0xb7e22000) /lib/ld-linux.so.2 (0xb7f6b000) /usr/sbin/unique: linux-gate.so.1 => (0xffffe000) libc.so.6 => /lib/libc.so.6 (0xb7e92000) /lib/ld-linux.so.2 (0xb7fdb000) /usr/sbin/unshadow: linux-gate.so.1 => (0xffffe000) libc.so.6 => /lib/libc.so.6 (0xb7e0c000) /lib/ld-linux.so.2 (0xb7f55000) /usr/sbin/undrop: linux-gate.so.1 => (0xffffe000) libc.so.6 => /lib/libc.so.6 (0xb7e3a000) /lib/ld-linux.so.2 (0xb7f83000) /usr/sbin/john: linux-gate.so.1 => (0xffffe000) libc.so.6 => /lib/libc.so.6 (0xb7e68000) /lib/ld-linux.so.2 (0xb7fb1000) Portage 2.1_pre3-r1 (hardened/x86/2.6, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r5 i686) ================================================================= System uname: 2.6.14-gentoo-r5 i686 AMD Athlon(tm) Gentoo Base System version 1.12.0_pre12 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [disabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe" CHOST="i686-pc-linux-gnu"
I also encountered the floor() problem on amd64; the mysql USE flag is not set. Adding LIBS=-lm to the OPTIONS= line worked for me. (revdep-rebuild was clean, apart for usual openoffice-bin complaints.)
Same error here: x86_64-pc-linux-gnu-gcc -c -Wall -O2 -march=k8 -pipe -finline-limit=2000 DES_bs_b.c x86_64-pc-linux-gnu-gcc -s 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 des.o MD5_apache_fmt.o BFEgg_fmt.o lotus5_fmt.o md5.o NSLDAP_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 unafs.o undrop.o unique.o DES_bs_b.o -o ../run/john MYSQL_fmt.o: In function `scramble': MYSQL_fmt.c:(.text+0x337): undefined reference to `floor' MYSQL_fmt.c:(.text+0x36f): undefined reference to `floor' collect2: ld returned 1 exit status make[1]: *** [../run/john] Error 1 make[1]: Leaving directory `/var/tmp/portage/johntheripper-1.6.40/work/john-1.6.40/src' make: *** [linux-x86-64] Error 2 !!! ERROR: app-crypt/johntheripper-1.6.40 failed. !!! Function src_compile, Line 55, Exitcode 2 !!! Make failed !!! If you need support, post the topmost build error, NOT this status message. Gentoo Base System version 1.12.0_pre13 Portage 2.1_pre3-r1 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.14-gentoo-r6-20060101 x86_64) ================================================================= System uname: 2.6.14-gentoo-r6-20060101 x86_64 AMD Athlon(tm) 64 Processor 3700+ dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=k8 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/local" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="amd64 X alsa audiofile avi bitmap-fonts bzip2 cdinstall cdr cjk crypt cups curl emboss encode ethereal expat fam ffmpeg flac foomaticdb fortran gif gpm gstreamer gtk gtk2 guile imlib ipv6 java jpeg junit lcms libwww lua lzw lzw-tiff mad mng mp3 mpeg ncurses nls nptl nptlonly ogg openal opengl pam pcre pdflib perl png python quicktime readline sdl speex spell ssl tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis xine xml2 xpm xv zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
hopefully fixed
Yes, thank you.