mypaint
Jan Beich
jbeich at vfemail.net
Mon Jan 12 18:17:18 UTC 2015
Vitaly Magerya <vmagerya at gmail.com> writes:
>> It works but application doesn't start:
>>
>> We are not correctly installed or compiled!
>> script: "/usr/local/bin/mypaint"
>> deduced prefix: "/usr/local"
>> lib_shared: "/usr/local/share/mypaint/"
>> lib_compiled: "/usr/local/lib/mypaint/"
>>
>> Traceback (most recent call last):
>> File "/usr/local/bin/mypaint", line 170, in <module>
>> datapath, extradata, confpath, localepath, localepath_brushlib =
>> get_paths()
>> File "/usr/local/bin/mypaint", line 111, in get_paths
>> from lib import mypaintlib
>> File "/usr/local/share/mypaint/lib/mypaintlib.py", line 25, in <module>
>> _mypaintlib = swig_import_helper()
>> File "/usr/local/share/mypaint/lib/mypaintlib.py", line 17, in
>> swig_import_helper
>> import _mypaintlib
>> ImportError: /usr/local/lib/mypaint/_mypaintlib.so: Undefined symbol
>> "_ZN10BufferCompIL20BufferCompOutputType1ELj16384E12HueBlendModeE9blendfuncE"
>
> Yeah, I'm actually getting the same error myself now. There's even a
> bug report about this problem (PR 193429; bugzilla is down at the
> moment though).
Or maybe https://gna.org/bugs/index.php?21981
>
> I'm currently updating my ports to see if the problem remains with the
> latest everything... (this will take a day or two on my hardware).
I think the following are relevant patches from bugzilla.
Index: Mk/Uses/scons.mk
===================================================================
--- Mk/Uses/scons.mk (revision 376385)
+++ Mk/Uses/scons.mk (working copy)
@@ -17,6 +17,8 @@ IGNORE= Incorrect 'USES+= scons:${scons_ARGS}' sco
MAKEFILE= #
MAKE_FLAGS= #
ALL_TARGET= #
+CCFLAGS?= ${CFLAGS}
+LINKFLAGS?= ${LDFLAGS}
LIBPATH?= ${LOCALBASE}/lib
CPPPATH?= ${LOCALBASE}/include
SCONS= ${LOCALBASE}/bin/scons
Index: graphics/mypaint/Makefile
===================================================================
--- graphics/mypaint/Makefile (revision 376385)
+++ graphics/mypaint/Makefile (working copy)
@@ -22,7 +22,7 @@ BUILD_DEPENDS:= ${RUN_DEPENDS} \
USE_GNOME= glib20 pygtk2
MAKE_ARGS= prefix="${PREFIX}"
-USES= gettext pkgconfig scons tar:bzip2 python
+USES= compiler:gcc-c++11-lib gettext pkgconfig scons tar:bzip2 python
INSTALLS_ICONS= yes
SUB_FILES= pkg-install
-------------------------------------------------
VFEmail.net - http://www.vfemail.net
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!
More information about the freebsd-ports
mailing list