Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Feb 2013 11:34:36 +0100
From:      Rainer Hurling <rhurlin@gwdg.de>
To:        David Demelier <demelier.david@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: graphics/graphviz does not install
Message-ID:  <511777BC.7080604@gwdg.de>
In-Reply-To: <CAO%2BPfDexed=t=WpmvpOhCc-sfQrANW=yJ%2BnQUer6vNHa4vo%2B7g@mail.gmail.com>
References:  <5109536E.7060405@gwdg.de> <5109609D.8080305@gwdg.de> <CAO%2BPfDexed=t=WpmvpOhCc-sfQrANW=yJ%2BnQUer6vNHa4vo%2B7g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <rhurlin@gwdg.de>
> 
>> 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?511777BC.7080604>