Subject: Re: [vserver] UTils-vserver included debian build on lenny
From: Brett G <brettg@hq.newdream.net>
Date: Fri, 17 Feb 2012 01:16:19 -0800

On 2/16/2012 4:10 PM, Ghislain wrote:
> 2/ When compiled , for the install  I try to install the packages in 
> order one by one but
>
>
>  Package: util-vserver-sysv
>  Depends: util-vserver, make, diff
>
>  Package: util-vserver
>  Depends: util-vserver-core, libvserver0, util-vserver-sysv, diff
>
>
>  so util-vserver depend on sysv, and sysv depend on util-vserver . Is 
> it normal or do i made an error compiling the thing somewhere  ?

The maintainers for the vserver packages in Debian haven't really kept 
it up to date so I don't suggest using their sources to build a new 
version of util-vserver. I don't recommend trying to replace diffutils 
with diff, as diffutils relies on newer versions of libc6 then 
old-stable provides.

It looks like in your build, you have inconsistent depends in your 
control file.

>
> 3/ on lenny the
>
> util-vserver-sysv_0.30.216-pre3004-1_amd64.deb
>
>  if i replace diffutils by diff in the dependancy list and do a  
> dpkg-buildpackage -rfakeroot  it is then a broken package that is  not 
> containing the start script it has only:
>
> # dpkg --contents util-vserver-sysv_0.30.216-pre3004-1_amd64.deb
> drwxr-xr-x root/root         0 2012-02-17 00:40 ./
> drwxr-xr-x root/root         0 2012-02-17 00:40 ./usr/
> drwxr-xr-x root/root         0 2012-02-17 00:40 ./usr/share/
> drwxr-xr-x root/root         0 2012-02-17 00:40 ./usr/share/doc/
> drwxr-xr-x root/root         0 2012-02-17 00:40 
> ./usr/share/doc/util-vserver-sysv/
> -rw-r--r-- root/root      1383 2011-11-29 22:34 
> ./usr/share/doc/util-vserver-sysv/copyright
> -rw-r--r-- root/root       158 2011-11-29 22:35 
> ./usr/share/doc/util-vserver-sysv/changelog.Debian.gz
> -rw-r--r-- root/root    108592 2011-11-29 22:35 
> ./usr/share/doc/util-vserver-sysv/changelog.gz
>
>
> i lack all those file i have on the squeeze version:
>
> -rwxr-xr-x root/root      1603 2012-01-03 21:48 
> ./usr/lib/util-vserver/vsysvwrapper
> -rw-r--r-- root/root      2925 2012-01-03 21:48 
> ./usr/lib/util-vserver/vserver-init.functions
> -rwxr-xr-x root/root      1959 2012-01-03 21:48 
> ./usr/lib/util-vserver/vserver-wrapper
> -rwxr-xr-x root/root      1516 2012-01-03 21:48 ./etc/init.d/vprocunhide
> -rwxr-xr-x root/root      1546 2012-01-03 21:48 
> ./etc/init.d/vservers-default
> -rwxr-xr-x root/root      2254 2012-01-03 21:48 ./etc/init.d/util-vserver
>
> i do not know how to debug this, the only error in compilation that i 
> can see (many lines so perhaps missed more) are:

You're build, while completing through the debian/rules file, did not 
actually build any of the content (possibly through awkward 
fakeroot-ness or poor error checking in the makefile).

>
>  If you want to know why building package for lenny  this is because i 
> need to upgrade to a newer kernel but cannot upgrade to squeeze (grub 
> issue in squeeze that prevent booting with soft RAID).
>
>
> regards,
> Ghislain.
>

I don't see why you can't still build a new kernel with the old 
util-vserver packages. But, if you want a more consistent/newer 
util-vserver package. I suggest looking here:

http://repo.psand.net/info/
http://repo.psand.net/info/index_lenny.html