Mailinglist Archive: opensuse-bugs (4216 mails)
| < Previous | Next > |
[Bug 744142] New: build-root config option should default to /var/tmp/build-root/%(repo)s/%(arch)s
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Mon, 30 Jan 2012 18:16:29 +0000
- Message-id: <bug-744142-21960@http.bugzilla.novell.com/>
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@xxxxxxxx
ReportedBy: aspiers@xxxxxxxx
QAContact: adrian@xxxxxxxx
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.
| < Previous | Next > |