From owner-freebsd-ports@FreeBSD.ORG Mon Jan 12 18:17:18 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AAE5E731 for ; Mon, 12 Jan 2015 18:17:18 +0000 (UTC) Received: from vfemail.net (nine.vfemail.net [108.76.175.9]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 32753250 for ; Mon, 12 Jan 2015 18:17:17 +0000 (UTC) Received: (qmail 37691 invoked by uid 89); 12 Jan 2015 18:17:09 -0000 Received: from localhost (HELO freequeue.vfemail.net) (127.0.0.1) by localhost with (DHE-RSA-AES256-SHA encrypted) SMTP; 12 Jan 2015 18:17:09 -0000 Received: (qmail 37600 invoked by uid 89); 12 Jan 2015 18:16:52 -0000 Received: by simscan 1.3.1 ppid: 37594, pid: 37597, t: 0.0217s scanners:none Received: from unknown (HELO smtp102-2.vfemail.net) (172.16.100.62) by FreeQueue with SMTP; 12 Jan 2015 18:16:52 -0000 Received: (qmail 21658 invoked by uid 89); 12 Jan 2015 18:16:52 -0000 Received: by simscan 1.4.0 ppid: 21642, pid: 21653, t: 0.9437s scanners:none Received: from unknown (HELO nil) (amJlaWNoQHZmZW1haWwubmV0@172.16.100.27) by 172.16.100.62 with ESMTPA; 12 Jan 2015 18:16:51 -0000 From: Jan Beich To: Vitaly Magerya Subject: Re: mypaint References: <4332122.R2hTBFfxOS@lumiwa.farms.net> <54B2C8FB.2040601@gmail.com> <1799385.DexCJMgr9b@lumiwa.farms.net> <3335351.IokthlFiqL@lumiwa.farms.net> <54B3D3B8.9060309@gmail.com> Date: Mon, 12 Jan 2015 19:16:46 +0100 In-Reply-To: <54B3D3B8.9060309@gmail.com> (Vitaly Magerya's message of "Mon, 12 Jan 2015 16:01:28 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain Cc: lumiwa@gmail.com, FreeBSD Ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jan 2015 18:17:18 -0000 Vitaly Magerya 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 >> 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 >> _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!