Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#12017 closed defect (fixed)

BUG: BASE - rpmpackage patch required for port RPM 4.4.7+

Reported by: afb@… Owned by: macports-tickets@…
Priority: High Milestone: MacPorts 1.5
Component: base Version:
Keywords: Cc: afb@…, markd@…
Port:

Description

RPM versions later than 4.4.7 (current RPM version is 4.4.9) does not use BuildRoot: from the .spec file anymore. This causes "port rpmpackage" to not work, since it cannot find the destroot anymore.

Attachments (2)

patch-macports-rpmbuildroot.diff (660 bytes) - added by afb@… 17 years ago.
patch-macports-rpmbuildroot.diff
rpm-4.4.9-clean.patch (539 bytes) - added by afb@… 17 years ago.
rpm-4.4.9-clean.patch

Download all attachments as: .zip

Change History (15)

Changed 17 years ago by afb@…

patch-macports-rpmbuildroot.diff

comment:1 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Milestone: MacPorts 1.4

comment:2 Changed 17 years ago by markd@…

Milestone: MacPorts 1.4Needs developer review
Summary: port rpmpackage and RPM 4.4.7+BUG: base - port rpmpackage and RPM 4.4.7+

comment:3 Changed 17 years ago by markd@…

Summary: BUG: base - port rpmpackage and RPM 4.4.7+BUG: BASE - port rpmpackage and RPM 4.4.7+

comment:4 Changed 17 years ago by afb@…

A bug with this workaround is that making an rpmpackage will always delete work/destroot too (at least with RPM 4.4.9 it does an unconditional rm -rf %{buildroot} in the %clean phase of rpmbuild)

comment:5 Changed 17 years ago by markd@…

Cc: afb@… markd@… added

The rpm port has been upgraded (r26315). Please test it and see if the issue is still present.

comment:6 Changed 17 years ago by afb@…

Actually it is the RPM upgrade that warrants this change in base ?

The way to test this Bug is to do a "port rpmpackage" and check...

Changed 17 years ago by afb@…

Attachment: rpm-4.4.9-clean.patch added

rpm-4.4.9-clean.patch

comment:7 Changed 17 years ago by afb@…

For reference, tentative RPM patch to fix the issue mentioned above (destroot deleted after rpmbuild)

comment:8 Changed 17 years ago by markd@…

Summary: BUG: BASE - port rpmpackage and RPM 4.4.7+BUG: BASE - rpmpackage patch required for port RPM 4.4.7+

Sorry, I confused this ticket with another.

comment:9 Changed 17 years ago by afb@…

Resolution: fixed
Status: newclosed
Version: 1.4.421.5

This is fixed, RPM is now 4.4.9 and "port rpmpackage" is now "port rpm"

comment:10 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Milestone: Needs developer reviewMacPorts base bugs

Milestone Needs developer review deleted

comment:11 Changed 17 years ago by nox@…

Cc: afb@users.sourceforge.net,markd@macports.orgafb@users.sourceforge.net, markd@macports.org
Priority: ExpectedHigh
Version: 1.5

comment:12 Changed 16 years ago by tobypeterson

Milestone: MacPorts base bugsMacPorts Future

Milestone MacPorts base bugs deleted

comment:13 Changed 15 years ago by jmroot (Joshua Root)

Milestone: MacPorts FutureMacPorts 1.5
Note: See TracTickets for help on using tickets.