I'm creating taz packages for the spice client for running SliTaz under a spice-based hypervisor.
The spice-protocol package built without a hitch. I'm working on the spice-vdagent package and when I cook it I get an HTTP/1.1 416. If I copy and paste the wget line to the shell prompt it works fine. I looked at the cook script, but I don't see anything out of the ordinary there. Any help would be appreciated.
Here is the error and the receipts for the spice-protocol and spice-vdagent packages:
------------BEGIN---------------
root@slitaz-dev:/home/slitaz/wok# cook spice-vdagent
Setup aufs chroot...
Cook: spice-vdagent 0.10.1
================================================================================
QA: checking package receipt...
Checking build dependencies...
Extracting: spice-vdagent-0.10.1.tar.bz2
Connecting to spice-space.org (209.132.180.99:80)
wget: server returned error: HTTP/1.1 416 Requested Range Not Satisfiable
ERROR: wget http://spice-space.org/download/releases/spice-vdagent-0.10.1.tar.bz2
Extracting: spice-vdagent-0.10.1.tar.bz2
ERROR: cook failed
Debug information
================================================================================
Cook date: 2012-06-07 17:22
ERROR: wget http://spice-space.org/download/releases/spice-vdagent-0.10.1.tar.bz2
ERROR: cook failed
wget: server returned error: HTTP/1.1 416 Requested Range Not Satisfiable
================================================================================
Leaving aufs chroot...
-------------END----------------
------------BEGIN---------------
# SliTaz package receipt.
PACKAGE="spice-protocol"
VERSION="0.10.1"
CATEGORY="x-window"
SHORT_DESC="Spice protocol for spice-based virtual displays"
MAINTAINER="Joseph Freivald"
WEB_SITE="http://spice-space.org"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="http://spice-space.org/download/releases/$TARBALL"
DEPENDS=""
BUILD_DEPENDS=""
# Rules to configure and make the package.
compile_rules()
{
cd $src
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
$CONFIGURE_ARGS &&
make && make DESTDIR=$PWD/_pkg install
}
# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
cp -a $install/* $fs
}
-------------END----------------
------------BEGIN---------------
# SliTaz package receipt.
PACKAGE="spice-vdagent"
VERSION="0.10.1"
CATEGORY="x-window"
SHORT_DESC="VDAgent for spice clients"
MAINTAINER="Joseph Freivald"
DEPENDS="dbus xorg-libpciaccess"
BUILD_DEPENDS="spice-protocol dbus-dev xorg-libpciaccess-dev"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://spice-space.org"
WGET_URL="http://spice-space.org/download/releases/$TARBALL"
# Rules to configure and make the package.
compile_rules()
{
cd $src
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
$CONFIGURE_ARGS &&
make && make DESTDIR=$PWD/_pkg install
}
# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
cp -a $install/* $fs
}
-------------END----------------