Trying to emerge cadaver (a command-line WebDAV client) fails with the following error: Configured to build cadaver 0.22.2: Install prefix: /usr Compiler: gcc Neon library: included libneon (0.24.6) XML Parser: libxml 2.6.7 SSL library: OpenSSL (0.9.7 or later) Internationalization: Not built GNU readline support: enabled Now run 'make' to compile cadaver. gcc -DHAVE_CONFIG_H -I/usr/include/heimdal -I/usr/include/libxml2 -I. -I./li b -I./src -O3 -march=pentium4 -pipe -fomit-frame-pointer -I./libneon -o src/ca daver.o -c src/cadaver.c gcc -DHAVE_CONFIG_H -I/usr/include/heimdal -I/usr/include/libxml2 -I. -I./li b -I./src -O3 -march=pentium4 -pipe -fomit-frame-pointer -I./libneon -o src/co mmon.o -c src/common.c gcc -DHAVE_CONFIG_H -I/usr/include/heimdal -I/usr/include/libxml2 -I. -I./li b -I./src -O3 -march=pentium4 -pipe -fomit-frame-pointer -I./libneon -o src/co mmands.o -c src/commands.c gcc -DHAVE_CONFIG_H -I/usr/include/heimdal -I/usr/include/libxml2 -I. -I./li b -I./src -O3 -march=pentium4 -pipe -fomit-frame-pointer -I./libneon -o src/ls .o -c src/ls.c gcc -DHAVE_CONFIG_H -I/usr/include/heimdal -I/usr/include/libxml2 -I. -I./li b -I./src -O3 -march=pentium4 -pipe -fomit-frame-pointer -I./libneon -o src/cm dline.o -c src/cmdline.c gcc -DHAVE_CONFIG_H -I/usr/include/heimdal -I/usr/include/libxml2 -I. -I./li b -I./src -O3 -march=pentium4 -pipe -fomit-frame-pointer -I./libneon -o src/op tions.o -c src/options.c src/cmdline.c: In function `parse_command': src/cmdline.c:325: error: `GLOB_ABORTED' undeclared (first use in this function) src/cmdline.c:325: error: (Each undeclared identifier is reported only once src/cmdline.c:325: error: for each function it appears in.) src/cmdline.c:328: error: `GLOB_NOMATCH' undeclared (first use in this function) make: *** [src/cmdline.o] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: net-misc/cadaver-0.22.2 failed. !!! Function src_compile, Line 21, Exitcode 2 !!! (no error message) What follows is my make.conf file: CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j2" USE=""
Doesn't seem to be a problem here. Try taking your -O3 down to -O2 and see if that works.
Changing the -O3 to -O2 for the emerge has no effect.
Can you try upgrading your glibc please?
My system is fully updated and is using only stable packages. * sys-libs/glibc Latest version available: 2.3.3.20040420 Latest version installed: 2.3.3.20040420 Size of downloaded files: 15,671 kB Homepage: http://www.gnu.org/software/libc/libc.html Description: GNU libc6 (also called glibc2) C library License: LGPL-2
Hmmm - do you get this error if you manually compile this package? The inclusion of some of the GLOB_... error #defines but not others looks rather strange since they are all in one file, in one continous code block.
Yeah, I get the exact same errors when I try to compile cadaver myself from source.
In which case I'm not sure if we can do anything since this looks like a bug with the source - would you be able to file an upstream bug with the Cadaver developers? Thanks...