Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113261 - emerging sys-kernel/gentoo-sources-2.6.14-r2 "fatal: cannot open file "
Summary: emerging sys-kernel/gentoo-sources-2.6.14-r2 "fatal: cannot open file "
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
: 113569 116988 117966 119892 122045 130405 130978 131072 131074 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-11-22 09:48 UTC by Stefan Behte (RETIRED)
Modified: 2006-04-24 05:19 UTC (History)
12 users (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 Stefan Behte (RETIRED) gentoo-dev Security 2005-11-22 09:48:13 UTC
livecd / # USE="-doc" emerge gentoo-sources
ls -l /usr/src/linux
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-kernel/gentoo-sources-2.6.14-r2 to /
>>> md5 files   ;-) gentoo-sources-2.4.28-r9.ebuild
>>> md5 files   ;-) gentoo-sources-2.4.31-r1.ebuild
>>> md5 files   ;-) gentoo-sources-2.6.12-r10.ebuild
>>> md5 files   ;-) gentoo-sources-2.6.12-r9.ebuild
>>> md5 files   ;-) gentoo-sources-2.6.13-r3.ebuild
>>> md5 files   ;-) gentoo-sources-2.6.13-r5.ebuild
>>> md5 files   ;-) gentoo-sources-2.6.14-r1.ebuild
>>> md5 files   ;-) gentoo-sources-2.6.14-r2.ebuild
>>> md5 files   ;-) gentoo-sources-2.6.14.ebuild
>>> md5 files   ;-) gentoo-sources-2.6.9-r9.ebuild
>>> md5 files   ;-) files/digest-gentoo-sources-2.6.14
>>> md5 files   ;-) files/Changelog-2.4.bz2
>>> md5 files   ;-) files/gentoo-sources-2.4.28.77181.patch
>>> md5 files   ;-) files/digest-gentoo-sources-2.4.28-r9
>>> md5 files   ;-) files/digest-gentoo-sources-2.4.31-r1
>>> md5 files   ;-) files/digest-gentoo-sources-2.6.12-r10
>>> md5 files   ;-) files/digest-gentoo-sources-2.6.12-r9
>>> md5 files   ;-) files/digest-gentoo-sources-2.6.13-r3
>>> md5 files   ;-) files/digest-gentoo-sources-2.6.13-r5
>>> md5 files   ;-) files/digest-gentoo-sources-2.6.14-r1
>>> md5 files   ;-) files/digest-gentoo-sources-2.6.14-r2
>>> md5 files   ;-) files/digest-gentoo-sources-2.6.9-r9
>>> md5 files   ;-) files/gentoo-sources-2.4.28.brk-locked.patch
>>> md5 files   ;-) files/gentoo-sources-2.4.28.arpFix.patch
>>> md5 files   ;-) files/gentoo-sources-2.4.CAN-2004-1016.patch
>>> md5 files   ;-) files/gentoo-sources-2.4.77094.patch
>>> md5 files   ;-) files/gentoo-sources-2.4.77666.patch
>>> md5 files   ;-) files/gentoo-sources-2.4.78362.patch
>>> md5 files   ;-) files/gentoo-sources-2.4.78363.patch
>>> md5 files   ;-) files/gentoo-sources-2.4.81106.patch
>>> md5 files   ;-) files/gentoo-sources-2.4.81195.patch
>>> md5 files   ;-) files/gentoo-sources-2.4.81295.patch
>>> md5 files   ;-) files/gentoo-sources-2.4.82201.patch
>>> md5 files   ;-) files/gentoo-sources-2.4.CAN-2004-1056.patch
>>> md5 files   ;-) files/gentoo-sources-2.4.CAN-2004-1137.patch
>>> md5 files   ;-) files/gentoo-sources-2.4.PaX-84167.patch
>>> md5 files   ;-) files/gentoo-sources-2.4.binfmt_a.out.patch
>>> md5 files   ;-) files/gentoo-sources-2.4.cmdlineLeak.patch
>>> md5 files   ;-) files/gentoo-sources-2.4.vma.patch
>>> md5 src_uri ;-) linux-2.6.14.tar.bz2
>>> md5 src_uri ;-) genpatches-2.6.14-3.base.tar.bz2
>>> md5 src_uri ;-) genpatches-2.6.14-3.extras.tar.bz2
>>> Unpacking source...
>>> Unpacking linux-2.6.14.tar.bz2 to /var/tmp/portage/gentoo-sources-2.6.14-r2/work
 * genpatches-2.6.14-3.base.tar.bz2 unpacked
 * genpatches-2.6.14-3.extras.tar.bz2 unpacked
 * Applying 1000_1_sysctl-unregistration.patch (-p0+) ...                      
                                        [ ok ]
 * Applying 1001_2_airo_cs-correct-prototypes.patch (-p0+) ...                 
                                        [ ok ]
 * Applying 1002_2_cfq-io-sched-fix.patch (-p0+) ...                           
                                        [ ok ]
 * Applying 1003_2_fix-alpha-breakage.patch (-p0+) ...                         
                                        [ ok ]
 * Applying 1004_2_thread-sendqueue-race.patch (-p0+) ...                      
                                        [ ok ]
 * Applying 1005_2_ptrace-self-attach.patch (-p0+) ...                         
                                        [ ok ]
 * Applying 1006_2_signal-live-leak.patch (-p0+) ...                           
                                        [ ok ]
 * Applying 1007_2_zero-size-datagram.patch (-p0+) ...                         
                                        [ ok ]
 * Applying 1008_2_ipvs-connection-leak.patch (-p0+) ...                       
                                        [ ok ]
 * Applying 1009_2_prism54-frame-size.patch (-p0+) ...                         
                                        [ ok ]
 * Applying 1010_2_tcp-bic-max-increment.patch (-p0+) ...                      
                                        [ ok ]
 * Applying 1011_2_usb-interface-modalias.patch (-p0+) ...                     
                                        [ ok ]
 * Applying 1012_2_xfs-modular-quota.patch (-p0+) ...                          
                                        [ ok ]
 * Applying 1300_ppc64-multilib.patch (-p0+) ...                               
                                        [ ok ]
 * Applying 1340_sparc-obp64-naming.patch (-p0+) ...                           
                                        [ ok ]
 * Applying 1360_sparc-kconfig-depends.patch (-p0+) ...                        
                                        [ ok ]
 * Applying 1362_sparc-kconfig-fb.patch (-p0+) ...                             
                                        [ ok ]
 * Applying 1399_sparc-U1-hme-lockup.patch (-p0+) ...                          
                                        [ ok ]
 * Applying 1910_kconfig-no-nls.patch (-p0+) ...                               
                                        [ ok ]
 * Applying 4101_deprecate-sk98lin.patch (-p0+) ...                            
                                        [ ok ]
 * Applying 4300_via-vt6410.patch (-p0+) ...                                   
                                        [ ok ]
 * Applying 4305_dm-bbr.patch (-p0+) ...                                       
                                        [ ok ]
 * Applying 4320_promise-pdc2037x.patch (-p0+) ...                             
                                        [ ok ]
 * Applying 4351_megaraid-compatibility.patch (-p0+) ...                       
                                        [ ok ]
 * Applying 4500_fbsplash-0.9.2-r5.patch (-p0+) ...                            
                                        [ ok ]
 * Applying 4505_vesafb-tng-1.0-rc1-r2.patch (-p0+) ...                        
                                        [ ok ]
 * Applying 4705_squashfs-2.2.patch (-p0+) ...                                 
                                        [ ok ]
 * Applying 4900_speakup-20051028.patch (-p0+) ...                             
                                        [ ok ]
 * Applying 4905_alpha-sysctl-uac.patch (-p0+) ...                             
                                        [ ok ]
