Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284074 - Emerge sys-kernel/mips-sources-2.6.29.1 fails on nonexistent file
Summary: Emerge sys-kernel/mips-sources-2.6.29.1 fails on nonexistent file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: MIPS Linux
: High normal (vote)
Assignee: MIPS Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-08 05:08 UTC by Andy Clements
Modified: 2010-12-05 06:57 UTC (History)
1 user (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 Andy Clements 2009-09-08 05:08:40 UTC
When emerging sys-kernel/mips-sources-2.6.29.1, the unpack fails, unable to find linux-2.6.29.1.tar.bz2.  It is correct in not being able to find this file, as the file listed in the Manifest and the downloaded file are called linux-2.6.29.tar.bz2.  The file patch-2.6.29.1.bz2 is also downloaded, which would be applied to make the kernel source for 2.6.29.1.

Reproducible: Always

Steps to Reproduce:
1. I am starting with a new install, as no system on this platform is otherwise available to me.
2. emerge mips-sources
Actual Results:  
After the files are downloaded, the unpack starts and fails immediately after the messages from the package:

>>> Unpacking source...
>>> Unpacking linux-2.6.29.1.tar.bz2 to /var/tmp/portage/sys-kernel/mips-sources-2.6.29.1/work

!!! ERROR: sys-kernel/mips-sources-2.6.29.1 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_unpack
  ebuild.sh, line 751:   Called qa_call 'src_unpack'
  environment, line 4230:   Called src_unpack
  mips-sources-2.6.29.1.ebuild, line 158:   Called eblit-run 'src_unpack' 'v2'
  mips-sources-2.6.29.1.ebuild, line 126:   Called eblit-mips-sources-src_unpack
  src_unpack-v2.eblit, line 10:   Called kernel-2_src_unpack
  kernel-2.eclass, line 1035:   Called universal_unpack
  kernel-2.eclass, line 381:   Called unpack 'linux-2.6.29.1.tar.bz2'
  ebuild.sh, line 404:   Called die

!!! linux-2.6.29.1.tar.bz2 does not exist
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/sys-kernel/mips-sources-2.6.29.1/temp/build.log'.

Expected Results:  
linux-2.6.29.tar.bz2 should be unpacked, followed by the rest of the files.

A bit of extra info gleaned with using ebuild:

(chroot)livecd / # ebuild /usr/portage/sys-kernel/mips-sources/mips-sources-2.6.29.1.ebuild unpack
 * patch-2.6.29.1.bz2 RMD160 ;-) ...                                      [ ok ]
 * patch-2.6.29.1.bz2 SHA1 ;-) ...                                        [ ok ]
 * patch-2.6.29.1.bz2 SHA256 ;-) ...                                      [ ok ]
 * patch-2.6.29.1.bz2 size ;-) ...                                        [ ok ]
 * mips-sources-2.6.29-patches-v3.tar.bz2 RMD160 ;-) ...                  [ ok ]
 * mips-sources-2.6.29-patches-v3.tar.bz2 SHA1 ;-) ...                    [ ok ]
 * mips-sources-2.6.29-patches-v3.tar.bz2 SHA256 ;-) ...                  [ ok ]
 * mips-sources-2.6.29-patches-v3.tar.bz2 size ;-) ...                    [ ok ]
 * mipsgit-2.6.29-20090324.diff.bz2 RMD160 ;-) ...                        [ ok ]
 * mipsgit-2.6.29-20090324.diff.bz2 SHA1 ;-) ...                          [ ok ]
 * mipsgit-2.6.29-20090324.diff.bz2 SHA256 ;-) ...                        [ ok ]
 * mipsgit-2.6.29-20090324.diff.bz2 size ;-) ...                          [ ok ]
 * linux-2.6.29.tar.bz2 RMD160 ;-) ...                                    [ ok ]
 * linux-2.6.29.tar.bz2 SHA1 ;-) ...                                      [ ok ]
 * linux-2.6.29.tar.bz2 SHA256 ;-) ...                                    [ ok ]
 * linux-2.6.29.tar.bz2 size ;-) ...                                      [ ok ]

 * IP22 systems with an R5000 processor should work well with this release.
 * The R4x00 series of processors tend to be rather flaky, especially the
 * R4600.  If you have to run an R4x00 processor, then try to use an R4400.
 * 
 * Some Notes:
 * 	- Supported graphics card right now is Newport (XL).
 * 	- A driver for Extreme (XZ) supposedly exists, but its author
 * 	  has steadfastly refused to release the code for various reasons.
 * 	  Any questions regarding its status should be directed to onion in
 * 	  #mipslinux on the Freenode IRC network.  Given he is the author, he
 * 	  will know the most current status of the driver.


 * IP32 systems function well, however there are some notes:
 * 	- A sound driver now exists for IP32.  Celebrate!
 * 	- Framebuffer console is limited to 4MB.  Anything greater
 * 	  specified when building the kernel will likely oops or panic
 * 	  the kernel.
 * 	- X support is limited to the generic fbdev driver.  No X gbefb
 * 	  driver exists for O2 yet.  Patches are welcome, however! :)

 * !!! To Build 64bit kernels for SGI O2 (IP32) or SGI Indy/Indigo2 R4x00 (IP22)
 * !!! systems, you _need_ to be using a >=gcc-4.1.1 compiler, have CONFIG_BUILD_ELF64
 * !!! disabled in your kernel config, and building with the vmlinux.32 make target.
 * 
 * !!! Once done, copy the vmlinux.32 file and boot that.  Do not use the
 * !!! vmlinux file -- this will either not boot on IP22 or result in
 * !!! undocumented weirdness on IP32 systems.
>>> Checking patch-2.6.29.1.bz2's mtime...
>>> Checking linux-2.6.29.tar.bz2's mtime...
>>> Checking mipsgit-2.6.29-20090324.diff.bz2's mtime...
>>> Checking mips-sources-2.6.29-patches-v3.tar.bz2's mtime...
>>> Not marked as unpacked; recreating WORKDIR...
>>> Unpacking source...
>>> Unpacking linux-2.6.29.1.tar.bz2 to /var/tmp/portage/sys-kernel/mips-sources-2.6.29.1/work

!!! ERROR: sys-kernel/mips-sources-2.6.29.1 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_unpack
  ebuild.sh, line 751:   Called qa_call 'src_unpack'
  environment, line 4231:   Called src_unpack
  mips-sources-2.6.29.1.ebuild, line 158:   Called eblit-run 'src_unpack' 'v2'
  mips-sources-2.6.29.1.ebuild, line 126:   Called eblit-mips-sources-src_unpack
  src_unpack-v2.eblit, line 10:   Called kernel-2_src_unpack
  kernel-2.eclass, line 1035:   Called universal_unpack
  kernel-2.eclass, line 381:   Called unpack 'linux-2.6.29.1.tar.bz2'
  ebuild.sh, line 404:   Called die

!!! linux-2.6.29.1.tar.bz2 does not exist
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/sys-kernel/mips-sources-2.6.29.1/temp/build.log'.
Comment 1 Brian Harring (RETIRED) gentoo-dev 2010-01-10 08:42:31 UTC
@andy, I presume this is no longer an issue w/ 2.6.29.1-r1 (testing locally and checking the codepaths, things look fine)...
Comment 2 Andy Clements 2010-01-24 08:05:58 UTC
From what I can see it is working now.  I am running into other (unrelated) issues, so can't verify that the full build works, but the failure is after this point now.  Looks fixed to me.