[vserver] UTils-vserver included debian build on lenny

From: Ghislain <gadnet_at_aqueos.com>
Date: Fri 17 Feb 2012 - 00:10:55 GMT
Message-ID: <4F3D9B0F.4040006@aqueos.com>

hi,

  i have some issue with the included debian packaging of the new
util-vserver that i cannot solve so i wanted to see if anyone could help:

1/ some of the packages use a dependancy of diffutils, this package
does not exist before "squeeze" preventing the build on any other
platform. Making it depend on ( diff OR diffutils ) solve that, also
squeeze has a dummy diff package that can be used:

i
diff
- dummy transitional package for diff -> diffutils

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 ?

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:

dpkg-gencontrol: warning: unknown substitution variable ${shlibs:Depends}
dpkg-gencontrol: warning: unknown substitution variable ${misc:Depends}
dpkg-gencontrol: warning: unknown substitution variable ${python:Depends}

If i compile it from the source with a "make" i got those errors:

lib/umask_list-v23.c: In function 'vc_text2umask_err':
lib/umask_list-v23.c:31: warning: implicit declaration of function
'vc_text2umask'
lib/umask_list-v23.c: In function 'vc_text2umask_err':
lib/umask_list-v23.c:31: warning: implicit declaration of function
'vc_text2umask'
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

python/_libvserver.c: In function 'pyvserver_wait_exit':
python/_libvserver.c:247: warning: dereferencing type-punned pointer
will break strict-aliasing rules
python/_libvserver.c:249: warning: dereferencing type-punned pointer
will break strict-aliasing rules

python/_libvserver.c: In function 'pyvserver_isSupported':
python/_libvserver.c:907: warning: dereferencing type-punned pointer
will break strict-aliasing rules

python/_libvserver.c:909: warning: dereferencing type-punned pointer
will break strict-aliasing rules

python/_libvserver.c: In function 'pyvserver_isSupportedString':
python/_libvserver.c:921: warning: dereferencing type-punned pointer
will break strict-aliasing rules
python/_libvserver.c:923: warning: dereferencing type-punned pointer
will break strict-aliasing rules

python/_libvserver.c: In function 'init_libvserver':
python/_libvserver.c:1150: warning: 'return' with a value, in function
returning void
src/secure-mount.o: In function `updateMtab':

/root/util-vserver/src/secure-mount.c:290: warning: warning: your code
still has assertions enabled!
src/vshelper-sync.o: In function `main':
/root/util-vserver/src/vshelper-sync.c:100: warning: warning: your code
still has assertions enabled!
src/chbind.c:286:4: warning: #warning is a GCC extension
src/chbind.c:286:4: warning: #warning building a dummy chbind-compat
with no available APIs
src/chbind.o: In function `readIP':

/root/util-vserver/src/chbind.c:205: warning: warning: gethostbyname()
leaks memory. Use gethostbyname_r instead!
src/vunify.o: In function `checkFstat':

/root/util-vserver/src/vunify.c:133: warning: warning: your code still
has assertions enabled!
src/vcopy.o: In function `main':
/root/util-vserver/src/vcopy.c:291: warning: warning: your code still
has assertions enabled!
libensc_vector-diet.a(libensc_vector_diet_a-vector-init.o): In function
`Vector_init':
/root/util-vserver/ensc_vector/vector-init.c:30: warning: warning: your
code still has assertions enabled!
src/vps.o: In function `writeContextInfo':
/root/util-vserver/src/vps.c:98: warning: warning: your code still has
assertions enabled!
src/vlimit.o: In function `main':
/root/util-vserver/src/vlimit.c:402: warning: warning: your code still
has assertions enabled!
src/vserver-stat.c: In function 'registerXidCgroups':
src/vserver-stat.c:397: warning: comparison between signed and unsigned
libensc_vector-diet.a(libensc_vector_diet_a-vector-free.o): In function
`Vector_free':
/root/util-vserver/ensc_vector/vector-free.c:29: warning: warning: your
code still has assertions enabled!
/usr/lib/diet/lib-x86_64/libc.a(vsnprintf.o): In function `vsnprintf':
vsnprintf.c:(.text+0x43): warning: warning: the printf functions add
several kilobytes of bloat.
/usr/lib/diet/lib-x86_64/libc.a(vsscanf.o): In function `vsscanf':
vsscanf.c:(.text+0x56): warning: warning: the scanf functions add
several kilobytes of bloat.
src/vserver-info.o: In function `execQuery':
/root/util-vserver/src/vserver-info.c:589: warning: warning: your code
still has assertions enabled!
src/vuname.o: In function `registerValue':
/root/util-vserver/src/vuname.c:196: warning: warning: your code still
has assertions enabled!
src/vwait.o: In function `doit':
/root/util-vserver/src/vwait.c:144: warning: warning: your code still
has assertions enabled!

  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.

Received on Fri Feb 17 00:11:13 2012
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 17 Feb 2012 - 00:11:13 GMT by hypermail 2.1.8