#3185: Buildsys will try to build a package while buildrequires are missing
(BAD!!)
------------------------+---------------------------------------------------
Reporter: jwrdegoede | Owner: rel-eng(a)lists.fedoraproject.org
Type: task | Status: new
Milestone: | Component: koji
Keywords: |
------------------------+---------------------------------------------------
Hi,
I asked for buildroot overrides for a ClanLib06 update, to build a new
auriferous which needs
some changes in the new ClanLib06, so that I could then push both as one
update.
To ensure I would not get caught by issues with a too old ClanLib06 ending
up in the buildroot somehow I put a:
BuildRequires: ClanLib06-devel >= ClanLib06-0.6.5-16
Inside the specfile of auriferous. After getting the mail that
ClanLib06-0.6.5-16.fc11 was tagged, I immediately started an auriferous
build for F-11. This was apparently before a create repo had run for the
F-11 buildrepo, so the buildroot included the old ClanLib06, see:
http://koji.fedoraproject.org/koji/getfile?taskID=1842024&name=root.log
This means that the actual build should have exited immediately to due
missing build deps, but
it actually started building and exited with a compile error on some
missing defines (which
are only in the new ClanLib06). If the build need for the newer ClanLib
would somehow have been more subtle, so it would not have caused the build
to fail, this could have resulted in a broken build!
Investigating this further found me the following line, near the end of
the build log:
'bash', '--login', '-c', 'rpmbuild -bb --target x86_64
--nodeps
builddir/build/SPECS/auriferous.spec'
See:
http://koji.fedoraproject.org/koji/getfile?taskID=1842024&name=build.log
Notice the passing of --nodeps. This is bad very very bad, I see no reason
to pass --nodeps to rpmbuild here, and this disables sanity checks people
build into their specfiles!
Please fix this.
Regards,
Hans
--
Ticket URL: <
https://fedorahosted.org/rel-eng/ticket/3185>
Fedora Release Engineering <
http://fedorahosted.org/rel-eng>
Release Engineering for the Fedora Project