-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 04.11.2010 15:58, schrieb Daniel Hokka Zakrisson: > Sebastian Steinhuber wrote: > Am 04.11.2010 02:39, schrieb Daniel Hokka Zakrisson: > >>>> >>>>> It's a bug in util-vserver. Upgrade to a new version. > > Solved, thank you! > I managed to install 216-pre2921 after I found the help in > http://linux-vserver.org/Installation_on_Debian#Install_util-vserver_by_source, > but I wished I knew how to build a debian package by source. > >> tar -xjf util-vserver-0.30.216-pre2921.tar.bz2 >> cd util-vserver-0.30.216-pre2921 >> dpkg-buildpackage -rfakeroot -us -uc > >> is meant to do the trick. Thanks! dpkg-buildpackage produced lots of output and failed: ... make[1]: Leaving directory `/usr/local/src/util-vserver-0.30.216-pre2921' dh_install cp: cannot stat `debian/tmp//sbin/vshelper': No such file or directory dh_install: cp -a debian/tmp//sbin/vshelper debian/util-vserver//sbin/ returned exit code 1 make: *** [binary] Error 2 dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2 The mentioned files don't exist. The directory debian/tmp/ contains the folders etc, user and var. So far I didn't find a solution for that, and I have no idea where to search. I'll append the output, hoping the filter is meaningful for someone. Thanks in advance. Sebastian $dpkg-buildpackage -rfakeroot -us -uc |grep error dpkg-source --before-build util-vserver-0.30.216-pre2921 fakeroot debian/rules clean dpkg-source -b util-vserver-0.30.216-pre2921 dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1) debian/rules build checking whether the C-compiler accepts -Werror -W... yes checking whether the C++-compiler accepts -Werror -W... yes src/rpm-fake.c: In function 'initSymbols': src/rpm-fake.c:493: warning: ISO C forbids conversion of object pointer to function pointer type src/rpm-fake.c:494: warning: ISO C forbids conversion of object pointer to function pointer type src/rpm-fake.c:495: warning: ISO C forbids conversion of object pointer to function pointer type src/rpm-fake.c:496: warning: ISO C forbids conversion of object pointer to function pointer type src/capchroot.o: In function `Evc_new_s_context': /usr/local/src/util-vserver-0.30.216-pre2921/./ensc_wrappers/wrappers-vserver.hc:28: warning: warning: vc_new_s_context() is obsoleted; use vc_ctx_create() instead of src/chcontext.o: In function `Evc_new_s_context': /usr/local/src/util-vserver-0.30.216-pre2921/./ensc_wrappers/wrappers-vserver.hc:28: warning: warning: vc_new_s_context() is obsoleted; use vc_ctx_create() instead of src/rpm-fake-resolver.o: In function `Evc_new_s_context': /usr/local/src/util-vserver-0.30.216-pre2921/./ensc_wrappers/wrappers-vserver.hc:28: warning: warning: vc_new_s_context() is obsoleted; use vc_ctx_create() instead of src/chbind.o: In function `main': /usr/local/src/util-vserver-0.30.216-pre2921/src/chbind.c:290: warning: warning: vc_set_ipv4root() is obsoleted; use vc_net_create() instead of src/chbind.o: In function `readIP': /usr/local/src/util-vserver-0.30.216-pre2921/src/chbind.c:205: warning: warning: gethostbyname() leaks memory. Use gethostbyname_r instead! lib_internal/libinternal-diet.a(lib_internal_libinternal_diet_a-switchtowatchxid.o): In function `switchToWatchXid': /usr/local/src/util-vserver-0.30.216-pre2921/lib_internal/switchtowatchxid.c:45: warning: warning: vc_new_s_context() is obsoleted; use vc_ctx_create() instead of src/reducecap.o: In function `Evc_new_s_context': /usr/local/src/util-vserver-0.30.216-pre2921/./ensc_wrappers/wrappers-vserver.hc:28: warning: warning: vc_new_s_context() is obsoleted; use vc_ctx_create() instead of lib_internal/libinternal-diet.a(lib_internal_libinternal_diet_a-switchtowatchxid.o): In function `switchToWatchXid': /usr/local/src/util-vserver-0.30.216-pre2921/lib_internal/switchtowatchxid.c:45: warning: warning: vc_new_s_context() is obsoleted; use vc_ctx_create() instead of src/vserver-info.c: In function ‘getAPIConfig’: src/vserver-info.c:251: warning: comparison between signed and unsigned integer expressions lib_internal/libinternal-diet.a(lib_internal_libinternal_diet_a-switchtowatchxid.o): In function `switchToWatchXid': /usr/local/src/util-vserver-0.30.216-pre2921/lib_internal/switchtowatchxid.c:45: warning: warning: vc_new_s_context() is obsoleted; use vc_ctx_create() instead of fakeroot debian/rules binary libtool: install: warning: remember to run `libtool --finish /usr/lib' libtool: install: warning: relinking `src/rpm-fake.la' libtool: install: warning: remember to run `libtool --finish /usr/lib/util-vserver' cp: cannot stat `debian/tmp//sbin/vshelper': No such file or directory dh_install: cp -a debian/tmp//sbin/vshelper debian/util-vserver//sbin/ returned exit code 1 make: *** [binary] Error 2 dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEcBAEBAgAGBQJM11alAAoJENBfL4wo/bZdPuMH/iW3zAeFywBYJ3j/ikWNzQv0 6yrSbVpipTvYHCMXBhJWgUgAG9zw2NG1aEIuaFk854KWmxCAn5U0yTQXQXAbu7jQ CEl0hg03USYyKZy1usPVXZM10lOAuyEStHjZGPjZa6r69CPaaZ/dbwQYAwoPOj/d Eu9rcreIsBw9wXU5Pevyu7JvgLlFf1dv+hPm0NFNahoox6bvU4MW+GQEm9T/X/i7 EJxFf8ofM39vk/Umb66FnkswAY+SN9sNsRdVikx+sDOkuZEj/TfjEnqqGNQHtNi5 UA3Sp+fKcrPYXTLPjIANd2RUwrp7Cq7+7q8mtbSQMvt2aksW2U9utCMUgaz9XZk= =wtC/ -----END PGP SIGNATURE-----