Tobias Ulmer wrote:
On Sun, Jun 08, 2008 at 01:15:18AM -0700, Predrag Punosevac wrote:
Dear All,
I am following
http://www.openbsd.org/papers/opencon07-portstutorial/index.html
in an attempt to create a very simple port (MenuMaker) I keep getting the
following mistake when I try to make extract file
make extract
===> Checking files for menumaker-0.99.7
`/usr/ports/distfiles/menumaker-0.99.7.tar.gz' is up to date.
(SHA256) menumaker-0.99.7.tar.gz: OK
===> Extracting for menumaker-0.99.7
tar: Cannot identify format. Searching...
tar: End of archive volume 1 reached
tar: Sorry, unable to determine archive format.
*** Error code 1
Stop in /usr/ports/x11/menumaker (line 1941 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1
Stop in /usr/ports/x11/menumaker (line 1921 of
/usr/ports/infrastructure/mk/bsd.port.mk).
What am I doing wrong? I am getting exactly the same mistake on Current and
4.3 Release.
Are you sure the tarball is not corrupt? try to extract it manually.
Have a look at EXTRACT_CASES in bsd.port.mk [(5)] to see what make
extract really does.
The tarball was corrupt. I was shocked to find it out as I have compiled
manumaker on half dozen times manually but I learn my lesson now.
Thanks
Predrag
Best,
Predrag
P.S. $ more mk.conf
SUDO=/usr/bin/sudo
PLIST_DB=${PORTSDIR}/plist
WRKOBJDIR=/usr/obj/ports
USE_SYSTRACE=Yes