Hanspeter,
The difference appears to be that we are emitting
-Wl,-dead_strip_dylibs in fink whereas the kde builds on MacPorts doesn't
do that. Adding…
perl -pi -e 's|-Wl,-dead_strip_dylibs||g'
rkward/CMakeFiles/rkward.frontend.dir/link.txt
before the make in rkward-r.info's CompileScript restores the linkage to
the same as MacPorts
for /sw/opt/kde4/mac/bin/rkward.frontend.app/Contents/MacOS/rkward.frontend
but the plugin error still remains.
Jack
On Sat, Jun 14, 2014 at 4:57 PM, Jack Howarth <howarth.at.f...@gmail.com>
wrote:
> Hanspeter,
> Something really strange is happening with the kde build of rkward
> under fink. After building 'fink -m -kK rkward-r30' using the files from my
> experimental, I find
> that
> /sw/src/fink.build/rkward-r30-0.6.1-1/rkward-0.6.1/build/rkward/CMakeFiles/rkward.frontend.dir/link.txt
> shows…
>
> /sw/var/lib/fink/path-prefix-clang/g++ -I/sw/include -fno-common
> -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts
> -Wall -W -Wpointer-arith -Wformat-security -Woverloaded-virtual -fno-common
> -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden
> -Wno-return-type-c-linkage -O2 -DNDEBUG -DQT_NO_DEBUG -arch x86_64
> -isysroot
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk
> -mmacosx-version-min=10.7 -Wl,-search_paths_first
> -Wl,-headerpad_max_install_names
> -L/sw/src/fink.build/rkward-r30-0.6.1-1/rkward-0.6.1/build/lib
> -L/sw/opt/kde4/mac/lib -L/sw/lib/system-openssl/lib
> -L/sw/lib/freetype219/lib -L/sw/lib/fontconfig2/lib -L/sw/lib/qt4-mac/lib
> -L/sw/opt/qca2/mac/lib -L/sw/opt/strigi/mac/lib -L/sw/opt/soprano/mac/lib
> -L/sw/opt/grantlee/mac/lib -L/sw/opt/attica/mac/lib
> -L/sw/opt/akonadi/mac/lib -L/sw/lib -Wl,-dead_strip_dylibs
> CMakeFiles/rkward.frontend.dir/rkward.frontend_automoc.o
> CMakeFiles/rkward.frontend.dir/rkward.o
> CMakeFiles/rkward.frontend.dir/main.o
> CMakeFiles/rkward.frontend.dir/rkglobals.o
> CMakeFiles/rkward.frontend.dir/robjectviewer.o
> CMakeFiles/rkward.frontend.dir/rkconsole.o
> CMakeFiles/rkward.frontend.dir/rkwardapplication.o -o
> rkward.frontend.app/Contents/MacOS/rkward.frontend -F/sw/lib/qt4-mac/lib
> -L/sw/opt/kde4/mac/lib
> -L/sw/Library/Frameworks/R.framework/Versions/3.0/Resources/lib
> -L/sw/src/fink.build/rkward-r30-0.6.1-1/rkward-0.6.1/build/lib
> -L/sw/opt/soprano/mac/lib /sw/opt/kde4/mac/lib/libkdecore.5.13.1.dylib
> ../lib/libwindows.a ../lib/libagents.a ../lib/libdialogs.a
> ../lib/libplugin.a ../lib/libsettings.a ../lib/libdataeditor.a
> ../lib/libcore.a ../lib/libscriptbackends.a ../lib/librbackend.a
> ../lib/libmisc.a -lktexteditor /sw/opt/kde4/mac/lib/libkhtml.5.13.1.dylib
> /sw/opt/kde4/mac/lib/libkfile.4.13.1.dylib
> /sw/opt/kde4/mac/lib/libkdeui.5.13.1.dylib
> /sw/opt/kde4/mac/lib/libkrosscore.4.13.1.dylib -framework QtScript
> -framework QtNetwork -framework phonon
> /sw/opt/kde4/mac/lib/libkjs.4.13.1.dylib
> /sw/opt/kde4/mac/lib/libkparts.4.13.1.dylib
> /sw/opt/kde4/mac/lib/libkio.5.13.1.dylib -framework QtNetwork
> /sw/opt/kde4/mac/lib/libnepomukutils.4.13.1.dylib
> /sw/opt/kde4/mac/lib/libnepomuk.4.13.1.dylib
> /sw/opt/soprano/mac/lib/libsoprano.dylib
> /sw/opt/kde4/mac/lib/libkdeui.5.13.1.dylib
> /sw/opt/kde4/mac/lib/libkdecore.5.13.1.dylib -framework QtDBus -framework
> QtCore -framework Carbon -framework QtGui -framework QtSvg -framework QtXml
> -Wl,-rpath,/sw/opt/kde4/mac/lib
> -Wl,-rpath,/sw/Library/Frameworks/R.framework/Versions/3.0/Resources/lib
>
> yet when I manually execute…
>
> % cd /sw/src/fink.build/rkward-r30-0.6.1-1/rkward-0.6.1/build/rkward
> % source CMakeFiles/rkward.frontend.dir/link.txt
> % otool -L rkward.frontend.app/Contents/MacOS/rkward.frontend
>
> rkward.frontend.app/Contents/MacOS/rkward.frontend:
> /sw/opt/kde4/mac/lib/libkdecore.5.dylib
> (compatibility version 5.0.0, current version 5.13.1)
> /sw/opt/kde4/mac/lib/libktexteditor.4.dylib
> (compatibility version 4.0.0, current version 4.13.1)
> /sw/opt/kde4/mac/lib/libkhtml.5.dylib (compatibility version 5.0.0,
> current version 5.13.1)
> /sw/opt/kde4/mac/lib/libkfile.4.dylib (compatibility version 4.0.0,
> current version 4.13.1)
> /sw/opt/kde4/mac/lib/libkdeui.5.dylib (compatibility version 5.0.0,
> current version 5.13.1)
> /sw/opt/kde4/mac/lib/libkrosscore.4.dylib (compatibility version 4.0.0,
> current version 4.13.1)
> /sw/lib/qt4-mac/lib/QtScript.framework/Versions/4/QtScript (compatibility
> version 4.8.0, current version 4.8.6)
> /sw/lib/qt4-mac/lib/QtNetwork.framework/Versions/4/QtNetwork
> (compatibility version 4.8.0, current version 4.8.6)
> /sw/opt/kde4/mac/lib/libkparts.4.dylib (compatibility version 4.0.0,
> current version 4.13.1)
> /sw/opt/kde4/mac/lib/libkio.5.dylib (compatibility version 5.0.0, current
> version 5.13.1)
> /sw/lib/qt4-mac/lib/QtCore.framework/Versions/4/QtCore (compatibility
> version 4.8.0, current version 4.8.6)
> /sw/lib/qt4-mac/lib/QtGui.framework/Versions/4/QtGui (compatibility
> version 4.8.0, current version 4.8.6)
> /sw/lib/qt4-mac/lib/QtXml.framework/Versions/4/QtXml (compatibility
> version 4.8.0, current version 4.8.6)
> /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version
> 52.0.0)
> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
> 159.1.0)
>
> the linkages on libsoprano and libkjs are missing despite the fact that
> appending -v reveals the linkage command used as…
>
> "/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.7.0
> -syslibroot
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk
> -o rkward.frontend.app/Contents/MacOS/rkward.frontend -lcrt1.10.6.o
> -L/sw/src/fink.build/rkward-r30-0.6.1-1/rkward-0.6.1/build/lib
> -L/sw/opt/kde4/mac/lib -L/sw/lib/system-openssl/lib
> -L/sw/lib/freetype219/lib -L/sw/lib/fontconfig2/lib -L/sw/lib/qt4-mac/lib
> -L/sw/opt/qca2/mac/lib -L/sw/opt/strigi/mac/lib -L/sw/opt/soprano/mac/lib
> -L/sw/opt/grantlee/mac/lib -L/sw/opt/attica/mac/lib
> -L/sw/opt/akonadi/mac/lib -L/sw/lib -L/sw/opt/kde4/mac/lib
> -L/sw/Library/Frameworks/R.framework/Versions/3.0/Resources/lib
> -L/sw/src/fink.build/rkward-r30-0.6.1-1/rkward-0.6.1/build/lib
> -L/sw/opt/soprano/mac/lib -search_paths_first -headerpad_max_install_names
> -dead_strip_dylibs CMakeFiles/rkward.frontend.dir/rkward.frontend_automoc.o
> CMakeFiles/rkward.frontend.dir/rkward.o
> CMakeFiles/rkward.frontend.dir/main.o
> CMakeFiles/rkward.frontend.dir/rkglobals.o
> CMakeFiles/rkward.frontend.dir/robjectviewer.o
> CMakeFiles/rkward.frontend.dir/rkconsole.o
> CMakeFiles/rkward.frontend.dir/rkwardapplication.o
> /sw/opt/kde4/mac/lib/libkdecore.5.13.1.dylib ../lib/libwindows.a
> ../lib/libagents.a ../lib/libdialogs.a ../lib/libplugin.a
> ../lib/libsettings.a ../lib/libdataeditor.a ../lib/libcore.a
> ../lib/libscriptbackends.a ../lib/librbackend.a ../lib/libmisc.a
> -lktexteditor /sw/opt/kde4/mac/lib/libkhtml.5.13.1.dylib
> /sw/opt/kde4/mac/lib/libkfile.4.13.1.dylib
> /sw/opt/kde4/mac/lib/libkdeui.5.13.1.dylib
> /sw/opt/kde4/mac/lib/libkrosscore.4.13.1.dylib -framework QtScript
> -framework QtNetwork -framework phonon
> /sw/opt/kde4/mac/lib/libkjs.4.13.1.dylib
> /sw/opt/kde4/mac/lib/libkparts.4.13.1.dylib
> /sw/opt/kde4/mac/lib/libkio.5.13.1.dylib -framework QtNetwork
> /sw/opt/kde4/mac/lib/libnepomukutils.4.13.1.dylib
> /sw/opt/kde4/mac/lib/libnepomuk.4.13.1.dylib
> /sw/opt/soprano/mac/lib/libsoprano.dylib
> /sw/opt/kde4/mac/lib/libkdeui.5.13.1.dylib
> /sw/opt/kde4/mac/lib/libkdecore.5.13.1.dylib -framework QtDBus -framework
> QtCore -framework Carbon -framework QtGui -framework QtSvg -framework QtXml
> -rpath /sw/opt/kde4/mac/lib -rpath
> /sw/Library/Frameworks/R.framework/Versions/3.0/Resources/lib -lstdc++
> -lSystem /usr/bin/../lib/clang/4.2/lib/darwin/libclang_rt.osx.a
> -F/sw/lib/qt4-mac/lib
>
> I am baffled as to how these explicit linkages on libsoprano and libkjs
> are disappearing. Any idea what is going on here?
> Jack
>
>
> On Sat, Jun 14, 2014 at 1:51 PM, Jack Howarth <howarth.at.f...@gmail.com>
> wrote:
>
>> Hanspeter,
>> I wonder the plugin issue in RKWard is related to the absence of
>> the libkjs in the fink build of the frontend. I noticed the following on
>> the RKWard web site…
>>
>>
>> http://rkward.sourceforge.net/wiki/General_FAQ#Why_is_ECMAScript_.28Javascript.29_used_for_the_plugin_framework.3F
>>
>> It is still unclear why the fink build against our kde packages doesn't
>> pick up that linkage.
>> Jack
>>
>>
>>
>> On Sat, Jun 14, 2014 at 1:15 PM, Jack Howarth <howarth.at.f...@gmail.com>
>> wrote:
>>
>>> Hanspeter,
>>> Perhaps this is related to the plugin issue. We seem to be picking
>>> up less linkages on fink than on MacPorts. They have…
>>>
>>> % otool -L
>>> /opt/local/bin/rkward.frontend.app/Contents/MacOS/rkward.frontend
>>> /opt/local/bin/rkward.frontend.app/Contents/MacOS/rkward.frontend:
>>> /opt/local/lib/libkdecore.5.dylib (compatibility version 5.0.0, current
>>> version 5.12.5)
>>> /opt/local/lib/libktexteditor.4.dylib (compatibility version 4.0.0,
>>> current version 4.12.5)
>>> /opt/local/lib/libkhtml.5.dylib (compatibility version 5.0.0, current
>>> version 5.12.5)
>>> /opt/local/lib/libkfile.4.dylib (compatibility version 4.0.0, current
>>> version 4.12.5)
>>> /opt/local/lib/libkdeui.5.dylib (compatibility version 5.0.0, current
>>> version 5.12.5)
>>> /opt/local/lib/libkrosscore.4.dylib (compatibility version 4.0.0,
>>> current version 4.12.5)
>>> /opt/local/Library/Frameworks/QtScript.framework/Versions/4/QtScript
>>> (compatibility version 4.8.0, current version 4.8.6)
>>> /opt/local/Library/Frameworks/QtNetwork.framework/Versions/4/QtNetwork
>>> (compatibility version 4.8.0, current version 4.8.6)
>>> /opt/local/lib/libphonon.4.dylib (compatibility version 4.4.0, current
>>> version 4.7.1)
>>> /opt/local/lib/libkjs.4.dylib (compatibility version 4.0.0, current
>>> version 4.12.5)
>>> /opt/local/lib/libkparts.4.dylib (compatibility version 4.0.0, current
>>> version 4.12.5)
>>> /opt/local/lib/libkio.5.dylib (compatibility version 5.0.0, current
>>> version 5.12.5)
>>> /opt/local/lib/libnepomukutils.4.dylib (compatibility version 4.0.0,
>>> current version 4.12.5)
>>> /opt/local/lib/libnepomuk.4.dylib (compatibility version 4.0.0,
>>> current version 4.12.5)
>>> /opt/local/lib/libsoprano.4.dylib (compatibility version 4.0.0, current
>>> version 4.3.0)
>>> /opt/local/Library/Frameworks/QtDBus.framework/Versions/4/QtDBus
>>> (compatibility version 4.8.0, current version 4.8.6)
>>> /opt/local/Library/Frameworks/QtCore.framework/Versions/4/QtCore
>>> (compatibility version 4.8.0, current version 4.8.6)
>>> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
>>> (compatibility version 2.0.0, current version 153.0.0)
>>> /opt/local/Library/Frameworks/QtGui.framework/Versions/4/QtGui
>>> (compatibility version 4.8.0, current version 4.8.6)
>>> /opt/local/Library/Frameworks/QtSvg.framework/Versions/4/QtSvg
>>> (compatibility version 4.8.0, current version 4.8.6)
>>> /opt/local/Library/Frameworks/QtXml.framework/Versions/4/QtXml
>>> (compatibility version 4.8.0, current version 4.8.6)
>>> /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current
>>> version 52.0.0)
>>> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
>>> 159.1.0)
>>>
>>> whereas we have
>>>
>>> % otool -L
>>> /sw/opt/kde4/mac/bin/rkward.frontend.app/Contents/MacOS/rkward.frontend
>>> /sw/opt/kde4/mac/bin/rkward.frontend.app/Contents/MacOS/rkward.frontend:
>>> /sw/opt/kde4/mac/lib/libkdecore.5.dylib (compatibility version 5.0.0,
>>> current version 5.13.1)
>>> /sw/opt/kde4/mac/lib/libktexteditor.4.dylib (compatibility version
>>> 4.0.0, current version 4.13.1)
>>> /sw/opt/kde4/mac/lib/libkhtml.5.dylib (compatibility version 5.0.0,
>>> current version 5.13.1)
>>> /sw/opt/kde4/mac/lib/libkfile.4.dylib (compatibility version 4.0.0,
>>> current version 4.13.1)
>>> /sw/opt/kde4/mac/lib/libkdeui.5.dylib (compatibility version 5.0.0,
>>> current version 5.13.1)
>>> /sw/opt/kde4/mac/lib/libkrosscore.4.dylib (compatibility version 4.0.0,
>>> current version 4.13.1)
>>> /sw/lib/qt4-mac/lib/QtScript.framework/Versions/4/QtScript
>>> (compatibility version 4.8.0, current version 4.8.6)
>>> /sw/lib/qt4-mac/lib/QtNetwork.framework/Versions/4/QtNetwork
>>> (compatibility version 4.8.0, current version 4.8.6)
>>> /sw/opt/kde4/mac/lib/libkparts.4.dylib (compatibility version 4.0.0,
>>> current version 4.13.1)
>>> /sw/opt/kde4/mac/lib/libkio.5.dylib (compatibility version 5.0.0,
>>> current version 5.13.1)
>>> /sw/lib/qt4-mac/lib/QtCore.framework/Versions/4/QtCore (compatibility
>>> version 4.8.0, current version 4.8.6)
>>> /sw/lib/qt4-mac/lib/QtGui.framework/Versions/4/QtGui (compatibility
>>> version 4.8.0, current version 4.8.6)
>>> /sw/lib/qt4-mac/lib/QtXml.framework/Versions/4/QtXml (compatibility
>>> version 4.8.0, current version 4.8.6)
>>> /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version
>>> 52.0.0)
>>> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
>>> version 159.1.0)
>>>
>>> in fink.
>>> Jack
>>>
>>>
>>>
>>>
>>> On Sat, Jun 14, 2014 at 1:04 PM, Jack Howarth <howarth.at.f...@gmail.com
>>> > wrote:
>>>
>>>> Hanspeter,
>>>> Thanks. So this just leaves the oddity of the error dialog…
>>>>
>>>> The following RKWard pluginmap files could not be loaded, and have been
>>>> disabled. This could be because they are broken, not compatible with this
>>>> version of RKWard, or not meant for direct loading (see the 'Details' for
>>>> more information). They have been disabled.
>>>>
>>>> - /sw/opt/kde4/mac/share/apps/rkward/all.pluginmap
>>>>
>>>> I checked again with the MacPorts RKWard.app and it doesn't produce
>>>> this error,. They have an identical file for rkward/all.pluginmap and the
>>>> same permissions. So I assume we are missing one last dependency. Is there
>>>> a component in kde which handles plugin support that we need to install?
>>>> Jack
>>>>
>>>>
>>>> On Sat, Jun 14, 2014 at 12:42 PM, Hanspeter Niederstrasser <
>>>> f...@snaggledworks.com> wrote:
>>>>
>>>>> I purged my KDE installs, then reinstalled rkward, which brought in
>>>>>
>>>>> kactivities6-mac-shlibs kate4-mac kate4-mac-data katepart4-mac
>>>>> kdebase4-runtime-mac kdelibs4-mac
>>>>> kdelibs4-mac-shlibs kdepimlibs4-mac kdepimlibs4-mac-shlibs
>>>>> libkateinterfaces4-mac-shlibs libkexiv2.11-mac-shlibs
>>>>> libkholidays4-mac-shlibs libknotifyplugin4-mac-shlibs
>>>>> libnepomuk4-mac-shlibs libokularcore4-mac-shlibs
>>>>> libprison0-mac-shlibs libqmobipocket1-mac-shlibs okular4-mac
>>>>> oxygen-icons-mac qimageblitz-unified-mac-shlibs
>>>>>
>>>>> Then I got your katepart failure dialog i RKWard. Then I installed
>>>>> libkatepartinterfaces4-mac-shlibs and now RKward launched. So it
>>>>> seems to be using dlopen to get the library, rather than linking to it.
>>>>> Either way, and explicit Depends will be needed there.
>>>>>
>>>>> Hanspeter
>>>>>
>>>>>
>>>>
>>>
>>
>
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel