Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 May 1995 17:06:57 +0000 (GMT)
From:      Adam David <adam@veda.is>
To:        asami@CS.Berkeley.EDU (Satoshi Asami | =?ISO-2022-JP?B?GyRCQHUbKEI=?= =?ISO-2022-JP?B?GyRCOCsbKEIgGyRCOC0bKEI=?=)
Cc:        adam@FreeBSD.org, ports@FreeBSD.org
Subject:   Re: dgd port package failed again
Message-ID:  <199505121706.RAA02001@veda.is>
In-Reply-To: <199505120704.AAA03600@forgery.CS.Berkeley.EDU> from "Satoshi Asami | =?ISO-2022-JP?B?GyRCQHUbKEI=?= =?ISO-2022-JP?B?GyRCOCsbKEIgGyRCOC0bKEI=?=" at May 12, 95 00:04:42 am

next in thread | previous in thread | raw e-mail | index | archive | help
> Every time I built this one from the top, it fails.

That is not the reason.

> tar: Can't chdir to ${WRKDIR} : No such file or directory
[...]
> tar command failed with code 1792

pkg_create used to use vsystem() and therefore could use shell variables
on the command line. Now it uses execv("/usr/bin/tar", ...), so this no
longer works around it. That's what I get for using an undocumented feature
to avoid implementing a feature. :-)

I will come up with a better solution. Simplest would probably be to let
pkg_create deal with '@srcdir ./relative/path' correctly by expanding the
'.' to an absolute directory.

--
Adam David <adam@veda.is>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505121706.RAA02001>