Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142832 - [no-multilib] sys-libs/glibc-2.4-r3 is broken on no-multilib profile
Summary: [no-multilib] sys-libs/glibc-2.4-r3 is broken on no-multilib profile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 142771
  Show dependency tree
 
Reported: 2006-08-04 13:14 UTC by Danny van Dyk (RETIRED)
Modified: 2006-08-05 03:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.