[opensuse-buildservice] Mandriva2009 problems
Hello, I'm trying to build a package for also other distributions and I have a problem with Mandriva. The package is home:llunak:kde/taskbarswitch, just a very simple KDE app. The build repository is 'Mandriva 2009', as offered by one of the buttons in the 'Add Repository' page. First the simpler (second :) ) problem. After I actually manage to successfully build the package, I cannot install it on my testing Mandriva installation. When trying to install it, urpmi complains that there is no liblzma.so.0, which is required by the package. I eventually figured out that my Mandriva install is Mandriva 2009.1 AKA 2009 Spring, while buildservice builds only for Mandriva 2009.0. Will it be (and when) possible to use 2009.1 with buildservice? It is the latest Mandriva release and the only release offered for download at http://mandriva.com. Now the first problem. When I just added the Mandriva 2009 build repository and tried to build the package, with BuildRequires being only libkde4-devel, mapped to kdelibs4-devel for Mandriva using Substite in 'osc meta prjconf home:llunak:kde', running 'osc build Mandriva_2009 x86_64 taskbarswitch.spec' said: buildinfo is broken... it says: expansion error: have choice for kde4-config-file needed by lib64kdecore5: free-kde4-config flash-kde4-config one-kde4-config powerpack-kde4-config, have choice for kde4-l10n needed by lib64kdecore5: kde4-l10n-el kde4-l10n-uk kde4-l10n-lt kde4-l10n-be kde4-l10n-fr kde4-l10n-de kde4-l10n-eo kde4-l10n-km kde4-l10n-ar kde4-l10n-mk kde4-l10n-pt_BR kde4-l10n-wa kde4-l10n-eu kde4-l10n-sv kde4-l10n-ta kde4-l10n-ku kde4-l10n-hi kde4-l10n-it kde4-l10n-et kde4-l10n-fi kde4-l10n-ga kde4-l10n-ja kde4-l10n-pl kde4-l10n-cs kde4-l10n-fy kde4-l10n-th kde4-l10n-fa kde4-l10n-tr kde4-l10n-zh_TW kde4-l10n-es kde4-l10n-ca kde4-l10n-se kde4-l10n-zh_CN kde4-l10n-nl kde4-l10n-is kde4-l10n-nb kde4-l10n-ru kde4-l10n-da kde4-l10n-gl kde4-l10n-lv kde4-l10n-ko kde4-l10n-nds kde4-l10n-ml kde4-l10n-csb kde4-l10n-kk kde4-l10n-en_GB kde4-l10n-pt kde4-l10n-bg kde4-l10n-ne kde4-l10n-ro kde4-l10n-sl kde4-l10n-pa kde4-l10n-hu kde4-l10n-nn kde4-l10n-sr, have choice for phonon-backend >= 4.2.0 needed by lib64kdecore5: phonon-xine phonon-gstreamer So I ended up adding (interestingly there is only en_GB, no en_US, I wonder what Mandriva installs on default installs): Prefer: phonon-gstreamer free-kde4-config kde4-l10n-en_GB Then it said: buildinfo is broken... it says: expansion error: have choice for mandriva-theme needed by free-kde4-config: mandriva-theme-Flash mandriva-theme-Free mandriva-theme-One mandriva-theme-Powerpack, have choice for mandriva-theme-screensaver needed by mandriva-kde4-config-common: mandriva-theme-One-screensaver mandriva-theme-Powerpack-screensaver mandriva-theme-Free-screensaver mandriva-theme-Flash-screensaver So prefers is extended to: Prefer: free-kde4-config mandriva-theme-Free mandriva-theme-Free-screensaver Prefer: phonon-gstreamer kde4-l10n-en_GB There are still problems: buildinfo is broken... it says: expansion error: have choice for kernel needed by bootsplash: kernel-desktop-2.6.27-0.rc8.2mnb kernel-server-2.6.27-0.rc8.2mnb kernel-xen-2.6.18.8-xen-3.3.0-2mdv, have choice for webfetch needed by urpmi: wget curl Which leads to the project config requiring all this to make the package build: Prefer: free-kde4-config mandriva-theme-Free mandriva-theme-Free-screensaver Prefer: phonon-gstreamer kde4-l10n-en_GB Prefer: curl kernel-desktop-2.6.27-0.rc8.2mnb Would it be possible to somehow fix this for the Mandriva 2009 build repository instead of repositories having to work this around? It's rather confusing that it doesn't work out of the box, and the choices are either obvious and don't really matter anyway. Thanks -- Lubos Lunak KDE developer -------------------------------------------------------------- SUSE LINUX, s.r.o. e-mail: l.lunak@suse.cz , l.lunak@kde.org Lihovarska 1060/12 tel: +420 284 084 672 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Dienstag, 23. Juni 2009 16:09:24 schrieb Lubos Lunak:
Hello,
I'm trying to build a package for also other distributions and I have a problem with Mandriva. The package is home:llunak:kde/taskbarswitch, just a very simple KDE app. The build repository is 'Mandriva 2009', as offered by one of the buttons in the 'Add Repository' page.
First the simpler (second :) ) problem. After I actually manage to successfully build the package, I cannot install it on my testing Mandriva installation. When trying to install it, urpmi complains that there is no liblzma.so.0, which is required by the package. I eventually figured out that my Mandriva install is Mandriva 2009.1 AKA 2009 Spring, while buildservice builds only for Mandriva 2009.0.
Uh, isn't that a just rebundled and full compatible edition ? ...
Which leads to the project config requiring all this to make the package build: Prefer: free-kde4-config mandriva-theme-Free mandriva-theme-Free-screensaver Prefer: phonon-gstreamer kde4-l10n-en_GB Prefer: curl kernel-desktop-2.6.27-0.rc8.2mnb
Would it be possible to somehow fix this for the Mandriva 2009 build repository instead of repositories having to work this around? It's rather confusing that it doesn't work out of the box, and the choices are either obvious and don't really matter anyway.
Yes, thank you, this was very helpfull informations. I have applied nevertheless it in some different way: Prefer: free-kde4-config mandriva-theme-Free mandriva-theme-Free-screensaver Ignore: libkdecore5:phonon-backend Ignore: lib64kdecore5:phonon-backen Ignore: libkdecore5:kde4-l10n Ignore: lib64kdecore5:kde4-l10n Ignore: bootsplash:kernel please test if this is working for you. thanks ! adrian -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Tuesday 23 of June 2009, Adrian Schröter wrote:
Am Dienstag, 23. Juni 2009 16:09:24 schrieb Lubos Lunak:
First the simpler (second :) ) problem. After I actually manage to successfully build the package, I cannot install it on my testing Mandriva installation. When trying to install it, urpmi complains that there is no liblzma.so.0, which is required by the package. I eventually figured out that my Mandriva install is Mandriva 2009.1 AKA 2009 Spring, while buildservice builds only for Mandriva 2009.0.
Uh, isn't that a just rebundled and full compatible edition ?
I don't know what the official position is, but the reality is that I've already replaced the 2009.1 installation with 2009.0 and there the package installs fine (it still doesn't work, but that may be my or Mandriva's fault). Also, simply see ftp://sunsite.mff.cuni.cz/pub/mandrake/official/2009.0/i586/media/main/release/liblzma0-4.999.3-0.alpha.3mdv2009.0.i586.rpm vs ftp://sunsite.mff.cuni.cz/pub/mandrake/official/2009.1/i586/media/main/release/liblzma2-4.999.8beta-0.2mdv2009.1.i586.rpm - one provides liblzma.so.0, the other liblzma.so.2, and there's no other liblzma package. On Mandriva libkdecore links against liblzma, so that makes 2009.0 and 2009.1 incompatible at least for the whole KDE. Actually, after some checking, on 2009.0 'rpm -e liblzma0 --test' gives: error: Failed dependencies: liblzma.so.0 is needed by (installed) librpm4.4-4.4.2.3-20mnb2.i586 liblzma.so.0 is needed by (installed) rpm-4.4.2.3-20mnb2.i586 liblzma.so.0 is needed by (installed) libkdecore5-4.1.3-1.1mdv2009.0.i586 liblzma.so.0 is needed by (installed) taskbarswitch-1.0-6.1.i586 So it looks like Mandriva is further with using as-needed - from KDE only libkdecore, which really uses liblzma, and my package, built using the buildservice, need liblzma. Still, clearly Mandriva 2009.0 and 2009.1 are not 100% binary compatible either way.
Prefer: free-kde4-config mandriva-theme-Free mandriva-theme-Free-screensaver Ignore: libkdecore5:phonon-backend Ignore: lib64kdecore5:phonon-backen Ignore: libkdecore5:kde4-l10n Ignore: lib64kdecore5:kde4-l10n Ignore: bootsplash:kernel
please test if this is working for you.
You missed one, otherwise it works. buildinfo is broken... it says: expansion error: have choice for webfetch needed by urpmi: wget curl -- Lubos Lunak KDE developer -------------------------------------------------------------- SUSE LINUX, s.r.o. e-mail: l.lunak@suse.cz , l.lunak@kde.org Lihovarska 1060/12 tel: +420 284 084 672 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Dienstag, 23. Juni 2009 17:45:05 schrieb Lubos Lunak:
On Tuesday 23 of June 2009, Adrian Schröter wrote: ... Still, clearly Mandriva 2009.0 and 2009.1 are not 100% binary compatible either way.
okay, than we need to import .1 as well :/ I will take care about this these days ...
Prefer: free-kde4-config mandriva-theme-Free mandriva-theme-Free-screensaver Ignore: libkdecore5:phonon-backend Ignore: lib64kdecore5:phonon-backen Ignore: libkdecore5:kde4-l10n Ignore: lib64kdecore5:kde4-l10n Ignore: bootsplash:kernel
please test if this is working for you.
You missed one, otherwise it works.
buildinfo is broken... it says: expansion error: have choice for webfetch needed by urpmi: wget curl
okay, fixed. thanks adrian -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Tuesday 23 of June 2009, Adrian Schröter wrote:
Am Dienstag, 23. Juni 2009 16:09:24 schrieb Lubos Lunak:
Hello,
I'm trying to build a package for also other distributions and I have a problem with Mandriva. The package is home:llunak:kde/taskbarswitch, just a very simple KDE app. The build repository is 'Mandriva 2009', as offered by one of the buttons in the 'Add Repository' page.
First the simpler (second :) ) problem. After I actually manage to successfully build the package, I cannot install it on my testing Mandriva installation. When trying to install it, urpmi complains that there is no liblzma.so.0, which is required by the package. I eventually figured out that my Mandriva install is Mandriva 2009.1 AKA 2009 Spring, while buildservice builds only for Mandriva 2009.0.
Uh, isn't that a just rebundled and full compatible edition ?
...
Which leads to the project config requiring all this to make the package build: Prefer: free-kde4-config mandriva-theme-Free mandriva-theme-Free-screensaver Prefer: phonon-gstreamer kde4-l10n-en_GB Prefer: curl kernel-desktop-2.6.27-0.rc8.2mnb
Would it be possible to somehow fix this for the Mandriva 2009 build repository instead of repositories having to work this around? It's rather confusing that it doesn't work out of the box, and the choices are either obvious and don't really matter anyway.
Yes, thank you, this was very helpfull informations. I have applied nevertheless it in some different way:
Prefer: free-kde4-config mandriva-theme-Free mandriva-theme-Free-screensaver Ignore: libkdecore5:phonon-backend Ignore: lib64kdecore5:phonon-backen Ignore: libkdecore5:kde4-l10n Ignore: lib64kdecore5:kde4-l10n Ignore: bootsplash:kernel
I still get the kde4-l10n expansion error when I use some other package. For example, "have choice for kde4-l10n needed by kdebase4-runtime:". What is the reason for using Ignore, it looks like it can't cover all the cases like Prefer can. -- Lubos Lunak KDE developer -------------------------------------------------------------- SUSE LINUX, s.r.o. e-mail: l.lunak@suse.cz , l.lunak@kde.org Lihovarska 1060/12 tel: +420 284 028 972 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Sonntag, 28. Juni 2009 17:09:54 schrieb Lubos Lunak:
On Tuesday 23 of June 2009, Adrian Schröter wrote:
Am Dienstag, 23. Juni 2009 16:09:24 schrieb Lubos Lunak:
Hello,
I'm trying to build a package for also other distributions and I have a problem with Mandriva. The package is home:llunak:kde/taskbarswitch, just a very simple KDE app. The build repository is 'Mandriva 2009', as offered by one of the buttons in the 'Add Repository' page.
First the simpler (second :) ) problem. After I actually manage to successfully build the package, I cannot install it on my testing Mandriva installation. When trying to install it, urpmi complains that there is no liblzma.so.0, which is required by the package. I eventually figured out that my Mandriva install is Mandriva 2009.1 AKA 2009 Spring, while buildservice builds only for Mandriva 2009.0.
Uh, isn't that a just rebundled and full compatible edition ?
...
Which leads to the project config requiring all this to make the package build: Prefer: free-kde4-config mandriva-theme-Free mandriva-theme-Free-screensaver Prefer: phonon-gstreamer kde4-l10n-en_GB Prefer: curl kernel-desktop-2.6.27-0.rc8.2mnb
Would it be possible to somehow fix this for the Mandriva 2009 build repository instead of repositories having to work this around? It's rather confusing that it doesn't work out of the box, and the choices are either obvious and don't really matter anyway.
Yes, thank you, this was very helpfull informations. I have applied nevertheless it in some different way:
Prefer: free-kde4-config mandriva-theme-Free mandriva-theme-Free-screensaver Ignore: libkdecore5:phonon-backend Ignore: lib64kdecore5:phonon-backen Ignore: libkdecore5:kde4-l10n Ignore: lib64kdecore5:kde4-l10n Ignore: bootsplash:kernel
I still get the kde4-l10n expansion error when I use some other package.
okay, try again, I changed this into a global ignore.
For example, "have choice for kde4-l10n needed by kdebase4-runtime:". What is the reason for using Ignore, it looks like it can't cover all the cases like Prefer can.
The reason for ignore is that a package should not depend on any translation. For this reason it should not have any installed, so you would see, if it depends on one at build time. Another reason is that packages should not get wait or rebuild for translations. We want to be able to submit often translations with little retriggering of packages. And esp. not base packages like kde libs, which would trigger again a larger number of packages. bye adrian -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Monday 29 of June 2009, Adrian Schröter wrote:
Am Sonntag, 28. Juni 2009 17:09:54 schrieb Lubos Lunak:
I still get the kde4-l10n expansion error when I use some other package.
okay, try again, I changed this into a global ignore.
Yes, that seems to work, thanks. There is now only the /usr/lib/rpm/platform/ problem that I've worked around locally for me. -- Lubos Lunak KDE developer -------------------------------------------------------------- SUSE LINUX, s.r.o. e-mail: l.lunak@suse.cz , l.lunak@kde.org Lihovarska 1060/12 tel: +420 284 028 972 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Adrian Schröter
-
Lubos Lunak