From owner-freebsd-bugs@FreeBSD.ORG Thu Feb 6 03:10:02 2014 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4D6C2B04 for ; Thu, 6 Feb 2014 03:10:02 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 058BA1BD6 for ; Thu, 6 Feb 2014 03:10:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s163A1la003639 for ; Thu, 6 Feb 2014 03:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s163A1nG003638; Thu, 6 Feb 2014 03:10:01 GMT (envelope-from gnats) Resent-Date: Thu, 6 Feb 2014 03:10:01 GMT Resent-Message-Id: <201402060310.s163A1nG003638@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Chris Ashlee Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DF4A3AA0 for ; Thu, 6 Feb 2014 03:07:42 +0000 (UTC) Received: from oldred.freebsd.org (oldred.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CBBEC1BA6 for ; Thu, 6 Feb 2014 03:07:42 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id s1637gkO035707 for ; Thu, 6 Feb 2014 03:07:42 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id s1637gcq035706; Thu, 6 Feb 2014 03:07:42 GMT (envelope-from nobody) Message-Id: <201402060307.s1637gcq035706@oldred.freebsd.org> Date: Thu, 6 Feb 2014 03:07:42 GMT From: Chris Ashlee To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: misc/186503: "make install package" segfaults X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Feb 2014 03:10:02 -0000 >Number: 186503 >Category: misc >Synopsis: "make install package" segfaults >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 06 03:10:01 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Chris Ashlee >Release: 10.0-RELEASE >Organization: >Environment: FreeBSD skoda.gv.shawcable.net 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: If the environment variable BATCH is set to "yes", then doing "make install package" for any port I've tried causes a segfault after the install step, when it tries to build the package. Note that it ONLY happens with the command "make install package", not "make package" by itself or "make install", and it only happens when the BATCH variable is set. I have the most recent pkg installed: pkg-1.2.6. >How-To-Repeat: Find a port that isn't installed. This one worked for me. cd /usr/ports/graphics/aalib make install package gives the output, after it's compiled: ===> Installing for aalib-1.4.r5_6 ===> Checking if graphics/aalib already installed ===> Registering installation for aalib-1.4.r5_6 Installing aalib-1.4.r5_6... done ===> Building package for aalib-1.4.r5_6 Segmentation fault *** Error code 1 Stop. make: stopped in /usr/ports/graphics/aalib Exit 1 >Fix: >Release-Note: >Audit-Trail: >Unformatted: