Mailinglist Archive: opensuse-buildservice (136 mails)

< Previous Next >
Re: [opensuse-buildservice] /usr/lib/debug/.build-id reported as unpackaged files
Hi Dominique,

On Wed, Aug 19, 2015 at 11:02:23PM +0200, Dominique Leuenberger / DimStar wrote:
On Wed, 2015-08-19 at 22:45 +0200, Lars Müller wrote:

the netwwork:samba:TESTING/samba project failed to build till we
an line with

%exclude /usr/lib/debug/.build-id

This is 100% wrong... there is another error inside your .spec file.
Most likely, you're wrongly using %exclude against a binary/library.

Thanks again for your polite feedback.

%exclude is ONLY suitable to exclude a file to be matched by a glob AND
only if this said file ends up in a different sub-package.

Any other case, if the file is not to be packaged: rm it after it has
been installed.

We exclude three man pages which are installed unintentionally.

There might be something else broken. But who knows.


Lars Müller [ˈlaː(r)z ˈmʏlɐ]
Samba Team + SUSE Labs
SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
< Previous Next >