libcap-ng fails with kernel headers 2.6.37
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libcap-ng (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
linux (Ubuntu) |
Invalid
|
High
|
Canonical Kernel Team |
Bug Description
XATTR_NAME_CAPS isn't defined anymore. Any replacement?
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -fPIC -DPIC -W -Wall -Wshadow -Wformat -Wundef -D_GNU_SOURCE -g -O2 -MT cap-ng.lo -MD -MP -MF .deps/cap-ng.Tpo -c -o cap-ng.lo cap-ng.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -fPIC -DPIC -W -Wall -Wshadow -Wformat -Wundef -D_GNU_SOURCE -g -O2 -MT cap-ng.lo -MD -MP -MF .deps/cap-ng.Tpo -c cap-ng.c -fPIC -DPIC -o .libs/cap-ng.o
cap-ng.c: In function 'get_bounding_set':
cap-ng.c:225:70: warning: signed and unsigned type in conditional expression
cap-ng.c: In function 'capng_
cap-ng.c:325:21: error: 'XATTR_NAME_CAPS' undeclared (first use in this function)
cap-ng.c:325:21: note: each undeclared identifier is reported only once for each function it appears in
cap-ng.c: In function 'capng_
cap-ng.c:539:25: error: 'XATTR_NAME_CAPS' undeclared (first use in this function)
make[2]: *** [cap-ng.lo] Error 1
make[2]: Leaving directory `/scratch/
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/scratch/
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Related branches
Changed in libcap-ng (Ubuntu): | |
importance: | Undecided → High |
milestone: | none → natty-alpha-2 |
status: | New → Confirmed |
Changed in linux (Ubuntu): | |
importance: | Undecided → High |
milestone: | none → natty-alpha-2 |
status: | New → Confirmed |
Changed in linux (Ubuntu): | |
assignee: | nobody → Canonical Kernel Team (canonical-kernel-team) |
tags: | added: kernel-series-unknown |
Changed in libcap-ng (Ubuntu): | |
milestone: | natty-alpha-2 → natty-alpha-3 |
I took 0.6.5 version from upstream and it builds fine - maybe worth updating?