Mailinglist Archive: opensuse-packaging (102 mails)

< Previous Next >
[opensuse-packaging] Re: update-alternatives headaches (still..)
Hans-Peter Jansen <hpj@xxxxxxxxx> writes:

Hi *,

today, I've stumbled upon build failures for package python-Cython and all oS
distributions below 13.2, related to update-alternatives:

[ 273s] calling /usr/lib/rpm/brp-suse.d/brp-25-symlink
[ 273s] ERROR: link target doesn't exist (neither in build root nor in
installed system):
[ 273s] /usr/bin/cython -> /etc/alternatives/cython
[ 273s] Add the package providing the target to neededforbuild and Requires
[ 273s] ERROR: link target doesn't exist (neither in build root nor in
installed system):
[ 273s] /usr/bin/cygdb -> /etc/alternatives/cygdb
[ 273s] Add the package providing the target to neededforbuild and Requires
[ 273s] ERROR: link target doesn't exist (neither in build root nor in
installed system):
[ 273s] /usr/bin/cythonize -> /etc/alternatives/cythonize

https://build.opensuse.org/package/live_build_log/devel:languages:python/python-Cython/openSUSE_13.1/x86_64

Needless to say, this package follows closely the manual:

https://en.opensuse.org/openSUSE:Packaging_Multiple_Version_guidelines

The reason: issues with brp-check-suse package in earlier versions.

The question is, how should we workaround the issue.

Create the %ghost files. Earlier versions of rpmbuild did require that
anyway.

Andreas.

--
Andreas Schwab, SUSE Labs, schwab@xxxxxxx
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References