ERRORS: mozilla-firefox-bin.spec
Jan Rękorajski
baggins at pld-linux.org
Tue Feb 11 23:49:59 CET 2025
On Thu, 06 Feb 2025, Jan Palus wrote:
> On 06.02.2025 12:22, PLD th-x32 builder wrote:
> > mozilla-firefox-bin.spec (HEAD): FAILED
> ...
> > + exec nice -n 0 rpmbuild -bp --short-circuit --nodeps --define '_topdir /tmp/B.bco753jf' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target x32-pld-linux --define 'prep exit 0' /tmp/B.bco753jf/mozilla-firefox-bin.spec
> > Building target platforms: x32-pld-linux
> > Building for target x32-pld-linux
> > warning: line 40: It's not recommended to have unversioned Obsoletes: Obsoletes: mozilla-firebird
> ...
> > + exec nice -n 0 rpmbuild -bb --define '__jobs 28' --define '_smp_mflags -j28' --define '_make_opts -Otarget' --define '_pld_builder 1' --define '_topdir /tmp/B.bco753jf' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target x32-pld-linux /tmp/B.bco753jf/mozilla-firefox-bin.spec
> > Building target platforms: x32-pld-linux
> > Building for target x32-pld-linux
> > warning: line 40: It's not recommended to have unversioned Obsoletes: Obsoletes: mozilla-firebird
> > error: Signature expired on 2015-03-28 06:35:09
> > Executing(%mkbuilddir): /bin/sh -e /tmp/B.bco753jf/BUILD/tmp/rpm-tmp.Bou2cg
> > + umask 022
> > + cd /tmp/B.bco753jf/BUILD/mozilla-firefox-bin-135.0-build
> > + test -d /tmp/B.bco753jf/BUILD/mozilla-firefox-bin-135.0-build
> > + /bin/chmod -Rf a+rX,u+w,g-w,o-w /tmp/B.bco753jf/BUILD/mozilla-firefox-bin-135.0-build
> > + /bin/rm '--interactive=never' -rf /tmp/B.bco753jf/BUILD/mozilla-firefox-bin-135.0-build
> > + /bin/mkdir -p /tmp/B.bco753jf/BUILD/mozilla-firefox-bin-135.0-build
> > + /bin/mkdir -p /tmp/B.bco753jf/BUILD/mozilla-firefox-bin-135.0-build/SPECPARTS
> > + RPM_EC=0
> > + jobs -p
> > + exit 0
> > Executing(%prep): /bin/sh -e /tmp/B.bco753jf/BUILD/tmp/rpm-tmp.X7RJbH
>
> ExclusiveArch is no longer a thing in new rpm? Or why it didn't
> error out here (spec has ExclusiveArch: i686 athlon %{x8664})?
rpm 4.18:
$ rpmbuild -bp --short-circuit --nodeps --target x32-pld-linux --define 'prep exit 0' nodejs.spec ; echo $?
Building target platforms: x32-pld-linux
Building for target x32-pld-linux
error: Architecture is not included: x32
1
vs rpm 4.20:
$ rpmbuild -bp --short-circuit --nodeps --target x32-pld-linux --define 'prep exit 0' nodejs.spec ; echo $?
Building target platforms: x32-pld-linux
Building for target x32-pld-linux
0
That's how builder finds out if an arch is supported or not.
I'll look around if there is a better way or if that's an rpm bug.
--
Jan Rękorajski | PLD/Linux
SysAdm | baggins<at>pld-linux.org | http://www.pld-linux.org/
More information about the pld-devel-en
mailing list