john FTBFS in edgy

Bug #65831 reported by Fabio Massimo Di Nitto
2
Affects Status Importance Assigned to Milestone
john (Ubuntu)
Fix Released
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
Revision history for this message
Andrew Mitchell (ajmitch) wrote :

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

Revision history for this message
Fabio Massimo Di Nitto (fabbione) wrote :

what does it mean it takes too long to build?

Revision history for this message
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)
Changed in john:
status: Confirmed → In Progress
Revision history for this message
Kees Cook (kees) wrote :

New debdiff attached.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.