From owner-freebsd-python@freebsd.org Thu Sep 10 05:23:21 2015 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C3D1CA01E6E for ; Thu, 10 Sep 2015 05:23:21 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id A141910CC for ; Thu, 10 Sep 2015 05:23:21 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 9E05CA01E6A; Thu, 10 Sep 2015 05:23:21 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 84335A01E69 for ; Thu, 10 Sep 2015 05:23:21 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pa0-x229.google.com (mail-pa0-x229.google.com [IPv6:2607:f8b0:400e:c03::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5568410CB for ; Thu, 10 Sep 2015 05:23:21 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by pacfv12 with SMTP id fv12so32519594pac.2 for ; Wed, 09 Sep 2015 22:23:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:reply-to:subject:references:to:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=Ed/xOzPcNWGXpDCarlq04g6JCN2iaav5DoNaRwmF1eQ=; b=f3DOmwUviEFtPa7SDYdbwAEX/NVKwlnD12ihD1wkPpwrI7h2rpi4fM/kQ82NWldoDm eqyhcCp4aXsc07rGRUiM8oCx0emqWgNEsqejwuLpYn8LXndaVidQ8ui1SSPXXatO2IXP dHFB04og+iU1gOslt7YaIphJDyvGrtRKurvB6NUavfiC8ASLFi8rMS2mY1I+awKtokDF a1s15rI8Wr0om54X0Wdh/sp456m45h/35BXkjXjHIakvfCGhtgngIJYq4xqaOHJt7wwd 2b4LtlPJJQarxy6oto+4AdAvxK8/Z0MMwuZKixP1nSRYyc2hWRbBedmqMjtyv+xMNT09 ULqg== X-Received: by 10.68.109.34 with SMTP id hp2mr78152465pbb.52.1441862600732; Wed, 09 Sep 2015 22:23:20 -0700 (PDT) Received: from [192.168.1.100] (ppp59-167-128-11.static.internode.on.net. [59.167.128.11]) by smtp.gmail.com with ESMTPSA id ej3sm9352180pbd.13.2015.09.09.22.23.17 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Sep 2015 22:23:20 -0700 (PDT) Sender: Kubilay Kocak Reply-To: koobs@FreeBSD.org Subject: Re: segfault during configure, lang/python27 on armv6 References: <20150910041628.GA6378@chilled.skew.org> To: Mike Brown , python@freebsd.org From: Kubilay Kocak X-Enigmail-Draft-Status: N1110 Message-ID: <55F113BF.1030603@FreeBSD.org> Date: Thu, 10 Sep 2015 15:23:11 +1000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Thunderbird/40.0 MIME-Version: 1.0 In-Reply-To: <20150910041628.GA6378@chilled.skew.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2015 05:23:22 -0000 On 10/09/2015 2:16 PM, Mike Brown wrote: > I am trying to get Python installed from the ports collection on my BeagleBone > Black, but got a segmentation fault during the 'configure' phase of the build. > > > [...] > checking for setitimer... yes > checking for getitimer... yes > checking for bind_textdomain_codeset... yes > checking for chown... (cached) yes > checking for clock... (cached) yes > Segmentation fault (core dumped) > ===> Script "configure" failed unexpectedly. > Please report the problem to python@FreeBSD.org [maintainer] and attach the > "/usr/ports/lang/python27/work/Python-2.7.10/config.log" including the output > of the failure of your make command. Also, it might be a good idea to provide > an overview of all packages installed on your system (e.g. a > /usr/local/sbin/pkg-static info -g -Ea). > *** Error code 1 > Stop. > > > The OS is the snapshot FreeBSD-10.2-STABLE-arm-armv6-BEAGLEBONE-20150903-r287435 > from ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/arm/armv6/ISO-IMAGES/10.2/ > > package list: http://pastebin.com/raw.php?i=SJExBxru > config.log: http://pastebin.com/raw.php?i=M7ERWKx1 > > It was /bin/sh that dumped core in the work/Python-2.7.10 directory. Nothing > in the gdb backtrace, just #0 0x00000000 in ?? (). > > > Anything I should do before trying again? A few things that may help to isolate: * With LIBFFI option on and off (off uses: bundled libffi, on: the libbfi port) * Build with DEBUG option enabled * See if issue is reproducible with other Python ports (lang/python{33,34,35}) * Update to latest 10.2-STABLE * Update to latest 10-STABLE Having said that, I don't like that it's dying @ configure, which may indicate an autotools/armv6 issue. Having said that though I'd have expected more reports if it were that widespread. Let us know how you go. ./koobs