I found that my build machine did not have python-cheetah and python-lxml 
installed.
The below error is gone and oscar-packager could proceed compiling several 
oscar packages. It failed to build the following packages:

> =============================================================================
> == [INFO] Generated binary packages are in /tftpboot/oscar/rhel-6-x86_64
> =============================================================================
> 
> Errors occured during the OSCAR packaging.
> OSCAR components that failed are:  at /usr/bin/oscar-packager line 381
>       main::do_packaging('/etc/oscar/oscar-packager/included_unstable.cfg', 
> '/etc/oscar/oscar-packager/included_opkgs_unstable.cfg') called at 
> /usr/bin/oscar-packager line 451
>       main::package_included('unstable', 'ARRAY(0x2142b00)', 
> '/etc/oscar/oscar-packager') called at /usr/bin/oscar-packager line 505
> [ apitest ganglia jobmonarch netbootmgr openmpi torque ]
> Array: 6 element(s)

So, Olivier, are you working on building the failed packages?

Regards,

--
- DongInn

On Feb 5, 2013, at 6:26 PM, DongInn Kim <di...@cs.indiana.edu> wrote:

> This bug seems to be easy to fix with the commit r9585.
> But this time, I got another error while running "oscar-packager --all 
> unstable".
> 
>> Repository /tftpboot/oscar/rhel-6-x86_64 is now ready.
>> 
>> =============================================================================
>> == [INFO] Generated binary packages are in /tftpboot/oscar/rhel-6-x86_64
>> =============================================================================
>> 
>> Errors occured during the creation of meta-packages for available OPKGs at 
>> /usr/bin/oscar-packager line 391
>>      main::do_packaging('/etc/oscar/oscar-packager/core_unstable.cfg', 
>> '/etc/oscar/oscar-packager/core_opkgs_unstable.cfg') called at 
>> /usr/bin/oscar-packager line 425
>>      main::package_core('unstable', 'ARRAY(0x296bad8)', 
>> '/etc/oscar/oscar-packager') called at /usr/bin/oscar-packager line 500
>> [ opkg-base opkg-c3 opkg-switcher opkg-rapt opkg-yume opkg-sis opkg-sc3 
>> opkg-oda opkg-opium opkg-sync-files ]
>> Array: 10 element(s)
>> [root@marvin noarch]# 
> 
> Any idea what is happening here?
> 
> Regards,
> 
> --
> - DongInn
> 
> On Feb 5, 2013, at 6:06 PM, DongInn Kim <di...@cs.indiana.edu> wrote:
> 
>> OK, I commented out checking the man page part from the spec file for the 
>> quick hack and I installed opkgc properly.
>> 
>> BTW, I have another following issue on generating oscar packages via 
>> oscar-packager.
>>> [root@marvin noarch]# oscar-packager --all unstable
>>> Verbosity: 0
>>> 
>>> =============================================================================
>>> == OSCAR Packager Starting...
>>> =============================================================================
>>> 
>>> ERROR: Impossible to detect the binary package format at 
>>> /usr/bin/oscar-packager line 69
>>>     main::get_pkg_dest() called at /usr/bin/oscar-packager line 214
>>>     main::create_package('/etc/oscar/oscar-packager/core_unstable.cfg') 
>>> called at /usr/bin/oscar-packager line 379
>>>     main::do_packaging('/etc/oscar/oscar-packager/core_unstable.cfg', 
>>> '/etc/oscar/oscar-packager/core_opkgs_unstable.cfg') called at 
>>> /usr/bin/oscar-packager line 425
>>>     main::package_core('unstable', 'ARRAY(0x1315ad8)', 
>>> '/etc/oscar/oscar-packager') called at /usr/bin/oscar-packager line 500
>>> [root@marvin noarch]# ERROR: Impossible to detect the binary package format 
>>> at /usr/bin/oscar-packager line 233
>>>     main::create_package('/etc/oscar/oscar-packager/core_unstable.cfg') 
>>> called at /usr/bin/oscar-packager line 379
>>>     main::do_packaging('/etc/oscar/oscar-packager/core_unstable.cfg', 
>>> '/etc/oscar/oscar-packager/core_opkgs_unstable.cfg') called at 
>>> /usr/bin/oscar-packager line 425
>>>     main::package_core('unstable', 'ARRAY(0x1315ad8)', 
>>> '/etc/oscar/oscar-packager') called at /usr/bin/oscar-packager line 500
>>> Errors occured during the OSCAR packaging.
>>> OSCAR components that failed are:  at /usr/bin/oscar-packager line 381
>>>     main::do_packaging('/etc/oscar/oscar-packager/core_unstable.cfg', 
>>> '/etc/oscar/oscar-packager/core_opkgs_unstable.cfg') called at 
>>> /usr/bin/oscar-packager line 425
>>>     main::package_core('unstable', 'ARRAY(0x1315ad8)', 
>>> '/etc/oscar/oscar-packager') called at /usr/bin/oscar-packager line 500
>>> [ OS not detected ]
>>> Array: 1 element(s)
>>> 
>>> [root@marvin noarch]# 
>> 
>> Any idea what happened here?
>> 
>> Regards,
>> 
>> --
>> - DongInn
>> 
>> On Feb 5, 2013, at 5:52 PM, DongInn Kim <di...@cs.indiana.edu> wrote:
>> 
>>> OK, I think I should've read your email more carefully.
>>> BTW, I got the following error at the compilation of opkgc
>>> 
>>>> sent 15156 bytes  received 389 bytes  31090.00 bytes/sec
>>>> total size is 13841  speedup is 0.89
>>>> make[1]: Leaving directory `/home/dikim/rpm/BUILD/opkgc-1.0.1/doc'
>>>> make[1]: Entering directory `/home/dikim/rpm/BUILD/opkgc-1.0.1'
>>>> make[2]: Entering directory `/home/dikim/rpm/BUILD/opkgc-1.0.1'
>>>> make[2]: Nothing to be done for `install-exec-am'.
>>>> make[2]: Nothing to be done for `install-data-am'.
>>>> make[2]: Leaving directory `/home/dikim/rpm/BUILD/opkgc-1.0.1'
>>>> make[1]: Leaving directory `/home/dikim/rpm/BUILD/opkgc-1.0.1'
>>>> + /usr/lib/rpm/brp-compress
>>>> + /usr/lib/rpm/brp-strip
>>>> + /usr/lib/rpm/brp-strip-static-archive
>>>> + /usr/lib/rpm/brp-strip-comment-note
>>>> Processing files: opkgc-1.0.1-2.noarch
>>>> error: File not found by glob: 
>>>> /home/dikim/rpm/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/man/man1/opkgc.1*
>>>> error: File not found by glob: 
>>>> /home/dikim/rpm/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/man/man5/opkg.5*
>>>> Executing(%doc): /bin/sh -e /home/dikim/tmp/rpm-tmp.O0ejPP
>>>> + umask 022
>>>> + cd /home/dikim/rpm/BUILD
>>>> + cd opkgc-1.0.1
>>>> + 
>>>> DOCDIR=/home/dikim/rpm/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc-1.0.1
>>>> + export DOCDIR
>>>> + rm -rf 
>>>> /home/dikim/rpm/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc-1.0.1
>>>> + /bin/mkdir -p 
>>>> /home/dikim/rpm/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc-1.0.1
>>>> + cp -pr AUTHORS ChangeLog COPYING README INSTALL 
>>>> /home/dikim/rpm/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc-1.0.1
>>>> + exit 0
>>>> 
>>>> 
>>>> RPM build errors:
>>>>     File not found by glob: 
>>>> /home/dikim/rpm/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/man/man1/opkgc.1*
>>>>     File not found by glob: 
>>>> /home/dikim/rpm/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/man/man5/opkg.5*
>>>> [15:04] marvin: trunk $ 
>>> 
>>> Any chance to look at it?
>>> 
>>> Regards,
>>> 
>>> --
>>> - DongInn
>>> 
>>> On Feb 5, 2013, at 11:59 AM, DongInn Kim <di...@cs.indiana.edu> wrote:
>>> 
>>>> Hi Olivier,
>>>> 
>>>> Can you post your oscar opkgs (oscar-base, yume, .. ) for RHEL6 somewhere 
>>>> or in any remote repository? I can not setup the oscar-server machine 
>>>> without them.
>>>>  
>>>> Regards,
>>>> 
>>>> --
>>>> - DongInn
>>>> 
>>>> On Feb 4, 2013, at 11:39 AM, LAHAYE Olivier <olivier.lah...@cea.fr> wrote:
>>>> 
>>>>> 
>>>>> Hi DongInn,
>>>>> 
>>>>> I'm currently building all the rpms for centos-6 from oscar svn tree. The 
>>>>> aim is to identify last unfixed build issues and and to identify missing 
>>>>> tarballs or src.rpm on oscar repo.
>>>>> 
>>>>> Are you familliar with Oscar build system? it's not a matter to rpmbuild 
>>>>> -bb a spec file, the oscar tree should contain all sources specific to 
>>>>> oscar and using specific gonfig files and external tarballs the build 
>>>>> system is able to generate oscar packages.
>>>>> If you want to play with the build system, just try to chackout oscar and 
>>>>> pkgsrc, then in the oscar tree, do a make rpms and istall them, then in 
>>>>> the pkgsrc, got to oscar-packager and do a make rpm, then install it, 
>>>>> then go to pkgsrc/opkgc/trunk and do a ./autogen.sh && ./configure && 
>>>>> make dist; rpmbuild -tb opkgc-1.0.1.tar.gz and install it, then type man 
>>>>> oscar-packager and you're at my level ;-)
>>>>> 
>>>>> Your help is really welcome and very motivating :-) Thanks a lot for your 
>>>>> support. I really want this oscar to run on RHEL6 like, and IMHO, we are 
>>>>> almost ready for a 1st try in the next few days
>>>>> 
>>>>> IMHO, what's missing: 
>>>>> - upload missing taballs to http://www.csm.ornl.gov/srt/downloads/oscar/
>>>>> - upload missing src.rpm to http://www.csm.ornl.gov/srt/downloads/oscar
>>>>> - build and upload oscar centos6 rpms to 
>>>>> oscar:http://bison.csm.ornl.gov/repos/unstable/rhel-6-x86_64
>>>>> + minor missing external package to be uploaded as well (blcr, ...)
>>>>> 
>>>>> And it should work.
>>>>> 
>>>>> 
>>>>> PS: I know that you're waiting for systemimager as well, and I'm working 
>>>>> on it as well. Stuck now on a kernel krash when loading modules, so I may 
>>>>> need to revert the kernel version to a lower version.
>>>>> I'm also stuck with udev which is too old regarding kernel version and is 
>>>>> very difficult to build outside the system.... But I'll succeed soon I 
>>>>> think.
>>>>> 
>>>>> -- 
>>>>>    Olivier LAHAYE
>>>>>    CEA DRT/LIST/DCSI/DIR
>>>>> De : DongInn Kim [di...@cs.indiana.edu]
>>>>> Date d'envoi : lundi 4 février 2013 17:14
>>>>> À : oscar-devel@lists.sourceforge.net
>>>>> Objet : Re: [Oscar-devel] centos-6 build all rpms: need advice.
>>>>> 
>>>>> Hi Olivier,
>>>>> 
>>>>> I think I can work on the oscar packaging process for the rpm based 
>>>>> system.
>>>>> 
>>>>> Do you have the working spec files and its source file link?
>>>>> 
>>>>> Regards,
>>>>> 
>>>>> --
>>>>> - DongInn
>>>>> 
>>>>> On Feb 4, 2013, at 10:05 AM, geoffroy.val...@free.fr wrote:
>>>>> 
>>>>>> As i already told you before, oscar-packager was designed for this. It 
>>>>>> is strongly advised to use it rather than try to generate the RPMs 
>>>>>> directly.
>>>>>> 
>>>>>> Thanks,
>>>>>> 
>>>>>> ----- Mail original -----
>>>>>> De: "LAHAYE Olivier" <olivier.lah...@cea.fr>
>>>>>> À: oscar-devel@lists.sourceforge.net
>>>>>> Envoyé: Lundi 4 Février 2013 07:49:39
>>>>>> Objet: [Oscar-devel] centos-6 build all rpms: need advice.
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> hi, 
>>>>>> 
>>>>>> 
>>>>>> I'm trying to build all OSCAR CentOS-6 rpms. 
>>>>>> I'm sure that there is an official way to do that, unfortunately, many 
>>>>>> stuffs seem broken and I don't know if it's due to an obsolete material 
>>>>>> (in this case there is another way to build stuffs) or if it needs to be 
>>>>>> fixed. 
>>>>>> 
>>>>>> Right now, I'm doing this: 
>>>>>> cd pkgsrc/opkgc/trunk 
>>>>>> ./autogen.sh && ./configure && make dist 
>>>>>> rpmbuild -tb opkgc-<version>.tar.gz 
>>>>>> rpm -UVh opkgc-<version>.*rpm 
>>>>>> cd ../.. 
>>>>>> for i in */trunk 
>>>>>> do 
>>>>>> (cd $i; make rpm) 
>>>>>> done 
>>>>>> cd ../oscar 
>>>>>> make rpms 
>>>>>> cd packages 
>>>>>> for i in * 
>>>>>> do 
>>>>>> opkgc --dist rhel --input $i --output <my_repo> 
>>>>>> done 
>>>>>> 
>>>>>> 
>>>>>> then I have a directory full of rpms and I should be able to create the 
>>>>>> repo ready to be uploaded. 
>>>>>> 
>>>>>> What I've noted so far: 
>>>>>> - pkgsrc/tools/build_oscar_rpms wants to be in oscar/scripts. Is it 
>>>>>> obsolete or does it needs fixing? 
>>>>>> - pkgsrc/tools/build_rpms idem 
>>>>>> - oscar/scripts/build_oscar_repo ?? 
>>>>>> 
>>>>>> Many thanks for any tips and advices. 
>>>>>> 
>>>>>> Best regards, 
>>>>>> 
>>>>>> Olivier. 
>>>>>> 
>>>>>> 
>>>>>> -- 
>>>>>> Olivier LAHAYE 
>>>>>> CEA DRT/LIST/DCSI/DIR 
>>>>>> 
>>>>>> ------------------------------------------------------------------------------
>>>>>> Everyone hates slow websites. So do we.
>>>>>> Make your web apps faster with AppDynamics
>>>>>> Download AppDynamics Lite for free today:
>>>>>> http://p.sf.net/sfu/appdyn_d2d_jan
>>>>>> _______________________________________________
>>>>>> Oscar-devel mailing list
>>>>>> Oscar-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/oscar-devel
>>>>>> 
>>>>>> ------------------------------------------------------------------------------
>>>>>> Everyone hates slow websites. So do we.
>>>>>> Make your web apps faster with AppDynamics
>>>>>> Download AppDynamics Lite for free today:
>>>>>> http://p.sf.net/sfu/appdyn_d2d_jan
>>>>>> _______________________________________________
>>>>>> Oscar-devel mailing list
>>>>>> Oscar-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/oscar-devel
>>>>> 
>>>>> ------------------------------------------------------------------------------
>>>>> Everyone hates slow websites. So do we.
>>>>> Make your web apps faster with AppDynamics
>>>>> Download AppDynamics Lite for free today:
>>>>> http://p.sf.net/sfu/appdyn_d2d_jan_______________________________________________
>>>>> Oscar-devel mailing list
>>>>> Oscar-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/oscar-devel
>>>> 
>>>> ------------------------------------------------------------------------------
>>>> Free Next-Gen Firewall Hardware Offer
>>>> Buy your Sophos next-gen firewall before the end March 2013 
>>>> and get the hardware for free! Learn more.
>>>> http://p.sf.net/sfu/sophos-d2d-feb_______________________________________________
>>>> Oscar-devel mailing list
>>>> Oscar-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/oscar-devel
>>> 
>>> ------------------------------------------------------------------------------
>>> Free Next-Gen Firewall Hardware Offer
>>> Buy your Sophos next-gen firewall before the end March 2013 
>>> and get the hardware for free! Learn more.
>>> http://p.sf.net/sfu/sophos-d2d-feb_______________________________________________
>>> Oscar-devel mailing list
>>> Oscar-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/oscar-devel
>> 
>> ------------------------------------------------------------------------------
>> Free Next-Gen Firewall Hardware Offer
>> Buy your Sophos next-gen firewall before the end March 2013 
>> and get the hardware for free! Learn more.
>> http://p.sf.net/sfu/sophos-d2d-feb_______________________________________________
>> Oscar-devel mailing list
>> Oscar-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/oscar-devel
> 
> ------------------------------------------------------------------------------
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013 
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb_______________________________________________
> Oscar-devel mailing list
> Oscar-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oscar-devel

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to