stage1 libtool problem

Brian Gartner <[email protected]>
Newsgroups gmane.linux.gentoo.newbies
Message-ID <[email protected]>
I'm switching from a heavily modified version of Mandrake to Gentoo, and
running into difficulty. I'm using the 1.4-rc1 stage 1 tarball from the
UT2003 demo iso cd, and have no problems at all until I execute the
bootstrap.sh script. It runs fine until it decides to install libtool. I
then get the following output:

	>>> md5 ;-) libtool-1.4.1.tar.gz
	>>> Unpacking source...
	>>> Unpacking libtool-1.4.1.tar.gz
	patch: **** Can't create file /root/tmp/po3YJDgm : Permission
denied

	!!! ERROR: The ebuild did not complete successfully.
	!!! Function src_unpack, Line -106, Exitcode 2
	!!! (no error message)

I am building everything in the default location of /var/tmp, and not
/root/tmp, by the way. I don't know why it's trying to write to
/root/tmp/[randomly determined filename], but it _should_ be able to; I'm
running as root. I eventually went so far as to make /root and /root/tmp
world writeable (temporarily), and this did not help. I later ran "emerge
--debug libtool", which produces this output:

   Calculating dependencies ...done!
   >>> emerge sys-devel/libtool-1.4.1-r9 to /
   + /usr/sbin/ebuild.sh clean
   + dyn_clean
   + rm -rf /var/tmp/portage/libtool-1.4.1-r9/work
   + rm -rf /var/tmp/portage/libtool-1.4.1-r9/image
   + rm -rf /var/tmp/portage/libtool-1.4.1-r9/build-info
   + rm -rf /var/tmp/portage/libtool-1.4.1-r9/.compiled
   + set +x
   >>> md5 ;-) libtool-1.4.1.tar.gz
   + dyn_setup
   + pkg_setup
   + return
   + set +x
   + dyn_unpack
   + trap abort_unpack SIGINT SIGQUIT
   + local newstuff=no
   + '[' -e /var/tmp/portage/libtool-1.4.1-r9/work ']'
   + '[' -e /var/tmp/portage/libtool-1.4.1-r9/work ']'
   + install -m0700 -d /var/tmp/portage/libtool-1.4.1-r9/work
   + '[' -d /var/tmp/portage/libtool-1.4.1-r9/work ']'
   + cd /var/tmp/portage/libtool-1.4.1-r9/work
   + echo '>>> Unpacking source...'
   >>> Unpacking source...
   + src_unpack
   + unpack libtool-1.4.1.tar.gz
   + local x
   + local y
   + local myfail
   + myfail=failure unpacking libtool-1.4.1.tar.gz
   + echo '>>> Unpacking libtool-1.4.1.tar.gz'
   >>> Unpacking libtool-1.4.1.tar.gz
   ++ echo libtool-1.4.1.tar.gz
   ++ sed 's:.*\.\(tar\)\.[a-zA-Z0-9]*:\1:'
   + y=tar
   + '[' tar == tar ']'
   + tar xz --no-same-owner -f /usr/portage/distfiles/libtool-1.4.1.tar.gz
   + cd /var/tmp/portage/libtool-1.4.1-r9/work/libtool-1.4.1
   + patch -p1
   patch: **** Can't create file /root/tmp/poutnNhF : Permission denied
   + diefunc src_unpack -106 2
   + local funcname=src_unpack lineno=-106 exitcode=2
   + shift 3
   + echo
   
   + echo '!!! ERROR: The ebuild did not complete successfully.'
   !!! ERROR: The ebuild did not complete successfully.
   + echo '!!! Function src_unpack, Line -106, Exitcode 2'
   !!! Function src_unpack, Line -106, Exitcode 2
   + echo '!!! (no error message)'
   !!! (no error message)
   + echo
   
   + exit 1

I initially thought that the error might somehow have been caused (though
I don't know how) by my particular selection of "USE" options and/or my
CFLAGS CXXFLAGS, or perhaps by my filesystem of choice (ReiserFS -- yes, I
know it's not recommended). To test this, I wiped everything, rebuilt my
filesystems using ext2, and used vanilla values for all compilation
options. The result was identical.

Any help would be greatly appreciated.

Brian Gartner
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.