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

Bug 82911

Summary: baselayout does not always create /etc/env.d/04multilib, which is required by some things.
Product: Gentoo Linux Reporter: Tony Murray <tonymurray>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: VERIFIED FIXED    
Severity: normal CC: eradicator, gentoobugs
Priority: High    
Version: 2004.3   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tony Murray 2005-02-21 20:51:20 UTC
Ok, I have a 2004.3 profile AMD64 system and am trying to update to the 2005.0 multilib profile following the directions on this page http://www.gentoo.org/proj/en/base/amd64/2005.0-upgrade-amd64.xml

After emergeing baselayout-1.11.9-r1, /etc/env.d/04multilib is not created which causes the upgrade script to fail.  Here is the pertinant section from baselayout's ebuild.

        # List all the multilib libdirs in /etc/env/04multilib (only if they're
        # actually different from the normal
       if [ $(number_abis) -ne 1 -o $(get_libdir) != "lib" ]; then
                echo "LDPATH=\"${libdirs_env}\"" > ${D}/etc/env.d/04multilib
       fi

In the previous version the if statement wasn't there.  This is probably correct behavior, if so the script and page should be updated...


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2005-03-10 15:46:20 UTC
Fixed in cvs.  Thanks.
Comment 2 P Nienaber 2005-03-11 20:02:42 UTC
*** Bug 84703 has been marked as a duplicate of this bug. ***
Comment 3 Michael Ploujnikov 2005-03-12 17:53:52 UTC
When I tried to move my new install 2004.3 -> 2005.0 I get:

# emerge -v --oneshot '>=sys-apps/portage-2.0.51-r9'
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/portage-2.0.51.19 to /
>>> md5 src_uri ;-) portage-2.0.51.19.tar.bz2
>>> Unpacking source...
>>> Unpacking portage-2.0.51.19.tar.bz2 to /var/tmp/portage/portage-2.0.51.19/work
>>> Source unpacked.
 * No valid multilib environment found!
 * Building without multilib support. If
 * you want to have multilib support,
 * emerge gcc with "multilib" in your
 * useflags.
...
(yellow stars)

I installed gentoo today, using stage3, and thus I synced today as well.
I have tried to manually emerge 'baselayout' and it upgraded it:

[ebuild     U ] sys-apps/baselayout-1.9.4-r7 [1.9.4-r6]

this created the /etc/env.d/04multilib file, however, that did not fix the multilib complaining.

I also have /lib32/libc.so.6 -> libc-2.3.4.so
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2005-03-13 00:27:49 UTC
Michael, you seem to have a different problem.  Please open another bug and provide 'emerge --info'
Comment 5 Tony Murray 2005-10-31 08:49:25 UTC
Closing.