[opensuse-buildservice] f19: ruby: Command not found

Hi! My package has ‘ruby’ as build dependency, and it gets installed on the OBS f19 VM, but then ruby is not found. This works on f17 and f18, but is broken on f19 only. [...] [ 130s] [272/313] installing ruby-2.0.0.195-8.fc19 [...] [ 164s] checking for ruby... no [ 164s] configure: WARNING: could not find the ruby interpreter [ 164s] configure: WARNING: No Ruby>=1.8.7 found; some tests will be skipped [...] [ 174s] make[2]: Entering directory `/home/abuild/rpmbuild/BUILD/oml2-2.11.0rc/ruby' [ 174s] make[2]: Nothing to be done for `all'. [ 174s] make[2]: Leaving directory `/home/abuild/rpmbuild/BUILD/oml2-2.11.0rc/ruby' [ 174s] Making all in server [ 174s] make[2]: Entering directory `/home/abuild/rpmbuild/BUILD/oml2-2.11.0rc/server' [ 174s] VER=`echo 2.11.0rc | /bin/sed "s/.*+oml//;s/-dirty//;s/\([0-9]\{1,\}\(\.[0-9]\{1,\}\)\{1,2\}\).*/\1/;s/\./, /g"`; \ [ 174s] /bin/sed -e 's|@bindir[@]|/usr/bin|g' \ [ 174s] -e "/app\.path/s/oml2-server/`echo 'oml2' | /bin/sed 's&^&&'`/" \ [ 174s] -e "s/app\.version.*/app.version($VER)/" \ [ 174s] oml2-server.rb.in > oml2-server.rb [ 174s] ruby ../ruby/oml2-scaffold --oml oml2-server.rb [ 174s] make[2]: ruby: Command not found [ 174s] make[2]: *** [oml2-server_oml.h] Error 127 [ 174s] make[2]: Leaving directory `/home/abuild/rpmbuild/BUILD/oml2-2.11.0rc/server' [ 174s] make[1]: *** [all-recursive] Error 1 [ 174s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/oml2-2.11.0rc' [ 174s] make: *** [all] Error 2 [ 174s] error: Bad exit status from /var/tmp/rpm-tmp.aEZFdA (%build) [ 174s] [ 174s] [ 174s] RPM build errors: [ 174s] Bad exit status from /var/tmp/rpm-tmp.aEZFdA (%build) [ 175s] Powering off. [ 175s] [ 145.215197] Power down. Cheers, Christoph ________________________________ The information in this e-mail may be confidential and subject to legal professional privilege and/or copyright. National ICT Australia Limited accepts no liability for any damage caused by this email or its attachments. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

Am Montag, 4. November 2013, 06:12:39 schrieb Christoph Dwertmann:
Hi!
My package has ‘ruby’ as build dependency, and it gets installed on the OBS f19 VM, but then ruby is not found. This works on f17 and f18, but is broken on f19 only.
Are you sure you have build requires to the right ruby packages set? You can also check with osc buildinfo $repo $arch | grep ruby which ruby packages get installed based on your spec file.
[...] [ 130s] [272/313] installing ruby-2.0.0.195-8.fc19 [...] [ 164s] checking for ruby... no [ 164s] configure: WARNING: could not find the ruby interpreter [ 164s] configure: WARNING: No Ruby>=1.8.7 found; some tests will be skipped [...] [ 174s] make[2]: Entering directory `/home/abuild/rpmbuild/BUILD/oml2-2.11.0rc/ruby' [ 174s] make[2]: Nothing to be done for `all'. [ 174s] make[2]: Leaving directory `/home/abuild/rpmbuild/BUILD/oml2-2.11.0rc/ruby' [ 174s] Making all in server [ 174s] make[2]: Entering directory `/home/abuild/rpmbuild/BUILD/oml2-2.11.0rc/server' [ 174s] VER=`echo 2.11.0rc | /bin/sed "s/.*+oml//;s/-dirty//;s/\([0-9]\{1,\}\(\.[0-9]\{1,\}\)\{1,2\}\).*/\1/;s/\./, /g"`; \ [ 174s] /bin/sed -e 's|@bindir[@]|/usr/bin|g' \ [ 174s] -e "/app\.path/s/oml2-server/`echo 'oml2' | /bin/sed 's&^&&'`/" \ [ 174s] -e "s/app\.version.*/app.version($VER)/" \ [ 174s] oml2-server.rb.in > oml2-server.rb [ 174s] ruby ../ruby/oml2-scaffold --oml oml2-server.rb [ 174s] make[2]: ruby: Command not found [ 174s] make[2]: *** [oml2-server_oml.h] Error 127 [ 174s] make[2]: Leaving directory `/home/abuild/rpmbuild/BUILD/oml2-2.11.0rc/server' [ 174s] make[1]: *** [all-recursive] Error 1 [ 174s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/oml2-2.11.0rc' [ 174s] make: *** [all] Error 2 [ 174s] error: Bad exit status from /var/tmp/rpm-tmp.aEZFdA (%build) [ 174s] [ 174s] [ 174s] RPM build errors: [ 174s] Bad exit status from /var/tmp/rpm-tmp.aEZFdA (%build) [ 175s] Powering off. [ 175s] [ 145.215197] Power down.
Cheers,
Christoph
________________________________
The information in this e-mail may be confidential and subject to legal professional privilege and/or copyright. National ICT Australia Limited accepts no liability for any damage caused by this email or its attachments.
-- Adrian Schroeter email: adrian@suse.de SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

* Christoph Dwertmann <Christoph.Dwertmann@nicta.com.au> [Nov 04. 2013 07:12]:
Hi!
My package has ‘ruby’ as build dependency, and it gets installed on the OBS f19 VM, but then ruby is not found. This works on f17 and f18, but is broken on f19 only.
Add this to your .spec file %if 0%{?fedora} == 19 BuildRequires: rubypick %endif Fedora 19 couldn't decide on a Ruby version, so the added 'rubypick' ... Klaus -- SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Maxfeldstraße 5, 90409 Nürnberg, Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

On 4 Nov 2013, at 7:03 pm, Klaus Kaempf <kkaempf@suse.de> wrote:
Add this to your .spec file
%if 0%{?fedora} == 19 BuildRequires: rubypick %endif
That did the trick, thanks Klaus! Cheers, Christoph ________________________________ The information in this e-mail may be confidential and subject to legal professional privilege and/or copyright. National ICT Australia Limited accepts no liability for any damage caused by this email or its attachments. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (3)
-
Adrian Schröter
-
Christoph Dwertmann
-
Klaus Kaempf