[opensuse-buildservice] BUG: self-dependency in build problem on OBS

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/_b... https://api.opensuse.org/build/home:lbt:arm:cross/xUbuntu_9.04/armv5el/dpkg/... 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. David -- "Don't worry, you'll be fine; I saw it work in a cartoon once..." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

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/_b... https://api.opensuse.org/build/home:lbt:arm:cross/xUbuntu_9.04/armv5el/dpkg/...
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@suse.de 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@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
David Greaves
-
Michael Schroeder