Mailinglist Archive: opensuse-packaging (102 mails)

< Previous Next >
[opensuse-packaging] Re: update-alternatives headaches (still..)
  • From: Hans-Peter Jansen <hpj@xxxxxxxxx>
  • Date: Thu, 05 Feb 2015 10:36:08 +0100
  • Message-id: <2108191.OqEiznPJC9@xrated>
On Donnerstag, 5. Februar 2015 09:13:10 Andreas Schwab wrote:
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/p
ython-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.

They're ghosted already:

%ghost %{_sysconfdir}/alternatives/cygdb
%ghost %{_sysconfdir}/alternatives/cython
%ghost %{_sysconfdir}/alternatives/cythonize

Pete

--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups