Bug 156137

Summary: SWAMP does not build
Product: [openSUSE] openSUSE.org Reporter: Thomas Schmidt <tschmidt>
Component: BuildServiceAssignee: Michael Schröder <mls>
Status: RESOLVED FIXED QA Contact: Adrian Schröter <adrian.schroeter>
Severity: Critical    
Priority: P5 - None CC: mls
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Thomas Schmidt 2006-03-08 16:46:35 UTC
Trying to build SWAMP on the buildservice: 
http://build.opensuse.org/package/show?project=swamp&name=swamp 
breaks when the buildroot tries to install mx4j with: 

installing mx4j-1.1.1-5.1
/var/tmp/rpm-tmp.34040: line 1: /usr/sbin/update-alternatives: No such file or directory
error: %post(mx4j-1.1.1-5.1) scriptlet failed, exit status 127

based on the target SL10.0/standard, and using a specfile with buildrequires. 
When using mbuild, it works...
Comment 1 Daniel Bornkessel 2006-03-08 18:28:33 UTC
Note: The spec file does contain 

PreReq:       /usr/sbin/update-alternatives

so that's not the problem.
I guess that it is a problem of the new autobuild system, don't know.
Comment 2 Thomas Schmidt 2006-04-04 09:38:11 UTC
It seems that every build that tries to install mx4j in the build-root breaks.
Comment 3 Michael Schröder 2006-04-04 10:22:56 UTC
update-alternatives was missing in the java2-devel-packages macro
Comment 4 Thomas Schmidt 2006-04-04 15:45:08 UTC
thanks, building now