[Bug 812059] New: Build as standalone script gives error
https://bugzilla.novell.com/show_bug.cgi?id=812059 https://bugzilla.novell.com/show_bug.cgi?id=812059#c0 Summary: Build as standalone script gives error Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: cornelis@solcon.nl QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0 build foo.spec does not work. First the sl12.3.conf in /usr/lib/build/configs has to be adapted (libgcc --> gcc), but then it still does not work. It gives the following error: [ 6s] expanding package dependencies... [ 9s] Use of uninitialized value within %packs in hash element at /usr/lib/build/expanddeps line 199. [ 9s] Use of uninitialized value in concatenation (.) or string at /usr/lib/build/expanddeps line 199. [ 9s] Use of uninitialized value within %packs in exists at /usr/lib/build/expanddeps line 200. [ 9s] Use of uninitialized value within %packs in hash element at /usr/lib/build/expanddeps line 199. [ 9s] Use of uninitialized value in concatenation (.) or string at /usr/lib/build/expanddeps line 199. [ 9s] Use of uninitialized value within %packs in exists at /usr/lib/build/expanddeps line 200. [ 9s] unsupported url for 'insserv': Note: this is "build" without obs. Reproducible: Always Steps to Reproduce: 1. In a folder with rpm source, does not matter which package 2. Execute "build foo.spec" Actual Results: Build stops with error message Expected Results: rpm to be build -- 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=812059
https://bugzilla.novell.com/show_bug.cgi?id=812059#c1
Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=812059
https://bugzilla.novell.com/show_bug.cgi?id=812059#c2
--- Comment #2 from Cor Blom
Well, there's no doubt that the error handling should be improved.
Anyway, the reason why it fails is that insserv is gone, but the sl12.3.conf file still contains it in the "preinstall" line.
You can get an up-to-date config with:
osc buildconfig openSUSE:12.3 standard
We'll also release an updated build package.
Thank you. The up-to-date config is working well. -- 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=812059
https://bugzilla.novell.com/show_bug.cgi?id=812059#c3
--- Comment #3 from Volker Kuhlmann
https://bugzilla.novell.com/show_bug.cgi?id=812059
https://bugzilla.novell.com/show_bug.cgi?id=812059#c4
Volker Kuhlmann
https://bugzilla.novell.com/show_bug.cgi?id=812059
https://bugzilla.novell.com/show_bug.cgi?id=812059#c5
--- Comment #5 from Volker Kuhlmann
participants (1)
-
bugzilla_noreply@novell.com