Hi,
torque is a headache ;-)
I've worked on oscar-packager along the day, and finaly fixed most of the build
process. thanks to the tricky torque and jobmonarch build.
I'm facing some problems:
the build.cfg format which I didn't fully reverse ingeneered completely seems
inssufficient to do the following: drmaa-python needs torque-oscar-drmaa to
build: How do I tell that from the build.cfg.
torque: does not requires drmaa-python to build (from the spec file)
>From the source, none of the 3 *.py files have references to drmaa keyworks
>(use)
drmaa-python seems to be required by opkg-jobmonarch-server ????? This is wired.
I see a changelog from me changing the DRMAA-python to drmaa-python requirement
to be distro complient, but aside that I don't know what part of torque,
pbs_python, jobmonarch makes use of drmaa-python.
Though, we are still stuck with the build:
from the torque :build.cfg I can't tell thet a sub package depends of the main
package. (which IS normal IMHO).
IMHO, drmaa-python whould be moved elsewhere with a dependancy on
torque:torque-oscar-drmaa
I'll give a look at this tommorow.
Don't hesitate to update your svn, I've modified slightly the build.cfg since
this morning (French time).
I'll give alook at where to move drmaa-python. If it was here, I suppose that
at some point it was needed.
Regards,
PS: I've also an issue on jobmonarch. The deps are correctly built, but the
main jobmonarch packages build is not triggered. Will be fexed tomorrow.
PPS: jobmonarge in the official site is reported to work on latest ganglia.
I'll give a try soon. For the moment, I just need to fix the build.
Olivier.
--
Olivier LAHAYE
CEA DRT/LIST/DCSI/DIR
________________________________
De : DongInn Kim [di...@cs.indiana.edu]
Date d'envoi : mercredi 3 avril 2013 18:19
À : oscar-devel@lists.sourceforge.net
Objet : Re: [Oscar-devel] oscar-packager: progress
Hi Olivier,
How did you manage the torque build on FC-17?
[root@fedora noarch]# rpm -ivh drmaa-python-0.5-2.noarch.rpm
error: Failed dependencies:
libdrmaa.so.0()(64bit) is needed by drmaa-python-0.5-2.noarch
[root@fedora noarch]#
It seems that torque requires drmaa-python but I can not install it without
libdrmaa.so.0 which is available in torque-drmaa.
It seems that I can install the torque-drmaa package that FC-18 provides but it
looks odd that we are building a torque package which are already available on
a distro. I understand that we need to build a customized torque package for
OSCAR though.
Anyway, I tried to proceed further by install torque-drmaa which is provided in
FC-18 but the oscar-packager process still failed with blcr-devel dependencies.
[root@fedora fc-17-x86_64]# rpm -ivh blcr-devel-0.8.5-1.x86_64.rpm
blcr-libs-0.8.5-1.x86_64.rpm
error: Failed dependencies:
libc.so.6 is needed by blcr-libs-0.8.5-1.x86_64
libc.so.6(GLIBC_2.0) is needed by blcr-libs-0.8.5-1.x86_64
libc.so.6(GLIBC_2.1) is needed by blcr-libs-0.8.5-1.x86_64
libc.so.6(GLIBC_2.1.3) is needed by blcr-libs-0.8.5-1.x86_64
libc.so.6(GLIBC_2.15) is needed by blcr-libs-0.8.5-1.x86_64
libc.so.6(GLIBC_2.3.2) is needed by blcr-libs-0.8.5-1.x86_64
libc.so.6(GLIBC_2.3.4) is needed by blcr-libs-0.8.5-1.x86_64
libc.so.6(GLIBC_2.4) is needed by blcr-libs-0.8.5-1.x86_64
libdl.so.2 is needed by blcr-libs-0.8.5-1.x86_64
libdl.so.2(GLIBC_2.0) is needed by blcr-libs-0.8.5-1.x86_64
libdl.so.2(GLIBC_2.1) is needed by blcr-libs-0.8.5-1.x86_64
libpthread.so.0 is needed by blcr-libs-0.8.5-1.x86_64
libpthread.so.0(GLIBC_2.0) is needed by blcr-libs-0.8.5-1.x86_64
libpthread.so.0(GLIBC_2.1) is needed by blcr-libs-0.8.5-1.x86_64
libpthread.so.0(GLIBC_2.3.2) is needed by blcr-libs-0.8.5-1.x86_64
[root@fedora fc-17-x86_64]#
How did you solve the libc dependencies?
Regards,
--
- DongInn
On Apr 2, 2013, at 1:36 PM, DongInn Kim
<di...@cs.indiana.edu<mailto:di...@cs.indiana.edu>> wrote:
Hi Olivier,
Thanks a lot for doing this.
I was off for a while and probably I can play a little with the new
oscar-packager later today.
Regards,
--
- DongInn
On Apr 2, 2013, at 1:22 PM, LAHAYE Olivier
<olivier.lah...@cea.fr<mailto:olivier.lah...@cea.fr>> wrote:
Hi,
I've fixed many problems in oscar-packager. It still need some work, but I've
progressed a lot.
- Fixed the fact that a package could be built up to 5 times (example torque).
- Support for multiple source files in package.cfg using the {} syntax.
(downloading was already working as the wget was called using the shell), but
then the copy routing failed trying to copy the last source with a trailing }.
- Fixed the fact that if an rpm is not build from src.rpm, options defined in
the build.cfg were ignored.
It's almost done, I need to do the following:
- Check if there is a way to avoid triggering the "make rpm" if the build is
successfull.
- fix the new torque package failing to build on fedora. (a strange man is
generated but unpackaged).
After these 2 fixes, the rpmside of oscar-packager should be working as
expected.
For the debian side, it should be ok, but I'll give a look to see if we can
enhance it.
For those who were curious on what was going on the multiple build, here is the
explanation:
The multiple build was very tricky to understand. What was occuring was the
following:
When the torque package was about to be built, the prepare_prereqs called by
create_package called by do_packaging did build the torque rpms one time for
the noarch architecture and one time for the binary architecture..
Undortunately it forgot to specify the --target, thus both build we doing the
same binary build: 2 build (build method: SVN triggered friom
/etc/oscar/oscar-packager/included_unstable.cfg)
Then, another call to prepare_prereqs was done elswhere (build methode TARBALL)
with the same 2 build again.(after looking at the torque-oscar.cfg file).
Then, once the prereqs were satisfied (we are at 4 build now) the make rpm
(line 368) was triggered missing the the build.cfg options and resulting in the
same binary rpms.
At the end provided that the build was successfull, we eneded up with 5 build
of the binary rpms and 0 build of the noarch rpms.
Bes regards,
Olivier.
--
Olivier LAHAYE
CEA DRT/LIST/DCSI/DIR
------------------------------------------------------------------------------
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<mailto:Oscar-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/oscar-devel
------------------------------------------------------------------------------
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