Mailinglist Archive: opensuse-buildservice (262 mails)

< Previous Next >
Re: [opensuse-buildservice] BUG: self-dependency in build problem on OBS
  • From: Michael Schroeder <mls@xxxxxxx>
  • Date: Mon, 17 Aug 2009 19:26:51 +0200
  • Message-id: <20090817172651.GF16451@xxxxxxx>
On Mon, Aug 03, 2009 at 11:40:55AM +0100, David Greaves wrote:
If I want to build a deb package that depends on itself for building then it
fails.

I assumed it was being removed by build or osc but traced it to the API
response.

eg:
https://api.opensuse.org/build/home:lbt:arm:cross/xUbuntu_9.04/armv5el/m4/_buildinfo
https://api.opensuse.org/build/home:lbt:arm:cross/xUbuntu_9.04/armv5el/dpkg/_buildinfo

Both m4 and dpkg-dev are build-essential

The first (m4) package does not have m4 in the <bdep> list but has dpkg-dev
The second (dpkg) package does not have dpkg-dev in the <bdep> list but has m4
(dpkg provides dpkg-dev of course)

This bites when building any package in build-essential or any other package
that self build-depends; they all need modifying to build on OBS.

That's a bug in the project configuration, the essential packages
have to be listed as "keep". I'll fix that.
(Self build-depends should work, if not it's another bug...)

Thanks,
Michael.

--
Michael Schroeder mls@xxxxxxx
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
References