Ask Your Question

Revision history [back]

Fedora 27: Building SRPM From Fedora 24 for Compatibility

I just switched to Fedora 27 and am interested in installing two versions of Qt5...I run the KDE spin, and the existing version is good to go (this is version 5.9.2-1, and does not need anything). However, I need to also build and install an older version from Fedora 24 to run in parallel to the current version...I need Qt5 version 5.6.2 (this is available in srpm format for Fedora 24 in srpm format).

When I install the srpm as my non-root user it works fine. When I do the builddep against the 5.6.2 version, it instead adds the 5.9.2 support...when I go to do the rpmbuild it fails. I suspect it is because builddep used 5.9.2 versions...but I don't really know for sure.

Is there a different procedure for building a specific previous version of a package for the builddep stage? The "rpmbuild -bp" looks like it works, the "rpmbuild -ba" fails with a rather non-useful message:

error: Bad exit status from /var/tmp/rpm-tmp.WuO4BN (%build)

...basically it says "it broke", and not much more even when looking at earlier build messages.

click to hide/show revision 2
retagged

updated 2018-11-04 03:38:50 -0500

hhlp gravatar image

Fedora 27: Building SRPM From Fedora 24 for Compatibility

I just switched to Fedora 27 and am interested in installing two versions of Qt5...I run the KDE spin, and the existing version is good to go (this is version 5.9.2-1, and does not need anything). However, I need to also build and install an older version from Fedora 24 to run in parallel to the current version...I need Qt5 version 5.6.2 (this is available in srpm format for Fedora 24 in srpm format).

When I install the srpm as my non-root user it works fine. When I do the builddep against the 5.6.2 version, it instead adds the 5.9.2 support...when I go to do the rpmbuild it fails. I suspect it is because builddep used 5.9.2 versions...but I don't really know for sure.

Is there a different procedure for building a specific previous version of a package for the builddep stage? The "rpmbuild -bp" looks like it works, the "rpmbuild -ba" fails with a rather non-useful message:

error: Bad exit status from /var/tmp/rpm-tmp.WuO4BN (%build)

...basically it says "it broke", and not much more even when looking at earlier build messages.