From owner-freebsd-ports@FreeBSD.ORG Tue Dec 4 10:43:25 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C31A16A41B for ; Tue, 4 Dec 2007 10:43:25 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from mail.itu.dk (pluto.itu.dk [130.226.142.18]) by mx1.freebsd.org (Postfix) with ESMTP id 0D5A813C4EC for ; Tue, 4 Dec 2007 10:43:24 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from localhost (unknown [130.226.142.26]) by mail.itu.dk (Postfix) with ESMTP id E954432CFF4 for ; Tue, 4 Dec 2007 11:43:21 +0100 (CET) X-Virus-Scanned: amavisd-new at itu.dk Received: from superman.itu.dk ([130.226.142.5]) by localhost (daredevil.itu.dk [130.226.142.26]) (amavisd-new, port 10024) with ESMTP id 8asrn-i8mYG8 for ; Tue, 4 Dec 2007 11:43:19 +0100 (CET) Received: from [192.168.1.148] (stud1-15.itu.dk [130.226.140.15]) by superman.itu.dk (Postfix) with ESMTP id E805E9E68D for ; Tue, 4 Dec 2007 11:43:19 +0100 (CET) Message-ID: <47552FB2.90703@cederstrand.dk> Date: Tue, 04 Dec 2007 11:45:06 +0100 From: Erik Cederstrand User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: chroot: conftest stuck in umtxn state X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2007 10:43:25 -0000 Hi! I'm installing some ports into a chroot environment that will eventually go on a separate machine. When installing python25, the installation gets stuck in the configure phase when checking for pthread: # chroot /perfmon/slaves/src/packages/CURRENT-2007.11.27.13.29.20/ /bin/sh -c "cd /usr/ports/lang/python25; WRKDIRPREFIX=/tmp make BATCH=yes install clean; " [...] checking whether cc accepts -Olimit 1500... no checking whether pthreads are available without options... no checking whether cc accepts -Kpthread... no checking whether cc accepts -Kthread... no checking whether cc accepts -pthread... and then the installation freezes. top shows conftest is in umtx state: 1696 root 1 96 0 3200K 840K umtxn 0:00 0.00% conftest and is only killable with kill -9. /usr/ports in the chroot is nullfs-mounted, and ports options files have been pre-installed in the chroot's /var/db/ports The host: # uname -a FreeBSD perfmonserver.itu.dk 7.0-BETA4 FreeBSD 7.0-BETA4 #1: Mon Dec 3 16:15:35 CET 2007 root@perfmonserver.itu.dk:/usr/obj/usr/src/sys/PERFMONSERVER i386 The chroot contains CURRENT from various dates, in this case 2007.11.27.13.29.20. It is compiled with this src.conf (and no other config modifications): WITHOUT_ATM= true WITHOUT_AUDIT= true WITHOUT_AUTHPF= true WITHOUT_BIND= true WITHOUT_BLUETOOTH= true WITHOUT_CALENDAR= true WITHOUT_CDDL= true WITHOUT_CVS= true WITHOUT_DICT= true WITHOUT_EXAMPLES= true WITHOUT_FORTRAN= true WITHOUT_GAMES= true WITHOUT_GPIB= true WITHOUT_HTML= true WITHOUT_I4B= true WITHOUT_IPFILTER= true WITHOUT_IPX= true WITHOUT_LPR= true WITHOUT_MAN= true WITHOUT_PF= true WITHOUT_RESCUE= true WITHOUT_SENDMAIL= true WITHOUT_SHAREDOCS= true WITHOUT_USB= true If I try to install python25 on the host, this problem does not occur. Any debugging help would be greatly appreciated. Thanks, Erik