Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 479348 - sys-kernel/hardened-sources-3.10.4 fails to build
Summary: sys-kernel/hardened-sources-3.10.4 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: The Gentoo Linux Hardened Kernel Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-01 02:30 UTC by Nikoli
Modified: 2013-08-08 05:06 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
kernel config (config,70.07 KB, text/plain)
2013-08-01 02:30 UTC, Nikoli
Details
kernel config #2 (config,43.49 KB, text/plain)
2013-08-02 02:15 UTC, Alex Xu (Hello71)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikoli 2013-08-01 02:30:58 UTC
Created attachment 354780 [details]
kernel config

3.10.3-hardened builds and boots fine with attached config, but 3.10.4-hardened fails:
grsecurity/gracl.c: In function ‘copy_user_glob’:
grsecurity/gracl.c:1126:3: error: implicit declaration of function ‘copy_acl_object_label_normal’ [-Werror=implicit-function-declaration]
grsecurity/gracl.c: In function ‘count_user_subjs’:
grsecurity/gracl.c:1196:3: error: implicit declaration of function ‘copy_acl_subject_label_normal’ [-Werror=implicit-function-declaration]
grsecurity/gracl.c: In function ‘copy_user_allowedips’:
grsecurity/gracl.c:1219:3: error: implicit declaration of function ‘copy_role_allowed_ip_normal’ [-Werror=implicit-function-declaration]
grsecurity/gracl.c: In function ‘copy_user_transitions’:
grsecurity/gracl.c:1254:3: error: implicit declaration of function ‘copy_role_transition_normal’ [-Werror=implicit-function-declaration]
grsecurity/gracl.c: In function ‘do_copy_user_subj’:
grsecurity/gracl.c:1341:2: error: implicit declaration of function ‘copy_gr_hash_struct’ [-Werror=implicit-function-declaration]
grsecurity/gracl.c:1422:3: error: implicit declaration of function ‘copy_pointer_from_array_normal’ [-Werror=implicit-function-declaration]
grsecurity/gracl.c:1425:3: error: implicit declaration of function ‘copy_acl_ip_label_normal’ [-Werror=implicit-function-declaration]
grsecurity/gracl.c: In function ‘copy_user_acl’:
grsecurity/gracl.c:1500:3: error: implicit declaration of function ‘copy_sprole_pw_normal’ [-Werror=implicit-function-declaration]
grsecurity/gracl.c:1525:3: error: implicit declaration of function ‘copy_acl_role_label_normal’ [-Werror=implicit-function-declaration]
grsecurity/gracl.c: At top level:
grsecurity/gracl.c:3150:12: error: static declaration of ‘copy_acl_object_label_normal’ follows non-static declaration
grsecurity/gracl.c:1126:7: note: previous implicit declaration of ‘copy_acl_object_label_normal’ was here
grsecurity/gracl.c:3158:12: error: static declaration of ‘copy_acl_ip_label_normal’ follows non-static declaration
grsecurity/gracl.c:1425:7: note: previous implicit declaration of ‘copy_acl_ip_label_normal’ was here
grsecurity/gracl.c:3166:12: error: static declaration of ‘copy_acl_subject_label_normal’ follows non-static declaration
grsecurity/gracl.c:1196:7: note: previous implicit declaration of ‘copy_acl_subject_label_normal’ was here
grsecurity/gracl.c:3174:12: error: static declaration of ‘copy_acl_role_label_normal’ follows non-static declaration
grsecurity/gracl.c:1525:7: note: previous implicit declaration of ‘copy_acl_role_label_normal’ was here
grsecurity/gracl.c:3182:12: error: static declaration of ‘copy_role_allowed_ip_normal’ follows non-static declaration
grsecurity/gracl.c:1219:7: note: previous implicit declaration of ‘copy_role_allowed_ip_normal’ was here
grsecurity/gracl.c:3190:12: error: static declaration of ‘copy_sprole_pw_normal’ follows non-static declaration
grsecurity/gracl.c:1500:7: note: previous implicit declaration of ‘copy_sprole_pw_normal’ was here
grsecurity/gracl.c:3206:12: error: static declaration of ‘copy_role_transition_normal’ follows non-static declaration
grsecurity/gracl.c:1254:7: note: previous implicit declaration of ‘copy_role_transition_normal’ was here
grsecurity/gracl.c: In function ‘write_grsec_handler’:
grsecurity/gracl.c:3266:26: error: ‘copy_gr_arg_wrapper_compat’ undeclared (first use in this function)
grsecurity/gracl.c:3266:26: note: each undeclared identifier is reported only once for each function it appears in
grsecurity/gracl.c:3267:18: error: ‘copy_gr_arg_compat’ undeclared (first use in this function)
grsecurity/gracl.c:3268:28: error: ‘copy_acl_object_label_compat’ undeclared (first use in this function)
grsecurity/gracl.c:3269:29: error: ‘copy_acl_subject_label_compat’ undeclared (first use in this function)
grsecurity/gracl.c:3270:26: error: ‘copy_acl_role_label_compat’ undeclared (first use in this function)
grsecurity/gracl.c:3271:24: error: ‘copy_acl_ip_label_compat’ undeclared (first use in this function)
grsecurity/gracl.c:3272:27: error: ‘copy_role_allowed_ip_compat’ undeclared (first use in this function)
grsecurity/gracl.c:3273:27: error: ‘copy_role_transition_compat’ undeclared (first use in this function)
grsecurity/gracl.c:3274:21: error: ‘copy_sprole_pw_compat’ undeclared (first use in this function)
grsecurity/gracl.c:3275:3: error: ‘copy_gr_hash_struct’ undeclared (first use in this function)
grsecurity/gracl.c:3275:26: error: ‘copy_gr_hash_struct_compat’ undeclared (first use in this function)
grsecurity/gracl.c:3276:30: error: ‘copy_pointer_from_array_compat’ undeclared (first use in this function)
grsecurity/gracl.c:3277:30: error: ‘get_gr_arg_wrapper_size_compat’ undeclared (first use in this function)
grsecurity/gracl.c:3279:23: error: lvalue required as left operand of assignment
grsecurity/gracl.c:3280:15: error: lvalue required as left operand of assignment
grsecurity/gracl.c:3281:25: error: lvalue required as left operand of assignment
grsecurity/gracl.c:3282:26: error: lvalue required as left operand of assignment
grsecurity/gracl.c:3283:23: error: lvalue required as left operand of assignment
grsecurity/gracl.c:3284:21: error: lvalue required as left operand of assignment
grsecurity/gracl.c:3285:24: error: lvalue required as left operand of assignment
grsecurity/gracl.c:3286:24: error: lvalue required as left operand of assignment
grsecurity/gracl.c:3287:18: error: lvalue required as left operand of assignment
grsecurity/gracl.c:3289:27: error: lvalue required as left operand of assignment
grsecurity/gracl.c:3290:27: error: lvalue required as left operand of assignment
cc1: all warnings being treated as errors
make[1]: *** [grsecurity/gracl.o] Error 1
make: *** [grsecurity] Error 2
make: *** Waiting for unfinished jobs....
Comment 1 Alex Xu (Hello71) 2013-08-02 02:15:49 UTC
Created attachment 354866 [details]
kernel config #2

