From owner-freebsd-current@FreeBSD.ORG  Thu Oct 30 04:00:59 2014
Return-Path: <owner-freebsd-current@FreeBSD.ORG>
Delivered-To: current@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id B2B0744D;
 Thu, 30 Oct 2014 04:00:59 +0000 (UTC)
Received: from gw.catspoiler.org (cl-1657.chi-02.us.sixxs.net
 [IPv6:2001:4978:f:678::2])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 477FD8EF;
 Thu, 30 Oct 2014 04:00:59 +0000 (UTC)
Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2])
 by gw.catspoiler.org (8.13.3/8.13.3) with ESMTP id s9U40meC028718;
 Wed, 29 Oct 2014 20:00:52 -0800 (PST)
 (envelope-from truckman@FreeBSD.org)
Message-Id: <201410300400.s9U40meC028718@gw.catspoiler.org>
Date: Wed, 29 Oct 2014 21:00:48 -0700 (PDT)
From: Don Lewis <truckman@FreeBSD.org>
Subject: Re: pkg 1.4 freeze please test test test!
To: bapt@FreeBSD.org
In-Reply-To: <20141029201800.GH11033@ivaldir.etoilebsd.net>
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Cc: ports@FreeBSD.org, current@FreeBSD.org
X-BeenThere: freebsd-current@freebsd.org
X-Mailman-Version: 2.1.18-1
Precedence: list
List-Id: Discussions about the use of FreeBSD-current
 <freebsd-current.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current/>
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>,
 <mailto:freebsd-current-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 30 Oct 2014 04:00:59 -0000

On 29 Oct, Baptiste Daroussin wrote:
> On Wed, Oct 29, 2014 at 01:15:16PM -0700, Don Lewis wrote:
>> On 28 Oct, Don Lewis wrote:
>> > On 29 Oct, Baptiste Daroussin wrote:
>> >> Hi all,
>> >> 
>> >> We are starting the release process of pkg 1.4, we want to have a better release
>> >> process than with every single previous version of pkg. For that we will need
>> >> you help!
>> >> 
>> >> pkg-devel has been updated to the latest version of pkg as of alpha2.
>> >> 
>> >> Changes you can expect in pkg 1.4 are the following:
>> >> - Loads of bug fixes
>> > 
>> > I kind of doubt that I'll have time to test it, but I've stumbled across
>> > an interesting test case for package building with pkg-1.3.8_3.
>> > 
>> > When I tried to build a multimedia/2mandvd package with
>> > poudriere (either bulk or testport) in a FreeBSD 10 amd64 host and jail,
>> > pkg-static segfaults.  Portsmon also sees this failure, which also
>> > seems to be affecting head/amd64 as well:
>> > <http://portsmon.freebsd.org/portoverview.py?category=multimedia&portname=2mandvd&wildcard=>
>> > 
>> > If I run poudriere jail -i to keep the jail around, I don't see any
>> > leftover core files, I'm guessing because pkg-static's cwd is in the r/o
>> > /usr/ports tree.  If I then cd /usr/ports/multimedia/2mandvd in the
>> > jail and run:
>> > 	make clean
>> > 	make stage
>> > 	make package
>> > pkg-static doesn't segfault, but it never exits either.  I left it
>> > running for a couple of days and it was still stuck at 100% CPU.  If
>> > I truss -p the process, I don't get any output, which means it's not
>> > doing any syscalls.
>> 
>> 
>> I found some time to test this version.  I added WITH_PKG=devel to the
>> make.conf file for the poudriere jail and ran:
>> 
>> 	poudriere testport -j 101STABLEamd64 -o multimedia/2mandvd
> 
> Ah crap this 2mandvd again.....
> 
> Ok I'll track it down, thanks

Seems to work fine on 8.4, both i386 and amd64, so it appears to be
sensitive to something in base.

> 2mandvd is a nightmare for me :)

Back when I was still using portupgrade to build packages, I didn't have
trouble building the package, but portupgrade would fail during the
deinstall phase for 2mandvd.  I think it was complaining about non-ASCII
characters in the plist, but I don't know where the error was coming
from.  I didn't have trouble manually doing the deinstall with pkg
delete, and then I could run portupgrade -Np.  I didn't think of trying
pkg-static to see if it behaved differently.