[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
https://bugzilla.novell.com/show_bug.cgi?id=744142
https://bugzilla.novell.com/show_bug.cgi?id=744142#c
Adam Spiers
https://bugzilla.novell.com/show_bug.cgi?id=744142
https://bugzilla.novell.com/show_bug.cgi?id=744142#c2
Adrian Schröter
participants (1)
-
bugzilla_noreply@novell.com