Mailinglist Archive: opensuse-buildservice (266 mails)

< Previous Next >
Re: [opensuse-buildservice] prjconf Prefer: with distribution version check?
  • From: Hans-Peter Jansen <hpj@xxxxxxxxx>
  • Date: Wed, 30 Jan 2013 18:38:45 +0100
  • Message-id: <26671312.djVoMYD90r@xrated>
Am Mittwoch, 30. Januar 2013, 17:59:30 schrieb Michael Schroeder:
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. ;)

Ah, thanks god, it's a graze would only.
I should have paid more attention for the lowercased paragraphs ;-)

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

Done that now. Thanks for the comprehensible explanation. Makes sense.

(You probably don't need the Preinstall)

Yes, that isn't needed.

Unfortunately, the builds break for the 12.* variants in some strange ways,
while 11.1 succeeds. :-( Will check later..

Thanks && cheers,
Pete
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups