Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190214 - app-portage should use rpm build directory, not redhat directory.
Summary: app-portage should use rpm build directory, not redhat directory.
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Portage team
Keywords: InVCS
Depends on:
Blocks: 181949
  Show dependency tree
Reported: 2007-08-25 18:34 UTC by Andrey Falko
Modified: 2007-09-07 19:19 UTC (History)
0 users

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

fix-rpmbuild-dir.patch (fix-rpmbuild-dir.patch,624 bytes, patch)
2007-08-25 18:35 UTC, Andrey Falko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Falko 2007-08-25 18:34:29 UTC
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/ 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

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
Comment 1 Andrey Falko 2007-08-25 18:35:35 UTC
Created attachment 129172 [details, diff]

Apply patch to bin/
Comment 2 Andrey Falko 2007-08-25 19:10:17 UTC
I don't know why I created a patch, this should be much easier:

sed -i -e 's/redhat/rpm/g' bin/
Comment 3 Zac Medico gentoo-dev 2007-08-25 19:42:39 UTC
Thanks, this is in svn r7700. Please use diff -u when you submit patches.
Comment 4 Zac Medico gentoo-dev 2007-09-07 19:19:20 UTC
This has been released in