| Summary: | media-gfx/argyllcms-2.0.0 fails to build on 32bit host with 64bit kernel | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Marc Burkhardt <marc> |
| Component: | Current packages | Assignee: | Bernard Cafarelli <voyageur> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Marc Burkhardt
2017-11-22 19:40:43 UTC
Thanks for the report, let's see...
It's strange that you got 1.9.2 in, as the Jam files did not change for this step (Jambase file, line 979):
# Make things work on 64 bit Linux
# Because HOSTTYPE is not normally exported, check the uname() result
if ! $(HOSTTYPE) {
HOSTTYPE = $(JAMUNAME[1]) ;
}
if $(HOSTTYPE) = x86_64
|| $(HOSTTYPE) = x86_64-linux
|| $(HOSTTYPE) = amd64 {
ECHO "We're on a 64 bit host" ;
HOST64 = true ;
CFLAGS += -m64 ;
C++FLAGS += -m64 ;
}
Or did you have a 32bit kernel before? As it's apparently using uname output
Anyway from looking at the code (jam is not yummy I can tell you), setting HOSTTYPE on the jam line in the ebuild should do the trick:
HOSTTYPE=${CHOST/-*} jam ...
|