Bug 604316 - osc - jail re-use errors ...
Summary: osc - jail re-use errors ...
Status: CONFIRMED
Alias: None
Product: openSUSE.org
Classification: openSUSE
Component: BuildService (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Adrian Schröter
QA Contact: Adrian Schröter
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-10 15:45 UTC by Michael Meeks
Modified: 2011-06-22 09:29 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---
speilicke: needinfo? (mmeeks)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Meeks 2010-05-10 15:45:50 UTC
If I have built using one distribution, and try to use another rather different one eg. MeeGo -> openSUSE, or perhaps even as silly as SLED11 -> Factory my osc build amost always fails.

Sometimes it does so in some broken way - failing to update base packages in the chroot, sometimes it gets a bit further, but then manually prompts me to cleanup.

If we could store the repo name in the jail, and auto-clean the jail if a different repo came along, that would be rather nice :-)
Comment 1 Sascha Peilicke 2011-06-22 09:29:03 UTC
(In reply to comment #0)
> Sometimes it does so in some broken way - failing to update base packages in
> the chroot, sometimes it gets a bit further, but then manually prompts me to
> cleanup.
This should only happen if the preceding build was canceled by the user while the build-root was populated.

> If we could store the repo name in the jail, and auto-clean the jail if a
> different repo came along, that would be rather nice :-)
Actually, a different build-root is used for each repo/arch combo. They're stored in /var/tmp/build-root/$REPO-$ARCH by default (see ~/.oscrc)

This must have been a bug in the 'build' script, does that still happen for you?
Otherwise I'm tempted to close it since this hasn't happened since ages for me at least.