Summary: | problem while emerge app-crypt/johntheripper-1.6.38 | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Dirk Schoenberger <dirk.schoenberger> |
Component: | Mac OSX | Assignee: | Gentoo for Mac OS X <ppc-macos> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dragonheart |
Priority: | High | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | PPC | ||
OS: | OS X | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Dirk Schoenberger
2005-09-19 14:38:25 UTC
in the ebuild this has elif use ppc-macos; then emake ${OPTIONS} macosx-ppc-altivec-cc || die "Make failed" Does ppc-macos not set the USE flag? I'm going to be redoing the john ebuilds - they are too broken. nah, the make script has changed. The options are now: macosx-ppc32-cc Mac OS X, PowerPC 32-bit, cc macosx-ppc64-cc Mac OS X 10.4+, PowerPC 64-bit, cc macosx-ppc32-altivec-cc Mac OS X, PowerPC w/AltiVec, cc so I guess we either chose "macosx-ppc32-altivec-cc" (which should fit everyone) or conditional on CHOST (darwin8 = 10.4+) to do "macosx-ppc64-cc". I think the first is sufficient for now. The actual problem in this bug, apart from the wrong make-target call, is that ppc was placed above ppc-macos. I put ppc below ppc-macos now, so the most specific one comes (and is matched) first. I checked in my fix, so you have a working ebuild to start from. Thanks Fabian given altivec is a use flag I'm going to put this as a conditional in the next version 1.6.40 that I'm battling with at the moment. I've done a propper check on the make targets too this time. Just reading what I said yesterday, I think I said some bogus. darwin8 = 10.4, but that doesn't imply that the arch is ppc64. If you happen to try to match the 64-bits version, I guess some more voodoo is necessary, however, since we do everything in 32-bits (the OS userland is not really 64-bits anyway) I am more than happy if you do altivec switching for the two 32-bits profiles. Just a thought, maybe it helps simplifying things for you. The comments in the makefile say that: macosx-ppc64-altivec is slightly slower than macosx-ppc32-altivec for most hash types. 1.6.40 added that probably makes more sense than me now. Thanks again. |