firstly, while I remember, in the /packages/base/libcap/libcap.desc, and
on the last line,
http://www.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.4/
doesn't exist to start with and I can't find a capfaq.txt on that site.
But the reason for this message is that i'm having a build error with
libcap-2.1.7.
Line 47 is failing with:
gcc -Wl,-x -shared -O2 -Dlinux -fPIC -Wall -Wwrite-strings
-Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes
-Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g
-I/TOOLCHAIN/src.libcap.warytest61.20150218.075039.5561.lamia04/libcap-2.17/libcap/../libcap/include
-I/TOOLCHAIN/src.libcap.warytest61.20150218.075039.5561.lamia04/libcap-2.17/libcap/../libcap/include
-L/TOOLCHAIN/src.libcap.warytest61.20150218.075039.5561.lamia04/libcap-2.17/libcap/../libcap
-lattr -Wl,-soname,libcap.so.2 -o libcap.so.2.17 cap_alloc.o cap_proc.o
cap_extint.o cap_flag.o cap_text.o cap_file.o
/usr/lib/gcc/i686-t2-linux-gnu/4.9.2/../../../../i686-t2-linux-gnu/bin/ld:
cannot find -lattr
collect2: error: ld returned 1 exit status
Makefile:53: recipe for target 'libcap.so.2.17' failed
make[1]: *** [libcap.so.2.17] Error 1
make[1]: Leaving directory
'/TOOLCHAIN/src.libcap.warytest61.20150218.075039.5561.lamia04/libcap-2.17/libcap'
Makefile:12: recipe for target 'all' failed
make: *** [all] Error 2
I've also attached the full error log, in case it is of help.
Any ideas, as this is the last problem for my current buildset.
regards
jon
Command Wrapper Debug: running 'gcc --version' ..
gcc is
/TOOLCHAIN/build/warytest61-9.0-trunk-warytest61-x86-i686-linux/TOOLCHAIN/tools.chroot/wrapper/gcc
Old Command: gcc --version
ENVPREFIX = 'CMD'
OTHERS = ''
INSERT = '--help?:-pipe -Os -march=i686'
REMOVE = '-I/usr/local/include -I/usr/include -O -O[0-9s] -mtune* -march*
-mcpu* -Werror -Wextra -g*'
APPEND = '-s'
FILTER = ''
conditonal arg: --help?:-pipe.
conditonal: --help, lhs: , rhs: -pipe.
Insert: -pipe
Insert: -Os
Insert: -march=i686
Copy: --version
Append: -s
Old PATH:
/TOOLCHAIN/build/warytest61-9.0-trunk-warytest61-x86-i686-linux/TOOLCHAIN/tools.chroot/wrapper:/TOOLCHAIN/build/warytest61-9.0-trunk-warytest61-x86-i686-linux/TOOLCHAIN/tools.chroot/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
New PATH:
/TOOLCHAIN/build/warytest61-9.0-trunk-warytest61-x86-i686-linux/TOOLCHAIN/tools.chroot/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
New Command: gcc -pipe -Os -march=i686 --version -s
gcc (GCC) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[ writing debug log to
/TOOLCHAIN/src.libcap.warytest61.20150218.075039.5561.lamia04/cmd_wrapper.log ]
'/TOOLCHAIN/src.libcap.warytest61.20150218.075039.5561.lamia04/archdir/libcap-2.17.tar.bz2'
-> '/TOOLCHAIN/download/mirror/l/libcap-2.17.tar.bz2'
'/TOOLCHAIN/src.libcap.warytest61.20150218.075039.5561.lamia04/archdir/capfaq-0.2.txt'
-> '/TOOLCHAIN/download/mirror/c/capfaq-0.2.txt'
Running main build function 'build_this_package' ...
Extracting libcap-2.17.tar.bz2 (--use-compress-program=bzip2 -xf) ...
Fixing ownership and permissions ...
Removing CVS, .svn, {arch} and .arch-ids directories ...
Changeing into
/TOOLCHAIN/src.libcap.warytest61.20150218.075039.5561.lamia04/libcap-2.17 ...
Creating /usr/<..> if required ...
Running make CC=gcc CPP=cpp CXX=g++ prefix=/usr docdir=/usr/doc/libcap
make -C libcap all
make[1]: Entering directory
'/TOOLCHAIN/src.libcap.warytest61.20150218.075039.5561.lamia04/libcap-2.17/libcap'
=> making cap_names.list.h from
/TOOLCHAIN/src.libcap.warytest61.20150218.075039.5561.lamia04/libcap-2.17/libcap/../libcap/include/linux/capability.h
perl -e 'while ($l=<>) { if ($l =~ /^\#define[ \t](CAP[_A-Z]+)[
\t]+([0-9]+)\s+$/) { $tok=$1; $val=$2; $tok =~ tr/A-Z/a-z/; print
"{\"$tok\",$val},\n"; } }'
/TOOLCHAIN/src.libcap.warytest61.20150218.075039.5561.lamia04/libcap-2.17/libcap/../libcap/include/linux/capability.h
| fgrep -v 0x > cap_names.list.h
gcc -O2
-I/TOOLCHAIN/src.libcap.warytest61.20150218.075039.5561.lamia04/libcap-2.17/libcap/../libcap/include
-I/TOOLCHAIN/src.libcap.warytest61.20150218.075039.5561.lamia04/libcap-2.17/libcap/../libcap/include
_makenames.c -o _makenames
./_makenames > cap_names.h
gcc -O2 -Dlinux -fPIC -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual
-Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline
-Wshadow -g
-I/TOOLCHAIN/src.libcap.warytest61.20150218.075039.5561.lamia04/libcap-2.17/libcap/../libcap/include
-I/TOOLCHAIN/src.libcap.warytest61.20150218.075039.5561.lamia04/libcap-2.17/libcap/../libcap/include
-c cap_alloc.c -o cap_alloc.o
gcc -O2 -Dlinux -fPIC -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual
-Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline
-Wshadow -g
-I/TOOLCHAIN/src.libcap.warytest61.20150218.075039.5561.lamia04/libcap-2.17/libcap/../libcap/include
-I/TOOLCHAIN/src.libcap.warytest61.20150218.075039.5561.lamia04/libcap-2.17/libcap/../libcap/include
-c cap_proc.c -o cap_proc.o
gcc -O2 -Dlinux -fPIC -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual
-Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline
-Wshadow -g
-I/TOOLCHAIN/src.libcap.warytest61.20150218.075039.5561.lamia04/libcap-2.17/libcap/../libcap/include
-I/TOOLCHAIN/src.libcap.warytest61.20150218.075039.5561.lamia04/libcap-2.17/libcap/../libcap/include
-c cap_extint.c -o cap_extint.o
gcc -O2 -Dlinux -fPIC -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual
-Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline
-Wshadow -g
-I/TOOLCHAIN/src.libcap.warytest61.20150218.075039.5561.lamia04/libcap-2.17/libcap/../libcap/include
-I/TOOLCHAIN/src.libcap.warytest61.20150218.075039.5561.lamia04/libcap-2.17/libcap/../libcap/include
-c cap_flag.c -o cap_flag.o
gcc -O2 -Dlinux -fPIC -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual
-Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline
-Wshadow -g
-I/TOOLCHAIN/src.libcap.warytest61.20150218.075039.5561.lamia04/libcap-2.17/libcap/../libcap/include
-I/TOOLCHAIN/src.libcap.warytest61.20150218.075039.5561.lamia04/libcap-2.17/libcap/../libcap/include
-c cap_text.c -o cap_text.o
gcc -O2 -Dlinux -fPIC -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual
-Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline
-Wshadow -g
-I/TOOLCHAIN/src.libcap.warytest61.20150218.075039.5561.lamia04/libcap-2.17/libcap/../libcap/include
-I/TOOLCHAIN/src.libcap.warytest61.20150218.075039.5561.lamia04/libcap-2.17/libcap/../libcap/include
-c cap_file.c -o cap_file.o
gcc -Wl,-x -shared -O2 -Dlinux -fPIC -Wall -Wwrite-strings -Wpointer-arith
-Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes
-Wnested-externs -Winline -Wshadow -g
-I/TOOLCHAIN/src.libcap.warytest61.20150218.075039.5561.lamia04/libcap-2.17/libcap/../libcap/include
-I/TOOLCHAIN/src.libcap.warytest61.20150218.075039.5561.lamia04/libcap-2.17/libcap/../libcap/include
-L/TOOLCHAIN/src.libcap.warytest61.20150218.075039.5561.lamia04/libcap-2.17/libcap/../libcap
-lattr -Wl,-soname,libcap.so.2 -o libcap.so.2.17 cap_alloc.o cap_proc.o
cap_extint.o cap_flag.o cap_text.o cap_file.o
/usr/lib/gcc/i686-t2-linux-gnu/4.9.2/../../../../i686-t2-linux-gnu/bin/ld:
cannot find -lattr
collect2: error: ld returned 1 exit status
Makefile:53: recipe for target 'libcap.so.2.17' failed
make[1]: *** [libcap.so.2.17] Error 1
make[1]: Leaving directory
'/TOOLCHAIN/src.libcap.warytest61.20150218.075039.5561.lamia04/libcap-2.17/libcap'
Makefile:12: recipe for target 'all' failed
make: *** [all] Error 2
Due to previous errors, no 5-libcap.log file!
(Try enabling xtrace in the config to track an error inside the build system.)
--- BUILD ERROR ---
Creating file list and doing final adaptions ...
Searching for orphaned files ...
Found 6 files for this package.
Found 1 orphaned files for this package.
Clear (old) md5sums ...
Calculating package dependencies ...
Creating md5sum files ... done.
Creating package description ...
Making post-install adaptions.
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2