Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 305615 - Problems with emerging freebsd-lib while building crossdev toolchain
Summary: Problems with emerging freebsd-lib while building crossdev toolchain
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-17 18:28 UTC by Maxim Koltsov (RETIRED)
Modified: 2010-04-11 20:32 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 Maxim Koltsov (RETIRED) gentoo-dev 2010-02-17 18:28:17 UTC
I want to install a Gentoo/FreeBSD system using a crosscompiler toolchain created by crossdev? but when building toolchain, it crashes.
P.S. I used this manual: http://www.gentoo.org/proj/en/gentoo-alt/bsd/fbsd/
P.P.S. If i build a toolchain, what must i do to have bootable Gentoo/FreeBSD system in /mnt/fbsd?

Reproducible: Always

Steps to Reproduce:
1.crossdev -s4 --gcc 3.4.6-r2 --libc "7.2" --target i686-gentoo-freebsd7.2 --with-headers -v

Actual Results:  
install: cannot change ownership of `/var/tmp/cross/i686-gentoo-freebsd7.2/portage/cross-i686-gentoo-freebsd7.2/freebsd-lib-7.2/work/include_proper/wctype.h': Operation not permitted
<....>
install: cannot change ownership of `/var/tmp/cross/i686-gentoo-freebsd7.2/portage/cross-i686-gentoo-freebsd7.2/freebsd-lib-7.2/work/include_proper/wordexp.h': Operation not permitted
install: cannot change ownership of `/var/tmp/cross/i686-gentoo-freebsd7.2/portage/cross-i686-gentoo-freebsd7.2/freebsd-lib-7.2/work/include_proper/osreldate.h': Operation not permitted
*** Error code 1

Stop.
pmake: stopped in /var/tmp/cross/i686-gentoo-freebsd7.2/portage/cross-i686-gentoo-freebsd7.2/freebsd-lib-7.2/work/include
 * ERROR: cross-i686-gentoo-freebsd7.2/freebsd-lib-7.2 failed:
 *   install_includes() failed
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_prepare
 *   environment, line 3156:  Called install_includes '/include_proper'
 *   environment, line 2254:  Called die
 * The specific snippet of code:
 *       $(freebsd_get_bmake) installincludes MACHINE=${MACHINE} DESTDIR="${DESTDIR}" INCLUDEDIR="${INCLUDEDIR}" BINOWN="${BINOWN}" BINGRP="${BINGRP}" || die "install_includes() failed";
 * 
 * If you need support, post the output of 'emerge --info =cross-i686-gentoo-freebsd7.2/freebsd-lib-7.2',
 * the complete build log and the output of 'emerge -pqv =cross-i686-gentoo-freebsd7.2/freebsd-lib-7.2'.
 * This ebuild is from an overlay named 'desktop-effects': '/usr/local/portage/layman/desktop-effects/'
 * The complete build log is located at '/var/tmp/cross/i686-gentoo-freebsd7.2/portage/cross-i686-gentoo-freebsd7.2/freebsd-lib-7.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/cross/i686-gentoo-freebsd7.2/portage/cross-i686-gentoo-freebsd7.2/freebsd-lib-7.2/temp/environment'.
 * S: '/var/tmp/cross/i686-gentoo-freebsd7.2/portage/cross-i686-gentoo-freebsd7.2/freebsd-lib-7.2/work/lib'


Expected Results:  
Normal compilation of toolchain
Comment 1 SpanKY gentoo-dev 2010-04-11 20:32:01 UTC
"install: cannot change ownership of" implies a problem on your system, not with crossdev.  which is to say you arent running as root or something.

post `emerge --info` like all the places say to ...