[opensuse-buildservice] build.opensuse.org: command not found
Hello, Thanks for this great service/software ! I'm trying to build a test package on build.opensuse.org [0] but I got this error: ``` [ 68s] /usr/bin/asciidoctor \ [ 68s] -n \ [ 68s] README.asciidoc [ 68s] make: /usr/bin/asciidoctor: Command not found [ 68s] make: *** [html] Error 127 [ 68s] error: Bad exit status from /var/tmp/rpm-tmp.3YzfxW (%build) ``` That's strange because rubygem-asciidoctor-1.5.6.1-1.el7 has been installed before by the worker. I added the EPEL repository to my repositories list. On my laptop, I'm able to build this package in a CentOS 7 VM with rubygem-asciidoctor-1.5.6.1-1.el7 package installed. I didn't find any help in documentations regarding this issue. [0] https://build.opensuse.org/package/live_build_log/home:nqb/hello-doc/CentOS_... -- Nicolas Quiniou-Briand -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Am 05.12.18 um 09:00 schrieb Nicolas Quiniou-Briand:
Hello,
Thanks for this great service/software !
I'm trying to build a test package on build.opensuse.org [0] but I got this error:
``` [ 68s] /usr/bin/asciidoctor \ [ 68s] -n \ [ 68s] README.asciidoc [ 68s] make: /usr/bin/asciidoctor: Command not found [ 68s] make: *** [html] Error 127 [ 68s] error: Bad exit status from /var/tmp/rpm-tmp.3YzfxW (%build) ```
That's strange because rubygem-asciidoctor-1.5.6.1-1.el7 has been installed before by the worker. I added the EPEL repository to my repositories list.
On my laptop, I'm able to build this package in a CentOS 7 VM with rubygem-asciidoctor-1.5.6.1-1.el7 package installed. Because your system has /usr/bin/ruby - and the buildroot has not. It builds fine if you add ruby as additionaly buildrequire.
Why the require on /usr/bin/ruby is ignored, I can't answer. Looks like a bug. Greetings, Stephan -- Lighten up, just enjoy life, smile more, laugh more, and don't get so worked up about things. Kenneth Branagh -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hello Stephan, On 2018-12-05 9:55 a.m., Stephan Kulow wrote:
Because your system has /usr/bin/ruby - and the buildroot has not. It builds fine if you add ruby as additionaly buildrequire.
Thanks a lot.
Why the require on /usr/bin/ruby is ignored, I can't answer. Looks like a bug.
Yes because adding a BuildRequires on asciidoctor should install ruby: ``` # yum deplist rubygem-asciidoctor.noarch package: rubygem-asciidoctor.noarch 1.5.6.1-1.el7 dependency: /usr/bin/ruby provider: ruby.x86_64 2.0.0.648-34.el7_6 dependency: ruby(release) provider: ruby-libs.x86_64 2.0.0.648-34.el7_6 provider: ruby-libs.i686 2.0.0.648-33.el7_4 ``` How can I report this bug ? -- Nicolas Quiniou-Briand 06 75 84 56 74 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Dez 05 2018, Nicolas Quiniou-Briand
# yum deplist rubygem-asciidoctor.noarch package: rubygem-asciidoctor.noarch 1.5.6.1-1.el7 dependency: /usr/bin/ruby
A file provide needs to be declared explicitly, by adding FileProvides: /usr/bin/ruby ruby to the project config (preferably of the CentOS:CentOS-7 project). Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Mittwoch, 5. Dezember 2018, 11:50:09 CET Andreas Schwab wrote:
On Dez 05 2018, Nicolas Quiniou-Briand
wrote: # yum deplist rubygem-asciidoctor.noarch package: rubygem-asciidoctor.noarch 1.5.6.1-1.el7
dependency: /usr/bin/ruby
A file provide needs to be declared explicitly, by adding
FileProvides: /usr/bin/ruby ruby
to the project config (preferably of the CentOS:CentOS-7 project).
indeed ... done -- Adrian Schroeter SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (4)
-
Adrian Schröter
-
Andreas Schwab
-
Nicolas Quiniou-Briand
-
Stephan Kulow