NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
misc/46307: /usr/bootstrap.sh pkgsrc fails due to unknown compression
Note: There was a bad value `' for the field `Class'.
It was set to the default value of `sw-bug'.
>Number: 46307
>Category: misc
>Synopsis: /usr/bootstrap.sh pkgsrc fails due to unknown compression
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: misc-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Apr 07 17:45:00 +0000 2012
>Originator: Jan Schaumann
>Release: NetBSD 5.1.2
>Organization:
>Environment:
AMI ami-230fdf4a
NetBSD domU-12-31-39-06-69-29.compute-1.internal 5.1.2 NetBSD 5.1.2
(XEN3PAE_DOMU) #0: Thu Feb 2 17:18:36 UTC 2012
builds%b6.netbsd.org@localhost:/home/builds/ab/netbsd-5-1-2-RELEASE/i386/201202021012Z-obj/home/builds/ab/netbsd-5-1-2-RELEASE/src/sys/arch/i386/compile/XEN3PAE_DOMU
i386
>Description:
AMI ami-230fdf4a includes in /etc/motd the hint to run '/usr/bootstrap.sh
pkgsrc', but that command fails:
/usr/bootstrap.sh pkgsrc
[: missing ]
Downloading latest pkgsrc stable release...
Trying 2001:470:1f05:3d::21:80 ...
ftp: Can't connect to `2001:470:1f05:3d::21:80': No route to host
Trying 199.233.217.249:80 ...
Requesting http://ftp.netbsd.org/pub//pkgsrc/stable/pkgsrc.tar.xz
100% |*******************************************************| 21988 KiB
418.63 KiB/s 00:00 ETA
22516236 bytes retrieved in 00:52 (418.63 KiB/s)
gzip: unknown compression format
tar: End of archive volume 1 reached
tar: Sorry, unable to determine archive format.
>How-To-Repeat:
ec2-run-instances ami-230fdf4a
ssh <hostname>
/usr/bootstrap.sh pkgsrc
>Fix:
First, fix the missing space in the [ test in bootstrap.sh:
if [ $# -ne 1]; then
to become
if [ $# -ne 1 ]; then
(Add CVS keywords, perhaps, to facilitate finding the source for this?)
For the actual error, the pkgsrc tarball needs to be compressed using a format
that is available on all systems. :-/
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index