Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104647 - !!! Failed to move /var/tmp/portage/freebsd-lib-5.4-r2/image/usr/lib/crt1.o to /usr/lib/crt1.o
Summary: !!! Failed to move /var/tmp/portage/freebsd-lib-5.4-r2/image/usr/lib/crt1.o t...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All FreeBSD
: High normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
: 104648 105117 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-02 15:25 UTC by Luigi 'Comio' Mantellini
Modified: 2006-04-12 10:50 UTC (History)
1 user (show)

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 Luigi 'Comio' Mantellini 2005-09-02 15:25:46 UTC
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
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-09-02 15:27:49 UTC
You have not merged py-freebsd and the patched portage from freebsd overlay. 
 
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-09-02 15:29:25 UTC
*** Bug 104648 has been marked as a duplicate of this bug. ***
Comment 3 Luigi 'Comio' Mantellini 2005-09-02 15:32:35 UTC
ok... first py-freebsd... :S

thanks! I'm very stupid! :d

ciao
Comment 4 Luigi 'Comio' Mantellini 2005-09-02 15:35:25 UTC
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
Comment 5 Luigi 'Comio' Mantellini 2005-09-02 16:40:49 UTC
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
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-09-02 16:55:15 UTC
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. 
 
Comment 7 Luigi 'Comio' Mantellini 2005-09-02 16:59:40 UTC
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
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-09-07 01:45:54 UTC
*** Bug 105117 has been marked as a duplicate of this bug. ***