Fri, 17 Feb 2012 01:10:55 +0100
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.
["application/pkcs7-signature" not shown]