Opened 18 years ago

Closed 18 years ago

Last modified 15 years ago

#11526 closed defect (fixed)

john doesnt build

Reported by: christoph.sturm@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: john, john-devel

Description

on my intel mac john wont build.

heres the error:

sudo port install john
--->  Building john with target {clean macosx-x86-mmx}
Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_sysutils_john/work/john-1.7.0.2/src" && make clean macosx-x86-mmx" returned error 2
Command output: gcc -DJOHN_SYSTEMWIDE=1 -DJOHN_SYSTEMWIDE_EXEC=\\\"/opt/local/share/john\\\" -DJOHN_SYSTEMWIDE_HOME=\\\"/opt/local/share/john\\\" -c -Wall -O2 -fomit-frame-pointer -funroll-loops AFS_fmt.c
gcc -DJOHN_SYSTEMWIDE=1 -DJOHN_SYSTEMWIDE_EXEC=\\\"/opt/local/share/john\\\" -DJOHN_SYSTEMWIDE_HOME=\\\"/opt/local/share/john\\\" -c -Wall -O2 -fomit-frame-pointer -funroll-loops LM_fmt.c
gcc -DJOHN_SYSTEMWIDE=1 -DJOHN_SYSTEMWIDE_EXEC=\\\"/opt/local/share/john\\\" -DJOHN_SYSTEMWIDE_HOME=\\\"/opt/local/share/john\\\" -c -Wall -O2 -fomit-frame-pointer -funroll-loops batch.c
gcc -DJOHN_SYSTEMWIDE=1 -DJOHN_SYSTEMWIDE_EXEC=\\\"/opt/local/share/john\\\" -DJOHN_SYSTEMWIDE_HOME=\\\"/opt/local/share/john\\\" -c -Wall -O2 -fomit-frame-pointer -funroll-loops bench.c
gcc -DJOHN_SYSTEMWIDE=1 -DJOHN_SYSTEMWIDE_EXEC=\\\"/opt/local/share/john\\\" -DJOHN_SYSTEMWIDE_HOME=\\\"/opt/local/share/john\\\" -c -Wall -O2 -fomit-frame-pointer -funroll-loops charset.c
gcc -DJOHN_SYSTEMWIDE=1 -DJOHN_SYSTEMWIDE_EXEC=\\\"/opt/local/share/john\\\" -DJOHN_SYSTEMWIDE_HOME=\\\"/opt/local/share/john\\\" -c -Wall -O2 -fomit-frame-pointer -funroll-loops common.c
gcc -DJOHN_SYSTEMWIDE=1 -DJOHN_SYSTEMWIDE_EXEC=\\\"/opt/local/share/john\\\" -DJOHN_SYSTEMWIDE_HOME=\\\"/opt/local/share/john\\\" -c -Wall -O2 -fomit-frame-pointer -funroll-loops compiler.c
gcc -DJOHN_SYSTEMWIDE=1 -DJOHN_SYSTEMWIDE_EXEC=\\\"/opt/local/share/john\\\" -DJOHN_SYSTEMWIDE_HOME=\\\"/opt/local/share/john\\\" -c -Wall -O2 -fomit-frame-pointer -funroll-loops config.c
gcc -DJOHN_SYSTEMWIDE=1 -DJOHN_SYSTEMWIDE_EXEC=\\\"/opt/local/share/john\\\" -DJOHN_SYSTEMWIDE_HOME=\\\"/opt/local/share/john\\\" -c -Wall -O2 -fomit-frame-pointer -funroll-loops cracker.c
gcc -DJOHN_SYSTEMWIDE=1 -DJOHN_SYSTEMWIDE_EXEC=\\\"/opt/local/share/john\\\" -DJOHN_SYSTEMWIDE_HOME=\\\"/opt/local/share/john\\\" -c -Wall -O2 -fomit-frame-pointer -funroll-loops crc32.c
gcc -DJOHN_SYSTEMWIDE=1 -DJOHN_SYSTEMWIDE_EXEC=\\\"/opt/local/share/john\\\" -DJOHN_SYSTEMWIDE_HOME=\\\"/opt/local/share/john\\\" -c -Wall -O2 -fomit-frame-pointer -funroll-loops external.c
gcc -DJOHN_SYSTEMWIDE=1 -DJOHN_SYSTEMWIDE_EXEC=\\\"/opt/local/share/john\\\" -DJOHN_SYSTEMWIDE_HOME=\\\"/opt/local/share/john\\\" -c -Wall -O2 -fomit-frame-pointer -funroll-loops formats.c
gcc -DJOHN_SYSTEMWIDE=1 -DJOHN_SYSTEMWIDE_EXEC=\\\"/opt/local/share/john\\\" -DJOHN_SYSTEMWIDE_HOME=\\\"/opt/local/share/john\\\" -c -Wall -O2 -fomit-frame-pointer -funroll-loops getopt.c
gcc -DJOHN_SYSTEMWIDE=1 -DJOHN_SYSTEMWIDE_EXEC=\\\"/opt/local/share/john\\\" -DJOHN_SYSTEMWIDE_HOME=\\\"/opt/local/share/john\\\" -c -Wall -O2 -fomit-frame-pointer -funroll-loops idle.c
gcc -DJOHN_SYSTEMWIDE=1 -DJOHN_SYSTEMWIDE_EXEC=\\\"/opt/local/share/john\\\" -DJOHN_SYSTEMWIDE_HOME=\\\"/opt/local/share/john\\\" -c -Wall -O2 -fomit-frame-pointer -funroll-loops inc.c
gcc -DJOHN_SYSTEMWIDE=1 -DJOHN_SYSTEMWIDE_EXEC=\\\"/opt/local/share/john\\\" -DJOHN_SYSTEMWIDE_HOME=\\\"/opt/local/share/john\\\" -c -Wall -O2 -fomit-frame-pointer -funroll-loops john.c
gcc -DJOHN_SYSTEMWIDE=1 -DJOHN_SYSTEMWIDE_EXEC=\\\"/opt/local/share/john\\\" -DJOHN_SYSTEMWIDE_HOME=\\\"/opt/local/share/john\\\" -c -Wall -O2 -fomit-frame-pointer -funroll-loops list.c
gcc -DJOHN_SYSTEMWIDE=1 -DJOHN_SYSTEMWIDE_EXEC=\\\"/opt/local/share/john\\\" -DJOHN_SYSTEMWIDE_HOME=\\\"/opt/local/share/john\\\" -c -Wall -O2 -fomit-frame-pointer -funroll-loops loader.c
gcc -DJOHN_SYSTEMWIDE=1 -DJOHN_SYSTEMWIDE_EXEC=\\\"/opt/local/share/john\\\" -DJOHN_SYSTEMWIDE_HOME=\\\"/opt/local/share/john\\\" -c -Wall -O2 -fomit-frame-pointer -funroll-loops logger.c
gcc -DJOHN_SYSTEMWIDE=1 -DJOHN_SYSTEMWIDE_EXEC=\\\"/opt/local/share/john\\\" -DJOHN_SYSTEMWIDE_HOME=\\\"/opt/local/share/john\\\" -c -Wall -O2 -fomit-frame-pointer -funroll-loops math.c
gcc -DJOHN_SYSTEMWIDE=1 -DJOHN_SYSTEMWIDE_EXEC=\\\"/opt/local/share/john\\\" -DJOHN_SYSTEMWIDE_HOME=\\\"/opt/local/share/john\\\" -c -Wall -O2 -fomit-frame-pointer -funroll-loops memory.c
gcc -DJOHN_SYSTEMWIDE=1 -DJOHN_SYSTEMWIDE_EXEC=\\\"/opt/local/share/john\\\" -DJOHN_SYSTEMWIDE_HOME=\\\"/opt/local/share/john\\\" -c -Wall -O2 -fomit-frame-pointer -funroll-loops misc.c
gcc -DJOHN_SYSTEMWIDE=1 -DJOHN_SYSTEMWIDE_EXEC=\\\"/opt/local/share/john\\\" -DJOHN_SYSTEMWIDE_HOME=\\\"/opt/local/share/john\\\" -c -Wall -O2 -fomit-frame-pointer -funroll-loops options.c
gcc -DJOHN_SYSTEMWIDE=1 -DJOHN_SYSTEMWIDE_EXEC=\\\"/opt/local/share/john\\\" -DJOHN_SYSTEMWIDE_HOME=\\\"/opt/local/share/john\\\" -c -Wall -O2 -fomit-frame-pointer -funroll-loops params.c
gcc -DJOHN_SYSTEMWIDE=1 -DJOHN_SYSTEMWIDE_EXEC=\\\"/opt/local/share/john\\\" -DJOHN_SYSTEMWIDE_HOME=\\\"/opt/local/share/john\\\" -c -Wall -O2 -fomit-frame-pointer -funroll-loops path.c
path.c: In function 'path_init':
path.c:40: error: stray '\' in program
path.c:40: error: missing terminating " character
make[1]: *** [path.o] Error 1
make: *** [macosx-x86-mmx] Error 2

