kdepim4-runtime upgrade failure on 10.9.x due to non-upgraded openssl and webkit-gtk

"René J.V. Bertin" rjvbertin at gmail.com
Sat Jun 14 03:34:10 PDT 2014


I've had to get my hands dirty to do today's upgrade on my 10.9.2 VM. This is just a report as I think that ultimately the error was mine, though it'd have been nice if port had corrected the effects of the error (and known how to upgrade an existing webkit-gtk3(-2.0) install!!).

> sudo port selfupdate
--->  Updating MacPorts base sources using rsync
MacPorts base version 2.3.0 installed,
MacPorts base version 2.3.0 downloaded.
--->  Updating the ports tree
--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
     6        17:30   sudo port selfupdate
>  port outdated
The following installed ports are outdated:
boost                          1.55.0_2 < 1.55.0_4       
doxygen                        1.8.5_3 < 1.8.7_0         
ffmpeg                         2.2.2_0 < 2.2.3_0         
gcc48                          4.8.2_1 < 4.8.2_2         
gdb                            7.6_0 < 7.7.1_0           
gettext                        0.18.3.2_0 < 0.19.1_0     
git-core                       1.9.3_0 < 1.9.4_1         
glib-networking                2.40.1_0 < 2.40.1_1       
gnutls                         3.1.22_0 < 3.3.4_0        
harfbuzz                       0.9.28_0 < 0.9.29_1       
harfbuzz-icu                   0.9.28_0 < 0.9.29_1       
hdf5-18                        1.8.12_1 < 1.8.13_0       
icu                            51.2_1 < 53.1_0           
iksemel                        1.4_1 < 1.4_2             
kdepim4-runtime                4.12.5_0 < 4.12.5_1       
libgcc                         4.8.2_1 < 4.8.2_2         
llvm-3.4                       3.4_2 < 3.4_3             
mpi-doc                        3.1_0 < 3.1.1_0           
openldap                       2.4.31_4 < 2.4.31_5       
openssl                        1.0.1g_0 < 1.0.1h_0       
py-sip                         4.15.5_0 < 4.16.1_0       
py26-sip                       4.15.5_0 < 4.16.1_0       
py27-gdbm                      2.7.6_0 < 2.7.7_0         
py27-jinja2                    2.7.2_0 < 2.7.3_0         
py27-setuptools                3.6_0 < 4.0.1_0           
py27-sip                       4.15.5_0 < 4.16.1_0       
py33-setuptools                3.6_0 < 4.0.1_0           
python27                       2.7.6_0 < 2.7.7_0         
swig                           3.0.1_0 < 3.0.2_0         
swig-python                    3.0.1_0 < 3.0.2_0         
vigra                          1.10.0_2 < 1.10.0_3       
webkit-gtk3-2.0                2.0.4_2 < 2.0.4_3         
wget                           1.15_0 < 1.15_1           
wine-devel                     1.7.19_0 < 1.7.19_1       
xorg-inputproto                2.3_0 < 2.3.1_0           
XviD                           1.3.2_3 < 1.3.3_0         

I then did the usual port upgrade outdated, BUT FORGOT to sudo the command. That caused a failure in the openssl upgrade, which was not corrected when I repeated the command with the proper sudo prefix.
As a result, building kdepim4-runtime failed, but I had to chdir into the build directory and execute the full cmake command manually to see the reason for the

CMake Error at /Volumes/Debian/MacPorts/share/cmake-2.8/Modules/FindKDE4.cmake:98 (message):
  ERROR: cmake/modules/FindKDE4Internal.cmake not found in
Call Stack (most recent call first):
  CMakeLists.txt:55 (find_package)


That reason being kde4-config failing (crashing) due to a missing :

