[opensuse-packaging] Rubygem-* packages started failing for devel_languages_ruby_* repos
Hi, I received a notification this morning that two rubygem packages that I maintain started failing for no apparent reason. One example is rubygem-gh [1] . It builds just fine for the main repositories ( openSUSE_* and SLE_* ) but fails for the devel_languages_ruby_* repos . One random build log [2] says [ 63s] ERROR: link target doesn't exist (neither in build root nor in installed system): [ 63s] /usr/share/doc/packages/rubygem-gh/LICENSE -> /usr/lib/ruby/gems/gems/gh-0.13.2/LICENSE [ 63s] Add the package providing the target to neededforbuild and Requires [ 63s] INFO: relinking /usr/share/doc/packages/rubygem-gh/LICENSE -> ../../../../lib/ruby/gems/gems/gh-0.13.2/LICENSE (was /usr/lib/ruby/gems//gems/gh-0.13.2/LICENSE) [ 63s] error: Bad exit status from /var/tmp/rpm-tmp.37574 (%install) That makes little sense to me, as the spec file is autogenerated, and furthermore it works on the other repos. Is this something that I should fix as a package maintainer? If it is, I'd appreciate any pointers on how to fix it. Thanks, Robert [1]: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/ruby... [2]: https://build.opensuse.org/package/live_build_log/devel:languages:ruby:exten... -- http://robert.muntea.nu/ -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Is this something that I should fix as a package maintainer? If it is, I'd appreciate any pointers on how to fix it.
Hi, Robert, change "ln -s" to "ln -sf" will work. "ln -s" suppose that the first variable "/usr/lib64/.../LICENSE" exists, which is apparently not because it will be provided by your package after the installation. Marguerite
Hi, Robert, change "ln -s" to "ln -sf" will work. "ln -s" suppose that the first variable "/usr/lib64/.../LICENSE" exists, which is apparently not because it will be provided by your package after the installation.
Hi, Robert, Sorry for the last email, that's not the reason for the failure, but this is: [ 36s] 122916 4 -rw-r--r-- 1 abuild abuild 1059 Sep 20 02:45 /home/abuild/rpmbuild/BUILDROOT/rubygem-gh-0.13.2-5.1.x86_64/usr/lib64/ruby/gems/2.1.0/gems/gh-0.13.2/LICENSE Your LICENSE file is at /usr/lib64/ruby/gems/2.1.0/gems/ But you wanted to link: /usr/lib64/ruby/gems/gems/gh-0.13.2/LICENSE Reason: The %{rb_ver} macro didn't expand. So you have to check if ruby main package has something changed in ruby.macros. Marguerite
On Sat, Sep 20, 2014 at 5:53 AM, marguerite <i@marguerite.su> wrote:
Reason: The %{rb_ver} macro didn't expand.
So you have to check if ruby main package has something changed in ruby.macros.
Thanks for the sleuthing! However, that looks way over my head so hopefully "someone" will figure out what to do. Robert -- http://robert.muntea.nu/ -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Fri, Sep 26, 2014 at 4:23 PM, Robert Munteanu <robert.munteanu@gmail.com> wrote:
On Sat, Sep 20, 2014 at 5:53 AM, marguerite <i@marguerite.su> wrote:
Reason: The %{rb_ver} macro didn't expand.
So you have to check if ruby main package has something changed in ruby.macros.
Thanks for the sleuthing! However, that looks way over my head so hopefully "someone" will figure out what to do.
As it turns out, there's a change related to ruby packaging that I need to adapt to, see http://lists.opensuse.org/opensuse-ruby/2014-09/msg00004.html http://lists.opensuse.org/opensuse-ruby/2014-09/msg00007.html Somehow I think it would've been nice to announce on -packaging as well. I'm not a big time rubygem maintainer so I don't subscribe to -ruby. Oh well... Robert
Robert
-- http://robert.muntea.nu/ -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (2)
-
marguerite
-
Robert Munteanu