Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61557 - Subversion is dependent on linux-headers, but not labelled as such
Summary: Subversion is dependent on linux-headers, but not labelled as such
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Paul de Vrieze (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-24 13:59 UTC by Jesse Morgan (morgajel)
Modified: 2004-08-27 02:10 UTC (History)
0 users

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 Jesse Morgan (morgajel) 2004-08-24 13:59:58 UTC
It took a while to figure out what was going on, but it turns out subversion is dependent on linux-headers.  this should be labelled in the ebuild somewhere.

Reproducible: Always
Steps to Reproduce:
1. emerge unmerge linux-headers
2. emerge subversion
3. watch it fail

Actual Results:  
Ebuild fails, saying it can't find limit.h I believe.

Expected Results:  
I'd expect subbversion to either install or state it's dependent on linux-headers

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by subversion configure 1.0.6, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --with-ssl --with-apxs=/usr/sbin/apxs2 --with-apr=/usr
--with-apr-util=/usr --with-berkeley-db --with-python=/usr/bin/python
--with-swig --with-neon=/usr --disable-experimental-libtool --disable-mod-activation

## --------- ##
## Platform. ##
## --------- ##

hostname = p-nut
uname -m = i686
uname -r = 2.4.20-gentoo-r7
uname -s = Linux
uname -v = #6 Wed Nov 26 20:17:29 EST 2003

/usr/bin/uname -p = AMD Athlon(TM)Processor
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /sbin
PATH: /usr/sbin
PATH: /usr/lib/portage/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/local/bin
PATH: /opt/bin
PATH: /usr/i686-pc-linux-gnu/gcc-bin/3.3
PATH: /usr/X11R6/bin
PATH: /opt/blackdown-jdk-1.4.1/bin
PATH: /opt/blackdown-jdk-1.4.1/jre/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1847: checking for i686-pc-linux-gnu-gcc
configure:1873: result: gcc
configure:2155: checking for C compiler version
configure:2158: gcc --version </dev/null >&5
gcc (GCC) 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6)
Copyright (C) 2003 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.

configure:2161: $? = 0
configure:2163: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/specs
Configured with: /var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/configure
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3
--includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info --enable-shared
--host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib
--enable-languages=c,c++ --enable-threads=posix --enable-long-long
--disable-checking --disable-libunwind-exceptions --enable-cstdio=stdio
--enable-version-specific-runtime-libs
--with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/g++-v3
--with-local-prefix=/usr/local --enable-shared --enable-nls
--without-included-gettext --disable-multilib --enable-__cxa_atexit
--enable-clocale=generic
Thread model: posix
gcc version 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6)
configure:2166: $? = 0
configure:2168: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2171: $? = 1
configure:2194: checking for C compiler default output file name
configure:2197: gcc -mcpu=athlon -O2 -pipe   conftest.c  >&5
configure:2200: $? = 0
configure:2246: result: a.out
configure:2251: checking whether the C compiler works
configure:2257: ./a.out
configure:2260: $? = 0
configure:2277: result: yes
configure:2284: checking whether we are cross compiling
configure:2286: result: no
configure:2289: checking for suffix of executables
configure:2291: gcc -o conftest -mcpu=athlon -O2 -pipe   conftest.c  >&5
configure:2294: $? = 0
configure:2319: result: 
configure:2325: checking for suffix of object files
configure:2346: gcc -c -mcpu=athlon -O2 -pipe  conftest.c >&5
configure:2349: $? = 0
configure:2371: result: o
configure:2375: checking whether we are using the GNU C compiler
configure:2399: gcc -c -mcpu=athlon -O2 -pipe  conftest.c >&5
configure:2405: $? = 0
configure:2409: test -z 
			 || test ! -s conftest.err
configure:2412: $? = 0
configure:2415: test -s conftest.o
configure:2418: $? = 0
configure:2431: result: yes
configure:2437: checking whether gcc accepts -g
configure:2458: gcc -c -g  conftest.c >&5
configure:2464: $? = 0
configure:2468: test -z 
			 || test ! -s conftest.err
configure:2471: $? = 0
configure:2474: test -s conftest.o
configure:2477: $? = 0
configure:2488: result: yes
configure:2505: checking for gcc option to accept ANSI C
configure:2575: gcc  -c -mcpu=athlon -O2 -pipe  conftest.c >&5
configure:2581: $? = 0
configure:2585: test -z 
			 || test ! -s conftest.err