Broken for me too.
Comment 2 Nikoli 2013-08-02 05:12:53 UTC
Same problem with sys-kernel/hardened-sources-3.10.4-r1
Comment 3 Nikoli 2013-08-05 15:18:15 UTC
3.10.4-hardened-r2 builds and boots.
Comment 4 Kolan Sh. 2013-08-05 17:16:49 UTC
3.10.4-r2 works for me too
Comment 5 Alex Xu (Hello71) 2013-08-05 17:53:43 UTC
-r2 WFM too.

Treeclean -r1 and then RESOLVED UPSTREAM?
Comment 6 Alex Xu (Hello71) 2013-08-07 14:19:30 UTC
Well, sys-kernel/hardened-sources-3.10.4 and sys-kernel/hardened-sources-3.10.4-r1 no longer exist in the tree.

This should be RESOLVED FIXED/UPSTREAM.
Comment 7 Anthony Basile gentoo-dev 2013-08-07 14:20:38 UTC
(In reply to Alex Xu from comment #6)
> Well, sys-kernel/hardened-sources-3.10.4 and
> sys-kernel/hardened-sources-3.10.4-r1 no longer exist in the tree.
> 
> This should be RESOLVED FIXED/UPSTREAM.

please test hardened-sources-3.10.5
Comment 8 Alex Xu (Hello71) 2013-08-07 17:14:27 UTC
(In reply to Anthony Basile from comment #7)
> (In reply to Alex Xu from comment #6)
> > Well, sys-kernel/hardened-sources-3.10.4 and
> > sys-kernel/hardened-sources-3.10.4-r1 no longer exist in the tree.
> > 
> > This should be RESOLVED FIXED/UPSTREAM.
> 
> please test hardened-sources-3.10.5

builds and boots. same config as before.