Process:         kde4-config [71026]
Path:            /Volumes/VOLUME/*/kde4-config
Identifier:      kde4-config
Version:         ???
Code Type:       X86-64 (Native)
Parent Process:  cmake [71023]
Responsible:     Terminal [6425]
User ID:         505

Date/Time:       2014-06-14 12:00:22.433 +0200
OS Version:      Mac OS X 10.9.2 (13C64)
Report Version:  11
Anonymous UUID:  3F425EC0-3C85-C322-D870-5A842C8B21EF

Sleep/Wake UUID: F37B5D37-A985-4A2B-A680-D48359F3C338

Crashed Thread:  0

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Library not loaded: /opt/local/lib/libssl.1.0.0.dylib
  Referenced from: /opt/local/Library/Frameworks/QtNetwork.framework/Versions/4/QtNetwork
  Reason: image not found

Somehow, the OS X crash dialog had not been posted during the upgrade command, which would have helped diagnose the underlying reason immediately. (They're not very reliable, often not being posted despite having configured the OS to do so :-/ )

So:

> sudo port upgrade openssl
Password:
--->  Updating database of binaries
--->  Scanning binaries for linking errors               
Warning: Error parsing file /Applications/MacPorts/GoldenDict.app/Contents/MacOS/GoldenDict: Error opening or reading file
Warning: Error parsing file /Applications/MacPorts/Python 3.3/Python Launcher.app/Contents/MacOS/Python Launcher: Error opening or reading file
Warning: Error parsing file /opt/local/lib/libcrypto.1.0.0.dylib: Error opening or reading file
Warning: Error parsing file /opt/local/lib/libcrypto.a: Error opening or reading file
Warning: Error parsing file /opt/local/lib/libssl.1.0.0.dylib: Error opening or reading file
Warning: Error parsing file /opt/local/lib/libssl.a: Error opening or reading file
Warning: Error parsing file /Applications/MacPorts/KDE4/kactivitymanagerd.app/Contents/MacOS/kactivitymanagerd: Error opening or reading file
--->  Found 348 broken file(s), matching files to ports  
--->  Found 24 broken port(s), determining rebuild order
--->  Rebuilding in order
     openssl @1.0.1g +universal
     sylpheed @3.3.0 +ssl
     p5.16-net-ssleay @1.580.0 
     python33 @3.3.5 
     qt4-mac @4.8.6 
     clamav @0.98.3 
     curl @7.37.0 +ssl+universal
     curlftpfs @0.9.2 
     imap-uw @2007e +ssl_pam
     webkit-gtk3-2.0 @2.0.4 +video
     raptor2 @2.0.8 
     openslp @1.2.1 
     serf1 @1.3.4 
     libssh @0.6.3 
     ruby19 @1.9.3-p547 +doc+mactk
     python26 @2.6.9 
     py27-curl @7.19.0 
     gnome-vfs @2.24.4 +universal
     kerberos5 @1.11.3 +universal
     cyrus-sasl2 @2.1.26 +kerberos+universal
     openldap @2.4.31 
     virtuoso-7 @7.1.0 
     lynx @2.8.7rel.2 +ssl
     rtmpdump @2.4 
--->  Computing dependencies for openssl
Warning: Failed to open Portfile from registry for openssl @1.0.1g_0+universal
--->  Deactivating openssl @1.0.1g_0+universal
--->  Activating openssl @1.0.1h_0+universal
--->  Cleaning openssl
--->  Computing dependencies for sylpheed
--->  Cleaning sylpheed
--->  Computing dependencies for p5.16-net-ssleay
--->  Cleaning p5.16-net-ssleay
--->  Computing dependencies for python33
--->  Cleaning python33
--->  Computing dependencies for qt4-mac
--->  Cleaning qt4-mac
--->  Computing dependencies for clamav
--->  Cleaning clamav
--->  Computing dependencies for curl
--->  Cleaning curl
--->  Computing dependencies for curlftpfs
--->  Cleaning curlftpfs
--->  Computing dependencies for imap-uw
--->  Cleaning imap-uw
--->  Computing dependencies for webkit-gtk3-2.0
--->  Fetching archive for webkit-gtk3-2.0
--->  Attempting to fetch webkit-gtk3-2.0-2.0.4_3+video.darwin_13.x86_64.tbz2 from http://packages.macports.org/webkit-gtk3-2.0
--->  Attempting to fetch webkit-gtk3-2.0-2.0.4_3+video.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/webkit-gtk3-2.0
--->  Attempting to fetch webkit-gtk3-2.0-2.0.4_3+video.darwin_13.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/webkit-gtk3-2.0
--->  Fetching distfiles for webkit-gtk3-2.0
--->  Attempting to fetch webkitgtk-2.0.4.tar.xz from http://webkitgtk.org/releases/
--->  Verifying checksums for webkit-gtk3-2.0                                        
--->  Extracting webkit-gtk3-2.0
--->  Applying patches to webkit-gtk3-2.0
--->  Configuring webkit-gtk3-2.0
Error: webkit-gtk-2.0 is provided for configurations that are unable to use webkit-gtk.  Since you are on Mavericks or later (or have configured MacPorts to use libc++), please use webkit-gtk or webkit-gtk-devel instead.
Error: org.macports.configure for port webkit-gtk3-2.0 returned: unsupported configuration


To correct that latest thing, which I think IS NOT DUE to my earlier error, I had to force-remove webkit-gtk3-2.0 and then reinstall webkit-gtk3 to satisfy winetricks' dependency on that port:

> sudo port uninstall webkit-gtk3-2.0 at 2.0.4_2+video
# zenity depends on that port, you @#$
> port info zenity
# yup, it does depend on webkit-gtk3
> port rdependents zenity
# oh, I need that one for winetricks
> port info winetricks
# indeed, seems I'll have to try get that straight after getting rid of webkit-gtk3-2.0
> port info webkit-gtk3
> port installed "webkit-gtk*"
> sudo port uninstall -f webkit-gtk3-2.0 at 2.0.4_2+video
# now let's see if I can get back a valid webkit-gtk3
> sudo port install webkit-gtk3
# whew

And now the upgrade process is continuing where it failed earlier, building kdepim4-runtime ... with fingers, toes and eyes crossed.

R.




More information about the macports-users mailing list