[opensuse-packaging] Build fails because of gzipped symbolic link for SLE11 products
![](https://seccdn.libravatar.org/avatar/ba6138f793e72be6644854fdc3ec2f02.jpg?s=120&d=mm&r=g)
Hello, in Printing/ghostscript-fonts/ghostscript-fonts.spec I have --------------------------------------------------------------------------- %install ... # Provide a link to make the Ghostscript fonts also appear in the directory # /usr/share/fonts/ where applications (including X11) search for fonts. # A usr/share/fonts/ sub-directory does not exist in the buildroot: install -d -m 755 %{buildroot}%{_datadir}/fonts ln -s ../ghostscript/fonts %{buildroot}%{_datadir}/fonts/ghostscript . . . %files std ... %{_datadir}/fonts/ghostscript --------------------------------------------------------------------------- For all openSUSE products this works and I get in the binary RPMs the link that I like to have (to fix bnc#778879): /usr/share/fonts/ghostscript -> ../ghostscript/fonts But for SLE11 SLE_11_SP1 and SLE_11_SP2 build fails with: ------------------------------------------------------------------------ [ 61s] + /usr/sbin/Check [ 61s] lrwxrwxrwx 1 abuild abuild 23 Sep 26 13:44 /var/tmp/ghostscript-fonts-9.05-build//usr/share/fonts/ghostscript.gz -> ../ghostscript/fonts.gz . . . [ 61s] + /usr/lib/rpm/brp-symlink [ 61s] ERROR: link target doesn't exist (neither in build root nor in installed system): [ 61s] /usr/share/fonts/ghostscript.gz -> /usr/share/ghostscript/fonts.gz ------------------------------------------------------------------------ It seems /usr/sbin/Check changes both the symbolic link and its target to *.gz and this does of course not exist which is detected then by /usr/lib/rpm/brp-symlink. Is there something wrong with how I make the link in the spec file or is this a bug in /usr/sbin/Check (or elsewhere)? Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH -- Maxfeldstrasse 5 -- 90409 Nuernberg -- Germany HRB 16746 (AG Nuernberg) GF: Jeff Hawn, Jennifer Guild, Felix Imendoerffer -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (1)
-
Johannes Meixner