Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 97776
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Portage team <dev-portage@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Carlo Marcelo Arenas Belon <carenas@sajinet.com.pe>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
ebuild-cleanrpm.patch patch which instructs rpmbuild to clean after himself patch Carlo Marcelo Arenas Belon 2005-07-02 19:00 0000 462 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 97776 depends on: Show dependency tree
Bug 97776 blocks: 216231
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-07-02 18:59 0000
rpm generation on emerge copies the source tars and a fake SPEC for RPM to go
through his normal unpack/compile/install process but doesn't instruct rpm to
clean after himself, leaving all those files behind after the rpm is generated
and which are useless (as the build and sources are fake anyway)

aditionally the last step is to copy the generated rpm on
/usr/src/redhat/RPMS/`uname -m`/ to the package repository for emerge which is
also left as a duplicate, eventhough in this last case it might be assumed to be
 to be consistent with RPMs' expected behaviour.

Reproducible: Always
Steps to Reproduce:
1. ebuild file.ebuild rpm
2. find /usr/src/redhat -type f
3.

Actual Results:  
/usr/src/redhat/BUILD/ and /usr/src/redhat/SOURCES contain files copied from the
portage tree which are of no use anymore

Expected Results:  
remove the BUILD and SOURCES files which were used by rpm to think he is in
control of the build process

------- Comment #1 From Carlo Marcelo Arenas Belon 2005-07-02 19:00:34 0000 -------
Created an attachment (id=62518) [details]
patch which instructs rpmbuild to clean after himself

------- Comment #2 From Jason Stubbs (RETIRED) 2005-07-28 07:24:56 0000 -------
Putting a hold on feature requests for portage as they are drowning out the 
bugs. Most of these features should be available in the next major version of 
portage. But for the time being, they are just drowning out the major bugs and 
delaying the next version's progress. 
 
Any bugs that contain patches and any bugs for etc-update or dispatch-conf can 
be reopened. Sorry, I'm just not good enough with bugzilla. ;) 

------- Comment #3 From Marius Mauch (RETIRED) 2007-01-12 06:16:19 0000 -------
Reopening for consideration

------- Comment #4 From Marius Mauch (RETIRED) 2008-03-20 18:14:39 0000 -------
This is supposed to be fixed in portage-2.2_pre5 or earlier.

------- Comment #5 From Marius Mauch (RETIRED) 2008-03-20 18:15:12 0000 -------
This is supposed to be fixed in portage-2.2_pre5 or earlier.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug