[opensuse-buildservice] How to solve this ERROR: link target doesn't exist ?
Hi, I'm trying to build kde4-kbackup and on most repositories I get ERROR: link target doesn't exist (neither in build root nor in installed system): /usr/share/doc/kde/HTML/fr/kbackup/common -> /usr/share/doc/kde/HTML/fr/common Add the package providing the target to neededforbuild and Requires INFO: relinking /usr/share/doc/kde/HTML/fr/kbackup/common -> ../common (was /usr/share/doc/kde/HTML/fr/common) and the same for the language de and ru. But I have no idea which package provides /usr/share/doc/kde/HTML/fr/common I tried kde4-l10n-fr but this does not include the above directory. -- Best regards/Schöne Grüße Martin () ascii ribbon campaign - against html mail /\ - against microsoft attachments Geschenkideen, Accessoires, Seifen, Kulinarisches: www.bibibest.at -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Thu, Jul 02, 2009 at 08:54:21PM +0200, Martin Koller wrote:
But I have no idea which package provides /usr/share/doc/kde/HTML/fr/common I tried kde4-l10n-fr but this does not include the above directory.
It seems to be in 'koffice2-l10n-fr-doc'. (I'm not sure why you have to pack a link to it, though.) Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Friday 03 July 2009, Michael Schroeder wrote:
On Thu, Jul 02, 2009 at 08:54:21PM +0200, Martin Koller wrote:
But I have no idea which package provides /usr/share/doc/kde/HTML/fr/common I tried kde4-l10n-fr but this does not include the above directory.
It seems to be in 'koffice2-l10n-fr-doc'.
(I'm not sure why you have to pack a link to it, though.)
Tried that. Result (openSUSE_11.1): nothing provides koffice2-l10n-fr-doc, nothing provides koffice2-l10n-ru-doc, nothing provides koffice2-l10n-de-doc -- Best regards/Schöne Grüße Martin () ascii ribbon campaign - against html mail /\ - against microsoft attachments Geschenkideen, Accessoires, Seifen, Kulinarisches: www.bibibest.at
Sunday 05 July 2009 On Thursday 02 July 2009 22:54:21 Martin Koller wrote:
I'm trying to build kde4-kbackup and on most repositories I get
ERROR: link target doesn't exist (neither in build root nor in installed system): /usr/share/doc/kde/HTML/fr/kbackup/common -> /usr/share/doc/kde/HTML/fr/common
Remove /usr/share/doc/kde/HTML/*/kbackup/common -- WBR, Kyrill Detinov -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Sunday 05 July 2009, Kyrill Detinov wrote:
Sunday 05 July 2009
On Thursday 02 July 2009 22:54:21 Martin Koller wrote:
I'm trying to build kde4-kbackup and on most repositories I get
ERROR: link target doesn't exist (neither in build root nor in installed system): /usr/share/doc/kde/HTML/fr/kbackup/common -> /usr/share/doc/kde/HTML/fr/common
Remove /usr/share/doc/kde/HTML/*/kbackup/common
in my .spec file, I tried now: %makeinstall #try to fix "ERROR: link target doesn't exist" rm -f /usr/share/doc/kde/HTML/*/kbackup/common which does not help. The error comes from a step I seem to have no control about. ... + /usr/lib/rpm/brp-symlink ERROR: link target doesn't exist (neither in build root nor in installed system): /usr/share/doc/kde/HTML/ru/kbackup/common -> /usr/share/doc/kde/HTML/ru/common Add the package providing the target to neededforbuild and Requires ... -- Best regards/Schöne Grüße Martin () ascii ribbon campaign - against html mail /\ - against microsoft attachments Geschenkideen, Accessoires, Seifen, Kulinarisches: www.bibibest.at
Sunday 05 July 2009 On Sunday 05 July 2009 13:24:43 Martin Koller wrote:
%makeinstall
#try to fix "ERROR: link target doesn't exist" rm -f /usr/share/doc/kde/HTML/*/kbackup/common
%{__rm} %{buildroot}/usr/share/doc/kde/HTML/*/kbackup/common -- WBR, Kyrill Detinov -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Thanks Kyrill, On Sunday 05 July 2009, Kyrill Detinov wrote:
Sunday 05 July 2009
On Sunday 05 July 2009 13:24:43 Martin Koller wrote:
%makeinstall
#try to fix "ERROR: link target doesn't exist" rm -f /usr/share/doc/kde/HTML/*/kbackup/common
%{__rm} %{buildroot}/usr/share/doc/kde/HTML/*/kbackup/common
This seems to be a very close solution, which means: It helps to build the package on nearly all Suse repositories, but not on all. E.g.: openSUSE_11.1 fails with: ... checking filelist kbackup-0.6.1-9.1.i586.rpm: directories not owned by a package: - /usr/share/doc/kde/HTML/de - /usr/share/doc/kde/HTML/fr - /usr/share/doc/kde/HTML/ru This also happens on SLE_11, openSUSE_11.0 It seems that those failing have kde4-filesystem-4.1.3 and those succeeding have already kde4-filesystem-4.2.93 Not sure if those packages are the culprit, but if so: what can I do ? Aren't there any other packages containing non english documentation ? -- Best regards/Schöne Grüße Martin () ascii ribbon campaign - against html mail /\ - against microsoft attachments Geschenkideen, Accessoires, Seifen, Kulinarisches: www.bibibest.at
Monday 06 July 2009 On Monday 06 July 2009 13:10:07 Martin Koller wrote:
This seems to be a very close solution, which means: It helps to build the package on nearly all Suse repositories, but not on all.
E.g.: openSUSE_11.1 fails with: ... checking filelist kbackup-0.6.1-9.1.i586.rpm: directories not owned by a package: - /usr/share/doc/kde/HTML/de - /usr/share/doc/kde/HTML/fr - /usr/share/doc/kde/HTML/ru
Change in spec-file from %doc /usr/share/doc/kde/HTML/*/kbackup to %dir /usr/share/doc/kde/HTML/* -- WBR, Kyrill Detinov -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi, On Monday 06 July 2009, Kyrill Detinov wrote:
Change in spec-file from %doc /usr/share/doc/kde/HTML/*/kbackup to %dir /usr/share/doc/kde/HTML/*
error: Installed (but unpackaged) file(s) found: /usr/share/doc/kde/HTML/de/kbackup/index.cache.bz2 /usr/share/doc/kde/HTML/de/kbackup/index.docbook /usr/share/doc/kde/HTML/de/kbackup/mainwindow.png /usr/share/doc/kde/HTML/en/kbackup/index.cache.bz2 /usr/share/doc/kde/HTML/en/kbackup/index.docbook /usr/share/doc/kde/HTML/en/kbackup/mainwindow.png /usr/share/doc/kde/HTML/fr/kbackup/index.cache.bz2 /usr/share/doc/kde/HTML/fr/kbackup/index.docbook /usr/share/doc/kde/HTML/fr/kbackup/mainwindow.png /usr/share/doc/kde/HTML/ru/kbackup/index.cache.bz2 /usr/share/doc/kde/HTML/ru/kbackup/index.docbook /usr/share/doc/kde/HTML/ru/kbackup/mainwindow.png -- Best regards/Schöne Grüße Martin () ascii ribbon campaign - against html mail /\ - against microsoft attachments Geschenkideen, Accessoires, Seifen, Kulinarisches: www.bibibest.at
Monday 06 July 2009 On Monday 06 July 2009 14:27:44 Martin Koller wrote:
error: Installed (but unpackaged) file(s) found: /usr/share/doc/kde/HTML/de/kbackup/index.cache.bz2 /usr/share/doc/kde/HTML/de/kbackup/index.docbook /usr/share/doc/kde/HTML/de/kbackup/mainwindow.png /usr/share/doc/kde/HTML/en/kbackup/index.cache.bz2 /usr/share/doc/kde/HTML/en/kbackup/index.docbook /usr/share/doc/kde/HTML/en/kbackup/mainwindow.png /usr/share/doc/kde/HTML/fr/kbackup/index.cache.bz2 /usr/share/doc/kde/HTML/fr/kbackup/index.docbook /usr/share/doc/kde/HTML/fr/kbackup/mainwindow.png /usr/share/doc/kde/HTML/ru/kbackup/index.cache.bz2 /usr/share/doc/kde/HTML/ru/kbackup/index.docbook /usr/share/doc/kde/HTML/ru/kbackup/mainwindow.png
You should add macros %find_lang %{name} to %install section and change %files to %files -f %{name}.lang -- WBR, Kyrill Detinov -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi, On Monday 06 July 2009, Kyrill Detinov wrote:
You should add macros %find_lang %{name} to %install section and change %files to %files -f %{name}.lang
I'm really desperate... In the build log I find now + /usr/lib/rpm/find-lang.sh /var/tmp/kbackup-0.6.1-build kbackup but then later down: Processing files: kbackup-0.6.1-11.1 error: Could not open %files file /usr/src/packages/BUILD/kbackup-0.6.1/kbackup.lang: No such file or directory I attach here the complete .spec file. Thanks for your patience! -- Best regards/Schöne Grüße Martin () ascii ribbon campaign - against html mail /\ - against microsoft attachments Geschenkideen, Accessoires, Seifen, Kulinarisches: www.bibibest.at
Monday 06 July 2009 On Monday 06 July 2009 15:46:12 Martin Koller wrote:
In the build log I find now + /usr/lib/rpm/find-lang.sh /var/tmp/kbackup-0.6.1-build kbackup but then later down: Processing files: kbackup-0.6.1-11.1 error: Could not open %files file /usr/src/packages/BUILD/kbackup-0.6.1/kbackup.lang: No such file or directory
You forgot to get one level up after makeinstall. My correction: %install pushd build %{makeinstall} popd Delete /usr/share/locale/*/LC_MESSAGES/kbackup.mo from %files Now it works. :) -- WBR, Kyrill Detinov -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2009-07-06 16:39:03 +0400, Kyrill Detinov wrote:
Monday 06 July 2009
On Monday 06 July 2009 15:46:12 Martin Koller wrote:
In the build log I find now + /usr/lib/rpm/find-lang.sh /var/tmp/kbackup-0.6.1-build kbackup but then later down: Processing files: kbackup-0.6.1-11.1 error: Could not open %files file /usr/src/packages/BUILD/kbackup-0.6.1/kbackup.lang: No such file or directory
You forgot to get one level up after makeinstall.
My correction: %install pushd build %{makeinstall} popd
Delete /usr/share/locale/*/LC_MESSAGES/kbackup.mo from %files
ugh. this is just wrong. what project/package are we talking about? darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (4)
-
Kyrill Detinov
-
Marcus Rueckert
-
Martin Koller
-
Michael Schroeder