Bug 456708
Summary: | BuildRoot doesn't honor %_topdir | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jonathan Kamens <jik> |
Component: | rpm | Assignee: | Panu Matilainen <pmatilai> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | CC: | caolanm, ffesti, jnovy, pnasrat |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 4.5.90-0.git8444.1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-08-04 06:47:13 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jonathan Kamens
2008-07-25 18:12:44 UTC
The buildroot in specfiles is ignored on purpose, NOTABUG. If a package depends on an exact buildroot, basically the package is buggy, but since historically rpm has honored spec provided buildroot the new behavior is certain to "break" a bunch of packages. Just curious: what's the scenario in your case that "requires" a specific buildroot? I have always built in /usr/src/redhat. When y'all changed the default to build in ~/rpmbuild, I redefined _topdir to /usr/src/redhat in my ~/.rpmmacros file to put back the default, but that doesn't change buildrootdir, hence I noticed the problem (since it tried to use ~/buildroot/BUILDROOT, which doesn't exist). Right, in that case there is an actual bug involved: while the spec buildroot is ignored on purpose, the default buildroot should follow _topdir unless specifically overridden. Fixed upstream Fixed by rpm-4.5.90-0.git8444.1 in rawhide |