|
Bugzilla – Full Text Bug Listing |
| Summary: | java-1_4_2-gcj-compat: /var/tmp/rpm-tmp.34166: line 16: gcj: command not found | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE Linux 10.1 | Reporter: | Christoph Thiel <cthiel> |
| Component: | Java | Assignee: | Johannes Meixner <jsmeix> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Minor | ||
| Priority: | P5 - None | ||
| Version: | Beta 5 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Christoph Thiel
2006-02-28 14:18:12 UTC
Ah! One more of the never ending java-1_4_2-gcj-compat mess. This one is a nice side-effect of bug #151732. (Of course "Requires" was not sufficient, it should have been "PreReq".) I will try to use "%triggerin -- gcc-java" instead of %post Alternatively I may simply replace stuff like `gcj%{gccsuffix} --version | head -n 1 | awk '{ print $3 }'` during build with a constant string of our gcj version. I think %triggerin is much better because it makes it always automatically correct even when an installed gcc-java would be updated. Hopefully fixed now. Submitted java-1_4_2-gcj-compat to STABLE. Just tested on test build 606 and still got this error with java-1_4_2-gcj-compat-1.4.2.0-17 Is it really the RPM post install stuff and not bug #155729? The requires has been fixed, but I still get the output of /usr/share/java / / /usr/lib/jvm-exports/java-1.4.2-gcj-1.4.2.0 / / which seems a bit strange ;) I see exactly the same messages when I build it locally: ------------------------------------------------------------------- Preparing packages for installation... java-1_4_2-gcj-compat-1.4.2.0-17 /usr/share/java / / /usr/lib/jvm-exports/java-1.4.2-gcj-1.4.2.0 / / java-1_4_2-gcj-compat-devel-1.4.2.0-17 ------------------------------------------------------------------- ... testing for pre/postinstall scripts that break patchrpms /usr/share/java / / /usr/lib/jvm-exports/java-1.4.2-gcj-1.4.2.0 / / ------------------------------------------------------------------- There is no error exit code from the postinstall stuff and Christoph told me that there is also no error popup in YaST. He found it by manually inspecting YaST's installation log. => Only a MINOR bug (perhaps only cosmetical). I try to find what outputs the messages and add some ">/dev/null" to get it quiet. Using "set -x" in postinstall script shows that it is cosmetical: ---------------------------------------------------------------------- + pushd /usr/share/java/ /usr/share/java / [...] + popd / [...] + pushd /usr/lib/jvm-exports/java-1.4.2-gcj-1.4.2.0 /usr/lib/jvm-exports/java-1.4.2-gcj-1.4.2.0 / [...] + popd / ---------------------------------------------------------------------- Added "1>/dev/null" to pushd and popd to get them quiet. Submitted to STABLE. Hopefully completely fixed now. |