Mailinglist Archive: opensuse-buildservice (151 mails)

< Previous Next >
Re: [opensuse-buildservice] Strange build error
On Donnerstag, 20. März 2014, 05:31:34 wrote Matthew:

On Thu Mar 20 05:30:14 CDT 2014, Marcus Meissner
<meissner@xxxxxxx> wrote:

On Thu, Mar 20, 2014 at 05:27:03AM -0500, Matthew wrote:




On Thu Mar 20 01:40:35 CDT 2014, Marcus Meissner
<meissner@xxxxxxx> wrote:

On Thu, Mar 20, 2014 at 12:00:17AM +0100, Matthew Cattell
wrote:
Hi,
I've been struggling to figure out why my package builds
fine >> and then enters into an "unresolvable" state after
generating >> the package and package repo. Hovering over the
"unresolvable" >> status link shows that "nothing provides
libcrypto.so.10 needed >> by openldap". This is really puzzling
since I have no openldap >> dependency nor any so.10 library.
Building locally works >> correctly and I'm able to install the
rpm and see the libraries >> installed in the correct location.
The package is here: >>
https://build.opensuse.org/package/show/home:mcattell:cfengine-community/openssl
What could the problem be?
You are building an incompatible version of openssl.
You should not need to build openssl at all.
Why do you not use the distribution supplied version?
Ciao, Marcus
I wanted that specific version because it's what my project
requires. I was curious as to why it built, generated the
packages and then went to the "unresolvable" status with a list
of dependencies that I don't believe are required by OpenSSL.
Since I removed all the other packages from my project and built
OpenSSL in isolation, I was surprised I still had the problem
since there's nothing depending on my OpenSSL package anymore.

Your build will replace the system included openssl package with
a one
containing a different major version, so libssh2 and so will not
find
this dependency anymore.

(libssh2 here bein in the system needed for tzhe build.)

Ciao, Marcus

Ah, OK. Is there a way to avoid this (other than a private
instance of OBS) :-)

it is not really an OBS problem, but a disitribution/openssl problem.

You just could repackage openssl in a way that it makes it possible to
get installed in parallel.

But still, you must not link against both versions for the same application.
This can become espacilly hard when many libs are involved, which maybe
do link already against one of the openssl libs.

--

Adrian Schroeter
email: adrian@xxxxxxx

SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284
(AG Nürnberg)
Maxfeldstraße 5
90409 Nürnberg
Germany



--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
References