Subject: can't cd to ${WRKSRC}
To: None <pkgsrc-users@NetBSD.org>
From: =?UTF-8?Q?C=C3=A9sar_Catri=C3=A1n_Carre=C3=B1o?= <ccatrian@eml.cc>
List: pkgsrc-users
Date: 12/11/2006 12:36:01
--Signature=_Mon__11_Dec_2006_12_36_02_-0300_4kvQEkWzL77.4w1n
Content-Type: text/plain; charset=UTF-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
I am writing a package for the nightly build of ffmpeg. The problem is that
in a post-extract stage, can't cd to ${WRKDIR}. This is the error message:
$ make configure
=> Required installed package digest>=20010302: digest-20060826 found
===> Checking for vulnerabilities in ffmpeg-snapshot-20061211
=> Checksum SHA1 OK for ffmpeg-export-snapshot.tar.bz2
=> Checksum RMD160 OK for ffmpeg-export-snapshot.tar.bz2
===> Installing dependencies for ffmpeg-snapshot-20061211
=> Required installed package gmake>=3.78: gmake-3.81 found
===> Overriding tools for ffmpeg-snapshot-20061211
===> Extracting for ffmpeg-snapshot-20061211
cd /home/src/pkgsrc/wip/ffmpeg-snapshot.import/work.core/ffmpeg-export-2006-12-11
make: exec(cd) failed (No such file or directory)
*** Error code 1
This is the Makefile; is not finished.
$ cat Makefile
# $NetBSD$
#
DISTNAME= ffmpeg-export-snapshot
PKGNAME= ffmpeg-snapshot-${VERSION}
CATEGORIES= multimedia
MASTER_SITES= http://ffmpeg.mplayerhq.hu/
EXTRACT_SUFX= .tar.bz2
.include "../../mk/bsd.prefs.mk"
VERSION!= ${DATE} +%Y%m%d
DATEDIR!= ${DATE} +%Y-%m-%d
MAINTAINER= ccatrian@eml.cc
HOMEPAGE= http://ffmpeg.mplayerhq.hu/
COMMENT= Nightly snapshot of the ffmpeg tool
WRKSRC= ${WRKDIR}/ffmpeg-export-${DATEDIR}
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-memalign-hack
CONFIGURE_ARGS+= --cpu=i686
USE_LANGUAGES= c c++
USE_TOOLS+= gmake
post-extract:
cd ${WRKSRC}
.include "../../mk/bsd.pkg.mk"
Please help.
--
César Catrián Carreño
--Signature=_Mon__11_Dec_2006_12_36_02_-0300_4kvQEkWzL77.4w1n
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (NetBSD)
iD8DBQFFfXrj0CA0DpFTlnERAv//AJoDE8Q6zl2PZz+pSauaXcC7ph8ETwCfWqGE
7J+0fzQchoSla422DkF2HAA=
=IbNg
-----END PGP SIGNATURE-----
--Signature=_Mon__11_Dec_2006_12_36_02_-0300_4kvQEkWzL77.4w1n--