From owner-freebsd-ports@FreeBSD.ORG Sun Feb 10 10:57:50 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 35DF68DA for ; Sun, 10 Feb 2013 10:57:50 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from amailer.gwdg.de (amailer.gwdg.de [134.76.10.18]) by mx1.freebsd.org (Postfix) with ESMTP id C7E5462A for ; Sun, 10 Feb 2013 10:57:49 +0000 (UTC) Received: from p508c7639.dip.t-dialin.net ([80.140.118.57] helo=krabat.raven.hur) by mailer.gwdg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1U4UF5-0007Fg-5Z; Sun, 10 Feb 2013 11:34:39 +0100 Message-ID: <511777BC.7080604@gwdg.de> Date: Sun, 10 Feb 2013 11:34:36 +0100 From: Rainer Hurling User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130129 Thunderbird/17.0.2 MIME-Version: 1.0 To: David Demelier Subject: Re: graphics/graphviz does not install References: <5109536E.7060405@gwdg.de> <5109609D.8080305@gwdg.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Authenticated: Id:rhurlin X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2013 10:57:50 -0000 On 10.02.2013 11:16 (UTC+2), David Demelier wrote: > I had the same problem, please commit it :) As far as I understand, this is included in revision 311936 (lines 88 and 402-406), see http://svnweb.freebsd.org/ports/head/graphics/graphviz/Makefile?r1=311936&r2=311935&pathrev=311936 > 2013/1/30 Rainer Hurling > >> On 30.01.2013 18:07 (UTC+2), Rainer Hurling wrote: >>> When I try to install graphics/graphviz from ports I get this error on >>> recent 10.0-CURRENT (amd64; clang): >>> >>> gmake[4]: Entering directory >>> `/usr/ports/graphics/graphviz/work/graphviz-2.30.0/cmd/dot' >>> /usr/local/bin/gmkdir -p '/usr/local/bin' >>> /bin/sh /usr/local/bin/libtool --mode=install install -s -o root -g >>> wheel -m 555 dot dot_builtins '/usr/local/bin' >>> libtool: install: install -o root -g wheel -m 555 -s .libs/dot >>> /usr/local/bin/dot >>> libtool: install: install -o root -g wheel -m 555 -s .libs/dot_builtins >>> /usr/local/bin/dot_builtins >>> gmake install-exec-hook >>> gmake[5]: Entering directory >>> `/usr/ports/graphics/graphviz/work/graphviz-2.30.0/cmd/dot' >>> (cd /usr/local/bin; if test -x dot; then for i in neato twopi fdp circo >>> osage patchwork sfdp; do rm -f $i; ln -s dot $i; done; fi;) >>> if test "x" = "x"; then if test -x /usr/local/bin/dot; then if test -x >>> /sbin/ldconfig; then /sbin/ldconfig 2>/dev/null; fi; /usr/local/bin/dot >>> -c; else /usr/local/bin/dot_static -c; fi; fi >>> Unable to find pthread_mutexattr_setkind_np versioned symbol. Aborting. >>> gmake[5]: *** [install-exec-hook] Abort trap (Speicherauszug erstellt) >>> gmake[5]: Leaving directory >>> `/usr/ports/graphics/graphviz/work/graphviz-2.30.0/cmd/dot' >>> gmake[4]: *** [install-exec-am] Fehler 2 >>> gmake[4]: Leaving directory >>> `/usr/ports/graphics/graphviz/work/graphviz-2.30.0/cmd/dot' >>> gmake[3]: *** [install-am] Fehler 2 >>> gmake[3]: Leaving directory >>> `/usr/ports/graphics/graphviz/work/graphviz-2.30.0/cmd/dot' >>> gmake[2]: *** [install-recursive] Fehler 1 >>> gmake[2]: Leaving directory >>> `/usr/ports/graphics/graphviz/work/graphviz-2.30.0/cmd' >>> gmake[1]: *** [install-recursive] Fehler 1 >>> gmake[1]: Leaving directory >>> `/usr/ports/graphics/graphviz/work/graphviz-2.30.0' >>> gmake: *** [install] Fehler 2 >>> >>> >>> It differs from http://forums.freebsd.org/showthread.php?t=36708 >>> (pthread_mutexattr instead of pthread_create), so option PTH in >>> lang/python27 does not help. >>> >>> Is this a known issue? Please let me know, if I should provide more >> details. >> >> I just realized PR 171949. At the end, there is a small patch of the >> ports Makefile, which works for me (thanks to Vladimir Timofeev): >> >> >> --- Makefile.orig 2013-01-27 19:20:48.000000000 +0100 >> +++ Makefile 2013-01-30 18:51:05.000000000 +0100 >> @@ -104,7 +104,7 @@ >> --disable-io --disable-ocaml --disable-java \ >> --disable-sharp >> >> -CONFIGURE_ENV+= MISSING=${TRUE} >> +CONFIGURE_ENV+= MISSING=${TRUE} LIBS=${PTHREAD_LIBS} >> >> .if ${PORT_OPTIONS:MTK} >> CPPFLAGS+= -I${TK_INCLUDEDIR} >> >> >> Sorry for answering myself and for not trying this before I posted my >> first mail. >> >> Rainer Hurling