Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 149025

Summary: mozilla-firefox-1.5.0.7.ebuild does not check 32bit userspace on amd64 system
Product: Gentoo Linux Reporter: tonich <koprut>
Component: New packagesAssignee: AMD64 Project <amd64>
Status: RESOLVED LATER    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 124816    

Description tonich 2006-09-25 01:39:54 UTC
mozilla-firefox-1.5.0.7.ebuild does not check 32bit userspace on amd64 system, like on ppc:

   # Fix a compilation issue using the 32-bit userland with 64-bit kernel on
   # PowerPC, because with that configuration, it detects a ppc64 system.
   # -- hansmi, 2005-11-13
   if use ppc && [[ "${PROFILE_ARCH}" == ppc64 ]]; then
        sed -i -e "s#OS_TEST=\`uname -m\`\$#OS_TEST=${ARCH}#" \
            ${S}/configure
        sed -i -e "s#OS_TEST :=.*uname -m.*\$#OS_TEST:=${ARCH}#" \
            ${S}/security/coreconf/arch.mk
   fi

if system running on 64bit kernel and 32bit userspace then merging failed.
Needs code in ebuild for detecting that situation.
Comment 1 Simon Stelling (RETIRED) gentoo-dev 2006-09-25 01:47:20 UTC
Well, at this point this is merily a hypothetical issue as there is no "32bit userspace with 64bit kernel" setup, but we'll keep this open because it might be valid in future.
Comment 2 Simon Stelling (RETIRED) gentoo-dev 2006-12-14 13:45:44 UTC
far future, one might say