awk: cmd. line:2: fatal: cannot open file
`/var/tmp/portage/gentoo-sources-2.6.14-r2/work/linux-2.6.14-gentoo-r2/include/linux/version.h'
for reading (No such file or directory)
  CHK     include/linux/version.h
  UPD     include/linux/version.h
>>> Source unpacked.
>>> Test phase [not enabled]: sys-kernel/gentoo-sources-2.6.14-r2

>>> Install gentoo-sources-2.6.14-r2 into
/var/tmp/portage/gentoo-sources-2.6.14-r2/image/ category sys-kernel
>>> Copying sources ...


Well, it's obvious which line i mean:

awk: cmd. line:2: fatal: cannot open file
`/var/tmp/portage/gentoo-sources-2.6.14-r2/work/linux-2.6.14-gentoo-r2/include/linux/version.h'
for reading (No such file or directory)

Should be fixed...
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-11-25 11:55:55 UTC
*** Bug 113569 has been marked as a duplicate of this bug. ***
Comment 2 Greg Tassone 2005-11-30 13:24:55 UTC
I can confirm this as well (on amd64, if that matters/helps).  "emerge info"
output is below.  FYI:  I was still able to get the kernel to compile, but I'm
having strange kernel problems upon rebooting.

I'm holding off on any further debugging of this kernel until this first issue
is resolved.
----------

