Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2013 19:04:13 +0100
From:      Rainer Hurling <rhurlin@gwdg.de>
To:        freebsd-ports@freebsd.org
Subject:   Re: graphics/graphviz does not install
Message-ID:  <5109609D.8080305@gwdg.de>
In-Reply-To: <5109536E.7060405@gwdg.de>
References:  <5109536E.7060405@gwdg.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5109609D.8080305>