[Bug 435584] New: bad export MAKEFLAGS= in spec file
https://bugzilla.novell.com/show_bug.cgi?id=435584 Summary: bad export MAKEFLAGS= in spec file Product: openSUSE 11.1 Version: Factory Platform: All OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de Found By: --- I noticed the following line of text export MAKEFLAGS="%{?jobs:-j %jobs}" in file libqt4.spec I am currently using a multi core machine and I have export MAKEFLAGS="-j 4" in my ~/.bashrc to get faster builds. The export in the libqt4.spec overwrites the value from the ~/.bashrc I suggest remove the export line from the libqt4.spec file. The same problem exists in libqt4-devel-doc-data.spec, libqt4-sql-plugins.spec, libQtWebKit-devel.spec -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=435584
Michal Seben
https://bugzilla.novell.com/show_bug.cgi?id=435584
User dmueller@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=435584#c1
Dirk Mueller
https://bugzilla.novell.com/show_bug.cgi?id=435584
User dcb314@hotmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=435584#c2
David Binderman
thats not the right way to build parallel. please use the --jobs parametet to build instead. then this issue will not be a problem for you anymore.
? I use rpmbuild -bc to build and it has no such flag. Is there perhaps some other build tool I should be using ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=435584
User dmueller@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=435584#c3
Dirk Mueller
https://bugzilla.novell.com/show_bug.cgi?id=435584
User dcb314@hotmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=435584#c4
--- Comment #4 from David Binderman
rpmbuild -bc --define "jobs 3" or whatever other parallelism you want.
Thanks for that.
yes, building directly in a running system is not supported for building suse packages. we use "build",a wrapper that sets up a changeroot with minimal and defined installation environment to avoid unexpected surprises.
Sigh. So four packages out of 3,640 cause trouble and its all of them that I've been building in the wrong way ;-| Thanks for your advice, I think I'll stay as I am with rpmbuild and just a quick Perl script over *.spec, looking for any settings of MAKEFLAGS and changing the four known wrong ones. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=435584
User dmueller@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=435584#c5
--- Comment #5 from Dirk Mueller
participants (1)
-
bugzilla_noreply@novell.com