Dominique Leuenberger wrote:
Hello,
I really love the way ypper works in current factory. I have a VPS (Virtual Private Server), based on 10.2 (yes.. some of them have such a new one.. most still run 9.3 or max 10.1)
I would like to upgrade to a more recent zypper there (I don't care much about the yast modules; most of my things I configure in the config files.. so if I break YaST, bad luck ;)
the problem I have, though is: In my OBS project home:dimstar, I linked in zypper, libzypp, libsatsolver (and cmake and hicolor-icon-theme) from openSUSE:Factory, to have them built against 10.2 (the factory RPM does not work because of glibc dependencies not bein satisfied)
The issue there seems to be that libsatsolver does not compile.
Errors: [ 93%] Building C object bindings/ruby/CMakeFiles/satsolverx.dir/libsatsolver_wrap.o /usr/bin/gcc -Dsatsolverx_EXPORTS -Werror -Wall -Wall -Werror -Wall -g -O3 -fPIC -I/usr/src/packages/BUILD/satsolver-0.0.22 -I/usr/src/packages/BUILD/satsolver-0.0.22/src -I/usr/lib/ruby/1.8/i586-linux -I/usr/src/packages/BUILD/satsolver-0.0.22/applayer -I/usr/src/packages/BUILD/satsolver-0.0.22/tools -D_FILE_OFFSET_BITS=64 -DVERSION=\"0.0.22\" -o bindings/ruby/CMakeFiles/satsolverx.dir/libsatsolver_wrap.o -c /usr/src/packages/BUILD/satsolver-0.0.22/bindings/ruby/libsatsolver_wrap.c /usr/src/packages/BUILD/satsolver-0.0.22/bindings/ruby/libsatsolver_wrap.c: In function 'Repo_size': /usr/src/packages/BUILD/satsolver-0.0.22/bindings/ruby/libsatsolver_wrap.c:1793: error: '$self' undeclared (first use in this function) /usr/src/packages/BUILD/satsolver-0.0.22/bindings/ruby/libsatsolver_wrap.c:1793: error: (Each undeclared identifier is reported only once /usr/src/packages/BUILD/satsolver-0.0.22/bindings/ruby/libsatsolver_wrap.c:1793: error: for each function it appears in.)
and it continues on like this. You can see the full log at https://build.opensuse.org/package/live_build_log?arch=i586&package=libsatsolver&project=home%3Adimstar&repository=openSUSE_10.2
Any other ideas how else I could get a newer zypper as my preferred PM on 10.2 to run?
Dominique
Dominique, I am trying to backport libzypp for older distros in zypp:Backport. You can help me there!. For that error, the problem is 10.2 has a old swig, in OBS I solve this by backporting swig only for building.Actually there is a 10.2 satsolver there. But libzypp is another story ;-) What is your obs login? Duncan -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org