Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 236417

Summary: dev-libs/dietlibc-0.32_pre20080829 - src_install(): cannot stat `bin-x86_64/pstart.o': No such file or directory
Product: Gentoo Linux Reporter: Walter Meinl <wuno>
Component: New packagesAssignee: Gentoo VPS Team (OBSOLETE) <vserver-devs+disabled>
Status: RESOLVED INVALID    
Severity: normal CC: ivanhoe, luckyluke, nicolas.yves.peyron
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: this is my emerge --info
build log
log from my x86 machine

Description Walter Meinl 2008-09-02 06:49:44 UTC
After a successful build, it won't get installed
doesn't find a bunch of files to install complete log will be attached

Reproducible: Always
Comment 1 Walter Meinl 2008-09-02 06:50:44 UTC
Created attachment 164318 [details]
this is my emerge --info

install fails on amd64 (see log) but also on x86
Comment 2 Walter Meinl 2008-09-02 06:54:24 UTC
Created attachment 164320 [details]
build log

I see when starting the installation process:
make MYARCH=i386 CC="gcc -D__dietlibc__ -m32" install_libs
on an amd64, could that be the culprit?
Comment 3 Walter Meinl 2008-09-02 07:03:00 UTC
Created attachment 164323 [details]
log from my x86 machine

pretty similar error message on x86
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2008-09-02 17:25:57 UTC
First errors on amd64 and x86 respectively:

install: cannot stat `bin-x86_64/pstart.o': No such file or directory
install: cannot stat `pic-i386/libc.so': No such file or directory
Comment 5 Walter Meinl 2008-09-02 23:13:45 UTC
in http://bugs.gentoo.org/show_bug.cgi?id=236418 I was asked to build with MAKEOPTS='j1', tried it also for the dietlibc ebuild and it worked for both, amd64 and x86
Comment 6 Marca Alessandro 2008-09-03 08:49:49 UTC
(In reply to comment #5)
> in http://bugs.gentoo.org/show_bug.cgi?id=236418 I was asked to build with
> MAKEOPTS='j1', tried it also for the dietlibc ebuild and it worked for both,
> amd64 and x86
> 

MAKEOPTS='j1' works for me too
Comment 7 Walter Meinl 2008-09-04 06:26:04 UTC
Maybe too early...
I tested the new ebuild adding -j1 to the compile and install phase. It built and installed fine, but during install I've seen in the terminal:
[snip]
install pic-x86_64/diet-dyn-i /var/tmp/portage/dev-libs/dietlibc-0.32_pre20080829/image//usr/diet/bin/diet-dyn
install: cannot stat `pic-x86_64/diet-dyn-i': No such file or directory
make: [install-bin] Error 1 (ignored)
install -m 755 bin-x86_64/elftrunc bin-x86_64/dnsd /var/tmp/portage/dev-libs/dietlibc-0.32_pre20080829/image//usr/diet/bin
install -m 644 diet.1 /var/tmp/portage/dev-libs/dietlibc-0.32_pre20080829/image//usr/diet/man/man1/diet.1
install bin-x86_64/pstart.o bin-x86_64/libgmon.a bin-x86_64/dyn_start.o bin-x86_64/dyn_stop.o /var/tmp/portage/dev-libs/dietlibc-0.32_pre20080829/image//usr/diet/lib-x86_64
install: cannot stat `bin-x86_64/pstart.o': No such file or directory
install: cannot stat `bin-x86_64/libgmon.a': No such file or directory
make: [install-profiling] Error 1 (ignored)
[snip]
Thus, in principle the same errors, but it ignores that it couldn't find the files to install. Same with the slightly different error messages I see on x86.
Comment 8 Carsten Lohrke (RETIRED) gentoo-dev 2008-09-04 14:55:30 UTC
*** Bug 236688 has been marked as a duplicate of this bug. ***
Comment 9 Ivan Iraci 2008-09-04 15:03:38 UTC
Right now I can emerge dev-libs/dietlibc-0.32_pre20080829.
I don't know what changed or why, but now it works. O_o?
Comment 10 Luca Lesinigo 2008-09-16 20:19:17 UTC
FYI, dev-libs/dietlibc-0.32_pre20080829 emerges correctly on HPPA with:
 CFLAGS="-pipe -O2 -march=2.0"
 MAKEOPTS="-j3"
 gcc-4.2.4
Comment 11 Nicolas Peyron 2009-04-04 17:42:41 UTC
I was having a quite similar issue during install. Scrolling up a little more I saw a problem during compilation with the sandbox (sorry didn't keep the traces).
So I tried with FEATURES="-sandbox" and it worked.
Comment 12 Benedikt Böhm (RETIRED) gentoo-dev 2009-07-05 13:59:15 UTC
(In reply to comment #7)
> Maybe too early...
> I tested the new ebuild adding -j1 to the compile and install phase. It built
> and installed fine, but during install I've seen in the terminal:
> [snip]
> install pic-x86_64/diet-dyn-i
> /var/tmp/portage/dev-libs/dietlibc-0.32_pre20080829/image//usr/diet/bin/diet-dyn
> install: cannot stat `pic-x86_64/diet-dyn-i': No such file or directory
> make: [install-bin] Error 1 (ignored)
> install -m 755 bin-x86_64/elftrunc bin-x86_64/dnsd
> /var/tmp/portage/dev-libs/dietlibc-0.32_pre20080829/image//usr/diet/bin
> install -m 644 diet.1
> /var/tmp/portage/dev-libs/dietlibc-0.32_pre20080829/image//usr/diet/man/man1/diet.1
> install bin-x86_64/pstart.o bin-x86_64/libgmon.a bin-x86_64/dyn_start.o
> bin-x86_64/dyn_stop.o
> /var/tmp/portage/dev-libs/dietlibc-0.32_pre20080829/image//usr/diet/lib-x86_64
> install: cannot stat `bin-x86_64/pstart.o': No such file or directory
> install: cannot stat `bin-x86_64/libgmon.a': No such file or directory
> make: [install-profiling] Error 1 (ignored)
> [snip]
> Thus, in principle the same errors, but it ignores that it couldn't find the
> files to install. Same with the slightly different error messages I see on x86.

this is intended, since we don't build (and install) a dynamic version of dietlibc.

(In reply to comment #11)
> I was having a quite similar issue during install. Scrolling up a little more I
> saw a problem during compilation with the sandbox (sorry didn't keep the
> traces).
> So I tried with FEATURES="-sandbox" and it worked.

this seems to be a completey different bug, and if it still exists, please open another bug.