Hi DongInn,

Please update oscar-packager by doing:

sudo oscar-packager --force --core oscar-packager unstable

Then install the result (rpm -Uvh 
/tftpboot/oscar/fc-17-x86_64/oscar-packager-*0.44*rpm

Now, oscar packager copy files from the trunk/pkg/rpm/pkg/* in %_sourcedir. No 
more pre-command needed. (the errors shopw that the 2 files from svn were not 
copied).
I've moved most torque sourcesfiles outside the svn tree as these are files 
that are static along the time. I've only left files specific to oscar in the 
svn tree.

As you can see, the torque-oscar.cfg source = line is optimized ;-)

Cheers,

PS: I've added kernel_picker.
PPS: packages still outside oscar-packager: atftp, atftp-server, netbootmgr, 
perl-Qt, rapt.udpcast, perl-XML-simple. These are all dependancies to some 
packages....
--
   Olivier LAHAYE
   CEA DRT/LIST/DCSI/DIR

________________________________________
De : DongInn Kim [di...@cs.indiana.edu]
Date d'envoi : lundi 8 avril 2013 15:31
À : oscar-devel@lists.sourceforge.net
Objet : Re: [Oscar-devel] blcr-devel dependencies

Hi Olivier,

Great! "yum install blcr-devel-0.8.5-1.x86_64.rpm blcr-libs-0.8.5-1.x86_64.rpm" 
fixed the dependencies. It invoked the updating glibc and it could install 
blcr-devel properly.

OK, since I have blcr-devel installed, I tried to build torque via 
oscar-packager but I got the following problem.

> patching file contrib/init.d/trqauthd.in
> + install -pm 644 /root/rpmbuild/SOURCES/torque-modulefile 
> /root/rpmbuild/SOURCES/mom_config /root/rpmbuild/SOURCES/xpbs.desktop 
> /root/rpmbuild/SOURCES/xpbsmon.desktop /root/rpmbuild/SOURCES/xpbs.png 
> /root/rpmbuild/SOURCES/xpbsmon.png /root/rpmbuild/SOURCES/README.QuickStart .
> install: cannot stat '/root/rpmbuild/SOURCES/torque-modulefile': No such file 
> or directory
> install: cannot stat '/root/rpmbuild/SOURCES/mom_config': No such file or 
> directory
> error: Bad exit status from /var/tmp/rpm-tmp.vO9zw5 (%prep)
>
>
> RPM build errors:
>     Macro % has illegal name (%define)
>     Bad exit status from /var/tmp/rpm-tmp.vO9zw5 (%prep)
> ERROR: Impossible to execute rpmbuild -bb ./rpm/torque-oscar.spec --target 
> noarch --with server_name=pbs_oscar --with prefix=/opt/pbs --with 
> homedir=/var/lib/torque --with scp --with syslog --with rpp --with drmaa 
> --with blcr --with nvidia-gpus --with use-munge --with gui --with tcl at 
> /bin/oscar-packager line 326.
> ERROR: Impossible to create the binary (torque-oscar, 0, 
> /tftpboot/oscar/fc-18-x86_64) at /bin/oscar-packager line 326.
> File ‘drmaa-python-0.5-2.src.rpm’ already there; not retrieving.
>
> Building only RPMs, passed arguments are interpreted as SRPMs
> Executing: mv ./*drmaa-python*.rpm /tftpboot/oscar/fc-18-x86_64
> ERROR: Impossible to build a binary (/tmp/oscar-packager/torque) at 
> /bin/oscar-packager line 326.
> ERROR: Impossible to build some binaries at /bin/oscar-packager line 326.
> ERROR: Impossible to prepare the prereqs (/tmp/oscar-packager/torque, 
> /tftpboot/oscar/fc-18-x86_64) at /bin/oscar-packager line 326.
> ERROR: Impossible to manage prereqs for the creation of the binary package at 
> /bin/oscar-packager line 327.
>         main::create_package('HASH(0x18dbbe8)', 'HASH(0x1949960)') called at 
> /bin/oscar-packager line 466
>         main::do_packaging('/etc/oscar/oscar-packager/included_unstable.cfg', 
> '/etc/oscar/oscar-packager/included_opkgs_unstable.cfg') called at 
> /bin/oscar-packager line 540
>         main::package_included('torque', 'ARRAY(0x18acbf8)', 
> '/etc/oscar/oscar-packager') called at /bin/oscar-packager line 598
> #/usr/bin/build_package --type rpm --output /tftpboot/oscar/fc-18-x86_64 
> --url 
> http://svn.oscar.openclustergroup.org/pkgs/downloads/torque-4.1.4.tar.gz 
> --package-name torque-oscar --verbose
>
> =============================================================================
> == Preparing pool: /tftpboot/oscar/fc-18-x86_64
> =============================================================================
>
> CHECKSUM: /tmp/pool_oscar_fc-18-x86_64.md5 
> new:b6c2d97c90043812c644f03edfa29a5d old:f1e217ed6fe7da03b57e8ded75653485
> Pool type: rpm
> Repository /tftpboot/oscar/fc-18-x86_64 is now ready.
>
> =============================================================================
> == [INFO] Generated binary packages are in /tftpboot/oscar/fc-18-x86_64
> =============================================================================
>
> Errors occured during the OSCAR packaging.
> OSCAR components that failed are:  at /bin/oscar-packager line 468.
>         main::do_packaging('/etc/oscar/oscar-packager/included_unstable.cfg', 
> '/etc/oscar/oscar-packager/included_opkgs_unstable.cfg') called at 
> /bin/oscar-packager line 540
>         main::package_included('torque', 'ARRAY(0x18acbf8)', 
> '/etc/oscar/oscar-packager') called at /bin/oscar-packager line 598
> [ torque ]
> Array: 1 element(s)
> [root@fedora fc-17-x86_64]#

Where are the torque-modulefile and mom_config files?

Regards,

--
- DongInn

On Apr 8, 2013, at 8:55 AM, LAHAYE Olivier <olivier.lah...@cea.fr> wrote:

> Hi DongInn,
>
> This is wired. Try to install using yum install blcr-devel-0.8.5-1.x86_64.rpm 
> blcr-libs-0.8.5-1.x86_64.rpm
> I know that there is an issue with blcr, but this one seems new to me.
>
> The issue I know is that upgrading blcr from 0.8.4 to 0.8.5 triggers 
> depsolving problems
> I absolutely need to use dkms to fix that once for all.
>
> In the meantime, if modules are not installed (not mandatory) blcr feature 
> will be disabled (no crash or problems to expect from that matter).
>
> I've cross checked on my system, and no problem so far....
>
> Can you check that you have the glibc-2.15-58.fc17.i686    (not 64bit). The 
> 32 bits version is needed in cas you checkpoint restart a 32bit executable.
> yum install blcr-devel-0.8.5-1.x86_64.rpm blcr-libs-0.8.5-1.x86_64.rpm should 
> install the dependancy.
> If it is not installed, and if manually installing it solves the dep problem, 
> then it looks like we've found a yum bug....
>
> Please tell me if this is the solution.
>
> PS: I've fixed a bug in systemimager (unable to detect kernel in 
> si_prepareclient, reported by a user). => V4.3.0-0.8)
>
> Regards,
>
> Olivier.
> --
>   Olivier LAHAYE
>   CEA DRT/LIST/DCSI/DIR
>
> ________________________________________
> De : DongInn Kim [di...@cs.indiana.edu]
> Date d'envoi : samedi 6 avril 2013 17:38
> À : Devel OSCAR
> Objet : [Oscar-devel] blcr-devel dependencies
>
> Hi Olivier,
>
> The blcr-devel dependencies seem to block the build processes of several 
> OSCAR packages (torque, openmpi, torque, and more (?)).
>
> How did you manage this blcr-devel installation on FC-17?
>
> [root@fedora lib]# cd /home/olahaye74/repos/unstable/fc-17-x86_64/
> [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]#
> [root@fedora fc-17-x86_64]# uname -a
> Linux fedora.crest.iu.edu 3.8.2-206.fc18.x86_64 #1 SMP Fri Mar 8 15:03:34 UTC 
> 2013 x86_64 x86_64 x86_64 GNU/Linux
> [root@fedora fc-17-x86_64]#
>
> 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
>
> ------------------------------------------------------------------------------
> 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


------------------------------------------------------------------------------
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

------------------------------------------------------------------------------
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

Reply via email to