Overview

Request 922603 superseded

Switch to libalternatives


Benjamin Greiner's avatar

I get

[   58s] calling /usr/lib/rpm/brp-suse.d/brp-25-symlink
[   58s] ERROR: link target doesn't exist (neither in build root nor in installed system):
[   58s]   /usr/bin/iptest3 -> /usr/bin/alts
[   58s] Add the package providing the target to BuildRequires and Requires
[   58s] ERROR: link target doesn't exist (neither in build root nor in installed system):
[   58s]   /usr/bin/iptest -> /usr/bin/alts
[   58s] Add the package providing the target to BuildRequires and Requires
[   58s] ERROR: link target doesn't exist (neither in build root nor in installed system):
[   58s]   /usr/bin/ipython3 -> /usr/bin/alts
[   58s] Add the package providing the target to BuildRequires and Requires
[   58s] ERROR: link target doesn't exist (neither in build root nor in installed system):
[   58s]   /usr/bin/ipython -> /usr/bin/alts
[   58s] Add the package providing the target to BuildRequires and Requires
[   58s] error: Bad exit status from /var/tmp/rpm-tmp.zXjLWL (%install)
[   58s] 

in my ~:python-rpm-macros. How come your build installs libalternatives into the build env without the proper BuildRequires?


Benjamin Greiner's avatar

It's not very nice to submit packages which won't work in the target devel project.

[ben@skylab:…e:schubi2/python-ipython]% osc buildinfo -d | grep alts                                                                        [0]
  <bdep name="alts" version="1.2+3.b848aad" release="1.1" arch="x86_64" project="openSUSE:Tumbleweed" repository="dod"/>
added alts@openSUSE:Tumbleweed/dod because of gawk:alts
added alts@openSUSE:Tumbleweed/dod because of binutils:alts
added libalternatives1@openSUSE:Tumbleweed/dod because of alts:libalternatives.so.1()(64bit)
added libalternatives1@openSUSE:Tumbleweed/dod because of alts:libalternatives.so.1(ALTS_1)(64bit)
added alts@openSUSE:Tumbleweed/dod because of gawk:alts
added alts@openSUSE:Tumbleweed/dod because of binutils:alts
added libalternatives1@openSUSE:Tumbleweed/dod because of alts:libalternatives.so.1()(64bit)
added libalternatives1@openSUSE:Tumbleweed/dod because of alts:libalternatives.so.1(ALTS_1)(64bit)

Please wait until you have the proper requirments in Factory.


Stefan Schubert's avatar

I have made the "mistake" that I have used one subproject for all python modules packages which I have changed and some of these packages have had the build requirement on alts. So it has been added to build. Sure if all changed modules are in factory the error would disappear after a while, but it is not good. So I will add it and test all packages again in an own subproject which include only the package which has to be tested and the new python-rpm-macros. Sadly the PR or OBS has not warned me, that it does not build on a "plain" build.


Benjamin Greiner's avatar

Don't get me wrong. I am not blocking your proposals just because I wouldn't like it. If it works, all is good. But IMHO the quality has to meet a certain standard.

In the meantime @mcepl accepted some of your SRs into d:l:p and made the packages unresolvable, because the updated (and unfinished) python-rpm-macros is not available.


Stefan Schubert's avatar

It is absolutely OK :-) You are the expert here. I am thankful for each hint. I have done a patch for rmplint now and has asked the rmplint maintainer to have a look on it. So this should be solved. The funny part has been that rpmlint is producing rpmlint error while building by his own :-) Anyway I will take care about the missing BuildRequirments now and will submit the packages python-packages again.


Benjamin Greiner's avatar

Why? This adds a lot of complexity.


Request History
Stefan Schubert's avatar

schubi2 created request

Switch to libalternatives


Benjamin Greiner's avatar

bnavigator declined request

Please resubmit when an updated python-rpm-macros is in openSUSE:Factory and all rpmlint and build issues have been resolved.


openSUSE Build Service is sponsored by