[opensuse-factory] build vs. lbuild
Hello, I tried to compile a package using current factory sources, and ran into the following problem using lbuild: expanding package dependencies... expansion error nothing provides /lib/libreadline.so.5.2 needed by bash nothing provides /lib/libhistory.so.5.2 needed by bash and it is actually right: pegasos0917:/data/10.3/suse/ppc # rpm -qp --provides libreadline5-5.2-16.ppc.rpm bash:/lib/libreadline.so.5 readline = 5.2 libhistory.so.5 libreadline.so.5 libreadline5 = 5.2-16 On the other hand 'build' can build the package from the same spec file. It's just a lot more slow to start up, and inconvenient to use... Which one is right? And a bonus question: is it worth reporting this dependency bug, now that only critical bugs are fixed? Or belongs this to the critical category? Even if it's not in factory, It certainly makes lbuild useless, which is also used by the PackMan team... (actually, I ran into the problem by trying to recompile a packman package for 10.3 on PPC). Bye, CzP --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Peter Czanik wrote:
Hello,
I tried to compile a package using current factory sources, and ran into the following problem using lbuild:
expanding package dependencies... expansion error nothing provides /lib/libreadline.so.5.2 needed by bash nothing provides /lib/libhistory.so.5.2 needed by bash
and it is actually right:
pegasos0917:/data/10.3/suse/ppc # rpm -qp --provides libreadline5-5.2-16.ppc.rpm bash:/lib/libreadline.so.5 readline = 5.2 libhistory.so.5 libreadline.so.5 libreadline5 = 5.2-16
/lib/libhistory.so.5.2 is a file dependency and _is_ provided by libreadline5.rpm: $ rpm -qlp libreadline5-5.2-16.ppc.rpm | grep -F /lib/libhistory.so.5.2 /lib/libhistory.so.5.2
On the other hand 'build' can build the package from the same spec file. It's just a lot more slow to start up, and inconvenient to use... Which one is right?
lbuild is wrong. build ignores file dependencies AFAIK, so in a way it's right :) Michal --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Peter Czanik wrote:
I tried to compile a package using current factory sources, and ran into the following problem using lbuild:
expanding package dependencies... expansion error nothing provides /lib/libreadline.so.5.2 needed by bash nothing provides /lib/libhistory.so.5.2 needed by bash
and it is actually right:
pegasos0917:/data/10.3/suse/ppc # rpm -qp --provides libreadline5-5.2-16.ppc.rpm bash:/lib/libreadline.so.5 readline = 5.2 libhistory.so.5 libreadline.so.5 libreadline5 = 5.2-16
On the other hand 'build' can build the package from the same spec file. It's just a lot more slow to start up, and inconvenient to use... Which one is right?
And a bonus question: is it worth reporting this dependency bug, now that only critical bugs are fixed? Or belongs this to the critical category? Even if it's not in factory, It certainly makes lbuild useless, which is also used by the PackMan team... (actually, I ran into the problem by trying to recompile a packman package for 10.3 on PPC).
Please file a bug and assign it to me. Please include more details how to reproduce. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
participants (3)
-
Ludwig Nussel
-
Michal Marek
-
Peter Czanik