Portage 2.0.51.22-r3 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r2,
2.6.13-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://gentoo.ccccom.com
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="amd64 X aalib acpi alsa arts audiofile avi bash-completion berkdb
bitmap-fonts browserplugin bzip2 cdparanoia cdr crypt cups curl divx4linux doc
dvd dvdr dvdread eds emboss encode esd exif expat fam flac foomaticdb fortran
ftp gd gif glut gmp gpm gstreamer gtk gtk2 icq idn imap imlib ipv6 jabber java
jce joystick jpeg junit kde kerberos lcms ldap libwww lzo lzw lzw-tiff mad mng
motif mozdevelop mozilla mp3 mpeg nas ncurses nls nntp nptl nvidia ogg oggvorbis
opengl oscar oss pam pcre pda pdflib perl png python qt quicktime readline real
samba sasl scanner sdl sftplogging spell ssl tcpd theora tiff truetype
truetype-fonts type1-fonts udev usb userlocales vorbis xml xml2 xmms xpm xv xvid
yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2005-11-30 13:53:13 UTC
You can safely ignore this message for now. It is harmless and will not affect
the stability of your kernel.
Comment 4 David Bergstein 2005-12-23 06:26:26 UTC
FYI this message also appears when merging sys-kernel/gentoo-sources-2.6.14-r5.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-12-28 07:40:00 UTC
*** Bug 116988 has been marked as a duplicate of this bug. ***
Comment 6 John Mylchreest (RETIRED) gentoo-dev 2005-12-30 10:07:23 UTC
where does this call to awk even come from?, it isnt directly form kernel-2. :)
Will look into this after the move.
Comment 7 Dave Shanker 2006-01-05 18:12:03 UTC
*** Bug 117966 has been marked as a duplicate of this bug. ***
Comment 8 Dave Shanker 2006-01-05 18:12:50 UTC
Able to reproduce in gentoo-sources-2.6.15
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-01-22 01:34:20 UTC
*** Bug 119892 has been marked as a duplicate of this bug. ***
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-02-07 14:44:59 UTC
*** Bug 122045 has been marked as a duplicate of this bug. ***
Comment 11 Bogo Mipps 2006-02-08 00:55:17 UTC
This looks pretty similar to what I get for gentoo-sources-2.6.15-r1 since 6 Feb 06. I also got it on 2.6.14-r4 & r5. All have failed to emerge.

awk: cmd. line:1: fatal: cannot open file `/usr/tmp/portage/gentoo-sources-2.6.15-r1/work/linux-2.6.15-gentoo-r1/include/linux/version.h' for reading (No such file or directory)
Comment 12 John Mylchreest (RETIRED) gentoo-dev 2006-03-03 13:55:21 UTC
this should now be fixed in CVS.
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2006-04-18 14:02:45 UTC
*** Bug 130405 has been marked as a duplicate of this bug. ***
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2006-04-23 09:17:00 UTC
*** Bug 130978 has been marked as a duplicate of this bug. ***
Comment 15 Harald van Dijk (RETIRED) gentoo-dev 2006-04-24 01:57:21 UTC
*** Bug 131072 has been marked as a duplicate of this bug. ***
Comment 16 Jakub Moc (RETIRED) gentoo-dev 2006-04-24 02:08:48 UTC
*** Bug 131074 has been marked as a duplicate of this bug. ***
Comment 17 Jakub Moc (RETIRED) gentoo-dev 2006-04-24 02:10:37 UTC
Apparently unfixed. Can someone >/dev/null the darned message so that people stop reporting non-issues?
Comment 18 Daniel Drake (RETIRED) gentoo-dev 2006-04-24 02:58:03 UTC
Last I heard it was not clear which command is producing the error
Comment 19 John Mylchreest (RETIRED) gentoo-dev 2006-04-24 05:19:12 UTC
this has now been fixed, its caused by the make mrproper scripts which expect a version.h to exist (incorrectly?)

Regardless, even though this issue is purely cosmetic, it is not a non-issue.