OpenLDAP/SASL2 problem in FreeBSD 10.0-CURRENT WAS: Re: HELP! core dumps: install, mtree, et cetera all of the sudden after portmaster security/cyrus-sasl2

From: O. Hartmann <ohartman_at_zedat.fu-berlin.de>
Date: Sat, 18 Aug 2012 10:07:34 +0200
As I reported in my previous help request, I discovered on ALL(!) of my
FreeBSD 10.0-CURRENT box a very strange problem.

Attached, you'll find /etc/src.conf - which might give hints what I'm
doing wrong.

Another issue might be pkg(ng), I changed to that recently (a week ago),
but had no problems so far.

Well, the issue:

The setup:
My setups on all boxes using OpenLDAP, the port
net/opendldap24-client/server has security/cyrus-sasl2 enabled.
I use nsswitch and nascd.
My systems are all compiled using CLANG.

The problem:
I can not anymore install or reinstall (using portmaster, patched for
pkgng) the ports

security/cyrus-sasl2
net/openldap24-client

When performing an update (no matter which one), The installation
process dies when installing the packages (see error for openldap-cleint
below, it is proxy for cyrus-sasl2 also).

After a failed installation, close to all binaries I touch start to
coredump in a mustang way. ls(1) works, but ls -la dumps core (resolving
the ownership-issue?).

The only way to "save" the box is to copy missing libldap_r-2.4.so.8 or
libsasl2.so.2 to /usr/local/lib/ from another, compatible box or from a
backup.


The problem occured when I had to recompiled every requirements for port
www/apache22, which failed after the last update on FreeBSD 10.0-CURRENT
boxes AND FreeBSD 9.1-PRE boxes. After recompiling with portmaster -f
apache22 on FreeBSD 9.1-PRE, things were all right again, but not on
FreeBSD 10.0-CURRENT.


It is impossible to me to update/reinstall either net/openldap24-client
or security/cyrus-sasl2. When in single user mode with updated
/usr/ports and distfiles for compilation or even with precompiled port,
ready for being installed via "make install", soon after starting "make
install" something hidden runs wrong and the problems with rogue
coredumping bins are there.

My observation may be sloppy, sorry for that. I realise, that every
static binary from /rescue work fine (but missing "install" and "mtree",
which are essentiall for installations, they coredump as well as other
programs which seem to need user informations provided by LDAP)






ERROR messages:

===>>> Creating a backup package for old version
openldap-sasl-client-2.4.32_1
Creating package for openldap-sasl-client-2.4.32_1
The following packages will be deinstalled:

        openldap-sasl-client-2.4.32_1

The deinstallation will free 6 MB
Deinstalling
openldap-sasl-client-2.4.32_1...openldap-sasl-client-2.4.32_1 is
required by: akonadi-1.7.2_3
apr-ipv6-devrandom-gdbm-db5-ldap24-pgsql91-sqlite3-1.4.5.1.3.12_1
cups-base-1.5.2_2 cups-samba-6.0_7 curl-7.24.0 cyrus-sasl-ldapdb-2.1.25
dirmngr-1.1.0_8 foomatic-db-20090530_2 foomatic-db-engine-4.0.7,2
gdal-grass-1.4.3_10 gpgme-1.3.2 grass-6.4.2_4,2 ldapvi-1.7_3
libcmis-0.1.0 luma-2.3_9 nss_ldap-1.265_7 openldap-sasl-server-2.4.32_1
pam_ldap-1.8.6_2 php5-5.4.5 py27-ldap2-2.4.10 raptor2-2.0.8
rasqal-0.9.29 soprano-2.7.6 gconf2-2.32.0_3 libgsf-1.14.21_1
librsvg2-2.34.1_1 ImageMagick-6.7.8.6 goffice-0.8.17_2 wv-1.2.9_1
abiword-2.8.4_2 alsa-plugins-1.0.25 wxgtk2-common-2.8.12_1
wxgtk2-unicode-2.8.12_1 codelite-4.0.5589 libwpd-0.9.4_1 libwpg-0.2.1_1
libvisio-0.0.18 libwps-0.2.7 libreoffice-3.5.5 de-libreoffice-3.5.5
gnome-vfs-2.24.4_1 webkit-gtk2-1.4.3_1 libcanberra-0.28_3
libgnome-2.32.0_1 libbonoboui-2.24.4_1 libgnome-keyring-2.32.0_2
libsoup-gnome-2.34.3_2 policykit-gnome-0.9.2_6 gnome-mount-0.8_10
gvfs-1.6.6_3 gnome-keyring-2.32.1_2 libgnomeui-2.24.4_1
devhelp-2.32.0_2,1 dia-gnome-0.97.1_3,1 subversion-1.7.5 docproj-1.17_6
docproj-jadetex-1.17_6 dvdauthor-0.7.0_3 en_GB-libreoffice-3.5.5
wxgtk2-2.8.12_1 gnuplot-4.6.0_2 fityk-0.9.4_2 gtksourceview2-2.10.5_1
py27-gtksourceview-2.10.1_1 gedit-2.30.4_2 gucharmap-2.32.1_1
gedit-plugins-2.32.0_2 gegl-0.1.8_4 gimp-app-2.6.12_1,1
gimp-gutenprint-5.2.8 glade3-gnome-3.7.3_1 libgsf-gnome-1.14.21_1
gnumeric-1.10.17_1 iourbanterror-4.1.1.s2244_1,1 kdelibs-4.8.4
kactivities-4.8.4 kde-wallpapers-4.8.4 libdmtx-0.7.4_2 prison-1.0_1
kdepimlibs-4.8.4 polkit-kde-0.99.0_3 kde-workspace-4.8.4 xine-0.99.7_1
kdenlive-0.9.2_1 libpurple-2.10.6 libreoffice-i18n-3.5.5 maxima-5.27.0_2
mdbtools-gnome-0.5_14 p5-subversion-1.7.5 pecl-imagick-3.1.0.r2
wxgtk2-contrib-common-2.8.12_1 wxgtk2-unicode-contrib-2.8.12_1
pgadmin3-1.14.2_1 pidgin-2.10.6 pidgin-otr-3.2.1 postgis-1.5.3_2
py27-gimp-app-2.6.12_1 wxgtk2-contrib-2.8.12_1
py27-wxPython-common-2.8.12.1_1 py27-wxPython-2.8.12.1_1
seahorse-2.32.0_7 swt-devel-3.7.1_1,1 virtualbox-ose-4.1.18 vuze-4.7.0.2
wxglade-0.6.5_1 yelp-2.30.2_3 thunderbird-enigmail-1.4.3 gnupg-2.0.19_2
samba36-3.6.7 samba36-libsmbclient-3.6.7 alpine-2.00_3
pulseaudio-0.9.23_2 redland-1.0.15_1 apache-2.2.22_6
postgresql-server-9.1.5 sudo-1.8.5.p3 mutt-1.5.21, deleting anyway
 done

===>  Installing for openldap-sasl-client-2.4.32_1
===>   Generating temporary packing list
Segmentation fault (core dumped)
*** [install-mtree] Error code 139

Stop in /usr/ports/net/openldap24-sasl-client.
*** [install] Error code 1

Stop in /usr/ports/net/openldap24-sasl-client.

===>>> A backup package for openldap-sasl-client-2.4.32_1 should
       be located in /usr/ports/packages/portmaster-backup

===>>> Installation of openldap-sasl-client-2.4.32_1
(net/openldap24-sasl-client) failed
===>>> Aborting update

===>>> Update for openldap-sasl-client-2.4.32_1 failed
===>>> Aborting update

Terminated

===>>> You can restart from the point of failure with this command line:
       portmaster <flags> net/openldap24-sasl-client net/openldap24-server


Regards
Oliver

P.S. Garrett, I felt free to address you directly, so sorry if you feel
bothered ...


Received on Sat Aug 18 2012 - 06:07:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:29 UTC