Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 347159 - Try to install gentoo prefix on redhat, but "emerge perl" reports error
Summary: Try to install gentoo prefix on redhat, but "emerge perl" reports error
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-29 11:48 UTC by Gerald SHAO
Modified: 2011-12-22 10:53 UTC (History)
0 users

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


Attachments
the output of 'emerge --info =dev-lang/perl-5.12.1-r1' (info.log,3.55 KB, text/plain)
2010-11-29 11:49 UTC, Gerald SHAO
Details
the output of 'emerge -pqv =dev-lang/perl-5.12.1-r1' (pqv.log,135 bytes, text/plain)
2010-11-29 11:49 UTC, Gerald SHAO
Details
The build.log of the step (build.log,29.05 KB, text/plain)
2010-11-29 11:50 UTC, Gerald SHAO
Details
environment file of the building (environment,239.01 KB, text/plain)
2010-11-29 11:55 UTC, Gerald SHAO
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerald SHAO 2010-11-29 11:48:00 UTC
I am new at gentoo, and I hope gentoo prefix can be installed in my own home folder. But when I followed the instruction as:
http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml
at the step 1.8:
emerge --oneshot findutils

I got error that libperl can not be compiled.
So I tried:
emerge --oneshot perl
And I got the same result.

Reproducible: Always

Steps to Reproduce:
1. emerge --oneshot findutils
2. emerge --oneshot perl
3.

Actual Results:  
>>> Install perl-5.12.1-r1 into /myhome/gentoo/var/tmp/portage/dev-lang/perl-5.12.1-r1/image/myhome/gentoo/ category dev-lang
make: Nothing to be done for `install'.
ln: creating symbolic link `/myhome/gentoo/var/tmp/portage/dev-lang/perl-5.12.1-r1/image/myhome/gentoo//usr/bin/perl': No such file or directory
!!! dolib: /myhome/gentoo/var/tmp/portage/dev-lang/perl-5.12.1-r1/image/myhome/gentoo///usr/lib/perl5/5.12.1/x86_64-linux/CORE/libperl.so.5.12.1 does not exist
 * ERROR: dev-lang/perl-5.12.1-r1 failed:
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  53:  Called src_install
 *   environment, line 6840:  Called die
 * The specific snippet of code:
 *       dolib.so "${ED}"/${coredir}/${LIBPERL} || die;
 * 
 * If you need support, post the output of 'emerge --info =dev-lang/perl-5.12.1-r1',
 * the complete build log and the output of 'emerge -pqv =dev-lang/perl-5.12.1-r1'.
 * The complete build log is located at '/myhome/gentoo/var/tmp/portage/dev-lang/perl-5.12.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/myhome/gentoo/var/tmp/portage/dev-lang/perl-5.12.1-r1/temp/environment'.
 * S: '/myhome/gentoo/var/tmp/portage/dev-lang/perl-5.12.1-r1/work/perl-5.12.1'
 * QA Notice: file does not exist:
 * 
 *      dolib: /myhome/gentoo/var/tmp/portage/dev-lang/perl-5.12.1-r1/image/myhome/gentoo///usr/lib/perl5/5.12.1/x86_64-linux/CORE/libperl.so.5.12.1 does not exist

>>> Failed to emerge dev-lang/perl-5.12.1-r1, Log file:

>>>  '/myhome/gentoo/var/tmp/portage/dev-lang/perl-5.12.1-r1/temp/build.log'

 * Messages for package dev-lang/perl-5.12.1-r1:

 * ERROR: dev-lang/perl-5.12.1-r1 failed:
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  53:  Called src_install
 *   environment, line 6840:  Called die
 * The specific snippet of code:
 *       dolib.so "${ED}"/${coredir}/${LIBPERL} || die;
 * 
 * If you need support, post the output of 'emerge --info =dev-lang/perl-5.12.1-r1',
 * the complete build log and the output of 'emerge -pqv =dev-lang/perl-5.12.1-r1'.
 * The complete build log is located at '/myhome/gentoo/var/tmp/portage/dev-lang/perl-5.12.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/myhome/gentoo/var/tmp/portage/dev-lang/perl-5.12.1-r1/temp/environment'.
 * S: '/myhome/gentoo/var/tmp/portage/dev-lang/perl-5.12.1-r1/work/perl-5.12.1'

