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

Bug 142832

Summary: [no-multilib] sys-libs/glibc-2.4-r3 is broken on no-multilib profile
Product: Gentoo Linux Reporter: Danny van Dyk (RETIRED) <kugelfang>
Component: New packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 142771    

Description Danny van Dyk (RETIRED) gentoo-dev 2006-08-04 13:14:03 UTC
glibc-2.4-r3 has this chunk of code at line 411 and following:
==
    # When cross-compiling for a non-multilib setup, make sure we have
    # lib and a proper symlink setup
    if ! use multilib && ! has_multilib_profile && [[ $(get_libdir) != "lib" ]] ; then
        cd "${D}"$(alt_libdir)/..
        mv $(get_libdir) lib || die
        ln -s lib $(get_libdir) || die
        cd "${D}"$(alt_usrlibdir)/..
        mv $(get_libdir) lib || die
        ln -s lib $(get_libdir) || die
    fi
==

From the comment above, it is quite clear that the if clause is missing a 'is_crosscompile'.
Comment 1 Danny van Dyk (RETIRED) gentoo-dev 2006-08-05 03:20:30 UTC
vapier ok'ed it. Fixed.