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

Bug 169017

Summary: crash when trying gentoo-sources
Product: Gentoo Release Media Reporter: Nick Kas <redhavoc>
Component: StagesAssignee: Gentoo Release Team <releng>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Nick Kas 2007-03-02 16:31:57 UTC
While trying the installation using the minimal CD I reach step 7.b in the Gentoo Handbook (installation handbook http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#book_part1_chap7 )

My next step is 
emerge gentoo-sources

While some patched were applied I get the following error. I will also iinclude the last patch applied so that you know where the problem occured (copy pasted I might have mispelled someting)

* Applying 4405_alpha-sysctl-uac.patch (-p0+)                 [ ok ]
touch:setting times of 'var/tmp/portage/gentoo-sources-2.6.19-r5/.unpacked' : Function not implemented

!!! ERRPR sys-kernel/gentoo=sources-2.6.19-r5 failed.
Call stack:
   ebuild.sh,  line 1539:    Called dyn_unpack
   ebuild.sh,  line 712:    Called die

!!! IO Failure -- Failed 'touch .unpacked' in /var/tmp/portage/gentoo-sources-2.6.19-r5
!!! If you need support, post the topmost build error, and the call stack if relevant


Reproducible: Always

Steps to Reproduce:
1.Following the instructions on http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#book_part1_chap7 when I reach step 7.b
2.emerge gentoo-sources
3.

Actual Results:  
After getting this error ... I though there was something wrong with the touch command. I tried the following

cd /var/tmp/portage/gentoo-sources-2.6.19-r5
touch .unpacked

and I got the same error
touch: setting times of '.unpacked' : Function not implemented

Expected Results:  
As you may know I expected touch to be able to create the file (tried other filenames without a dot in fromnt and in other directories)
Also I expect emerge to finish cleanly .. and make a /usr/src/linux directory


I managed to solve the problem by getting the touch utility from another distribution and replacing it in /bin and /usr/bin 

Everything seems ok now, but many new users might not be able to detect and solve the problem (also many people might not have access to a touch binary)
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2007-03-02 16:41:28 UTC
That's because you ignored the step in the handbook where it tells you to mount /proc in the chroot.