Mock/genchemlab/qt problem?

Jon Ciesla limb at jcomserv.net
Thu Dec 6 17:05:32 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

Thanks, worked beautifully!

> -- Rex
>
>
> --
> fedora-devel-list mailing list
> fedora-devel-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-devel-list
>


-- 
novus ordo absurdum




More information about the devel mailing list