Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 227625 - sys-apps/portage - ebuild foo.ebuild rpm - tar: /usr/src/rpm/SOURCES/tar-1.20.tar.gz: Cannot open: No such file or directory
Summary: sys-apps/portage - ebuild foo.ebuild rpm - tar: /usr/src/rpm/SOURCES/tar-1.20...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
Keywords: InVCS
Depends on:
Blocks: 216231
  Show dependency tree
Reported: 2008-06-16 19:08 UTC by Alan Hourihane
Modified: 2010-09-23 02:15 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Alan Hourihane 2008-06-16 19:08:25 UTC
Seems the first incantation for ebuild foo.ebuild rpm fails because it's not created the /usr/src/rpm/SOURCES directory.

Reproducible: Always

Actual Results:  
ebuild tar-1.20.ebuild rpm
>>> Existing ${T}/environment for 'tar-1.20' will be sourced. Run 'clean'
>>> to start with a fresh environment.
 * tar-1.20.tar.bz2 SHA1 SHA256 size ;-) ...                              [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking tar-1.20.tar.bz2 ;-) ...                                      [ ok ]
>>> Checking tar-1.20.tar.bz2's mtime...
>>> WORKDIR is up-to-date, keeping...
>>> It appears that 'tar-1.20' is already compiled; skipping.
>>> Remove '/var/tmp/portage/app-arch/tar-1.20/.compiled' to force compilation.
>>> It appears that tar has already been tested; skipping.
>>> It appears that 'tar-1.20' is already installed; skipping.
>>> Remove '/var/tmp/portage/app-arch/tar-1.20/.installed' to force install.
ecompressdir: bzip2 -9 /usr/share/man
ecompressdir: bzip2 -9 /usr/share/info
tar: /usr/src/rpm/SOURCES/tar-1.20.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Removing leading `/' from member names
tar: /usr/src/rpm/SOURCES/tar-1.20.tar.gz: Cannot write: Broken pipe
tar: Error is not recoverable: exiting now
 * ERROR: app-arch/tar-1.20 failed:
 *   Failed to create base rpm tarball.
 * Call stack:
 * <call dyn_rpm>
 * <call dyn_spec>
 * 	tar czf "/usr/src/rpm/SOURCES/${PF}.tar.gz" \
		"${EBUILD}" "${FILESDIR}" || \
		die "Failed to create base rpm tarball."
 * If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-16 19:22:08 UTC
Please post your emerge --info as well. Perhaps a newer version of sys-apps/portage fixes this.
Comment 2 Zac Medico gentoo-dev 2008-07-30 09:58:49 UTC
This is fixed in 2.2_rc4.