Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54897 - emerge cadaver fails
Summary: emerge cadaver fails
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-23 09:30 UTC by Sebastian Celis
Modified: 2004-07-11 15:05 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Celis 2004-06-23 09:30:27 UTC
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=""
Comment 1 Chris White (RETIRED) gentoo-dev 2004-06-23 11:49:58 UTC
Doesn't seem to be a problem here.  Try taking your -O3 down to -O2 and see if that works.
Comment 2 Sebastian Celis 2004-06-23 12:32:42 UTC
Changing the -O3 to -O2 for the emerge has no effect.
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2004-06-28 09:59:02 UTC
Can you try upgrading your glibc please?
Comment 4 Sebastian Celis 2004-06-28 10:19:52 UTC
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
Comment 5 Tim Yamin (RETIRED) gentoo-dev 2004-06-28 12:52:02 UTC
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.
Comment 6 Sebastian Celis 2004-06-28 15:05:16 UTC
Yeah, I get the exact same errors when I try to compile cadaver myself from source.
Comment 7 Tim Yamin (RETIRED) gentoo-dev 2004-07-11 15:05:55 UTC
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...