Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
rpm-build fail due to probably hardcoded version 38 in path
see snipped build log
--
88947-+ ln -s /usr/share/myspell /home/test/rpmbuild/BUILDROOT/firefox-45.0-0.10.el7_2.x86_64/usr/lib64/firefox/dictionaries
88948-+ rm -rf '/usr/lib/debug/lib/firefox-devel-*'
88949-+ rm -rf /usr/lib/debug/lib64/firefox-devel-38.6.0
88950-rm: cannot remove '/usr/lib/debug/lib64/firefox-devel-38.6.0/sdk/lib/libxul.so.debug': Permission denied
88951-rm: cannot remove '/usr/lib/debug/lib64/firefox-devel-38.6.0/sdk/lib/libmozalloc.so.debug': Permission denied
88952:error: Bad exit status from /var/tmp/rpm-tmp.YBIaGO (%install)
Version-Release number of selected component (if applicable):
How reproducible:
firefox-45.0-0.10.el7_2
Steps to Reproduce:
1. rebuild ff from source
2.
3.
Actual results:
Expected results:
should build
Additional info:
Can you please attach a full build log? Mine looks like:
/home/komat/rpmbuild/BUILD/firefox-45.0/firefox-45.0b5
+ echo '%lang(zh) /usr/lib64/firefox/langpacks/langpack-zh.org.xpi'
+ /usr/bin/mkdir -p /home/komat/rpmbuild/BUILDROOT/firefox-45.0-0.10.el7.x86_64//usr/lib64/firefox/defaults/preferences
+ /usr/bin/mkdir -p /home/komat/rpmbuild/BUILDROOT/firefox-45.0-0.10.el7.x86_64//usr/lib64/firefox/browser/defaults
+ ln -s /usr/lib64/firefox/defaults/preferences /home/komat/rpmbuild/BUILDROOT/firefox-45.0-0.10.el7.x86_64//usr/lib64/firefox/browser/defaults/preferences
+ /usr/bin/cp /home/komat/rpmbuild/SOURCES/firefox-redhat-default-prefs.js /home/komat/rpmbuild/BUILDROOT/firefox-45.0-0.10.el7.x86_64/usr/lib64/firefox/defaults/preferences/all-redhat.js
+ echo 'pref("javascript.options.baselinejit", true);'
+ /usr/bin/mkdir -p '/home/komat/rpmbuild/BUILDROOT/firefox-45.0-0.10.el7.x86_64/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}'
+ /usr/bin/mkdir -p '/home/komat/rpmbuild/BUILDROOT/firefox-45.0-0.10.el7.x86_64/usr/lib64/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}'
+ /usr/bin/install -p -c -m 644 LICENSE /home/komat/rpmbuild/BUILDROOT/firefox-45.0-0.10.el7.x86_64//usr/lib64/firefox
+ /usr/bin/rm -rf /home/komat/rpmbuild/BUILDROOT/firefox-45.0-0.10.el7.x86_64/usr/lib64/firefox/dictionaries
+ ln -s /usr/share/myspell /home/komat/rpmbuild/BUILDROOT/firefox-45.0-0.10.el7.x86_64/usr/lib64/firefox/dictionaries
+ rm -rf '/usr/lib/debug/lib/firefox-devel-*'
+ rm -rf '/usr/lib/debug/lib64/firefox-devel-*'
+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /home/komat/rpmbuild/BUILD/firefox-45.0
so the '/usr/lib/debug/lib/firefox-devel-*' is deleted from /home/komat/rpmbuild/BUILD/firefox-45.0/firefox-45.0b5 directory. Looks like your ones are deleted from root?
Also I don't know why 'firefox-devel-*' was translated to 'firefox-devel-38.6.0'? Maybe old data in your build root?
Anyway, build works fine on Brew and also on my clearly installed RHEL7.2 box.