Summary: | sys-apps/portage-9999 ebuild rpm does not work with app-arch/rpm-4.10.0 | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Lucas S. Bickel <hairmare> |
Component: | Tools | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | InVCS |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=350573 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 445274 | ||
Attachments: | a "works for me" patch |
Description
Lucas S. Bickel
2012-11-15 22:18:25 UTC
Created attachment 329630 [details, diff]
a "works for me" patch
> * use dir in sandbox instead of /usr/src/rpm/RPMS
If sources_dir and dest_dir are inside PORTAGE_TMPDIR, then doesn't that imply that the files will be removed when we clean PORTAGE_TMPDIR? Wouldn't it make more sense to store them in a persistent location?
From what i could gather sources_dir and dest_dir inside PORTAGE_TMPDIR only get used for storing a temporary tarball used during rpm generation. The actual distfile still gets stored in DISTDIR. Thanks, I've applied you patch with a couple of minor adjustments: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=0d850ef6ac4e98089e9ff938ebe3573953cabee2 (In reply to comment #4) > Thanks, I've applied you patch with a couple of minor adjustments: > > http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit; > h=0d850ef6ac4e98089e9ff938ebe3573953cabee2 I've done a fixup to set HOME so that it works correctly: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=d3540b8aa468e872c6a6b41074c8567f489e9768 This is fixed in 2.1.11.33 and 2.2.0_alpha144. |