Expected Results:  
I hope it can successfully emerge the perl.
Comment 1 Gerald SHAO 2010-11-29 11:49:18 UTC
Created attachment 255819 [details]
the output of 'emerge --info =dev-lang/perl-5.12.1-r1'
Comment 2 Gerald SHAO 2010-11-29 11:49:58 UTC
Created attachment 255821 [details]
the output of 'emerge -pqv =dev-lang/perl-5.12.1-r1'
Comment 3 Gerald SHAO 2010-11-29 11:50:56 UTC
Created attachment 255823 [details]
The build.log of the step
Comment 4 Gerald SHAO 2010-11-29 11:55:30 UTC
Created attachment 255825 [details]
environment file of the building
Comment 5 Fabian Groffen gentoo-dev 2010-11-29 19:47:33 UTC
Hmmm, is this reproducable?  It seems like nothing is being compiled at all in the first place.
Comment 6 Gerald SHAO 2010-11-30 07:47:10 UTC
(In reply to comment #5)
> Hmmm, is this reproducable?  It seems like nothing is being compiled at all in
> the first place.
> 

Yes, it is reprocucable. I tried to remove the folder and do it again, it still stop at this point.
Another guy, uses same environment but under his own folder, got the same result.
We think it may caused by the .bash_profile variables, but after we emptied the variables, only kept the gentoo prefix needed, the problem was still there.
Comment 7 Fabian Groffen gentoo-dev 2010-11-30 08:26:51 UTC
This is really weird.  I see no reason why `make` would silently return here.  What is the underlying filesystem that you use for your prefix?
Comment 8 Gerald SHAO 2010-11-30 08:54:04 UTC
(In reply to comment #7)
> This is really weird.  I see no reason why `make` would silently return here. 
> What is the underlying filesystem that you use for your prefix?
> 
The result of `uname -a' is:
Linux server1 2.6.9-78.0.1.ELsmp #1 SMP Tue Jul 22 18:01:05 EDT 2008 x86_64 Dual-Core AMD Opteron(tm) Processor 8218 AuthenticAMD GNU/Linux

Red Hat Enterprise Linux AS release 4 (Nahant Update 3)

It is a workstation with 8-core CPU and 64G RAM .
Comment 9 Fabian Groffen gentoo-dev 2010-11-30 08:56:35 UTC
what does `mount` say (in particular for the offset you use) or `df $EPREFIX`?
Comment 10 Gerald SHAO 2010-11-30 11:28:19 UTC
(In reply to comment #9)
> what does `mount` say (in particular for the offset you use) or `df $EPREFIX`?
> 

There are enough space for compiling, I think.

-bash-3.00$ df $EPREFIX
Filesystem           1K-blocks      Used Available Use% Mounted on
fileserver1:/Volumes/vtrack1c/myhome
                     875849696 686117664 189732032  79% /myhome
Comment 11 Fabian Groffen gentoo-dev 2010-11-30 11:31:39 UTC
I don't care about space, I care about the underlying filestystem.  I see your share comes from another machine, so it's a network mount already.  Is it NFS, AFS, ... ?
Comment 12 Gerald SHAO 2010-12-01 03:23:56 UTC
(In reply to comment #11)
> I don't care about space, I care about the underlying filestystem.  I see your
> share comes from another machine, so it's a network mount already.  Is it NFS,
> AFS, ... ?
> 

Sorry I didn't understand your question.

This is the mount output:
fileserver1:/Volumes/vtrack1c/myhome on /myhome type nfs (rw,hard,intr,retry=30,rsize=40960,wsize=40960,addr=10.10.118.18)
Comment 13 Fabian Groffen gentoo-dev 2010-12-10 18:04:21 UTC
does it help if you set PORTAGE_TMPDIR to /var/tmp in your environment when you emerge perl?
Comment 14 Alexey Shvetsov archtester gentoo-dev 2011-06-20 13:30:46 UTC
I have samre isuue on suse with underlying ext3 fs
Comment 15 Ross Smith 2011-08-16 15:59:20 UTC
"ln: creating symbolic link
`/myhome/gentoo/var/tmp/portage/dev-lang/perl-5.12.1-r1/image/myhome/gentoo//usr/bin/perl':
No such file or directory
!!! dolib:
/myhome/gentoo/var/tmp/portage/dev-lang/perl-5.12.1-r1/image/myhome/gentoo///usr/lib/perl5/5.12.1/x86_64-linux/CORE/libperl.so.5.12.1
does not exist

There's a few issues in the build.   It's trying to make a symlink to a file that doesn't exist and likewise install a library that doesn't exist.  The files were built, just not where the ebuild expects them.  I'll post a patch when I get a minute or two.

I too am seeing this issue.
Comment 16 Fabian Groffen gentoo-dev 2011-12-22 10:53:42 UTC
In the meanwhile we fixed some things in the ebuild.  Interested to know if that solved anything.