[vserver] Re: compilation one fatal error and several warning util-vserver

From: Daniel Hokka Zakrisson <daniel_at_hozac.com>
Date: Sat 13 Jan 2018 - 20:40:22 GMT
Message-ID: <efb54152502a846aefa662873d26e01d.squirrel@intranet.hozac.com>

Hi Ghislain,

Ghislain Adnet wrote:
> Hi Daniel,
>
>
> here is the errors i got trying to recompile the util vserver recently,
> the fatal error is at the end :
>
>
> In file included from lib/syscall-compat.hc:24:0,
> from lib/syscall.c:36:
> lib/safechroot-internal.hc:44:33: warning: always_inline function might
> not be inlinable [-Wattributes]
> static ALWAYSINLINE UNUSED void vc_tell_unsafe_chroot() {}
> ^~~~~~~~~~~~~~~~~~~~~
>
>
> lib/syscall_getnxinfo.c: In function ‘vc_get_nx_info’:
> lib/syscall_getnxinfo.c:35:6: warning: nonnull argument ‘info’ compared to
> NULL [-Wnonnull-compare]
> if (info==0) {
> ^
>
> lib/syscall_getvxinfo.c: In function ‘vc_get_vx_info’:
> lib/syscall_getvxinfo.c:42:6: warning: nonnull argument ‘info’ compared to
> NULL [-Wnonnull-compare]
> if (info==0) {
> ^
>
> lib/syscall_setcflags.c: In function ‘vc_set_cflags’:
> lib/syscall_setcflags.c:35:6: warning: nonnull argument ‘flags’ compared
> to NULL [-Wnonnull-compare]
> if (flags==0) {
> ^
>
> lib_internal/matchlist-initmanually.c: In function
> ‘MatchList_initManually’:
> lib_internal/matchlist-initmanually.c:188:6: warning: nonnull argument
> ‘exclude_file’ compared to NULL [-Wnonnull-compare]
> if (exclude_file && *exclude_file) {
> ^
>
> lib_internal/matchlist-initmanually.c: In function
> ‘MatchList_initManually’:
> lib_internal/matchlist-initmanually.c:188:6: warning: nonnull argument
> ‘exclude_file’ compared to NULL [-Wnonnull-compare]
> if (exclude_file && *exclude_file) {
> ^
>
>
>
> and the fatal error:
>
> In file included from lib_internal/util-cleanupmount.c:25:0:
> /usr/include/linux/fs.h:366:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘__kernel_rwf_t’
> typedef int __bitwise __kernel_rwf_t;
> ^~~~~~~~~~~~~~
>
>
> debian/rules:23: recipe for target 'build' failed
> dpkg-buildpackage: error: debian/rules build subprocess returned exit
> status 2

I think I have fixed this in
http://people.linux-vserver.org/~dhozac/t/uv-testing/util-vserver-0.30.216-pre3128.tar.xz
could you try that?

Best regards,
Daniel

> best regards,
> Ghislain.
>
>
Received on Sat Jan 13 20:38:08 2018

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sat 13 Jan 2018 - 20:38:08 GMT by hypermail 2.1.8