graphics/graphviz does not install
Rainer Hurling
rhurlin at gwdg.de
Wed Jan 30 18:04:15 UTC 2013
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
More information about the freebsd-ports
mailing list