Bug 135417 - >=app-arch/p7zip-4.39 fails on cross compilation
Bug#: 135417 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: radek@gentoo.org Reported By: zamorate@gentoo-es.org
Component: Ebuilds
URL: 
Summary: >=app-arch/p7zip-4.39 fails on cross compilation
Keywords:  
Status Whiteboard: 
Opened: 2006-06-03 11:24 0000
Description:   Opened: 2006-06-03 11:24 0000
Hello!
The versions 4.39 and 4.42 of p7zip fail on cross compilation. This is because
in the ebuild, we can see this:
# be aware that CXX is now gcc in pattern due to upstream  (radek@20060318)
But now, with this two versions, this isn't true, in the makefile CXX is
defined with g++. So the sed doesn't work, it changes CC but not CXX. To fix it
is only needed to change this into the ebuild, like in the path which I supply.
It is for the 4.42 version, but is the same fix for both versions. I have
tested between amd64, x86 and ppc and works well

Good Bye!

------- Comment #1 From Josu López Fernández 2006-06-03 11:24:52 0000 -------
Created an attachment (id=88281) [details]
p7zip-4.42.ebuild.patch

------- Comment #2 From Radoslaw Stachowiak 2006-06-03 14:06:57 0000 -------
FIxed in 4.42 - Coyld You please confirm that it works for You fine now?

------- Comment #3 From Josu López Fernández 2006-06-03 16:41:24 0000 -------
Yes, I have recompiled and works well.

Good Bye!

------- Comment #4 From Michael Weyershäuser 2006-07-11 09:56:27 0000 -------
Guess somebody forgot to resolve this ^^