From owner-freebsd-ports@FreeBSD.ORG Wed Oct 31 16:07:26 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 92B8B16A494 for ; Wed, 31 Oct 2007 16:07:26 +0000 (UTC) (envelope-from javpra@yahoo.com) Received: from web53201.mail.re2.yahoo.com (web53201.mail.re2.yahoo.com [206.190.49.71]) by mx1.freebsd.org (Postfix) with SMTP id 59D5113C48A for ; Wed, 31 Oct 2007 16:07:26 +0000 (UTC) (envelope-from javpra@yahoo.com) Received: (qmail 95937 invoked by uid 60001); 31 Oct 2007 15:40:12 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=Z4MgJ5TKFUCKBuAkI1M86TWEUSET6GRe1qqpTffV4/iBzubXcy96YTdR/UIBlWUj4Uruz0znecW4y5r3TRXDDPrv/b346Mszj7RRZ4wfi4LDdLXvwKeu0TTDIoM8rVyyn44gUtaM3xeZ32r0yy/WVf3AcZ3lsYGXTBMAFm9Tpww=; X-YMail-OSG: Y8r9ODQVM1lezzKxV0tkiGd6rWNR4ufxDAcu7X.zkms1QTxUFbjFit9zlAQT4qYB7YtCrG46hXMVf_DMw.7M7QtrjNCuMLjLiwi8PZ4FjMu8YOhcGQUcXXWNdZoMWkfdcIPKPewfnwG3GHo- Received: from [65.244.170.30] by web53201.mail.re2.yahoo.com via HTTP; Wed, 31 Oct 2007 08:40:12 PDT Date: Wed, 31 Oct 2007 08:40:12 -0700 (PDT) From: javier prats To: freebsd-ports@freebsd.org MIME-Version: 1.0 Message-ID: <457037.95523.qm@web53201.mail.re2.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 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 16:07:26 -0000 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 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. Javier Prats __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com