configure:2588: $? = 0
configure:2591: test -s conftest.o
configure:2594: $? = 0
configure:2612: result: none needed
configure:2630: gcc -c -mcpu=athlon -O2 -pipe  conftest.c >&5
conftest.c:2: error: syntax error before "me"
configure:2636: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:2775: checking how to run the C preprocessor
configure:2810: gcc -E  conftest.c
In file included from /usr/include/bits/posix1_lim.h:130,
                 from /usr/include/limits.h:144,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/limits.h:122,
                 from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/syslimits.h:7,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/limits.h:11,
                 from conftest.c:10:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
configure:2816: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "subversion"
| #define PACKAGE_TARNAME "subversion"
| #define PACKAGE_VERSION "1.0.6"
| #define PACKAGE_STRING "subversion 1.0.6"
| #define PACKAGE_BUGREPORT "http://subversion.tigris.org/"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:2810: gcc -E  conftest.c
In file included from /usr/include/bits/posix1_lim.h:130,
                 from /usr/include/limits.h:144,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/limits.h:122,
                 from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/syslimits.h:7,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/limits.h:11,
                 from conftest.c:10:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
configure:2816: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "subversion"
| #define PACKAGE_TARNAME "subversion"
| #define PACKAGE_VERSION "1.0.6"
| #define PACKAGE_STRING "subversion 1.0.6"
| #define PACKAGE_BUGREPORT "http://subversion.tigris.org/"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:2810: gcc -E -traditional-cpp  conftest.c
In file included from /usr/include/features.h:295,
                 from /usr/include/assert.h:36,
                 from conftest.c:12:
/usr/include/sys/cdefs.h:31: #error "You need a ISO C conforming compiler to use
the glibc headers" 
configure:2816: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "subversion"
| #define PACKAGE_TARNAME "subversion"
| #define PACKAGE_VERSION "1.0.6"
| #define PACKAGE_STRING "subversion 1.0.6"
| #define PACKAGE_BUGREPORT "http://subversion.tigris.org/"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:2810: gcc -E -traditional-cpp  conftest.c
In file included from /usr/include/features.h:295,
                 from /usr/include/assert.h:36,
                 from conftest.c:12:
/usr/include/sys/cdefs.h:31: #error "You need a ISO C conforming compiler to use
the glibc headers" 
configure:2816: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "subversion"
| #define PACKAGE_TARNAME "subversion"
| #define PACKAGE_VERSION "1.0.6"
| #define PACKAGE_STRING "subversion 1.0.6"
| #define PACKAGE_BUGREPORT "http://subversion.tigris.org/"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:2810: /lib/cpp  conftest.c
In file included from /usr/include/bits/posix1_lim.h:130,
                 from /usr/include/limits.h:144,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/limits.h:122,
                 from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/syslimits.h:7,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/limits.h:11,
                 from conftest.c:10:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
configure:2816: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "subversion"
| #define PACKAGE_TARNAME "subversion"
| #define PACKAGE_VERSION "1.0.6"
| #define PACKAGE_STRING "subversion 1.0.6"
| #define PACKAGE_BUGREPORT "http://subversion.tigris.org/"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:2810: /lib/cpp  conftest.c
In file included from /usr/include/bits/posix1_lim.h:130,
                 from /usr/include/limits.h:144,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/limits.h:122,
                 from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/syslimits.h:7,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/limits.h:11,
                 from conftest.c:10:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
configure:2816: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "subversion"
| #define PACKAGE_TARNAME "subversion"
| #define PACKAGE_VERSION "1.0.6"
| #define PACKAGE_STRING "subversion 1.0.6"
| #define PACKAGE_BUGREPORT "http://subversion.tigris.org/"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:2893: result: /lib/cpp
configure:2917: /lib/cpp  conftest.c
In file included from /usr/include/bits/posix1_lim.h:130,
                 from /usr/include/limits.h:144,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/limits.h:122,
                 from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/syslimits.h:7,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/limits.h:11,
                 from conftest.c:10:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
configure:2923: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "subversion"
| #define PACKAGE_TARNAME "subversion"
| #define PACKAGE_VERSION "1.0.6"
| #define PACKAGE_STRING "subversion 1.0.6"
| #define PACKAGE_BUGREPORT "http://subversion.tigris.org/"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:2917: /lib/cpp  conftest.c
In file included from /usr/include/bits/posix1_lim.h:130,
                 from /usr/include/limits.h:144,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/limits.h:122,
                 from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/syslimits.h:7,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/limits.h:11,
                 from conftest.c:10:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
