From owner-freebsd-ports@FreeBSD.ORG Thu Nov 8 20:00:07 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFE5F16A41B for ; Thu, 8 Nov 2007 20:00:07 +0000 (UTC) (envelope-from beech@freebsd.org) Received: from stargate.alaskaparadise.com (137-42-178-69.gci.net [69.178.42.137]) by mx1.freebsd.org (Postfix) with ESMTP id 941FE13C491 for ; Thu, 8 Nov 2007 20:00:07 +0000 (UTC) (envelope-from beech@freebsd.org) Received: by stargate.alaskaparadise.com (Postfix, from userid 0) id 9AEAB82A2; Thu, 8 Nov 2007 10:50:18 -0900 (AKST) From: Beech Rintoul To: freebsd-ports@freebsd.org Date: Thu, 8 Nov 2007 10:50:08 -0900 User-Agent: KMail/1.9.7 References: <10999.46767.qm@web53210.mail.re2.yahoo.com> In-Reply-To: <10999.46767.qm@web53210.mail.re2.yahoo.com> X-Face: jC2w\k*Q1\0DA2Q0Eh&BrP/Rt2M,^2O#R07VoT98m*>miQF9%Bi9vy`F6cPjwEe?m,)=?utf-8?q?2=0A=09X=3FM=5C=3AOE9QgZ?="xT3/n3,3MJ7N=Cfkmi%f(w^~X"SUxn>; 27NO; C+)g[7J`$G*SN>{<=?utf-8?q?O=3Bg7=7C=0A=09o=7D=265A=5D4?=@7D`=Eb@Zs1Ln814?]|k@'bG=.Ca"[|8+_.OsNAo8!#?4u MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200711081050.14606.beech@freebsd.org> Cc: javier prats Subject: Re: Packaging issue X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Beech Rintoul List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Nov 2007 20:00:07 -0000 On Thursday 08 November 2007, javier prats said: > Good day everyone, > > I'm having an odd problem getting a port to package properly. When > running `port test` on the program it goes through the installation > process as expected ending with "registering installation". When > `port` attempts to create a package i recieve many lines of > errors. Below is a snippet of the errors. The port is > successfully installed though, and i can even run it from the > /usr/ports/sysutils/metamorphose/work/ directory. I thought maybe > `port` was not seeing it in the "work" directory so I added > ${WRKSRC}/metamorphose_1.1.0/ to all the files in pkg-plist and > still had no luck. Does anyone have a suggestion? Can `port` be > told to install the program elsewhere and can it be told where to > look for something to package? > > tar: metamorphose_1.1.0/py2exe_setup.py: Cannot stat: No such file > or directory tar: metamorphose_1.1.0/readme_en.html: Cannot stat: > No such file or directory tar: metamorphose_1.1.0/readme_es.html: > Cannot stat: No such file or directory tar: > metamorphose_1.1.0/readme_fr.html: Cannot stat: No such file or > directory tar: metamorphose_1.1.0/readme_pl.html: Cannot stat: No > such file or directory tar: metamorphose_1.1.0/roman.py: Cannot > stat: No such file or directory tar: > metamorphose_1.1.0/smallHelp.py: Cannot stat: No such file or > directory tar: ${PREFIX}/metamorphose_1.1.0/translations.html: > Cannot stat: No such file or directory pkg_create: make_dist: tar > command failed with code 256 > *** Error code 1 > > Stop in /usr/ports/sysutils/metamorphose. > ===> Error running make package > ===> Files currently installed in PREFIX > ===> Cleaning up > > > > Javier Prats Don't prefix the plist with ${WRKSRC}. What that is telling you is those files are listed in the pkg-plist but are not installed in the path listed. If you're using port test add -i -C flags and do a ^c after install. You then need to check in the tmp directory of that port and see if those files are found in the path listed in the pkg-plist. If those files are not installed, you either need to fix your install or remove them from the plist. Beech -- --------------------------------------------------------------------------------------- Beech Rintoul - FreeBSD Developer - beech@FreeBSD.org /"\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://www.freebsd.org X - NO Word docs in e-mail | Latest Release: / \ - http://www.FreeBSD.org/releases/6.2R/announce.html ---------------------------------------------------------------------------------------