On Thu, Sep 22, 2016 at 11:01:56AM +0200, Michael Šimáček wrote:
> Hi,
> I recently got a few failed build alerts with suspicious errors about
> missing commands/libs in the buildroot, despite the builddep step had
> succeeded. The root.log always contains "Skipping packages with conflicts"
> listing packages that weren't installed. So DNF now silently skips
> installation of some packages in koji. That's a problem - there are packages
> (usually using autoconf) that enable/disable features based on what they see
> in the environment, so silently skipping package installations may result in
> sucessful build of package that is missing functionality.

IMHO best practice is to *always* pass all the --enable-XXX feature flags
to 'configure' that you expect the package to be building with, and not
rely on auto-detection. There's plenty of ways that auto-detection can
get broken, beyond DNF not installing some pre-reqs, so you want to have
a robust build that always fails upfront.

|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to