Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 408595 - sys-freebsd/freebsd-share-9.0 will make the /usr/lib32 directory. However, it is not necessary on x86-fbsd.
Summary: sys-freebsd/freebsd-share-9.0 will make the /usr/lib32 directory. However, it...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: new-fbsd-stage
  Show dependency tree
 
Reported: 2012-03-17 14:50 UTC by Yuta SATOH
Modified: 2012-03-30 16:01 UTC (History)
0 users

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


Attachments
patch for freebsd-share-9.0.ebuild (408595.patch,395 bytes, patch)
2012-03-17 14:59 UTC, Yuta SATOH
Details | Diff
files/freebsd-share-9.0-gentoowaydir.patch (freebsd-share-9.0-gentoowaydir.patch,314 bytes, patch)
2012-03-17 15:01 UTC, Yuta SATOH
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuta SATOH 2012-03-17 14:50:05 UTC
Only need the /usr/lib in Gentoo. /usr/lib32 is not needed.
sys-freebsd/freebsd-share-9.0 is because it makes /usr/lib32 directory, baselayout fails to emerge when creating a stage3 in the catalyst.

Reproducible: Always

Steps to Reproduce:
1.Create a new stage3 using catalyst.

Actual Results:  
>>> Emerging (36 of 191) sys-apps/baselayout-2.1
>>> Failed to emerge sys-apps/baselayout-2.1, Log file:
>>>  '/var/tmp/portage/sys-apps/baselayout-2.1/temp/build.log'
 * Package:    sys-apps/baselayout-2.1
 * Repository: gentoo
 * USE:        elibc_FreeBSD java5 kernel_FreeBSD userland_BSD x86-fbsd
 * FEATURES:   preserve-libs
 * You need to merge /usr/lib32 into /usr/lib
 * ERROR: sys-apps/baselayout-2.1 failed (setup phase):
 *   non-empty dir found where there should be none: /usr/lib32
 *
 * Call stack:
 *               ebuild.sh, line  85:  Called pkg_setup
 *   baselayout-2.1.ebuild, line  20:  Called multilib_layout
 *   baselayout-2.1.ebuild, line 111:  Called die
 * The specific snippet of code:
 *                                                      die "non-empty dir found where there should be none: ${prefix}lib32"
 *
 * If you need support, post the output of 'emerge --info =sys-apps/baselayout-2.1',
 * the complete build log and the output of 'emerge -pqv =sys-apps/baselayout-2.1'.
 * The complete build log is located at '/var/tmp/portage/sys-apps/baselayout-2.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/baselayout-2.1/temp/die.env'.
 * S: '/var/tmp/portage/sys-apps/baselayout-2.1/work/baselayout-2.1'
Comment 1 Yuta SATOH 2012-03-17 14:59:56 UTC
Created attachment 305711 [details, diff]
patch for freebsd-share-9.0.ebuild
Comment 2 Yuta SATOH 2012-03-17 15:01:32 UTC
Created attachment 305713 [details, diff]
files/freebsd-share-9.0-gentoowaydir.patch
Comment 3 Richard Yao (RETIRED) gentoo-dev 2012-03-29 18:07:08 UTC
I can confirm this issue and that Yuta SATOH's patches fix it on x86-fbsd.

Unless there are plans for multilib support in the near future, I suggest that we commit this to the tree for the time being.
Comment 4 Alexis Ballier gentoo-dev 2012-03-30 16:01:37 UTC
patch applied, thanks