[opensuse-buildservice] strange build failure: "package already exists: %debugsource"

Hi, all of a sudden builds are failing for me that have been working fine just the other day. the error i'm getting is this: + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --define 'disturl obs://build.opensuse.org/home:lemmy04:snowglobe/openSUSE_11.2/43a17f7b109da156510936a46d3b2025- snowglobe' --eval %suse_insert_debug_package /usr/src/packages/SOURCES/snowglobe.spec error: Package already exists: %package debugsource what is going on there? bye, MH -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

On Wednesday 2010-01-20 10:38, Mathias Homann wrote:
Hi,
all of a sudden builds are failing for me that have been working fine just the other day.
the error i'm getting is this:
+ exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --define 'disturl obs://build.opensuse.org/home:lemmy04:snowglobe/openSUSE_11.2/43a17f7b109da156510936a46d3b2025- snowglobe' --eval %suse_insert_debug_package /usr/src/packages/SOURCES/snowglobe.spec error: Package already exists: %package debugsource
what is going on there?
Everything is alright. You have %debug_package in your .spec file, but which is already automatically added by BS and standalone tools like lbuild-jplus and Fedora's rpmbuild. Many a Packman packages suffer from the same problem that you always have to remove that offending line beforehand. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

Am Mittwoch, 20. Januar 2010 10:44:33 schrieb Jan Engelhardt:
On Wednesday 2010-01-20 10:38, Mathias Homann wrote:
Hi,
all of a sudden builds are failing for me that have been working fine just the other day.
the error i'm getting is this:
+ exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --define 'disturl obs://build.opensuse.org/home:lemmy04:snowglobe/openSUSE_11.2/43a17f7b109d a156510936a46d3b2025- snowglobe' --eval %suse_insert_debug_package /usr/src/packages/SOURCES/snowglobe.spec error: Package already exists: %package debugsource
what is going on there?
Everything is alright. You have %debug_package in your .spec file, but which is already automatically added by BS and standalone tools like lbuild-jplus and Fedora's rpmbuild.
Many a Packman packages suffer from the same problem that you always have to remove that offending line beforehand.
since when does that get auto inserted??? the same packages built fine just on monday... with no changes. bye, MH -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

On Wednesday 2010-01-20 11:01, Mathias Homann wrote:
Am Mittwoch, 20. Januar 2010 10:44:33 schrieb Jan Engelhardt:
On Wednesday 2010-01-20 10:38, Mathias Homann wrote:
Hi,
all of a sudden builds are failing for me that have been working fine just the other day.
the error i'm getting is this:
+ exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --define 'disturl obs://build.opensuse.org/home:lemmy04:snowglobe/openSUSE_11.2/43a17f7b109d a156510936a46d3b2025- snowglobe' --eval %suse_insert_debug_package /usr/src/packages/SOURCES/snowglobe.spec error: Package already exists: %package debugsource
what is going on there?
Everything is alright. You have %debug_package in your .spec file, but which is already automatically added by BS and standalone tools like lbuild-jplus and Fedora's rpmbuild.
Many a Packman packages suffer from the same problem that you always have to remove that offending line beforehand.
since when does that get auto inserted??? the same packages built fine just on monday... with no changes.
This was done since openSUSE 11.1. You will note that there is %debug_package in 11.0/coreutils.spec, but not in 11.1/coreutils.spec. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

Am Mittwoch, 20. Januar 2010 11:37:24 schrieb Jan Engelhardt:
Everything is alright. You have %debug_package in your .spec file, but which is already automatically added by BS and standalone tools like lbuild-jplus and Fedora's rpmbuild.
since when does that get auto inserted??? the same packages built fine just on monday... with no changes.
This was done since openSUSE 11.1. You will note that there is %debug_package in 11.0/coreutils.spec, but not in 11.1/coreutils.spec.
I seriously don't think that is true. I've been packaging on OBS since at least 10.2, pretty much all of my packages contain the %debug_package macro, and until this morning everything had been building just fine. So there has to be something else somewhere. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

On Wednesday 20 January 2010 12:04:43 Mathias Homann wrote:
Am Mittwoch, 20. Januar 2010 11:37:24 schrieb Jan Engelhardt:
Everything is alright. You have %debug_package in your .spec file, but which is already automatically added by BS and standalone tools like lbuild-jplus and Fedora's rpmbuild.
since when does that get auto inserted??? the same packages built fine just on monday... with no changes.
This was done since openSUSE 11.1. You will note that there is %debug_package in 11.0/coreutils.spec, but not in 11.1/coreutils.spec.
I seriously don't think that is true. I've been packaging on OBS since at least 10.2, pretty much all of my packages contain the %debug_package macro, and until this morning everything had been building just fine.
So there has to be something else somewhere.
Did you enable the <debuginfo> flag in the project or package? It's not default and if you enable it, build will autoinsert the flag. Greetings, Stephan -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

Am Mittwoch, 20. Januar 2010 12:11:05 schrieb Stephan Kulow:
Did you enable the <debuginfo> flag in the project or package? It's not default and if you enable it, build will autoinsert the flag.
*slaps forehead* thanks, that was it 0.o bye, MH -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

On 01/20/2010 01:04 PM, Mathias Homann wrote:
Am Mittwoch, 20. Januar 2010 11:37:24 schrieb Jan Engelhardt:
Everything is alright. You have %debug_package in your .spec file, but which is already automatically added by BS and standalone tools like lbuild-jplus and Fedora's rpmbuild.
since when does that get auto inserted??? the same packages built fine just on monday... with no changes.
This was done since openSUSE 11.1. You will note that there is %debug_package in 11.0/coreutils.spec, but not in 11.1/coreutils.spec.
I seriously don't think that is true. I've been packaging on OBS since at least 10.2, pretty much all of my packages contain the %debug_package macro, and until this morning everything had been building just fine.
So there has to be something else somewhere.
Check the [Flags for Experts] link under the repo table, it has a flag for building debug packages, that's what most probably changed along with a lot of other strange things. Regards Dave P -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (4)
-
Dave Plater
-
Jan Engelhardt
-
Mathias Homann
-
Stephan Kulow