From owner-freebsd-ports@FreeBSD.ORG Wed Oct 31 19:28:24 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 409CE16A418 for ; Wed, 31 Oct 2007 19:28:24 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [194.62.233.102]) by mx1.freebsd.org (Postfix) with ESMTP id EC26B13C481 for ; Wed, 31 Oct 2007 19:28:23 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from sp34.ipt.ru ([194.62.233.107] helo=bs1.sp34.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1InIk7-0003b3-CZ; Wed, 31 Oct 2007 21:56:43 +0300 Received: from bsam by bs1.sp34.ru with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1InImK-00029c-CF; Wed, 31 Oct 2007 21:59:00 +0300 To: javier prats References: <457037.95523.qm@web53201.mail.re2.yahoo.com> From: Boris Samorodov Date: Wed, 31 Oct 2007 21:59:00 +0300 In-Reply-To: <457037.95523.qm@web53201.mail.re2.yahoo.com> (javier prats's message of "Wed, 31 Oct 2007 08:40:12 -0700 (PDT)") Message-ID: <99911099@bs1.sp34.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-ports@freebsd.org Subject: Re: port test error X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 19:28:24 -0000 On Wed, 31 Oct 2007 08:40:12 -0700 (PDT) javier prats wrote: > Good morning, > I am new to creating ports, and am running into a little trouble. I have created a Makefile which seems to work correctly when testing with both `portlint -A` and `port test`. A "registering installation" message is recieved and the program can be executed successfully. When `port test` attempts to create a package it fails with the following error. > *--- Cut out similar messages to save room --* > tar: metamorphose_1.1.0/icons/failed.png: Cannot stat: No such file or directory > pkg_create: make_dist: tar command failed with code 256 > *** Error code 1 Seems you miss a file at pkg-plist file. Here is a very good starting point for a new porter (BTW, welcome!): http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/index.html > Stop in /usr/ports/sysutils/metamorphose. > ===> Error running make package > ===> Files currently installed in PREFIX > ===> Cleaning up > Below is my Makefile > # New ports collection makefile for: metamorphose > # Date created: 28 September 2007 > # Whom: javier > # > # $FreeBSD$ > # > PORTNAME= metamorphose > PORTVERSION= 1.1 > CATEGORIES= sysutils > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} > MASTER_SITE_SUBDIR= file-folder-ren > DISTNAME= metamorphose_1.1.0 > MAINTAINER= javpra@FreeBSD.org > COMMENT= A program to rename files and folders > RUN_DEPENDS= python:${PORTSDIR}/lang/python24 wxgtk2-unicode:${PORTSDIR}/x11-toolkits/wxgtk26-unicode > USE_GMAKE= yes > USE_GETTEXT= YES > MANCOMPRESSED= yes > MAN1= metamorphose.1 > USE_PYTHON= 2.4 > USE_WX= 2.6 > WITH_UNICODE= YES > WX_COMPS= python > WX_UNICODE= YES > .include > .if ((${OSVERSION} < 500000)) > IGNORE= systems prior to FreeBSD 5.0 do not support Unicode > .endif > .if defined (WITHOUT_NLS) > USE_GETTEXT= NO > .endif > .include > The package always seems to end up in ${PORTSDIR}/work/${PACKAGENAME} > and that is where it is executable from. It's as if tar does not know to look there. Any assistance would be greatly appreciated. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve