From owner-freebsd-ports@FreeBSD.ORG Wed Feb 27 18:23:14 2013 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 63A155D5; Wed, 27 Feb 2013 18:23:14 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-ie0-x234.google.com (mail-ie0-x234.google.com [IPv6:2607:f8b0:4001:c03::234]) by mx1.freebsd.org (Postfix) with ESMTP id 252E1643; Wed, 27 Feb 2013 18:23:14 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id bn7so974193ieb.39 for ; Wed, 27 Feb 2013 10:23:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=Udv7aoPaofMtHnB3BECb0zLOKABEk16iYDhTIP9u06Y=; b=gLSJfkKbUyz7VTnhlZUCs4H6Pp38K6ZhJE7j3Hwfc99XEUWXswvjIg8FhajKvwFJXP ESpcouKnHOkhZjmvbALpUVbNCwjksEB6GzPYWZjYT7hxFjJPNydM16r4mTahPdVxLUIa Z8fbmK3Zdk/96O+u6rYOBJe3f/nWsqwJ68J/UP4AfAFk+gqdt8Ld00456nbb33877AE6 olf4XSEj7SZmtOde9ocOzUBqa5k6L9mgFmBsm0Ay6YB4zIzwldvP+1mhKLXwfQ06l66Y ryXy/Pji4PDgq5fUSV5JGWMeOXe5o84rdOrkU1ldOHKjcQYid8Uu0ZUHoLrpQyXZBtvz jDEg== MIME-Version: 1.0 X-Received: by 10.42.92.72 with SMTP id s8mr1440943icm.0.1361989393805; Wed, 27 Feb 2013 10:23:13 -0800 (PST) Received: by 10.64.63.12 with HTTP; Wed, 27 Feb 2013 10:23:13 -0800 (PST) Received: by 10.64.63.12 with HTTP; Wed, 27 Feb 2013 10:23:13 -0800 (PST) In-Reply-To: References: Date: Wed, 27 Feb 2013 18:23:13 +0000 Message-ID: Subject: Re: graphics/graphviz broken on -current, hangs indefinitely on install From: Chris Rees To: Daniel Eischen Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Dirk Meyer , ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list 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:23:14 -0000 On 27 Feb 2013 18:10, "Daniel Eischen" wrote: > > 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. Perhaps this could be related. http://lists.freebsd.org/pipermail/freebsd-hackers/2009-December/030228.html I'm out of ideas now :) Chris