[zypp-devel] zypp contribution
"If you are an openSUSE contributor, we do need help with testing, and there are lot of “mechanical” jobs to do which don’t require much experience with the platform (but compiling). If you want to see this in 11.0 and can contribute, please contact us ." Hello all, I'm following discreetly zypp development since a few months, the next zypp look very promising :) I'm currently using the factory version (in fact, the 10.3 with the last yast packages), so I test libzypp/zypper each days and sometime I report some bugs. I just d/l the last trunk svn version of zypp, and gcc is ready to work. I don't really have lot of time, but if you have some "boring" job that I can do to help, I'll be happy to do it, just show me the way :) Regards, Rémy -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
Hi, On Thu, 14 Feb 2008, Rémy Marquis wrote:
I'm currently using the factory version (in fact, the 10.3 with the last yast packages), so I test libzypp/zypper each days and sometime I report some bugs. I just d/l the last trunk svn version of zypp, and gcc is ready to work.
I don't really have lot of time, but if you have some "boring" job that I can do to help, I'll be happy to do it, just show me the way :)
One thing which bothered me since I started hacking libzypp are the many warnings it spits out during compiling. Some are simply compiler warnings (e.g. about deprecated interfaces, initialization order or the like), and ideally should all be fixed. Some others are development reminders, ala #warning we still need to implement this frobatz thingy Those are of course harder to fix as they usually entail implementing or amending whole features. Still, also those would be nice to see go away. So, if you want to help there ... :-) I suggest, though, that you start with the jump_sat branch at: http://svn.opensuse.org/svn/zypp/branches/tmp/ma/jump_sat/libzypp which will be what the upcoming libzypp will be. You need the satsolver libraries for that, which are at: http://svn.opensuse.org/svn/zypp/trunk/sat-solver Ciao, Michael.
Rémy Marquis wrote:
"If you are an openSUSE contributor, we do need help with testing, and there are lot of “mechanical” jobs to do which don’t require much experience with the platform (but compiling). If you want to see this in 11.0 and can contribute, please contact us ."
Hello all,
I'm following discreetly zypp development since a few months, the next zypp look very promising :)
I'm currently using the factory version (in fact, the 10.3 with the last yast packages), so I test libzypp/zypper each days and sometime I report some bugs. I just d/l the last trunk svn version of zypp, and gcc is ready to work.
I don't really have lot of time, but if you have some "boring" job that I can do to help, I'll be happy to do it, just show me the way :)
Regards,
Rémy
Hi Rémy Thanks for your interest! The best way to start is, add the zypp:svn repo from build service, and break your sy^H^H^H^Hadd the sat version of libzypp which will also replace some yast components. Then checkout the svn Michael Matz just posted, build instructions are here: http://en.opensuse.org/Libzypp/Building Tell us when you reach the "I built libzypp and zypper and they run" state ;-) Duncan -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
Hi Rémy
Thanks for your interest!
The best way to start is, add the zypp:svn repo from build service, and break your sy^H^H^H^Hadd the sat version of libzypp which will also replace some yast components.
Then checkout the svn Michael Matz just posted, build instructions are here: http://en.opensuse.org/Libzypp/Building
Tell us when you reach the "I built libzypp and zypper and they run" state ;-)
Duncan
I have managed, of course, to break my system today :) I was running 10.3 + last yast factory packages, and that was the mess like hell when I try to install packages from zypp:svn. I then just downgrade all packages to "pure" 10.3, and all run fine now with all dependencies. Zypper compile as expected, but I have strange things with libzypp compilation that I was unable to solve myself. "make" get stuck at 79% and suddently stop and go out of the shell : ... [ 78%] Building CXX object zypp/CMakeFiles/zypp.dir/base/Sysconfig.o [ 79%] Building CXX object zypp/CMakeFiles/zypp.dir/base/ProfilingFormater.o [ 79%] Building CXX object zypp/CMakeFiles/zypp.dir/base/LogControl.o Linking CXX shared library libzypp.so [ 79%] Built target zypp remy@geeko:~/openSUSE/svn/zypp/branches/tmp/ma/jump_sat/libzypp/_build-zypp> The only missing thing I can see in the cmake prebuild is : -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found Maybe have you a small tip for me ? :) Rémy -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
Rémy Marquis wrote:
I have managed, of course, to break my system today :)
I was running 10.3 + last yast factory packages, and that was the mess like hell when I try to install packages from zypp:svn. I then just downgrade all packages to "pure" 10.3, and all run fine now with all dependencies.
Zypper compile as expected, but I have strange things with libzypp compilation that I was unable to solve myself. "make" get stuck at 79% and suddently stop and go out of the shell :
... [ 78%] Building CXX object zypp/CMakeFiles/zypp.dir/base/Sysconfig.o [ 79%] Building CXX object zypp/CMakeFiles/zypp.dir/base/ProfilingFormater.o [ 79%] Building CXX object zypp/CMakeFiles/zypp.dir/base/LogControl.o Linking CXX shared library libzypp.so [ 79%] Built target zypp remy@geeko:~/openSUSE/svn/zypp/branches/tmp/ma/jump_sat/libzypp/_build-zypp>
The only missing thing I can see in the cmake prebuild is :
-- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found
Maybe have you a small tip for me ? :)
Rémy
I think that is fine, cmake sometimes does not estimate the 100% correctly, especially when you already build and cancelled before, or only a few files changes. You can try to go to build/test, make, and then ctest -A should give you around 93% testcases pass. I think you are ready for make install... Can you confirm? :-) Duncan -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Friday 15 February 2008 00:55:40 Duncan Mac-Vicar P. wrote:
Rémy Marquis wrote:
I have managed, of course, to break my system today :)
I was running 10.3 + last yast factory packages, and that was the mess like hell when I try to install packages from zypp:svn. I then just downgrade all packages to "pure" 10.3, and all run fine now with all dependencies.
Zypper compile as expected, but I have strange things with libzypp compilation that I was unable to solve myself. "make" get stuck at 79% and suddently stop and go out of the shell :
... [ 78%] Building CXX object zypp/CMakeFiles/zypp.dir/base/Sysconfig.o [ 79%] Building CXX object zypp/CMakeFiles/zypp.dir/base/ProfilingFormater.o [ 79%] Building CXX object zypp/CMakeFiles/zypp.dir/base/LogControl.o Linking CXX shared library libzypp.so [ 79%] Built target zypp remy@geeko:~/openSUSE/svn/zypp/branches/tmp/ma/jump_sat/libzypp/_build-zy pp>
The only missing thing I can see in the cmake prebuild is :
-- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found
Maybe have you a small tip for me ? :)
Rémy
I think that is fine, cmake sometimes does not estimate the 100% correctly, especially when you already build and cancelled before, or only a few files changes.
You can try to go to build/test, make, and then ctest -A should give you around 93% testcases pass.
I think you are ready for make install...
Can you confirm? :-)
Duncan
All is ok, 93% tests passed :) R. -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Friday 15 February 2008 17:27:53 Duncan Mac-Vicar Prett wrote:
Rémy Marquis wrote:
All is ok, 93% tests passed :)
R.
Ok, now sudo make install
and now compile zypper in a similar way, and also install it.
Done. However, the last trunk/zypper won't compile anymore (due to some change in r8721 I think) : [ 7%] Built target zypp-checkpatches-wrapper [ 10%] Building CXX object src/CMakeFiles/zypper.dir/zypper-repos.o /home/remy/Documents/openSUSE/svn/zypp/trunk/zypper/src/zypper-repos.cc: In function ‘void clean_repos(Zypper&)’: /home/remy/Documents/openSUSE/svn/zypp/trunk/zypper/src/zypper-repos.cc:892: error: ‘class zypp::RepoManager’ has no member named ‘cleanPackages’ make[2]: *** [src/CMakeFiles/zypper.dir/zypper-repos.o] Error 1 make[1]: *** [src/CMakeFiles/zypper.dir/all] Error 2 make: *** [all] Error 2 Zypper r8720 work, last libzypp is ok. R. -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
Rémy Marquis wrote:
On Friday 15 February 2008 17:27:53 Duncan Mac-Vicar Prett wrote:
Rémy Marquis wrote:
All is ok, 93% tests passed :)
R.
Ok, now sudo make install
and now compile zypper in a similar way, and also install it.
Done.
However, the last trunk/zypper won't compile anymore (due to some change in r8721 I think) :
[ 7%] Built target zypp-checkpatches-wrapper [ 10%] Building CXX object src/CMakeFiles/zypper.dir/zypper-repos.o /home/remy/Documents/openSUSE/svn/zypp/trunk/zypper/src/zypper-repos.cc: In function ‘void clean_repos(Zypper&)’: /home/remy/Documents/openSUSE/svn/zypp/trunk/zypper/src/zypper-repos.cc:892: error: ‘class zypp::RepoManager’ has no member named ‘cleanPackages’ make[2]: *** [src/CMakeFiles/zypper.dir/zypper-repos.o] Error 1 make[1]: *** [src/CMakeFiles/zypper.dir/all] Error 2 make: *** [all] Error 2
Zypper r8720 work, last libzypp is ok.
R.
Today libzypp was merged to trunk, did you compile also trunk's libzypp? I merged stano's patch for keeping packages during the afternoon, I guess recompiling latest trunk libzypp should help. Duncan -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Friday 15 February 2008 23:15:39 Duncan Mac-Vicar P. wrote:
Done.
However, the last trunk/zypper won't compile anymore (due to some change in r8721 I think) :
[ 7%] Built target zypp-checkpatches-wrapper [ 10%] Building CXX object src/CMakeFiles/zypper.dir/zypper-repos.o /home/remy/Documents/openSUSE/svn/zypp/trunk/zypper/src/zypper-repos.cc: In function ‘void clean_repos(Zypper&)’: /home/remy/Documents/openSUSE/svn/zypp/trunk/zypper/src/zypper-repos.cc:8 92: error: ‘class zypp::RepoManager’ has no member named ‘cleanPackages’ make[2]: *** [src/CMakeFiles/zypper.dir/zypper-repos.o] Error 1 make[1]: *** [src/CMakeFiles/zypper.dir/all] Error 2 make: *** [all] Error 2
Zypper r8720 work, last libzypp is ok.
R.
Today libzypp was merged to trunk, did you compile also trunk's libzypp? I merged stano's patch for keeping packages during the afternoon, I guess recompiling latest trunk libzypp should help.
Duncan
Hello, I just retry with last trunk (r8760). Libzypp compile fine, but same error as above for zypper. Maybe something wrong in my install ? Rémy -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
Rémy Marquis wrote:
On Friday 15 February 2008 23:15:39 Duncan Mac-Vicar P. wrote:
Done.
However, the last trunk/zypper won't compile anymore (due to some change in r8721 I think) :
[ 7%] Built target zypp-checkpatches-wrapper [ 10%] Building CXX object src/CMakeFiles/zypper.dir/zypper-repos.o /home/remy/Documents/openSUSE/svn/zypp/trunk/zypper/src/zypper-repos.cc: In function ‘void clean_repos(Zypper&)’: /home/remy/Documents/openSUSE/svn/zypp/trunk/zypper/src/zypper-repos.cc:8 92: error: ‘class zypp::RepoManager’ has no member named ‘cleanPackages’ make[2]: *** [src/CMakeFiles/zypper.dir/zypper-repos.o] Error 1 make[1]: *** [src/CMakeFiles/zypper.dir/all] Error 2 make: *** [all] Error 2
Zypper r8720 work, last libzypp is ok.
R.
Today libzypp was merged to trunk, did you compile also trunk's libzypp? I merged stano's patch for keeping packages during the afternoon, I guess recompiling latest trunk libzypp should help.
Duncan
Hello,
I just retry with last trunk (r8760). Libzypp compile fine, but same error as above for zypper.
Maybe something wrong in my install ?
Rémy
are you installing libzypp before compiling zypper? If you installed libzypp from zypp:svn you can safely install it in user ( -DCMAKE_INSTALL_PREFIX=/usr ) Duncan -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Saturday 16 February 2008 01:03:05 Duncan Mac-Vicar P. wrote:
Today libzypp was merged to trunk, did you compile also trunk's libzypp? I merged stano's patch for keeping packages during the afternoon, I guess recompiling latest trunk libzypp should help.
Duncan
Hello,
I just retry with last trunk (r8760). Libzypp compile fine, but same error as above for zypper.
Maybe something wrong in my install ?
Rémy
are you installing libzypp before compiling zypper?
If you installed libzypp from zypp:svn you can safely install it in user ( -DCMAKE_INSTALL_PREFIX=/usr )
Duncan
Hello, Yes, now that work ! (was installing in /opt/zypp.. stupid myself :) ) Thx for help. And now ? Rémy -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
Rémy Marquis wrote:
Hello,
Yes, now that work ! (was installing in /opt/zypp.. stupid myself :) ) Thx for help.
And now ?
Rémy
Great! (tip: you can always compile a libzypp/zypper couple without affecting your system one, you can pass -DZYPP_PREFIX=/opt/zypp to zypper, it will work, then you will have trouble with YaST, but for testing a new libzypp/zypper pair, it is enough) I think you can start by testing zypper in some scenarios, and creating solver test cases for things not looking good. We have also lot of warnings everywhere, what is your knowledge of c++? Duncan -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Sunday 17 February 2008 12:54:47 Duncan Mac-Vicar P. wrote:
Rémy Marquis wrote:
Hello,
Yes, now that work ! (was installing in /opt/zypp.. stupid myself :) ) Thx for help.
And now ?
Rémy
Great! (tip: you can always compile a libzypp/zypper couple without affecting your system one, you can pass -DZYPP_PREFIX=/opt/zypp to zypper, it will work, then you will have trouble with YaST, but for testing a new libzypp/zypper pair, it is enough)
I think you can start by testing zypper in some scenarios, and creating solver test cases for things not looking good.
We have also lot of warnings everywhere, what is your knowledge of c++?
Duncan
Thanks for the tip, will be usefull :) Sadly, my "pure" c++ skills are still basic I guess. During my studies (last 4 years), I've done mostly scripting language (Matlab/Octave, R, PHP/SQL,..). I've also worked with IDL (syntax similar to C) and have done little bit of Python and Java. Largely insufficient for pure hacking of libzypp, but I hope it's sufficient for basic stuff. Rémy -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
participants (4)
-
Duncan Mac-Vicar P.
-
Duncan Mac-Vicar Prett
-
Michael Matz
-
Rémy Marquis