[opensuse-packaging] update-alternatives headaches (still..)
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/pyt... 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. We can link brp-check-suse-13.2+git20140829.9539e1d, whereever the issues occur, and Preinstall it in the project, but that reveals other inconsistencies: it builds for 12.3, 13.1, fails for 12.2/i586, but succeeds for 12.2/x86_64. https://build.opensuse.org/package/show/home:frispete:python/brp-check-suse Fix brp-25-symlink and release updated packages. Other possibilities? Pete -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Hans-Peter Jansen <hpj@urpla.net> 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/pyt...
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@suse.de 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@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Donnerstag, 5. Februar 2015 09:13:10 Andreas Schwab wrote:
Hans-Peter Jansen <hpj@urpla.net> 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@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Hans-Peter Jansen <hpj@urpla.net> writes:
They're ghosted already:
That's the point. You didn't create them. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de 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@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Donnerstag, 5. Februar 2015 10:40:11 Andreas Schwab wrote:
Hans-Peter Jansen <hpj@urpla.net> writes:
They're ghosted already: That's the point. You didn't create them.
Okay, got it. Unfortunately, https://en.opensuse.org/openSUSE:Packaging_Multiple_Version_guidelines doesn't mention these obstacles. If I weren't that busy, I had changed it right away.. Cheers, Pete -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (2)
-
Andreas Schwab
-
Hans-Peter Jansen