Mailinglist Archive: opensuse-packaging (122 mails)
| < Previous | Next > |
Re: [opensuse-packaging] %debug_package issues with Suse only
- From: Stephan Kulow <coolo@xxxxxxx>
- Date: Thu, 1 Nov 2007 07:56:18 +0100
- Message-id: <200711010756.19279.coolo@xxxxxxx>
Am Mittwoch 31 Oktober 2007 schrieb mrdocs@xxxxxxxxxxxx:
in all places in the spec file, but namely as subpackage of it's own.
So your BuildRequires line following makes me think you put it in between the
main package declaration - this will break in funny ways.
Put it right before the %prep line, there it should do less harm. I thought
OBS got a "build debuginfo" flag per project lately, but I never tried it.
Greetings, Stephan
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
Sent originally to -buildservice by mistake....%debug_package expands to a full package. So you can't put that macro
Hi,
I have hit a weird issue when enabling %debug_package when wrapped
inside something like this:
%if 0%{?suse_version}
%debug_package
Build Requires: blah...
%endif
If %debug_package is enabled, the install portion fails on all Suse
versions by seemingly unsetting RPM_BUILD_ROOT so the install part tries
to install into /usr not /var/tmp/package/usr
Package in question is:
https://build.opensuse.org/package/show?project=home%3Amrdocs&package=gsvie
w
Now Mandriva seems to automagically enable debug packages, so there is
no need to enable it in the spec file.
This package has reliably built before on OBS on all rpm distros and
arches.
Is this a subtle difference in the rpm versions from FC. Mdk and Suse ?
or could this be an OBS issue?
Thoughts ?
in all places in the spec file, but namely as subpackage of it's own.
So your BuildRequires line following makes me think you put it in between the
main package declaration - this will break in funny ways.
Put it right before the %prep line, there it should do less harm. I thought
OBS got a "build debuginfo" flag per project lately, but I never tried it.
Greetings, Stephan
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
| < Previous | Next > |