[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Mock/genchemlab/qt problem?



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 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]