Mock/genchemlab/qt problem?
Rex Dieter
rdieter at math.unl.edu
Thu Dec 6 04:36:01 UTC 2007
Jon Ciesla wrote:
> Mock was pulling in the qt-devel BR correctly, but the build failed,
> saying it couldn't find the various qt header files required. When I
> built it from scratch locally (rpmbuild -ba genchemlab.spec), it was fine.
> When I then submitted the build to koji, it built normally as well. I
> looked in my mock root, and the qt headers were there.
>
> Am I missing something?
recent versions of mock changed behavior wrt environment variables, see
https://www.redhat.com/archives/fedora-buildsys-list/2007-December/msg00002.html
to workaround that, you'll need to add something like this to your
spec's %build section:
unset QTDIR || : ; . /etc/profile.d/qt.sh
-- Rex
More information about the fedora-devel-list
mailing list