[userns:userns-always-map-user-v47 30/148] include/net/xfrm.h:730:6: error: unknown type name 'kuidt

5 messages, 2 authors, 2012-08-27 · open the first message on its own page

[userns:userns-always-map-user-v47 30/148] include/net/xfrm.h:730:6: error: unknown type name 'kuidt

From: Fengguang Wu <hidden>
Date: 2012-08-23 02:38:20

Hi Eric,

FYI, kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git userns-always-map-user-v47
head:   ec9c45ed97cdb9e75f8ef22ea86999be29591713
commit: 681df08be35b115080707914830b63e942ea8f22 [30/148] userns: Convert audit to use kuid and kgid where appropriate
config: x86_64-randconfig-h761 (attached as .config)

All related error/warning messages:

In file included from net/core/sock.c:129:0:
include/net/xfrm.h:730:6: error: unknown type name 'kuidt_t'
--
In file included from net/core/skbuff.c:68:0:
include/net/xfrm.h:730:6: error: unknown type name 'kuidt_t'
--
In file included from net/core/dev.c:106:0:
include/net/xfrm.h:730:6: error: unknown type name 'kuidt_t'
--
In file included from net/xfrm/xfrm_policy.c:30:0:
include/net/xfrm.h:730:6: error: unknown type name 'kuidt_t'
--
In file included from net/xfrm/xfrm_state.c:17:0:
include/net/xfrm.h:730:6: error: unknown type name 'kuidt_t'
--
In file included from net/xfrm/xfrm_input.c:15:0:
include/net/xfrm.h:730:6: error: unknown type name 'kuidt_t'
--
In file included from net/xfrm/xfrm_sysctl.c:4:0:
include/net/xfrm.h:730:6: error: unknown type name 'kuidt_t'
--
In file included from net/xfrm/xfrm_output.c:20:0:
include/net/xfrm.h:730:6: error: unknown type name 'kuidt_t'
--
In file included from net/xfrm/xfrm_replay.c:22:0:
include/net/xfrm.h:730:6: error: unknown type name 'kuidt_t'
--
In file included from net/xfrm/xfrm_algo.c:17:0:
include/net/xfrm.h:730:6: error: unknown type name 'kuidt_t'
--
In file included from net/xfrm/xfrm_user.c:27:0:
include/net/xfrm.h:730:6: error: unknown type name 'kuidt_t'
net/xfrm/xfrm_user.c: In function 'xfrm_add_sa':
net/xfrm/xfrm_user.c:597:2: error: implicit declaration of function 'xfrm_audit_state_add' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
..

vim +730 include/net/xfrm.h
   727	}
   728	
   729	static inline void xfrm_audit_state_add(struct xfrm_state *x, int result,
 > 730					 kuidt_t auid, u32 ses, u32 secid)
   731	{
   732	}
   733	

---
0-DAY kernel build testing backend         Open Source Technology Centre
Fengguang Wu [off-list ref]                     Intel Corporation

Re: [userns:userns-always-map-user-v47 30/148] include/net/xfrm.h:730:6: error: unknown type name 'k

From: Eric W. Biederman <hidden>
Date: 2012-08-23 06:12:56

Fengguang Wu [off-list ref] writes:
Hi Eric,

FYI, kernel build failed on
Thanks.  I fixed this but failed to fix it in the original diff.

Eric

[userns:userns-always-map-user-v47 30/148] include/net/xfrm.h:730: error: expected declaration speci

From: Fengguang Wu <hidden>
Date: 2012-08-26 19:12:11

Hi Eric,

FYI, kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git userns-always-map-user-v47
head:   ec9c45ed97cdb9e75f8ef22ea86999be29591713
commit: 681df08be35b115080707914830b63e942ea8f22 [30/148] userns: Convert audit to use kuid and kgid where appropriate
config: avr32-atngw100_defconfig (attached as .config)

All related error/warning messages:

In file included from net/core/sock.c:129:
include/net/xfrm.h:730: error: expected declaration specifiers or '...' before 'kuidt_t'
--
In file included from net/core/skbuff.c:68:
include/net/xfrm.h:730: error: expected declaration specifiers or '...' before 'kuidt_t'
--
In file included from net/core/dev.c:106:
include/net/xfrm.h:730: error: expected declaration specifiers or '...' before 'kuidt_t'
..

---
0-DAY kernel build testing backend         Open Source Technology Centre
Fengguang Wu [off-list ref]                     Intel Corporation

Re: [userns:userns-always-map-user-v47 30/148] include/net/xfrm.h:730: error: expected declaration s

From: Eric W. Biederman <hidden>
Date: 2012-08-27 00:48:31

Fengguang Wu [off-list ref] writes:
Hi Eric,

FYI, kernel build failed on
Now I understand my confusion.  You reported this failure a week ago
against x86_64 and I fixed this in to userns-always-map-v48.

So I was confused why this failure was coming up again, but given that
you are testing avr32 this makes sense, as it will fail on anything that
hits the correct configuration.

Regardless thank you for all of your diligent effort testing kernel
branches.

Eric

Re: [userns:userns-always-map-user-v47 30/148] include/net/xfrm.h:730: error: expected declaration s

From: Fengguang Wu <hidden>
Date: 2012-08-27 03:59:08

On Sun, Aug 26, 2012 at 05:48:31PM -0700, Eric W. Biederman wrote:
Fengguang Wu [off-list ref] writes:
quoted
Hi Eric,

FYI, kernel build failed on
Now I understand my confusion.  You reported this failure a week ago
against x86_64 and I fixed this in to userns-always-map-v48.

So I was confused why this failure was coming up again, but given that
you are testing avr32 this makes sense, as it will fail on anything that
hits the correct configuration.
Sorry for the duplicate report! It's definitely a problem the avr32
build was delayed for so long time. I'll take care of this and make
sure that the slowest builds complete within hours.

The another problem is the errors reported by different gcc versions
are sometimes not identical:

new gcc:
include/net/xfrm.h:730:6: error: unknown type name 'kuidt_t'

older gcc:
include/net/xfrm.h:730: error: expected declaration specifiers or '...' before 'kuidt_t'

That makes the build system alert again, and the latter notification
comes so late, that I've forgot all about the previous one, so send it
out again..
Regardless thank you for all of your diligent effort testing kernel
branches.
You are welcome.

Thanks,
Fengguang
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help