From owner-freebsd-ports@FreeBSD.ORG Wed Dec 11 17:07:06 2013 Return-Path: Delivered-To: freebsd-ports@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 5B51D677 for ; Wed, 11 Dec 2013 17:07:06 +0000 (UTC) Received: from mail.grem.de (outcast.grem.de [213.239.217.27]) by mx1.freebsd.org (Postfix) with SMTP id 9F3441FF4 for ; Wed, 11 Dec 2013 17:07:04 +0000 (UTC) Received: (qmail 50561 invoked by uid 89); 11 Dec 2013 16:59:36 -0000 Received: from unknown (HELO bsd64.grem.de) (mg@grem.de@194.97.158.66) by mail.grem.de with ESMTPA; 11 Dec 2013 16:59:36 -0000 Date: Wed, 11 Dec 2013 17:59:36 +0100 From: Michael Gmelin To: Paul Schmehl Subject: Re: STAGE problem Message-ID: <20131211175937.632c65dd@bsd64.grem.de> In-Reply-To: References: X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.18; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Dec 2013 17:07:06 -0000 On Wed, 11 Dec 2013 10:47:34 -0600 Paul Schmehl wrote: > I'm working on updating the devel/liblognorm port. I've run into a > problem that I believe is related to STAGE. When I run make install > I get the following error: > > ===> Building package for liblognorm-1.0.0 > Creating package > /usr/ports/devel/liblognorm-update/liblognorm/work/liblognorm-1.0.0.tbz > Registering depends: json-c-0.11 libestr-0.1.5. > Creating bzip'd tar ball in > '/usr/ports/devel/liblognorm-update/liblognorm/work/liblognorm-1.0.0.tbz' > tar: lib/liblognorm.so.0: Cannot stat: No such file or directory > tar: Error exit delayed from previous errors. > pkg_create: make_dist: tar command failed with code 256 > *** [do-package] Error code 1 > > Stop in /usr/ports/devel/liblognorm-update/liblognorm. > > liblognorm.so exists in the stagedir: > > /usr/ports/devel/liblognorm-update/liblognorm]# find . -name > liblognorm.so ./work/liblognorm-1.0.0/src/.libs/liblognorm.so > ./work/stage/usr/local/lib/liblognorm.so > > If I add NO_STAGE= yes to the Makefile, the port builds and installs > fine. > > Why is stage appending the .0? How do I resolve this problem? > (Obviously adding NO_STAGE= yes is not the answer!) > What's in plist? -- Michael Gmelin