Bug 30591 - emerge clisp 2.29 fails with "#error Applications may not define the macro _LIBC"
Bug#: 30591 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: major Priority: P2
Resolution: FIXED Assigned To: mkennedy@gentoo.org Reported By: gentoo@andreas-s.net
Component: Development
URL: 
Summary: emerge clisp 2.29 fails with "#error Applications may not define the macro _LIBC"
Keywords:  
Status Whiteboard: 
Opened: 2003-10-07 11:46 0000
Description:   Opened: 2003-10-07 11:46 0000
emerge clisp-2.29 fails. solution: unmask & emerge clisp >= 2.30

Reproducible: Always
Steps to Reproduce:

Actual Results:  
# emerge clisp
[...]
gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-
pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DEXPORT_SYSCA
LLS -DDYNAMIC_FFI -DDYNAMIC_MODULES -fPIC -I. -DHAVE_CONFIG_H -D_LIBC -c fnmatch
.c
In file included from /usr/include/features.h:314,
                 from /usr/include/errno.h:29,
                 from fnmatch.c:27:
/usr/include/gnu/stubs.h:7:3: #error Applications may not define the macro _LIBC
make[1]: *** [fnmatch.o] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/clisp-2.29/work/clisp/src/wildcard'
make: *** [wildcard] Fehler 2

!!! ERROR: dev-lisp/clisp-2.29 failed.
!!! Function src_compile, Line 37, Exitcode 2
!!! (no error message)



Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.0-test6-mm4)
=================================================================
System uname: 2.6.0-test6-mm4 i686 AMD Athlon(tm) XP 2000+
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share
/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.inform
atik.rwth-aachen.de/pub/Linux/gentoo/ http://www.fhh.opensource-mirror.de/gentoo
.org/ http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributi
ons/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss foomaticdb gif libg++ mad mikmod nls spell xml2 gdbm berkdb slang s
vga tcltk java mysql X sdl tcpd libwww perl python imlib oggvorbis qt motif open
gl tiff readline wmf cscope gtk2 -gnome -kde -esd -arts zlib truetype jpeg png a
vi dvd encode mpeg fbcon tetex xmms alsa apm cdr crypt cups dga gphoto2 gtk mail
dir mozilla ncurses 3dnow mmx xv quicktime pam ssl socks5 imap xface pdflib ruby
 samba gpm apache2 usb acpi sse"

------- Comment #1 From Matthew Kennedy (RETIRED) 2003-11-20 13:02:14 0000 -------
*** Bug 25392 has been marked as a duplicate of this bug. ***

------- Comment #2 From Matthew Kennedy (RETIRED) 2003-11-27 00:09:55 0000 -------
fixed in the 2.31 ebuild, thanks for the bug report