configure:2923: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "subversion"
| #define PACKAGE_TARNAME "subversion"
| #define PACKAGE_VERSION "1.0.6"
| #define PACKAGE_STRING "subversion 1.0.6"
| #define PACKAGE_BUGREPORT "http://subversion.tigris.org/"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:2992: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=set
ac_cv_env_CC_value=gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-mcpu=athlon -O2 -pipe'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i686-pc-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_objext=o
ac_cv_prog_CC=gcc
ac_cv_prog_CPP=/lib/cpp
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=

## ----------------- ##
## Output variables. ##
## ----------------- ##

APACHE_INCLUDES=''
APACHE_LIBEXECDIR=''
APACHE_TARGET=''
APXS=''
BINNAME=''
BUILD_APACHE_RULE=''
BUILD_RULES=''
CC='gcc'
CFLAGS='-mcpu=athlon -O2 -pipe'
CPP='/lib/cpp'
CPPFLAGS=''
DEFS=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FS_TEST_DEPS=''
FS_TEST_PROGRAMS=''
INCLUDE_OUTPUTS=''
INSTALL='/var/tmp/portage/subversion-1.0.6/work/subversion-1.0.6/ac-helpers/install-sh
-c'
INSTALL_APACHE_RULE=''
INSTALL_INFO=''
INSTALL_IT=''
INSTALL_RULES=''
INSTALL_STATIC_RULES=''
JAR=''
JAVAC='/opt/blackdown-jdk-1.4.1/bin/javac'
JDK=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
LT_LDFLAGS=''
MAKEINFO=''
MKDIR='/var/tmp/portage/subversion-1.0.6/work/subversion-1.0.6/ac-helpers/install-sh
-c -d'
MOD_ACTIVATION=''
NEON_LIBS=''
OBJEXT='o'
PACKAGE_BUGREPORT='http://subversion.tigris.org/'
PACKAGE_NAME='subversion'
PACKAGE_STRING='subversion 1.0.6'
PACKAGE_TARNAME='subversion'
PACKAGE_VERSION='1.0.6'
PATH_SEPARATOR=':'
PERL=''
PYTHON2=''
PYTHON=''
RANLIB=''
SHELL='/bin/sh'
STRIP=''
SVN_APRUTIL_EXPORT_LIBS=''
SVN_APRUTIL_INCLUDES=''
SVN_APRUTIL_LIBS=''
SVN_APRUTIL_PREFIX=''
SVN_APR_EXPORT_LIBS=''
SVN_APR_INCLUDES=''
SVN_APR_LIBS=''
SVN_APR_PREFIX=''
SVN_BINDIR=''
SVN_EXTRA_INCLUDES=''
SVN_EXTRA_LIBS=''
SVN_LIBTOOL=''
SVN_NEON_INCLUDES=''
SVN_RA_LIB_DEPS=''
SVN_RA_LIB_LINK=''
SVN_SUBDIRS=''
SWIG=''
SWIG_BUILD_RULES=''
SWIG_INSTALL_RULES=''
SWIG_JAVA_COMPILE=''
SWIG_JAVA_INCLUDES=''
SWIG_JAVA_LINK=''
SWIG_LDFLAGS=''
SWIG_LIBSWIG_DIR=''
SWIG_NORUNTIME_FLAG=''
SWIG_PL_COMPILE=''
SWIG_PL_INCLUDES=''
SWIG_PL_LINK=''
SWIG_PY_COMPILE=''
SWIG_PY_INCLUDES=''
SWIG_PY_LINK=''
SWIG_VERSION=''
abs_builddir='/var/tmp/portage/subversion-1.0.6/work/subversion-1.0.6'
abs_srcdir='/var/tmp/portage/subversion-1.0.6/work/subversion-1.0.6'
ac_ct_CC=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='/usr/share'
docdir=''
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias='i686-pc-linux-gnu'
host_cpu=''
host_os=''
host_vendor=''
includedir='${prefix}/include'
infodir='/usr/share/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='/var/lib'
mandir='/usr/share/man'
neon_config=''
oldincludedir='/usr/include'
prefix='/usr'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT "http://subversion.tigris.org/"
#define PACKAGE_NAME "subversion"
#define PACKAGE_STRING "subversion 1.0.6"
#define PACKAGE_TARNAME "subversion"
#define PACKAGE_VERSION "1.0.6"

configure: exit 1
Comment 1 Paul de Vrieze (RETIRED) gentoo-dev 2004-08-27 02:10:23 UTC
Actually limits.h is part of glibc. Glibc includes some linux headers in it. But it is glibc that has a runtime dependency on the linux headers. This dependency exists in the glibc ebuild. An explicit dependency on glibc is not required, so this bug is invalid. Just make sure you have linux headers. It is required for the compilation of any program