From owner-freebsd-ports@FreeBSD.ORG Wed Dec 11 16:49:15 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 971AFE37 for ; Wed, 11 Dec 2013 16:49:15 +0000 (UTC) Received: from ip-001.utdallas.edu (ip-001.utdallas.edu [129.110.180.40]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5B4DF1E0B for ; Wed, 11 Dec 2013 16:49:14 +0000 (UTC) X-Group: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjgCAI+WqFKBbgogX2dsb2JhbABZgz+oY5I9AxgLCwcUKIJkAjqBKRqIFaMthwWXY5IwgRMEiUKQApQrHQ X-IPAS-Result: AjgCAI+WqFKBbgogX2dsb2JhbABZgz+oY5I9AxgLCwcUKIJkAjqBKRqIFaMthwWXY5IwgRMEiUKQApQrHQ X-IronPort-AV: E=Sophos;i="4.93,872,1378875600"; d="scan'208";a="9835090" Received: from zxtm01.utdallas.edu (HELO utd71538.utdallas.edu) ([129.110.10.32]) by ip-001.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 11 Dec 2013 10:47:46 -0600 Date: Wed, 11 Dec 2013 10:47:34 -0600 From: Paul Schmehl To: FreeBSD Ports Subject: STAGE problem Message-ID: X-Mailer: Mulberry/4.1.0a1 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline; size=1515 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Paul Schmehl List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Dec 2013 16:49:15 -0000 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!) -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell