john FTBFS in edgy

Bug #65831 reported by Fabio Massimo Di Nitto on 2006-10-13
2
Affects Status Importance Assigned to Milestone
john (Ubuntu)
High
Kees Cook

Bug Description

gcc -c -Wall -O2 -fomit-frame-pointer -mcpu=i486 -funroll-loops bench.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
bench.c: In function ‘benchmark_cps’:
bench.c:147: error: ‘CLK_TCK’ undeclared (first use in this function)
bench.c:147: error: (Each undeclared identifier is reported only once
bench.c:147: error: for each function it appears in.)
make[2]: *** [bench.o] Error 1
make[2]: Leaving directory `/usr/src/ubuntu/foo/john-1.6/src'
make[1]: *** [linux-x86-any-elf] Error 2
make[1]: Leaving directory `/usr/src/ubuntu/foo/john-1.6/src'
make: *** [build/john] Error 2

Changed in john:
importance: Undecided → High
status: Unconfirmed → Confirmed
assignee: nobody → crimsun
Andrew Mitchell (ajmitch) wrote :

The following debdiff lets it compile, but the benchmarking stage takes too long for the package to build.

what does it mean it takes too long to build?

Kees Cook (kees) wrote :

Unfortunately, CLK_TCK != CLOCKS_PER_SEC. sysconf(_SC_CLK_TCK) should be used instead. I will work up a debdiff shortly...

Kees Cook (kees) on 2006-10-13
Changed in john:
status: Confirmed → In Progress
Kees Cook (kees) wrote :

New debdiff attached.

Changed in john:
assignee: crimsun → keescook
status: In Progress → Fix Committed
Matt Zimmerman (mdz) on 2006-10-13
Changed in john:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers