[opensuse-buildservice] Error on server:eGroupware build for openSUSE11.1
When I try to build the noarch rpm for openSUSE11.1, I get the following error, stoping the build: + /usr/lib/rpm/brp-rpath + /usr/lib/rpm/brp-pie + /usr/lib/rpm/brp-rootfs + /usr/lib/rpm/brp-tcl + /usr/lib/rpm/brp-check-python + /usr/lib/rpm/brp-check-bytecode-version ERROR: jar, fastjar, or unzip is not installed (trying file /tmp/eGroupware-buildroot/usr/share/egroupware/gallery/gallery2/modules/core/classes/GalleryStorage/g2_db2.jar) error: Bad exit status from /var/tmp/rpm-tmp.54764 (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.54764 (%install) System halted. The same specfile works with a openSUSE11.0 target. The project is PHP based. The bundeled Gallery2 contains the jar-file causing the error. That jar is used on clientside, so I dont think it makes sense to require any java rpms for the server. Any ideas ... Ralf -- Ralf Becker Outdoor Unlimited Training GmbH [www.outdoor-training.de] Handelsregister HRB Kaiserslautern 3587 Geschäftsführer Birgit und Ralf Becker Leibnizstr. 17, 67663 Kaiserslautern, Germany Telefon +49 (0)631 31657-0 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Check http://en.opensuse.org/Java/Packaging/Cookbook#bytecode_version_error I think, you need to include the java-devel package or to switch of the test (is the client loading the jar or is the jar executed by the web-server?). Another hint: change Buildroot from /tmp/%{packagename}-buildroot to %{_tmppath}/%{packagename}-buildroot because /tmp can be very small on some systems. Johannes Am 26.03.2009 19:06, schrieb Ralf Becker:
When I try to build the noarch rpm for openSUSE11.1, I get the following error, stoping the build:
+ /usr/lib/rpm/brp-rpath + /usr/lib/rpm/brp-pie + /usr/lib/rpm/brp-rootfs + /usr/lib/rpm/brp-tcl + /usr/lib/rpm/brp-check-python + /usr/lib/rpm/brp-check-bytecode-version ERROR: jar, fastjar, or unzip is not installed (trying file /tmp/eGroupware-buildroot/usr/share/egroupware/gallery/gallery2/modules/core/classes/GalleryStorage/g2_db2.jar) error: Bad exit status from /var/tmp/rpm-tmp.54764 (%install)
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.54764 (%install) System halted.
-- |--------------------------------- | weberhofer GmbH | Johannes Weberhofer | information technologies | Austria, 1080 Wien, Blindengasse 52/3 | | Firmenbuch: 225566s, Handelsgericht Wien | UID: ATU55277701 | | phone : +43 (0)1 5454421 0 | email: office@weberhofer.at | fax : +43 (0)1 5454421 19 | web : http://weberhofer.at | mobile: +43 (0)699 11998315 |----------------------------------------------------------->> -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Thu, Mar 26, Ralf Becker wrote:
When I try to build the noarch rpm for openSUSE11.1, I get the following error, stoping the build:
+ /usr/lib/rpm/brp-rpath + /usr/lib/rpm/brp-pie + /usr/lib/rpm/brp-rootfs + /usr/lib/rpm/brp-tcl + /usr/lib/rpm/brp-check-python + /usr/lib/rpm/brp-check-bytecode-version ERROR: jar, fastjar, or unzip is not installed (trying file /tmp/eGroupware-buildroot/usr/share/egroupware/gallery/gallery2/modules/core/classes/GalleryStorage/g2_db2.jar) error: Bad exit status from /var/tmp/rpm-tmp.54764 (%install)
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.54764 (%install) System halted.
The same specfile works with a openSUSE11.0 target.
The project is PHP based. The bundeled Gallery2 contains the jar-file causing the error. That jar is used on clientside, so I dont think it makes sense to require any java rpms for the server.
Any ideas ...
If it's the brp-check-bytecode-version check which is causing this, just switch it off using %install export NO_BRP_CHECK_BYTECODE_VERSION=true That check is broken, anyway. -- With best regards, Carsten Hoeger
On Fri, Mar 27, 2009 at 09:37:13AM +0100, Carsten Hoeger wrote:
On Thu, Mar 26, Ralf Becker wrote:
When I try to build the noarch rpm for openSUSE11.1, I get the following error, stoping the build:
+ /usr/lib/rpm/brp-rpath + /usr/lib/rpm/brp-pie + /usr/lib/rpm/brp-rootfs + /usr/lib/rpm/brp-tcl + /usr/lib/rpm/brp-check-python + /usr/lib/rpm/brp-check-bytecode-version ERROR: jar, fastjar, or unzip is not installed (trying file /tmp/eGroupware-buildroot/usr/share/egroupware/gallery/gallery2/modules/core/classes/GalleryStorage/g2_db2.jar) error: Bad exit status from /var/tmp/rpm-tmp.54764 (%install)
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.54764 (%install) System halted.
The same specfile works with a openSUSE11.0 target.
The project is PHP based. The bundeled Gallery2 contains the jar-file causing the error. That jar is used on clientside, so I dont think it makes sense to require any java rpms for the server.
Any ideas ...
If it's the brp-check-bytecode-version check which is causing this, just switch it off using
%install export NO_BRP_CHECK_BYTECODE_VERSION=true
Actually do not disable checks randomyl, but in this case just add "unzip" to BuildRequires to make the check work. Ciao, Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (4)
-
Carsten Hoeger
-
Johannes Weberhofer, Weberhofer GmbH
-
Marcus Meissner
-
Ralf Becker