Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2013 13:10:37 -0500 (EST)
From:      Daniel Eischen <deischen@freebsd.org>
To:        Chris Rees <utisoft@gmail.com>
Cc:        Dirk Meyer <dinoex@freebsd.org>, ports@freebsd.org
Subject:   Re: graphics/graphviz broken on -current, hangs indefinitely on install
Message-ID:  <Pine.GSO.4.64.1302271258280.22378@sea.ntplx.net>
In-Reply-To: <CADLo83_qbqh8PYxkoZABO2_0KpnmKfVGq4LHpZJm=bGRh9dQJw@mail.gmail.com>
References:  <Pine.GSO.4.64.1302271240250.22320@sea.ntplx.net> <CADLo83_qbqh8PYxkoZABO2_0KpnmKfVGq4LHpZJm=bGRh9dQJw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 27 Feb 2013, Chris Rees wrote:

> On 27 Feb 2013 17:48, "Daniel Eischen" <deischen@freebsd.org> wrote:
>>
>> I have to mark graphics/graphviz BROKEN on -current in order to
>> get portupgrade to bypass the upgrade of graphviz because it
>> hangs forever on install:
>>
>> Making install in dot
>> gmake[3]: Entering directory
> `/opt/FreeBSD/current/ports/graphics/graphviz/work/graphviz-2.30.1/cmd/dot'
>> gmake[4]: Entering directory
> `/opt/FreeBSD/current/ports/graphics/graphviz/work/graphviz-2.30.1/cmd/dot'
>>  ../../config/install-sh -c -d '/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
> `/opt/FreeBSD/current/ports/graphics/graphviz/work/graphviz-2.30.1/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
>>
>> And there it hangs.
>>
>> # ls -l /usr/local/bin/dot
>> -r-xr-xr-x  1 root  wheel  8480 Feb 27 12:33 /usr/local/bin/dot
>>
>> # dot -v
>> Error: /usr/local/lib/graphviz/config6 is zero sized, or other read error.
>> dot - graphviz version 2.30.1 (20130227.1730)
>> libdir = "/usr/local/lib/graphviz"
>> Error: /usr/local/lib/graphviz/config6 is zero sized, or other read error.
>> There is no layout engine support for "dot"
>> Perhaps "dot -c" needs to be run (with installer's privileges) to
> register the plugins?
>>
>> # rm /usr/local/lib/graphviz/config6
>>
>> # /usr/local/bin/dot -c
>> [ hangs ]
>>
>> #  uname -a
>> FreeBSD rigel 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r247154: Fri Feb 22
> 14:59:28 EST 2013 deischen@rigel:/usr/obj/opt/FreeBSD/current/src/sys/rigel
> amd64
>>
>> # cat /etc/make.conf
>> BATCH=yes
>> WITH_NEW_XORG=true
>> WITH_KMS=true
>> WITH_PKGNG=yes
>> # added by use.perl 2012-11-10 23:33:24
>> PERL_VERSION=5.14.2
>
> Did you try deinstalling first?  Are your world and kernel exactly in sync?

Yes, yes, and yes :-)  I did make deinstall, make clean, make, and
make install as root in that order.

Here's a ktrace of 'sudo ktrace dot -c':

   http://freefall.freebsd.org/~deischen/graphviz/dot.ktrace

It seems to hang on a _umtx_op() right after getting the
kern.usrstack sysctl.

I'm using the default CC (Clang) but it also seems to be
looking for libgcc_s.so.1.

-- 
DE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.1302271258280.22378>