[Bug 744142] New: build-root config option should default to /var/tmp/build-root/%(repo)s/%(arch)s
https://bugzilla.novell.com/show_bug.cgi?id=744142 https://bugzilla.novell.com/show_bug.cgi?id=744142#c0 Summary: build-root config option should default to /var/tmp/build-root/%(repo)s/%(arch)s Classification: Internal Novell Products Product: openSUSE Build Service Version: 2.3 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: osc AssignedTo: adrian@suse.com ReportedBy: aspiers@suse.com QAContact: adrian@suse.com Found By: Development Blocker: --- Currently the build-root config option defaults to /var/tmp/build-root. However as soon as you do a local 'osc build' for a different repo to the first one, you will most likely get a lot of nasty errors due to trying to use a chroot with completely wrong contents. For example, after a successful osc build SLE_11_SP2 x86_64 if I then build for openSUSE_12.1 x86_64, I get loads of errors like /bin/sh: error while loading shared libraries: libreadline.so.5: cannot open shared object file: No such file or directory The simple fix is to have a buildroot per repo/arch, by configuring ~/.oscrc with: build-root = /var/tmp/build-root/%(repo)s/%(arch)s The comments in the template .oscrc even suggest doing this, so it seems strange to me that this is not the default. If you agree, I can submit a patch if that is easier for you than changing it yourself. Thanks! -- 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=744142 https://bugzilla.novell.com/show_bug.cgi?id=744142#c1 --- Comment #1 from Adam Spiers <aspiers@suse.com> 2013-08-05 09:57:36 UTC --- Hi Adrian, I already offered to provide a patch for this. All you have to do is agree it's a good idea ;-) -- 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=744142 https://bugzilla.novell.com/show_bug.cgi?id=744142#c Adam Spiers <aspiers@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|build-root config option |.oscrc build-root config |should default to |option should default to |/var/tmp/build-root/%(repo) |/var/tmp/build-root/%(repo) |s/%(arch)s |s/%(arch)s -- 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=744142 https://bugzilla.novell.com/show_bug.cgi?id=744142#c2 Adrian Schröter <adrian@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from Adrian Schröter <adrian@suse.com> 2013-08-05 13:30:59 UTC --- This is already the case since osc-0.140 . However, it has no effect if there is a different configuration in your ~/.oscrc file though. -- 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.
participants (1)
-
bugzilla_noreply@novell.com