Error: Status 1 encountered during processing.

Attachments (2)

john.patch (1.1 KB) - added by roederja@… 18 years ago.
Patch for the john portfile
john-devel.patch (1.1 KB) - added by roederja@… 18 years ago.
Patch for john-devel

Download all attachments as: .zip

Change History (8)

comment:1 Changed 18 years ago by roederja@…

That's really strange. On my PPC OS X 10.4.8 machine the build commands look quite different:

cc -DJOHN_SYSTEMWIDE=1 -DJOHN_SYSTEMWIDE_EXEC=\"/opt/local/share/john\" -DJOHN_SYSTEMWIDE_HOME=\"/opt/local/share/john\" -c -traditional-cpp -O2 path.c

Note the cc instead of gcc and also there is only one \ instead of
\ . Also I have the traditional-cpp flag that you don't have. Do you have any special setup ? Can another intel user confirm this ?

Changed 18 years ago by roederja@…

Attachment: john.patch added

Patch for the john portfile

Changed 18 years ago by roederja@…

Attachment: john-devel.patch added

Patch for john-devel

comment:2 Changed 18 years ago by pipping@…

Milestone: Available Ports

comment:3 Changed 18 years ago by pipping@…

Milestone: Available PortsPort Bugs

comment:4 Changed 18 years ago by roederja

Resolution: fixed
Status: newclosed

comment:5 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:6 in reply to:  4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Port: john john-devel added
Priority: HighNormal

Jann fixed this in r23254.

Note: See TracTickets for help on using tickets.