Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] glibc 2.4 build failure

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: "David Brown" <dmlb2000 AT gmail.com>
  • To: "George Sherwood" <pilot AT beernabeer.com>
  • Cc: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] glibc 2.4 build failure
  • Date: Thu, 13 Sep 2007 18:30:12 -0700

Okay fixed this part anyway, its an selinux fubar...

=================
--- a/sysdeps/unix/sysv/linux/configure.in 2007-09-13
17:56:51.519950207 -0700
+++ b/sysdeps/unix/sysv/linux/configure.in 2007-09-13
17:40:35.186895935 -0700
@@ -24,6 +24,7 @@
CPPFLAGS="$CPPFLAGS $SYSINCLUDES"
fi
define([libc_cv_linuxVER],
[libc_cv_linux]patsubst(LIBC_LINUX_VERSION,[\.]))dnl
+as_test_x="test -x"
AC_CACHE_CHECK(installed Linux kernel header files, libc_cv_linuxVER, [dnl
AC_EGREP_CPP([eat flaming death], [#include <linux/version.h>
#if !defined LINUX_VERSION_CODE || LINUX_VERSION_CODE < ]dnl
=================

Thanks,
- David Brown

On 11/26/06, George Sherwood <pilot AT beernabeer.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Sat, 25 Nov 2006 16:04:49 -0800
> seth AT swoolley.homeip.net wrote:
>
> > My code makes the change to configure.in also, so that when it's
> > reautotooled it will work too. Your #sourcemage-dump output
> > indicates that it simply re-ran autoconf, but you didn't paste the
> > rest of the break.
> >
> > I suspect you updated autoconf to a version those version of glibc
> > doesn't like.
> >
> > Perhaps paste the rest of the error and some build system tool
> > versions...
> >
> > ...so we have something to go on. ;)
>
> I don't think the autoconf versions have anything to do with it since I
> have two computers with the same version of autoconf that work fine.
> Currently using autoconf version 2.6.1.
>
> I am pretty sure that I posted the entire error, but will put it in
> here again. Here is the entire listing for the configure when it
> breaks:
>
> checking for a BSD-compatible install... /bin/install -c
> checking whether ln -s works... yes
> checking for i686-pc-linux-gnu-gcc... gcc
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking how to run the C preprocessor... gcc -E
> checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether i686-pc-linux-gnu-g++ accepts -g... yes
> checking
> whether
> /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../../i686-pc-linux-gnu/bin/as
> is GNU as... yes checking
> whether
> /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../../i686-pc-linux-gnu/bin/ld
> is GNU ld... yes checking
> for
> /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../../i686-pc-linux-gnu/bin/as...
> /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../../i686-pc-linux-gnu/bin/as
> checking version
> of
> /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../../i686-pc-linux-gnu/bin/as...
> 2.17, ok checking
> for
> /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../../i686-pc-linux-gnu/bin/ld...
> /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../../i686-pc-linux-gnu/bin/ld
> checking version
> of
> /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../../i686-pc-linux-gnu/bin/ld...
> 2.17, ok checking for pwd... /bin/pwd checking for
> i686-pc-linux-gnu-gcc... (cached) gcc checking version of gcc... 4.0.3,
> ok checking for gnumake... no checking for gmake... no checking for
> make... make checking version of make... 3.81, ok checking for
> gnumsgfmt... no checking for gmsgfmt... no checking for msgfmt...
> msgfmt checking version of msgfmt... 0.16, ok checking for makeinfo...
> makeinfo checking version of makeinfo... 4.8, ok
> checking for sed... sed
> checking version of sed... 4.1.5, ok
> checking for autoconf... autoconf
> checking whether autoconf works... yes
> checking whether ranlib is necessary... no
> checking LD_LIBRARY_PATH variable... ok
> checking whether GCC supports -static-libgcc... -static-libgcc
> checking for bash... /bin/sh
> checking for gawk... gawk
> checking for perl... /usr/bin/perl
> checking for install-info... /usr/bin/install-info
> checking for bison... /usr/bin/bison
> checking for signed size_t type... no
> checking for libc-friendly stddef.h... yes
> checking whether we need to use -P to assemble .S files... no
> checking whether .text pseudo-op must be used... yes
> checking for assembler global-symbol directive... .globl
> checking for .set assembler directive... yes
> checking for assembler .type directive prefix... @
> checking for .symver assembler directive... yes
> checking for ld --version-script... yes
> checking for .previous assembler directive... yes
> checking for .protected and .hidden assembler directive... yes
> checking whether __attribute__((visibility())) is supported... yes
> checking for broken __attribute__((visibility()))... no
> checking for broken __attribute__((alias()))... no
> checking whether to put _rtld_local into .sdata section... no
> checking for .preinit_array/.init_array/.fini_array support... yes
> checking for libunwind-support in compiler... no
> checking for -z nodelete option... yes
> checking for -z nodlopen option... yes
> checking for -z initfirst option... yes
> checking for -z relro option... yes
> checking for -Bgroup option... yes
> checking for libgcc_s suffix...
> checking for --as-needed option... yes
> checking whether --noexecstack is desirable for .S files... yes
> checking for -z combreloc... yes
> checking for -z execstack... yes
> checking for -fpie... yes
> checking for -fno-toplevel-reorder... no
> checking for -fstack-protector... no
> checking whether cc puts quotes around section names... no
> checking for assembler .weak directive... yes
> checking whether CFI directives are supported... yes
> checking for ld --no-whole-archive... yes
> checking for gcc -fexceptions... yes
> checking for __builtin_expect... yes
> checking for __builtin_memset... no
> checking for redirection of built-in functions... yes
> checking for __thread... yes
> checking for tls_model attribute... yes
> checking for libgd... no
> checking for is_selinux_enabled in -lselinux... no
> checking for egrep... grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking for long double... yes
> checking size of long double... 12
> running configure fragment for sysdeps/i386/elf
> checking for i386 TLS support... yes
> running configure fragment for nptl/sysdeps/pthread
> checking for forced unwind support... yes
> checking for C cleanup handling... yes
> running configure fragment for sysdeps/pthread
> running configure fragment for sysdeps/unix/sysv/linux
> checking for grep that handles long lines and -e... Usage: grep
> [OPTION]... PATTERN [FILE]... Try `grep --help' for more information.
> configure: error: no acceptable grep could be found
> in
> /var/lib/sorcery/build:/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin:/usr/games:/usr/local/games:/usr/bin/X11:/root/bin:.:/usr/lib/jre1.5.0_09/bin:/usr/xpg4/bin
> make[1]: Failed to remake makefile
> `/usr/src/glibc-2.4.bld/config.make'. rm
> - -f /usr/src/glibc-2.4.bld/stamp.o; > /usr/src/glibc-2.4.bld/stamp.o rm
> - -f /usr/src/glibc-2.4.bld/stamp.os; > /usr/src/glibc-2.4.bld/stamp.os
> rm -f /usr/src/glibc-2.4.bld/stamp.oS;
> > /usr/src/glibc-2.4.bld/stamp.oS cd /usr/src/glibc-2.4.bld
> > &&
> > /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../../i686-pc-linux-gnu/bin/ar
> > cruv libc.a `cat stamp.o` : /usr/src/glibc-2.4.bld/libc.a
> > cd /usr/src/glibc-2.4.bld
> > &&
> > /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../../i686-pc-linux-gnu/bin/ar
> > cruv libc_pic.a `cat stamp.os`
> : /usr/src/glibc-2.4.bld/libc_pic.a
> cd /usr/src/glibc-2.4.bld
> && /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../../i686-pc-linux-gnu/bin/ar
> cruv libc_nonshared.a `cat
> stamp.oS` : /usr/src/glibc-2.4.bld/libc_nonshared.a make[1]: *** No
> rule to make target `/usr/src/glibc-2.4.bld/Versions.all', needed by
> `/usr/src/glibc-2.4.bld/abi-versions.h'. Stop. make[1]: Leaving
> directory `/usr/src/glibc-2.4' make: *** [all] Error 2
>
> It seems this same error shows up twice before the build fails. Here
> is the first time:
> checking for C cleanup handling... yes
> running configure fragment for sysdeps/pthread
> running configure fragment for sysdeps/unix/sysv/linux
> checking for grep that handles long lines and -e... Usage: grep
> [OPTION]... PATTERN [FILE]... Try `grep --help' for more information.
> configure: error: no acceptable grep could be found
> in
> /var/lib/sorcery/build:/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin:/usr/games:/usr/local/games:/usr/bin/X11:/root/bin:.:/usr/lib/jre1.5.0_09/bin:/usr/xpg4/bin
> for dir in /usr/src/glibc-2.4.bld sysdeps/i386/elf
> nptl/sysdeps/unix/sysv/linux/i386/i686
> nptl/sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux/i386
> nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread
> sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common
> sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv/i386
> nptl/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/i386
> nptl/sysdeps/unix sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu
> nptl/sysdeps/i386/i686 sysdeps/i386/i686 sysdeps/i386/i486
> nptl/sysdeps/i386/i486 sysdeps/i386/fpu nptl/sysdeps/i386 sysdeps/i386
> sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64
> sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf
> sysdeps/generic nptl; do \
>
>
> The initial configure finds grep okay:
> checking for is_selinux_enabled in -lselinux... no
> checking for egrep... grep -E
>
> George
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (GNU/Linux)
>
> iD8DBQFFaYNfkVJnfkgKg60RAkzhAJ457Dw80nOn4X3Gpb9ljbg4lygI/gCfdUdX
> oaYUd02u90kxRKVHYGO/hv4=
> =fyCK
> -----END PGP SIGNATURE-----
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss
>



  • Re: [SM-Discuss] glibc 2.4 build failure, David Brown, 09/13/2007

Archive powered by MHonArc 2.6.24.

Top of Page