View Issue Details

IDProjectCategoryView StatusLast Update
0009549ScribusBuild Systempublic2011-02-16 20:08
Reportermalex Assigned Tomalex  
PriorityhighSeverityblockReproducibilityalways
Status closedResolutionfixed 
PlatformanyOSLinuxOS Version2.6
Product Version1.4.0svn 
Target Version1.4.0Fixed in Version1.4.0svn 
Summary0009549: Two plugins do not honor RPATH cmake var
Description/usr/lib/scribus-ng/plugins/libmeshdistortion.so
and
/usr/lib/scribus-ng/plugins/libpathalongpath.so

define rpath even when Scribus is built with -DWANT_NORPATH:BOOL=1. This precludes bulding of proper Debian packages and so the release of 1.3.9 debs. I'm looking into it, but wouldn't mind help.

E: scribus-ng: binary-or-shlib-defines-rpath ./usr/lib/scribus-ng/plugins/libmeshdistortion.so /usr/lib/libxml2.so
E: scribus-ng: binary-or-shlib-defines-rpath ./usr/lib/scribus-ng/plugins/libmeshdistortion.so /usr/lib/libQtGui.so
E: scribus-ng: binary-or-shlib-defines-rpath ./usr/lib/scribus-ng/plugins/libmeshdistortion.so /usr/lib/libQtXml.so
E: scribus-ng: binary-or-shlib-defines-rpath ./usr/lib/scribus-ng/plugins/libmeshdistortion.so /usr/lib/libz.so
E: scribus-ng: binary-or-shlib-defines-rpath ./usr/lib/scribus-ng/plugins/libmeshdistortion.so /usr/lib/libQtCore.so
E: scribus-ng: binary-or-shlib-defines-rpath ./usr/lib/scribus-ng/plugins/libpathalongpath.so /usr/lib/libxml2.so
E: scribus-ng: binary-or-shlib-defines-rpath ./usr/lib/scribus-ng/plugins/libpathalongpath.so /usr/lib/libQtGui.so
E: scribus-ng: binary-or-shlib-defines-rpath ./usr/lib/scribus-ng/plugins/libpathalongpath.so /usr/lib/libQtXml.so
E: scribus-ng: binary-or-shlib-defines-rpath ./usr/lib/scribus-ng/plugins/libpathalongpath.so /usr/lib/libz.so
E: scribus-ng: binary-or-shlib-defines-rpath ./usr/lib/scribus-ng/plugins/libpathalongpath.so /usr/lib/libQtCore.so
TagsNo tags attached.
Patch

Activities

malex

2010-12-02 04:53

administrator   ~0024958

Both of those are in scribus/plugins/tools/2geomtools. They seem to be the only libraries beside the scriptplugin that look for Boost.

cbradney

2010-12-02 19:49

administrator   ~0024962

malex, are you setting WANT_NORPATH or WANT_DISTROBUILD?

malex

2010-12-03 05:45

administrator   ~0024969

Both. Here is my cmake script

        cd $(BUILD_DIR) && $(CMAKE) \
            -DWANT_DEBUG:STRING=$(DEBUG_FLAG) \
            -DWANT_LIB32:BOOL=1 \
            -DWANT_CAIRO:BOOL=1 \
            -DCMAKE_INSTALL_PREFIX:PATH=/usr \
            -DWANT_NORPATH:BOOL=1 \
            -DWANT_DISTROBUILD:BOOL=1 \
            -DRPATH_STYLE:STRING=none \
            -DWANT_VERSIONING:BOOL=1 \
            -DCUSTOM_VERSIONTAG:STRING=-ng \
            -DCMAKE_CXX_FLAGS:STRING='$(OPT_FLAG)' \
            -DCMAKE_C_FLAGS:STRING='$(OPT_FLAG)' ../../

malex

2011-02-16 20:08

administrator   ~0025609

See my commits.

Issue History

Date Modified Username Field Change
2010-12-02 04:39 malex New Issue
2010-12-02 04:42 malex Description Updated
2010-12-02 04:53 malex Note Added: 0024958
2010-12-02 19:49 cbradney Note Added: 0024962
2010-12-03 05:45 malex Note Added: 0024969
2011-02-11 00:06 malex Priority normal => high
2011-02-11 00:06 malex Platform i386 => any
2011-02-11 00:06 malex Product Version 1.3.9 => 1.4.0svn
2011-02-11 00:06 malex Target Version 1.3.9 => 1.4.0
2011-02-16 20:08 malex Note Added: 0025609
2011-02-16 20:08 malex Status new => closed
2011-02-16 20:08 malex Assigned To => malex
2011-02-16 20:08 malex Resolution open => fixed
2011-02-16 20:08 malex Fixed in Version => 1.4.0svn