On 04 May 2005, at 10:09, Dominique Dhumieres wrote:
Yes _ if you want to check such things by yourself ;
Jean-Fran�ois,
I have followed your advice in the most conservative way:
(1) I have removed libsoup-ssl*, and the packages depending on them, i.e.,
gtkhtml3, evolution, ximian-connector, and bundle-gnome-office.
(2) I removed gnutls* and xmlsec which depends on gnutls-shlibs (is it
normal that the other xmlsec-* packages don't depend on it?).
/sw/var/logs# fink dumpinfo -f family xmlsec
Information about 5563 packages read in 20 seconds.
Information about 918 shared libraries read in 3 seconds.
Information about 918 shared libraries read in 0 seconds.
family: xmlsec, xmlsec-shlibs, xmlsec-bin, xmlsec-dev
/sw/var/logs# for f in xmlsec xmlsec-shlibs xmlsec-bin xmlsec-dev ; do echo -n "$f: " ; otool_deps $f ; done
xmlsec:
xmlsec-shlibs: gnutls-shlibs, libgcrypt-shlibs, libgettext3-shlibs, libgpg-error-shlibs, libiconv, libtasn1-shlibs, libxml2-shlibs, libxslt-shlibs, mozilla-shlibs, pth-shlibs
xmlsec-bin: libiconv, libxml2-shlibs, libxslt-shlibs, xmlsec-shlibs
xmlsec-dev:
where "otool_deps" is the following little command:
/sw/var/logs# cat ~/bin/otool_deps
#!/sw/bin/bash
# "otool_deps pkgs" yields a comma separated list (possibly empty) (followed by a \n) of the packages
# on which the given (installed) pkgs depend according to otool _ excluding the given pkgs themselves.
dpkg -L $@ | xargs file | grep 'Mach\-O' | cut -f 1 -d ':' | xargs -r otool -L 2>/dev/null | grep -v ':$' \
| sed -r 's|^[[:space:]]*||g' | cut -f1 -d' ' | sort -u | xargs -r dpkg -S 2>/dev/null | cut -f1 -d':' \
| sort -u | grep -vxF "`tr ' ' '\n'<<<$*`" | xargs | sed 's| |, |g'
(3) I have rebuilt and installed libsoup-ssl
Ie, this libsoup-ssl is based on openssl097 instead of gnutls (Cf http://article.gmane.org/gmane.os.apple.fink.gnome/465 : maintainers are well aware of this dual possibility. The explicit dependency on gnutls is added in the gnome2.8 version of libsoup-ssl).
"Normal" : the info file causes the DocFiles of libsoup-ssl to go into libsoup-ssl-dev,[karma] /Users/dominiq% sudo fink install libsoup-ssl The following package will be installed or updated: libsoup-ssl The following additional package will be installed: libsoup-ssl-shlibs
Do you want to continue? [Y/n]
dpkg -i /sw/fink/dists/unstable/crypto/binary-darwin-powerpc/ libsoup-ssl_1.99.28-5_darwin-powerpc.deb /sw/fink/dists/unstable/ crypto/binary-darwin-powerpc/libsoup-ssl-shlibs_1.99.28-5_darwin- powerpc.deb
Selecting previously deselected package libsoup-ssl.
(Reading database ... 360023 files and directories currently installed.)
Unpacking libsoup-ssl (from .../libsoup-ssl_1.99.28-5_darwin- powerpc.deb) ...
Selecting previously deselected package libsoup-ssl-shlibs.
Unpacking libsoup-ssl-shlibs (from .../libsoup-ssl- shlibs_1.99.28-5_darwin-powerpc.deb) ...
(Noting disappearance of libsoup-ssl, which has been completely replaced.)
/sw/bin/dpkg: error processing libsoup-ssl (--install):
no package named `libsoup-ssl' is installed, cannot configure
so libsoup-ssl is an empty pkg _ and dpkg usual reaction with empty pkgs is to notice
at the next install that the pkg is ("has become") empty, and hence to consider it as not-installed.
Setting up libsoup-ssl-shlibs (1.99.28-5) ...cf supra
Errors were encountered while processing:
libsoup-ssl
### execution of dpkg failed, exit code 1
Failed: can't batch-install packages: /sw/fink/dists/unstable/ crypto/binary-darwin-powerpc/libsoup-ssl_1.99.28-5_darwin- powerpc.deb /sw/fink/dists/unstable/crypto/binary-darwin-powerpc/ libsoup-ssl-shlibs_1.99.28-5_darwin-powerpc.deb
First (bad) surprise: "Noting disappearance of libsoup-ssl", so I installed it again
idem ...
[karma] /Users/dominiq% sudo fink install libsoup-ssl
The following package will be installed or updated:
libsoup-ssl
dpkg -i /sw/fink/dists/unstable/crypto/binary-darwin-powerpc/ libsoup-ssl_1.99.28-5_darwin-powerpc.deb
Selecting previously deselected package libsoup-ssl.
(Reading database ... 360033 files and directories currently installed.)
Unpacking libsoup-ssl (from .../libsoup-ssl_1.99.28-5_darwin- powerpc.deb) ...
Setting up libsoup-ssl (1.99.28-5) ...
Now for ibsoup-ssl-dev
[karma] /Users/dominiq% sudo acoc fink install libsoup-ssl-dev
The following package will be installed or updated:
libsoup-ssl-dev
dpkg -i /sw/fink/dists/unstable/crypto/binary-darwin-powerpc/ libsoup-ssl-dev_1.99.28-5_darwin-powerpc.deb
Selecting previously deselected package libsoup-ssl-dev.
(Reading database ... 360033 files and directories currently installed.)
Unpacking libsoup-ssl-dev (from .../libsoup-ssl- dev_1.99.28-5_darwin-powerpc.deb) ...
(Noting disappearance of libsoup-ssl, which has been completely replaced.)
Setting up libsoup-ssl-dev (1.99.28-5) ...
After that I noticed that libsoup-ssl has disappeared again
[karma] /Users/dominiq% fink list libsoupBut it is nonsense to keep a pkg depending on an empty pkg...
Information about 4912 packages read in 2 seconds.
libsoup-ssl 1.99.28-5 SOAP implementation in C, with SSL support
i libsoup-ssl-dev 1.99.28-5 SOAP implementation in C, with SSL support
i libsoup-ssl-shlibs 1.99.28-5 SOAP implementation in C, with SSL support
So I reinstalled it
[karma] /Users/dominiq% sudo acoc fink install libsoup-ssl
The following package will be installed or updated:
libsoup-ssl
dpkg -i /sw/fink/dists/unstable/crypto/binary-darwin-powerpc/ libsoup-ssl_1.99.28-5_darwin-powerpc.deb
Selecting previously deselected package libsoup-ssl.
(Reading database ... 360072 files and directories currently installed.)
Unpacking libsoup-ssl (from .../libsoup-ssl_1.99.28-5_darwin- powerpc.deb) ...
Setting up libsoup-ssl (1.99.28-5) ...
[karma] /Users/dominiq% fink list libsoup
Information about 4912 packages read in 2 seconds.
i libsoup-ssl 1.99.28-5 SOAP implementation in C, with SSL support
i libsoup-ssl-dev 1.99.28-5 SOAP implementation in C, with SSL support
i libsoup-ssl-shlibs 1.99.28-5 SOAP implementation in C, with SSL support
Now I rebuilt and installed bundle-gnome-office
[karma] /Users/dominiq% sudo fink install bundle-gnome-office
Information about 4912 packages read in 2 seconds.
The following package will be installed or updated:
bundle-gnome-office
The following 2 additional packages will be installed:
evolution gtkhtml3
Do you want to continue? [Y/n]
dpkg -i /sw/fink/dists/unstable/crypto/binary-darwin-powerpc/ gtkhtml3_3.0.10-10_darwin-powerpc.deb
Selecting previously deselected package gtkhtml3.
(Reading database ... 360072 files and directories currently installed.)
Unpacking gtkhtml3 (from .../gtkhtml3_3.0.10-10_darwin- powerpc.deb) ...
(Noting disappearance of libsoup-ssl, which has been completely replaced.)
Setting up gtkhtml3 (3.0.10-10) ...
dpkg -i /sw/fink/dists/unstable/crypto/binary-darwin-powerpc/ evolution_1.4.6-11_darwin-powerpc.deb
Selecting previously deselected package evolution.
(Reading database ... 360182 files and directories currently installed.)
Unpacking evolution (from .../evolution_1.4.6-11_darwin- powerpc.deb) ...
dpkg: dependency problems prevent configuration of evolution:
evolution depends on libsoup-ssl (>= 1.99.26-1); however:
That's right, your libsoup-ssl at this stage is linked with opensslPackage libsoup-ssl is not installed. /sw/bin/dpkg: error processing evolution (--install): dependency problems - leaving unconfigured Errors were encountered while processing: evolution ### execution of dpkg failed, exit code 1 Failed: can't install package evolution-1.4.6-11
libsoup-ssl has disappeared again!-(
[karma] /Users/dominiq% fink list libsoup
Information about 4912 packages read in 2 seconds.
libsoup-ssl 1.99.28-5 SOAP implementation in C, with SSL support
i libsoup-ssl-dev 1.99.28-5 SOAP implementation in C, with SSL support
i libsoup-ssl-shlibs 1.99.28-5 SOAP implementation in C, with SSL support
So installed it again
[karma] /Users/dominiq% sudo fink install libsoup-ssl
The following package will be installed or updated:
libsoup-ssl
dpkg -i /sw/fink/dists/unstable/crypto/binary-darwin-powerpc/ libsoup-ssl_1.99.28-5_darwin-powerpc.deb
Selecting previously deselected package libsoup-ssl.
(Reading database ... 361498 files and directories currently installed.)
Unpacking libsoup-ssl (from .../libsoup-ssl_1.99.28-5_darwin- powerpc.deb) ...
Setting up libsoup-ssl (1.99.28-5) ...
Then evolution, bundle-gnome-office, and ximian-connector installed without
further problem!-)
Note that gnutls* was not required during the whole process.
(so the build bypassed most of soup/soup-gnutls.c, the only place where
gnutls_dh_params_generate and gnutls_dh_params_set appear)
In particular, now your installed libsoup...dylib does not contain those symbols.
So this is a gnutls-linked version..Then I rebuilt and installed gnutls* and xmlsec.
(4) I rebuilt libsoup-ssl without problem
And it apparently builds so-called "correctly" when the installed version is the openssl-linked one.
Indeed, I see
gcc-3.3 -O3 -fstrict-aliasing -funroll-loops -Wall -Wstrict- prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested- externs -Wpointer-arith -D_REENTRANT -o .libs/timeserver timeserver.o -L/sw/lib -L../libsoup/.libs -lsoup-2.0 -lglib-2.0 - lgnutls -ltasn1 -lz -lgcrypt -lpth -lgpg-error -lintl -liconv -lc
...
ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
(I guess that's the command line were your trouble arises _ I asked for it in my last msg, had finally to rebuild the old version to find out)
This shows that timeserver gets linked against the installed version of libsoup...dylib
_ since -L/sw/lib -L../libsoup/.libs _, and hence there is no trouble with the undefined symbols..
Unpacking replacement libsoup-ssl-dev ... Setting up libsoup-ssl-shlibs (1.99.28-5) ... Setting up libsoup-ssl-dev (1.99.28-5) ... Setting up libsoup-ssl (1.99.28-5) ...
This shouldn't matter _ this should be identical to your previous version of gnutls
(5) I updated gnutls without problem,
Yes, because now the installed version of the library contains those symbols...but then rebuilding libsoup-ssl failed with the missing gnutls deprecated symbols.
Remains thus only to understand why I can't reproduce this, even with vers. 1.99.28-5 ... -)
Do you get the same answers :
/sw/var/logs# nm -m /sw/lib/libgnutls.12.dylib|egrep "gnutls_dh_params_(g|s)"
000304c8 (__TEXT,__text) external _gnutls_dh_params_generate2
/sw/var/logs# nm -m /sw/lib/libsoup-2.0.dylib|egrep "gnutls_dh_params_ (g|s)"
(undefined [lazy bound]) external _gnutls_dh_params_generate
(undefined [lazy bound]) external _gnutls_dh_params_set
And do you have exactly the same command line as shown above where it fails ?
Best,
Jean-Fran�ois
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r _______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users
