Merging freesbd, I have this error: >>> Merging sys-freebsd/freebsd-lib-5.4-r2 to / --- /usr/ --- /usr/lib/ !!! Failed to move /var/tmp/portage/freebsd-lib-5.4-r2/image/usr/lib/crt1.o to / usr/lib/crt1.o !!! [Errno 1] Operation not permitted I tried to revoke the schg to /usr/lib/crt1.o (chflags noschg /usr/lib/crt1.o) without success. my emerge info: Gentoo/FreeBSD: FreeBSD version 5.4-RELEASE; Gentoo base version 0.7 Portage 2.0.51.22 (!/usr/local/portage/gentoo-freebsd/profiles/default-bsd/fbsd/ 5.4/x86, gcc-, freebsd-lib-5.4-r2, 5.4-RELEASE i386) ================================================================= System uname: 5.4-RELEASE i386 i386 dev-lang/python: 2.4.1-r1 sys-apps/sandbox: [Not Present] sys-devel/autoconf: [Not Present] sys-devel/automake: [Not Present] sys-devel/binutils: 2.15 sys-devel/libtool: [Not Present] virtual/os-headers: 5.4 ACCEPT_KEYWORDS="x86 x86-fbsd ~x86 ~x86-fbsd" AUTOCLEAN="yes" CBUILD="i686-gentoo-freebsd5.4" CFLAGS="-mtune=i386 -O2 -pipe" CHOST="i686-gentoo-freebsd5.4" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/terminfo /etc/env.d" CXXFLAGS="-mtune=i386 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-s" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/gentoo-freebsd" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86-fbsd perl python readline ssl userland_BSD kernel_FreeBSD elibc_FreeBSD" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS Reproducible: Always Steps to Reproduce: 1.emerge freebsd-lib 2. 3. Actual Results: !!! Failed to move /var/tmp/portage/freebsd-lib-5.4-r2/image/usr/lib/crt1.o to / usr/lib/crt1.o !!! [Errno 1] Operation not permitted Expected Results: freebsd emerged
You have not merged py-freebsd and the patched portage from freebsd overlay.
*** Bug 104648 has been marked as a duplicate of this bug. ***
ok... first py-freebsd... :S thanks! I'm very stupid! :d ciao
you should change the command in the guide or the dipendences of freebsd-lib package! with the suggest "emerge python portage py-freebsd" I have this sequence: - python - freebsd-lib - py-freebsd :S I try to compile py-freebsd then freebsd-lib. Sorry for my questions... but beta-testing is beta-tesing.. :D
argh! I tried to compile py-freebsd and portage before to emerge the freebsd-lib... This is the error: >>> Merging sys-freebsd/freebsd-lib-5.4-r2 to / Traceback (most recent call last): File "/usr/bin/emerge", line 3200, in ? mydepgraph.merge(mydepgraph.altlist()) File "/usr/bin/emerge", line 1912, in merge retval=portage.doebuild(y,"merge",myroot,self.pkgsettings,edebug) File "/usr/lib/portage/pym/portage.py", line 2728, in doebuild return merge(mysettings["CATEGORY"],mysettings["PF"],mysettings["D"],mysetti ngs["BUILDDIR"]+"/build-info",myroot,mysettings,myebuild=mysettings["EBUILD"]) File "/usr/lib/portage/pym/portage.py", line 2925, in merge return mylink.merge(pkgloc,infloc,myroot,myebuild) File "/usr/lib/portage/pym/portage.py", line 6945, in merge return self.treewalk(mergeroot,myroot,inforoot,myebuild,cleanup=cleanup) File "/usr/lib/portage/pym/portage.py", line 6531, in treewalk if self.mergeme(srcroot,destroot,outfile,secondhand,"",cfgfiledict,mymtime): File "/usr/lib/portage/pym/portage.py", line 6739, in mergeme dflags=os.lstat(mydest).st_flags AttributeError: 'posix.stat_result' object has no attribute 'st_flags' Any idea? luigi
Your python is not patched as it should, so it's not going to work. Which stage did you use to start the installation? It doesn't feel like the latest one.
I followed the guide www.gentoo.org/doc/en/gentoo-freebsd.xml. But the stage3 has not the "cvs". The pachages versions are: python 2.4.1-r1 py-freebsd 0.9.1 portage 2.0.51.22-r2 Can you give me the correct stege3 and cvs link? thanks luigi
*** Bug 105117 has been marked as a duplicate of this bug. ***