[Bug 1136584] New: osc build requires running in a checked out directory even with --alternative-project
http://bugzilla.suse.com/show_bug.cgi?id=1136584 Bug ID: 1136584 Summary: osc build requires running in a checked out directory even with --alternative-project Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.1 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development Assignee: bnc-team-screening@forge.provo.novell.com Reporter: mkubecek@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Since upgrading my Leap 15.0 system to Leap 15.1, "osc build" requires current directory to be a checked out working copy even when "--alternative-project" argument is used:
mike@unicorn:~/work/git/sle-ksource/kernel-source> osc build --alternative-project openSUSE:Factory kernel-default.spec Error: "/srv/git/sle-ksource/kernel-source" is not an osc package working copy.
Leap 15.0 and 42.3 version did not require this and the example used to work with only package contents in current directory (and no .osc/* metadata). Last known good version: 0.162.1-lp150.1.3 (Leap 15.0) First known bad version: 0.165.0-lp151.1.1 (Leap 15.1) According to Jiří Slabý, 0.164.2 also works. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1136584
Michal Kubeček
http://bugzilla.suse.com/show_bug.cgi?id=1136584
http://bugzilla.suse.com/show_bug.cgi?id=1136584#c1
Ruediger Oertel
http://bugzilla.suse.com/show_bug.cgi?id=1136584
Michal Suchanek
http://bugzilla.suse.com/show_bug.cgi?id=1136584
http://bugzilla.suse.com/show_bug.cgi?id=1136584#c2
Jiri Slaby
According to Jiří Slabý, 0.164.2 also works.
Yes, osc 0.165 now needs .osc dir and _project, _package and (empty) _files in it for to me unknown reason. So this is a regression preventing use of osc as we use it for the kernel maintenance. See: https://kernel.opensuse.org/cgit/kernel-source/tree/scripts/osc_wrapper?h=sc...
rm -rf "$(dirname "$spec")/.osc" osc build --local-package --alternative-project="$PROJECT" \ "${osc_args[@]}" standard "$spec"
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1136584
http://bugzilla.suse.com/show_bug.cgi?id=1136584#c3
Miroslav Beneš
http://bugzilla.suse.com/show_bug.cgi?id=1136584
http://bugzilla.suse.com/show_bug.cgi?id=1136584#c4
Jiri Slaby
http://bugzilla.suse.com/show_bug.cgi?id=1136584
http://bugzilla.suse.com/show_bug.cgi?id=1136584#c5
--- Comment #5 from Marco Strigl
http://bugzilla.suse.com/show_bug.cgi?id=1136584
http://bugzilla.suse.com/show_bug.cgi?id=1136584#c6
--- Comment #6 from Marco Strigl
http://bugzilla.suse.com/show_bug.cgi?id=1136584
http://bugzilla.suse.com/show_bug.cgi?id=1136584#c7
--- Comment #7 from Michal Kubeček
http://bugzilla.suse.com/show_bug.cgi?id=1136584
http://bugzilla.suse.com/show_bug.cgi?id=1136584#c8
Jiri Slaby
http://bugzilla.suse.com/show_bug.cgi?id=1136584
http://bugzilla.suse.com/show_bug.cgi?id=1136584#c9
--- Comment #9 from Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1136584
http://bugzilla.suse.com/show_bug.cgi?id=1136584#c10
Jiri Slaby
The change is pending in users/jslaby/scripts/for-next.
Merged. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1136584
http://bugzilla.suse.com/show_bug.cgi?id=1136584#c12
Zsolt KALMAR
http://bugzilla.suse.com/show_bug.cgi?id=1136584
http://bugzilla.suse.com/show_bug.cgi?id=1136584#c13
--- Comment #13 from Michal Kubeček
http://bugzilla.suse.com/show_bug.cgi?id=1136584
http://bugzilla.suse.com/show_bug.cgi?id=1136584#c14
--- Comment #14 from Michal Kubeček
It would be IMHO more appropriate to close as RESOLVED/WORKAROUND.
...which bugzilla no longer offers, apparently. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1136584
Maintenance Robot
http://bugzilla.suse.com/show_bug.cgi?id=1136584
http://bugzilla.suse.com/show_bug.cgi?id=1136584#c15
--- Comment #15 from Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1136584
Maintenance Robot
http://bugzilla.suse.com/show_bug.cgi?id=1136584
http://bugzilla.suse.com/show_bug.cgi?id=1136584#c16
Michal Kubeček
http://bugzilla.suse.com/show_bug.cgi?id=1136584
http://bugzilla.suse.com/show_bug.cgi?id=1136584#c17
--- Comment #17 from Swamp Workflow Management
https://bugzilla.suse.com/show_bug.cgi?id=1136584
https://bugzilla.suse.com/show_bug.cgi?id=1136584#c19
--- Comment #19 from Swamp Workflow Management
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com