hi DongInn, You're perfectly right,
Eventhough we've reach a miletone with the number of packages that build from oscar-packager, the oscar-packager (and associated binaries) code is still full of misteries. 1/ I've already noticed what you describe (packages marked as successfully built while theyre not). I think that the problem comes from package with multiple sub packages. The return code is the return code of the last package that is being built (I think). For example: ganglia: it tries to build common:ganglia rrdtool ganglia. If rrdtool fails, yume installs rrdtool from system (older version) and ganglia still build, and the return code is OK; the rrdtool failed build is not reported. (At least it's what I think is going on). 2/ Another wired problem was the issue you had when trying to build a package were the source is an src.rpm 3/ There are also some problems regarding opkg-meta packages: some of them have tarball left in the repository. Note that the opkgmetapackage tarball is generated in the repo, then the pkg is built, then it is removed (but sometimes it is not removed). 4/ c3 package puts the src.rpm in the repo (upstream Makefile issue (reported)). 5/ As you reported, without --force, some packages are not built. Regards, Olivier. ----- Mail original ----- > De: "DongInn Kim" <di...@cs.indiana.edu> > À: oscar-devel@lists.sourceforge.net > Envoyé: Mardi 9 Avril 2013 00:35:56 > Objet: Re: [Oscar-devel] oscar-packager status Almost everything build > in rhel6 > > Hi Olivier, > > There is something more that oscar-packager needs to make sure. > > I would really like to depends on the status of oscar-packager > (that's why I setup the feature of tracking of the build status in > /etc/oscar/oscar-packager/.oscar_pkgs), which means that if the > final status of oscar-packager shows nothing wrong (i.e., no > unsuccessful packages are built), all the packages including opkgs > are built properly. > However, I found that several packages were not built even though > "oscar-package --all unstable" shows nothing to build more. > Even oscar-packager fails with building some specific packages. It > did not show and / or tries to rebuild the unfinished packages. > > Maybe, I will dig into this to see what is going on here. > > BTW, the missing packages (unfinished packages) were ganglia, torque, > systemimager, openmpi, jobmonarch, and more and I completed building > the following packages by manually running "oscar-packaer --all > <package_name>". > > ganglia > torque > openmpi > > These are automatically updated to the official repository as usual. > > Regards, > > -- > - DongInn > > > > > I've updated the build file dependencies, but it's not yet ok. > > > > I'll look at it tomorrow. > > > > Aside that, > > > > I've built 100% of packages for rhel-6-x86_64 and fedora-17-x86_64. > > oscar-packager found no build issue (I think that ganglia dep > > (rrdtool) failed, but the failure is not registered... > > > > This means that most errors that are left are missing dependancies > > in some build.cfg. > > > > I've noted a few non-blocking issues: > > A few opkg will leave a tarball in the repository. (need to > > understand the issue). > > Maybe this issue is related to your issue with the mv problem. > > I see some cd in the code which are not protected with (), thus we > > may move into wrong places...... > > > > I've noticed also that when building opkg, the tarball is written > > into the repo, then it is deleted. a little bit dirty. > > Will check that as well. > > > > Regards, > > > > Olivier. > > > > ----- Mail original ----- > >> De: "DongInn Kim" <di...@cs.indiana.edu> > >> À: oscar-devel@lists.sourceforge.net > >> Envoyé: Lundi 8 Avril 2013 22:51:14 > >> Objet: Re: [Oscar-devel] oscar-packager status Almost everything > >> build in rhel6 > >> > >> Any update on this issue? > >> > >> It seems that I still hit the missing static library issue. > >> > >>> Building only RPMs, passed arguments are interpreted as SRPMs > >>> EEEE: Building RPMs from > >>> /var/lib/oscar-packager/downloads/systemimager-4.3.0-0.8.src.rpm > >>> failed. > >>> warning: user ol222822 does not exist - using root > >>> warning: group ol222822 does not exist - using root > >>> warning: user ol222822 does not exist - using root > >>> warning: group ol222822 does not exist - using root > >>> error: Failed build dependencies: > >>> /usr/lib/libcrypt.a is needed by > >>> systemimager-4.3.0-0.8.fc18.noarch > >> > >> Regards, > >> > >> -- > >> - DongInn > >> > > > ------------------------------------------------------------------------------ > Minimize network downtime and maximize team effectiveness. > Reduce network management and security costs.Learn how to hire > the most talented Cisco Certified professionals. Visit the > Employer Resources Portal > http://www.cisco.com/web/learning/employer_resources/index.html > _______________________________________________ > Oscar-devel mailing list > Oscar-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/oscar-devel > ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Oscar-devel mailing list Oscar-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oscar-devel