[Icecast] debian package from svn / errors and non working debian rules

Oliver Oli oliver.oli+0815 at gmail.com
Mon Aug 11 13:08:48 UTC 2008


Hello,

I tried to build an debian package from svn. First I checked out trunk
and the 2.3.2 branch, which both build this quite "old" package :-)

icecast2_1.9+2.0alphasnap2+20030802-1_amd64.deb


Then I tried the kh branch, which doesn't build with dpkg-buildpackage:

debian/rules:6: debian/cdbs/1/rules/buildinfo.mk: No such file or directory
make: *** No rule to make target `debian/cdbs/1/rules/buildinfo.mk'.  Stop.
dpkg-buildpackage: failure: debian/rules clean gave error exit status 2

after I have removed the line from debian/rules, it starts compiling,
but throws an error:

make[4]: Leaving directory `/root/svn/icecast/src/timing'
make[4]: Entering directory `/root/svn/icecast/src'
cc -DHAVE_CONFIG_H -I. -I..  -Wall -ffast-math -fsigned-char
-I/usr/include/libxml2 -I/usr/include  -pthread -g -O2 -g -Wall -O2 -c
cfgfile.c
In file included from cfgfile.h:32,
                 from cfgfile.c:27:
global.h:54: error: expected specifier-qualifier-list before 'spin_t'
global.h:66: warning: 'struct rate_calc' declared inside parameter list
global.h:66: warning: its scope is only this definition or
declaration, which is probably not what you want
global.h:67: warning: 'struct rate_calc' declared inside parameter list
global.h:68: warning: 'struct rate_calc' declared inside parameter list
make[4]: *** [cfgfile.o] Error 1
make[4]: Leaving directory `/root/svn/icecast/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/svn/icecast/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/svn/icecast'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/svn/icecast'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2


I'm on Ubuntu 8.04 with gcc 4.2.3,



More information about the Icecast mailing list