Mailinglist Archive: opensuse-buildservice (312 mails)

< Previous Next >
[opensuse-buildservice] Re: Mandriva_2009 problem: error: Package already exists: %package debug
  • From: Marcin Wojdyr <wojdyr@xxxxxxxxx>
  • Date: Thu, 2 Jul 2009 19:52:14 +0200
  • Message-id: <2bfaacdc0907021052l7607d472w92e774accf42c620@xxxxxxxxxxxxxx>
I disabled debuginfo and this problem is gone, so the error:
error: Package already exists: %package debug
occurs only when debuginfo is on.

There is another problem on Madriva_2009:

make[2]: Entering directory `/usr/src/rpm/BUILD/xylib-0.4/xylib'
/bin/sh ../libtool --tag=CXX --mode=compile
x86_64-mandriva-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -MT libxy_la-xylib.lo -MD -MP -MF
.deps/libxy_la-xylib.Tpo -c -o libxy_la-xylib.lo `test -f 'xylib.cpp'
|| echo './'`xylib.cpp
../libtool: line 844: X--tag=CXX: command not found
../libtool: line 877: libtool: ignoring unknown tag : command not found
../libtool: line 844: X--mode=compile: command not found
[...]

It seems that every option has 'X' prepended. The package builds
without any problems on all other RPM-based hosts. Anyone has idea,
what's wrong here?

the full log:
https://build.opensuse.org/package/live_build_log?arch=x86_64&package=xylib&project=home%3Awojdyr&repository=Mandriva_2009

Thanks,
Marcin

On Sun, Jun 28, 2009 at 17:37, Marcin Wojdyr<wojdyr@xxxxxxxxx> wrote:
Hi,
I have a simple package that builds on all RPM-based distros in OBS
but Mandriva_2009.
I have debuginfo enabled globally, perhaps that's the reason.

I get this error on both i586 and x86_64:

+ exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --define
'disturl
obs://build.opensuse.org/home:wojdyr/Mandriva_2009/2005528086e7d471f208a74afa5422fd-xylib'
--eval %suse_insert_debug_package /usr/src/rpm/SOURCES/xylib.spec
error: Package already exists: %package debug

The package is here:
https://build.opensuse.org/package/show?package=xylib&project=home%3Awojdyr

Thanks,
Marcin

--
Marcin Wojdyr | http://www.unipress.waw.pl/~wojdyr/




--
Marcin Wojdyr | http://www.unipress.waw.pl/~wojdyr/
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages