On Mon, 03 Dec 2007 09:28:43 -0600, Rex Dieter wrote: > With recent versions of mock, (ie, mock-0.8 series), I've noticed change in > behavior, seemingly the mockbuild user doesn't include stuff > >from /etc/profile.d/* (my guess is that it's no longer being treated as a > login shell). > > I mention this because bunch of kde-related packages that once built fine, > no longer do, because /etc/profile.d/qt.sh apparently isn't getting > source'd into the build environment (and env vars QTDIR, QTLIB, QTINCLUDE > aren't getting set properly). > > Can anyone confirm/deny this?
It would be a bug if it sourced files from /etc/profile.d/* automatically, because a normal rpmbuild does not do that either -- as often the files get installed only after you have logged in already. We have been doing it manually in %build for a very long time, especially for qt.sh -- Fedora-buildsys-list mailing list Fedora-buildsys-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-buildsys-list