Hi Olivier,
Great to hear such a progress. :-)
BTW, I hit a problem with building systemimager via oscar-packager.
> INFO: Executing commands based on the distro fedora-18-x86_64
> Packages to install: [ libuuid-devel device-mapper-devel gperf binutils-devel
> pam-devel ]
> Array: 5 element(s)
> Command to execute: yume --repo file:/tftpboot/oscar/fc-18-x86_64 -y install
> libuuid-devel device-mapper-devel gperf binutils-devel pam-devel
> File ‘systemimager-4.3.0-0.7.src.rpm’ already there; not retrieving.
>
> Building only RPMs, passed arguments are interpreted as SRPMs
> EEEE: Building RPMs from
> /var/lib/oscar-packager/downloads/systemimager-4.3.0-0.7.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.7.fc18.noarch
> Installing /var/lib/oscar-packager/downloads/systemimager-4.3.0-0.7.src.rpm
> Building target platforms: noarch
> Building for target noarch
> == Full output of rpmbuild is in /usr/lib/systemimager-4.3.0-0.7.err file ==
> ERROR: Command execution failed: (/usr/bin/build_rpms --only-rpm
> /var/lib/oscar-packager/downloads/systemimager-4.3.0-0.7.src.rpm --target
> noarch) at /bin/oscar-packager line 326.
> ERROR: Impossible to create the binary (systemimager, 0,
> /tftpboot/oscar/fc-18-x86_64) at /bin/oscar-packager line 326.
> File ‘bittorrent-5.3-5.cf.rhel6.src.rpm’ already there; not retrieving.
>
> Building only RPMs, passed arguments are interpreted as SRPMs
> Executing: mv ./*bittorent*.rpm /tftpboot/oscar/fc-18-x86_64
> mv: cannot stat ‘./*bittorent*.rpm’: No such file or directory
> ERROR: Impossible to execute mv ./*bittorent*.rpm
> /tftpboot/oscar/fc-18-x86_64 at /bin/oscar-packager line 326.
> ERROR: Impossible to create the binary (bittorent, 0,
> /tftpboot/oscar/fc-18-x86_64) at /bin/oscar-packager line 326.
> File ‘flamethrower-0.1.8-2.src.rpm’ already there; not retrieving.
>
> Building only RPMs, passed arguments are interpreted as SRPMs
> Executing: mv ./*flamethrower*.rpm /tftpboot/oscar/fc-18-x86_64
> ERROR: Impossible to build a binary (/tmp/oscar-packager/systemimager) 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/systemimager,
> /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(0x1aa70e0)', 'HASH(0x14f7810)') called at
> /bin/oscar-packager line 466
> main::do_packaging('/etc/oscar/oscar-packager/core_unstable.cfg',
> '/etc/oscar/oscar-packager/core_opkgs_unstable.cfg') called at
> /bin/oscar-packager line 513
> main::package_core('systemimager', 'ARRAY(0x1ab4b88)',
> '/etc/oscar/oscar-packager') called at /bin/oscar-packager line 593
>
> =============================================================================
> == Preparing pool: /tftpboot/oscar/fc-18-x86_64
> =============================================================================
>
> CHECKSUM: /tmp/pool_oscar_fc-18-x86_64.md5
> new:c725cf2c7de4db23174390eb0d7aa176 old:99c0880a3ba2707752b3a01249bdbda4
> 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/core_unstable.cfg',
> '/etc/oscar/oscar-packager/core_opkgs_unstable.cfg') called at
> /bin/oscar-packager line 513
> main::package_core('systemimager', 'ARRAY(0x1ab4b88)',
> '/etc/oscar/oscar-packager') called at /bin/oscar-packager line 593
> [ systemimager ]
> Array: 1 element(s)
> [root@fedora lib]#
Does it fail because of the missing "/usr/lib/libcrypt.a" file? I have
"/usr/lib64/libcrypt.a" though.
Do you know what is going on here?
BTW, does oscar-packager build torque?
It seems that "oscar-packager --all unstable --force" does not invoke the build
process of torque.
Regards,
--
- DongInn
On Apr 5, 2013, at 12:08 PM, LAHAYE Olivier <olivier.lah...@cea.fr> wrote:
>
> Hi,
>
> After working hard on fc and rhel, most packages in rhel-6 and fc-17 build
> correctly.
> I've added some missing packages including systemimager.
>
> I need to fix a few place when rpmspec is not available (I use rpm
> --specfile, but this command does not support the --target noarch flag). I've
> put in place the solution in oscar-packager, but I need to fix a few
> makefiles that try to rpm -q --specfile --target noarch on rhel-6
> (it fails with --target unknown flag).
> I need to use --define '%_target_cpu noarch' instead of --target qhen
> querying spec files (only on distro when rpmspec cmd is not available (rhel-6
> , ...). Fc-17+ are not affected.
> Affected packages may be: system-update, oscar-v, oscar-installer, ...the
> package builds, but the package is not moved into the repository. "/bin/sh:
> line 4: /usr/bin/rpm: No such file or directory
> Moving file(s) () to /tftpboot/oscar/rhel-6-x86_64"
>
> DongInn, I think that you can give a try to fc-18. Just update the svn and do
> a make rpm in the oscar-packager dir and rpm -Uvh the result. This should be
> the last time you need to do that. From this install, to build oscar packager
> in the future, you will be able to do a:
> oscar-packager --force --core oscar-packager unstable
> This should build the package and move it to the /tftpboot/oscar/fc-18-x86_64
> and regenerate the repo indexes automagically.
>
> Debian side may need some fixes (mostly on added packages), I'll work on that
> soon.
>
> 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
> 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