From owner-freebsd-ports@FreeBSD.ORG Wed Feb 27 18:10:38 2013 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A027AC12; Wed, 27 Feb 2013 18:10:38 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id 591EB33F; Wed, 27 Feb 2013 18:10:37 +0000 (UTC) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.14.6/8.14.6/NETPLEX) with ESMTP id r1RIAb8f042488; Wed, 27 Feb 2013 13:10:37 -0500 X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.4.1 (mail.netplex.net [204.213.176.10]); Wed, 27 Feb 2013 13:10:37 -0500 (EST) Date: Wed, 27 Feb 2013 13:10:37 -0500 (EST) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Chris Rees Subject: Re: graphics/graphviz broken on -current, hangs indefinitely on install In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Dirk Meyer , ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Daniel Eischen List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2013 18:10:38 -0000 On Wed, 27 Feb 2013, Chris Rees wrote: > On 27 Feb 2013 17:48, "Daniel Eischen" 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