Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 2015 19:16:46 +0100
From:      Jan Beich <jbeich@vfemail.net>
To:        Vitaly Magerya <vmagerya@gmail.com>
Cc:        lumiwa@gmail.com, FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: mypaint
Message-ID:  <d26j-hnjl-wny@vfemail.net>
In-Reply-To: <54B3D3B8.9060309@gmail.com> (Vitaly Magerya's message of "Mon, 12 Jan 2015 16:01:28 %2B0200")
References:  <4332122.R2hTBFfxOS@lumiwa.farms.net> <54B2C8FB.2040601@gmail.com> <1799385.DexCJMgr9b@lumiwa.farms.net> <3335351.IokthlFiqL@lumiwa.farms.net> <54B3D3B8.9060309@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Vitaly Magerya <vmagerya@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!  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d26j-hnjl-wny>