[opensuse-factory] exim problem after installing 20171007
Problem: exim-4.86.2-4.2.x86_64 requires libldap-2.4.so.2()(64bit), but this requirement cannot be provided deleted providers: libldap-2_4-2-2.4.45-26.2.x86_64 Solution 1: deinstallation of exim-4.86.2-4.2.x86_64 Solution 2: keep obsolete libldap-2_4-2-2.4.45-26.2.x86_64 Solution 3: break exim-4.86.2-4.2.x86_64 by ignoring some of its dependencies Choose from above solutions by number or cancel [1/2/3/c] (c): Choosing solution 3 certainly does break exim - it won't start. So I have reverted to libldap-2_4-2-2.4.45-26.2.x86_64 and locked it. What is happening here? $ rpm -qpl libldap-2_4-2-2.4.45-26.2.x86_64.rpm /usr/lib64/liblber-2.4.so.2 /usr/lib64/liblber-2.4.so.2.10.8 /usr/lib64/libldap-2.4.so.2 /usr/lib64/libldap-2.4.so.2.10.8 /usr/lib64/libldap_r-2.4.so.2 /usr/lib64/libldap_r-2.4.so.2.10.8 $ rpm -qpl libldap-2_4-2-2.4.45-27.1.x86_64.rpm /usr/lib64/liblber-2.4.so.2 /usr/lib64/liblber-2.4.so.2.10.8 /usr/lib64/libldap_r-2.4.so.2 /usr/lib64/libldap_r-2.4.so.2.10.8 /usr/lib64/libldap-2.4.so.2 and /usr/lib64/libldap-2.4.so.2.10.8 are no longer present. -- ============================ Roger Whittaker roger@disruptive.org.uk ============================ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Roger Whittaker wrote:
Problem: exim-4.86.2-4.2.x86_64 requires libldap-2.4.so.2()(64bit), but this requirement cannot be provided
I guess this is caused by Jan's libldap symlink change. See forwarded request: https://build.opensuse.org/request/show/530541 In theory this should work once all packages are rebuilt. Personally I don't have overview what's needed to make this work consistently. Are you installing exim package from a third-party repo? Ciao, Michael.
On Mon, 2017-10-09 at 13:14 +0200, Michael Ströder wrote:
Roger Whittaker wrote:
Problem: exim-4.86.2-4.2.x86_64 requires libldap-2.4.so.2()(64bit), but this requirement cannot be provided
I guess this is caused by Jan's libldap symlink change.
Wrong guess - try again :) (see my reply to the thread - then you don't have to guess) Cheers, Dominique
On Mon, Oct 09, 2017 at 01:14:30PM +0200, Michael Ströder wrote:
Roger Whittaker wrote:
Problem: exim-4.86.2-4.2.x86_64 requires libldap-2.4.so.2()(64bit), but this requirement cannot be provided
I guess this is caused by Jan's libldap symlink change.
See forwarded request: https://build.opensuse.org/request/show/530541
In theory this should work once all packages are rebuilt. Personally I don't have overview what's needed to make this work consistently.
Are you installing exim package from a third-party repo?
No. I've noted this also here: https://bugzilla.suse.com/show_bug.cgi?id=996551#c4 On that bug it says: The fix is to make /usr/lib64/libldap-2.4.so.2 a symlink to libldap_r-2.4.so.2 But /usr/lib64/libldap-2.4.so.2 no longer exists after updating to libldap-2_4-2-2.4.45-27.1.x86_64.rpm -- ============================ Roger Whittaker roger@disruptive.org.uk https://notes.smuvelious.org ============================ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Mon, 2017-10-09 at 12:02 +0100, Roger Whittaker wrote:
Problem: exim-4.86.2-4.2.x86_64 requires libldap-2.4.so.2()(64bit), but this requirement cannot be provided deleted providers: libldap-2_4-2-2.4.45-26.2.x86_64 Solution 1: deinstallation of exim-4.86.2-4.2.x86_64 Solution 2: keep obsolete libldap-2_4-2-2.4.45-26.2.x86_64 Solution 3: break exim-4.86.2-4.2.x86_64 by ignoring some of its dependencies
Somebody has to fix exim to actually build again in openSUSE:Factory: https://build.opensuse.org/package/live_build_log/openSUSE:Factory/exim /standard/x86_64 [ 21s] >>> Creating links to source files... [ 21s] >>> Creating lookups/Makefile for building dynamic modules [ 21s] >>> New Makefile & lookups/Makefile installed [ 21s] >>> Use "make makefile" if you need to force rebuilding of the makefile [ 21s] [ 21s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/exim- 4.86.2/build-Linux-x86_64' [ 21s] /bin/sh ../scripts/Configure-os.c [ 21s] gcc buildconfig.c [ 22s] /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse- linux/bin/ld: cannot find -lnsl [ 22s] collect2: error: ld returned 1 exit status [ 22s] make[1]: *** [Makefile:259: buildconfig] Error 1 [ 22s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/exim- 4.86.2/build-Linux-x86_64' [ 22s] make: *** [Makefile:29: all] Error 2 [ 22s] error: Bad exit status from /var/tmp/rpm-tmp.9ANB0o (%build) ``` (could be as simple as BuildRequires: libnsl-devel if NSLis really requested by the local build - or might be some other package being at fault for asking for NSL but not pulling it in) Cheers Dominique
On Mon, Oct 09, 2017 at 01:15:33PM +0200, Dominique Leuenberger / DimStar wrote:
Somebody has to fix exim to actually build again in openSUSE:Factory:
If I install libldap-2_4-2-2.4.45-27.1.x86_64 and manually create a symlink /usr/lib64/libldap-2.4.so.2 pointing to /usr/lib64/libldap_r-2.4.so.2, exim seems to work ok again. So maybe the problem is indeed with the libldap-2_4-2 package as I noted: https://bugzilla.suse.com/show_bug.cgi?id=996551#c4 because it doesn't create that symlink. -- ============================ Roger Whittaker roger@disruptive.org.uk https://notes.smuvelious.org ============================ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Mon, 2017-10-09 at 12:31 +0100, Roger Whittaker wrote:
On Mon, Oct 09, 2017 at 01:15:33PM +0200, Dominique Leuenberger / DimStar wrote:
Somebody has to fix exim to actually build again in openSUSE:Factory:
If I install libldap-2_4-2-2.4.45-27.1.x86_64 and manually create a symlink /usr/lib64/libldap-2.4.so.2 pointing to /usr/lib64/libldap_r-2.4.so.2, exim seems to work ok again.
But that's not the fix and is just a workaround
So maybe the problem is indeed with the libldap-2_4-2 package as I noted: https://bugzilla.suse.com/show_bug.cgi?id=996551#c4 because it doesn't create that symlink.
no - the problem is that exim expects libnls to be present in the buildroot but does not request it by means of buildrequires. Anything else is fighting symptoms Cheers, Dominique
On Mon, Oct 09, 2017 at 01:34:52PM +0200, Dominique Leuenberger / DimStar wrote:
So maybe the problem is indeed with the libldap-2_4-2 package as I noted: https://bugzilla.suse.com/show_bug.cgi?id=996551#c4 because it doesn't create that symlink.
no - the problem is that exim expects libnls to be present in the buildroot but does not request it by means of buildrequires.
Anything else is fighting symptoms
OK - understood. But isn't there also a problem with the latest libldap-2_4-2 in that it doesn't contain the symlink /usr/lib64/libldap-2.4.so.2 ? -- ============================ Roger Whittaker roger@disruptive.org.uk https://notes.smuvelious.org ============================ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Mon, 2017-10-09 at 13:17 +0100, Roger Whittaker wrote:
On Mon, Oct 09, 2017 at 01:34:52PM +0200, Dominique Leuenberger / DimStar wrote:
So maybe the problem is indeed with the libldap-2_4-2 package as I noted: https://bugzilla.suse.com/show_bug.cgi?id=996551#c4 because it doesn't create that symlink.
no - the problem is that exim expects libnls to be present in the buildroot but does not request it by means of buildrequires.
Anything else is fighting symptoms
OK - understood. But isn't there also a problem with the latest libldap-2_4-2 in that it doesn't contain the symlink /usr/lib64/libldap-2.4.so.2 ?
No - things that link libldap-2_4.so.2 instead of libldap_r-2.4.so.2 need to be fixed/rebuilt Cheers Dominique
On Mon, 2017-10-09 at 13:15 +0200, Dominique Leuenberger / DimStar wrote:
On Mon, 2017-10-09 at 12:02 +0100, Roger Whittaker wrote:
Problem: exim-4.86.2-4.2.x86_64 requires libldap-2.4.so.2()(64bit), but this requirement cannot be provided deleted providers: libldap-2_4-2-2.4.45-26.2.x86_64 Solution 1: deinstallation of exim-4.86.2-4.2.x86_64 Solution 2: keep obsolete libldap-2_4-2-2.4.45-26.2.x86_64 Solution 3: break exim-4.86.2-4.2.x86_64 by ignoring some of its dependencies
Somebody has to fix exim to actually build again in openSUSE:Factory:
https://build.opensuse.org/package/live_build_log/openSUSE:Factory/ex im /standard/x86_64
[ 21s] >>> Creating links to source files... [ 21s] >>> Creating lookups/Makefile for building dynamic modules [ 21s] >>> New Makefile & lookups/Makefile installed [ 21s] >>> Use "make makefile" if you need to force rebuilding of the makefile [ 21s] [ 21s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/exim- 4.86.2/build-Linux-x86_64' [ 21s] /bin/sh ../scripts/Configure-os.c [ 21s] gcc buildconfig.c [ 22s] /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse- linux/bin/ld: cannot find -lnsl [ 22s] collect2: error: ld returned 1 exit status [ 22s] make[1]: *** [Makefile:259: buildconfig] Error 1 [ 22s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/exim- 4.86.2/build-Linux-x86_64' [ 22s] make: *** [Makefile:29: all] Error 2 [ 22s] error: Bad exit status from /var/tmp/rpm-tmp.9ANB0o (%build) ```
(could be as simple as BuildRequires: libnsl-devel if NSLis really requested by the local build - or might be some other package being at fault for asking for NSL but not pulling it in)
created request id 532725 (on the way to the devel prj.. up to the maintainers to accept or decline and fix it in different ways Cheers Dominique
participants (3)
-
Dominique Leuenberger / DimStar
-
Michael Ströder
-
Roger Whittaker