Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 452592 - =app-crypt/johntheripper-1.7.9-r6[openmp] fails to compile on ppc: gost_plug.c:(.text+0x162c): undefined reference to `rhash_u32_swap_copy
Summary: =app-crypt/johntheripper-1.7.9-r6[openmp] fails to compile on ppc: gost_plug....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rick Farina (Zero_Chaos)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 450180
  Show dependency tree
 
Reported: 2013-01-16 19:59 UTC by Vicente Olivert Riera (RETIRED)
Modified: 2013-01-22 21:09 UTC (History)
2 users (show)

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


Attachments
build log (file_452592.txt,53.14 KB, text/plain)
2013-01-16 19:59 UTC, Vicente Olivert Riera (RETIRED)
Details
emerge info (file_452592.txt,4.77 KB, text/plain)
2013-01-16 20:00 UTC, Vicente Olivert Riera (RETIRED)
Details
johntheripper-1.7.9-ppc-compile-fix.patch (file_452592.txt,491 bytes, text/plain)
2013-01-20 16:35 UTC, Vicente Olivert Riera (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vicente Olivert Riera (RETIRED) gentoo-dev 2013-01-16 19:59:04 UTC
Created attachment 335860 [details]
build log

$summary
Comment 1 Vicente Olivert Riera (RETIRED) gentoo-dev 2013-01-16 20:00:42 UTC
Created attachment 335862 [details]
emerge info
Comment 2 Vicente Olivert Riera (RETIRED) gentoo-dev 2013-01-20 16:35:10 UTC
Created attachment 336214 [details]
johntheripper-1.7.9-ppc-compile-fix.patch

This patch fixes the problem, but I don't know how safe is to apply it. I have asked upstream looking for feedback.
Comment 3 Vicente Olivert Riera (RETIRED) gentoo-dev 2013-01-22 12:40:46 UTC
I have sent my patch to upstream and I have received feedback :-)

Here is the email that they sent to me:

%%%%%%%%%%%%%%%%%%%
Hi Vicente,

This is exactly what I did some months back to get JtR compiled on PPC
architecture.

Also gost_plug.c file no longer exists in JtR jumbo (See
https://github.com/magnumripper/JohnTheRipper for latest code) *and*
it seems that this problem is already fixed in the latest code.

Let me know if you still run into compilation problems on PPC.
%%%%%%%%%%%%%%%%%%%
Comment 4 Rick Farina (Zero_Chaos) gentoo-dev 2013-01-22 21:09:36 UTC
+  22 Jan 2013; Rick Farina <zerochaos@gentoo.org>
+  +files/johntheripper-1.7.9-ppc-compile-fix.patch,
+  johntheripper-1.7.9-r6.ebuild:
+  build fix for ppc, as reported and fixed by peratu and approved by upstream
+  for this version. bug #452592

Thanks for all your help