Mailinglist Archive: opensuse-buildservice (266 mails)

< Previous Next >
Re: [opensuse-buildservice] cpio fails to build, why?
  • From: Michal Marek <mmarek@xxxxxxx>
  • Date: Mon, 24 Nov 2008 16:10:26 +0100
  • Message-id: <492AC3E2.6090200@xxxxxxx>
John Kelly napsal(a):
I started a small opensuse 11.0 base system and bootstrapped it. All
packages succeeded except cpio, which fails. Can someone please look
in my project home:a23d56:opensuse-11.0-minimal:self, and see why this
fails. I did not make any changes to the 11.0 package, so I don't see
why it should fail. The rpms were created, how can it fail? Here is
the end of the log:
...
RPMLINT report:
===============
Traceback (most recent call last):
File "rpmlint.py", line 293, in <module>
File "rpmlint.py", line 97, in main
File "rpmlint.py", line 166, in runChecks
File "SpecCheck.py", line 178, in check
File "Pkg.py", line 146, in readlines
IOError: [Errno 2] No such file or directory:
'/tmp/cpio-2.9-52.1.src.rpm.10814/cpio.spec'
System halted.

The problem might be that rpmlint needs cpio to unpack the rpms
(rpm2cpio ... | cpio -id). And there is no cpio package when building
cpio itself ;-). Try adding

Keep: cpio


to the project config (osc meta prjconf <your project> -e). See
http://en.opensuse.org/Build_Service/Tips_and_Tricks#How_is_a_buildenvironment_defined.3F

hth,
Michal
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References