This can be worked around in the rpm package, however, all previous rpm pacakge, including the current stable one, are geared to use /usr/src/rpm/ as the rpmbuild directory. Portage's bin/misc-functions.sh should point to /usr/src/rpm instead of /usr/src/redhat...see attached patch. Reproducible: Always Steps to Reproduce: 1. ebuild portage-utils-0.1.23.ebuild rpm 2. 3. Actual Results: tar: tar: Removing leading `/' from member names /usr/src/redhat/SOURCES/portage-utils-0.1.23.tar.gz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now tar: Child returned status 2 tar: Error exit delayed from previous errors
Created attachment 129172 [details, diff] fix-rpmbuild-dir.patch Apply patch to bin/misc-functions.sh
I don't know why I created a patch, this should be much easier: sed -i -e 's/redhat/rpm/g' bin/misc-functions.sh
Thanks, this is in svn r7700. Please use diff -u when you submit patches.
This has been released in 2.1.3.8.