Mailinglist Archive: opensuse-buildservice (266 mails)

< Previous Next >
Re: [opensuse-buildservice] prjconf Prefer: with distribution version check?
On Wed, Jan 30, 2013 at 05:47:37PM +0100, Hans-Peter Jansen wrote:
Am Mittwoch, 30. Januar 2013, 17:43:44 schrieb Michael Schroeder:
On Wed, Jan 30, 2013 at 05:06:15PM +0100, Hans-Peter Jansen wrote:
But now I'm stuck, because I need to build the file package, which
contains
the libmagic.so.1 lib, which is needed from rpmbuild.

According to http://en.opensuse.org/openSUSE:Build_Service_prjconf, a
clause like:

Keep: file patch

would be sufficient, but even with an additional

Preinstall: file patch

the missing libmagic.so.1 error persists.

More misconception on my side?

Dunno. Can you please attach the logfile of the missing build?

https://build.opensuse.org/package/live_build_log?arch=x86_64&package=file&project=home%3Afrispete%3Atools&repository=openSUSE_12.2

Pete

Ha, tricky. You somewhat shot yourself in your foot. ;)

While it's true that 12.2 has libmagic.so.1 in its 'file' package,
the file package you're building has it in 'libmagic1'.
Thus the first build of your package worked and now all the next ones
won't work, because the lib is no longer in 'file'. Thus change
your prjconf to:

Keep: file patch libmagic1

(You probably don't need the Preinstall)

Cheers,
Michael.

--
Michael Schroeder mls@xxxxxxx
SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups