<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>154889</bug_id>
          
          <creation_ts>2006-11-12 07:03 0000</creation_ts>
          <short_desc>dev-lisp/clisp-2.41 failed to compile w/ USE=fastcgi</short_desc>
          <delta_ts>2007-09-08 10:49:01 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>blaster999@gmail.com</reporter>
          <assigned_to>common-lisp@gentoo.org</assigned_to>
          <cc>zillode@hotmail.com</cc>

      

      
          <long_desc isprivate="0">
            <who>blaster999@gmail.com</who>
            <bug_when>2006-11-12 07:03:35 0000</bug_when>
            <thetext>I tried to install dev-lisp/clisp-2.41, but it fails with the following error:

gcc  -O2 -march=opteron -fomit-frame-pointer -pipe -momit-leaf-frame-pointer -funit-at-a-time -ftracer -fprefetch-loop-arrays -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O -DUNICODE -DDYNAMIC_FFI -I. -I.. -I.. -c fastcgi.c
fastcgi.c: In function &apos;module__fastcgi__init_function_2&apos;:
fastcgi.c:27: error: &apos;fcgi_getenv&apos; undeclared (first use in this function)
fastcgi.c:27: error: (Each undeclared identifier is reported only once
fastcgi.c:27: error: for each function it appears in.)
fastcgi.c:28: error: &apos;fcgi_env&apos; undeclared (first use in this function)
fastcgi.c:29: error: &apos;fcgi_read_stdin&apos; undeclared (first use in this function)
fastcgi.c:30: error: &apos;fcgi_write_stdout&apos; undeclared (first use in this function)
fastcgi.c:31: error: &apos;fcgi_write_stderr&apos; undeclared (first use in this function)
fastcgi.c:32: error: &apos;fcgi_accept_wrapper&apos; undeclared (first use in this function)
fastcgi.c:33: error: &apos;fcgi_finish_wrapper&apos; undeclared (first use in this function)
fastcgi.c:34: error: &apos;fcgi_is_cgi_wrapper&apos; undeclared (first use in this function)
gmake[1]: *** [fastcgi.o] Error 1
gmake[1]: Leaving directory `/usr/var/tmp/portage/dev-lisp/clisp-2.41/work/clisp-2.41/build/fastcgi&apos;
make: *** [fastcgi] Error 2</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>blaster999@gmail.com</who>
            <bug_when>2006-11-12 07:09:51 0000</bug_when>
            <thetext>BTW, the error occurs only when the &quot;fastcgi&quot; USE flag is switched on.

my emerge --info:

Portage 2.1.2_rc1-r5 (default-linux/amd64/2005.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r2 x86_64 Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz
Gentoo Base System version 1.12.6
Last Sync: Sat, 11 Nov 2006 10:30:01 +0000
ccache version 2.4 [disabled]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r3, 2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS=&quot;amd64 ~amd64&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;x86_64-pc-linux-gnu&quot;
CFLAGS=&quot;-O2 -march=opteron -fomit-frame-pointer -pipe -momit-leaf-frame-pointer -funit-at-a-time -ftracer -fprefetch-loop-arrays&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c&quot;
CXXFLAGS=&quot;-O2 -march=opteron -fomit-frame-pointer -pipe -momit-leaf-frame-pointer -funit-at-a-time -ftracer -fprefetch-loop-arrays&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo&quot;
LANG=&quot;en_US.UTF-8&quot;
LDFLAGS=&quot;-Wl,-O1 -Wl,--sort-common -s&quot;
LINGUAS=&quot;en ru&quot;
MAKEOPTS=&quot;-j3&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages&quot;
PORTAGE_TMPDIR=&quot;/usr/var/tmp/&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage /usr/portage/local/layman/pro-audio /usr/portage/local/layman/pro-audio /usr/portage/local/layman/science /usr/portage/local/layman/science /usr/portage/local/layman/musicbrainz /usr/portage/local/layman/musicbrainz&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;amd64 7zip X Xaw3d a52 aac acl acpi alsa ansi apache2 ape arts asf audiofile bash-completion berkdb bitmap-fonts browserplugin bzip2 cdda cddb cdparanoia cli clisp cracklib crypt css ctype cups dbus divx dlloader dri dv dvd dvdr dvdread eds effects elibc_glibc emboss encode exif expat extrafilters fastcgi ffmpeg fftw flac foomaticdb fortran freetype fuse gdbm gettext gif gimp gimp-print gimpprint gphoto2 gpm gstreamer gtk gtk2 hal iconv imagemagick imlib input_devices_evdev input_devices_keyboard input_devices_mouse irda isdnlog javascript jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kerberos kernel_linux kipi kqemu krb4 lame lcms libsamplerate libvisual linguas_en linguas_ru lirc lirc_devices_devinput logrotate lzw lzw-tiff mad matroska mbrola mjpeg mng modplug mozilla mp3 mpeg mplayer musepack musicbrainz ncurses nfs nptl nsplugin nvidia offensive ogg oggvorbis openal opengl oss pam pascal pcre pdf perl php pic plotutils png ppds pppd pulseaudio python qt qt3 quicktime rar readline realmedia reflection ruby scanner sdl sensord server session skins smp sndfile speedo speex spell spl sql ssl startup-notification subtitles subversion svg tcl tcltk tcpd theora threads thumbnail thunar-vfs tidy tiff timidity truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales utempter utf8 v4l v4l2 vcd video_cards_nvidia vim-with-x visualization vorbis wmf wmp wxgtk1 x264 xcomposite xine xinerama xml xml2 xmlreader xmlrpc xmlwriter xorg xpm xrandr xscreensaver xv xvid zip zlib zvbi&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mkennedy@gentoo.org</who>
            <bug_when>2006-11-12 15:27:15 0000</bug_when>
            <thetext>Created http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1595306&amp;group_id=1355&amp;atid=101355</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-06-15 19:41:02 0000</bug_when>
            <thetext>*** Bug 182163 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dw1@hundo.net</who>
            <bug_when>2007-06-24 19:46:08 0000</bug_when>
            <thetext>Created an attachment (id=122974)
Update fastcgi patch file

Adds a patch to fastcgi.lisp to incorporate part of the cvs version 1.10 changes from the Clisp repository [1]. As suggested by Clisp bug 1595306 [2].
[1] http://clisp.cvs.sourceforge.net/clisp/clisp/modules/fastcgi/fastcgi.lisp?r1=1.9&amp;r2=1.10&amp;diff_format=u
[2] https://sourceforge.net/tracker/?func=detail&amp;atid=101355&amp;aid=1595306&amp;group_id=1355</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2007-09-08 10:49:01 0000</bug_when>
            <thetext>Fixed, as discussed with hkbst on irc.
No revbump since this is a build-time issue.
</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>122974</attachid>
            <date>2007-06-24 19:46 0000</date>
            <desc>Update fastcgi patch file</desc>
            <filename>2.41-fastcgi-Makefile-gentoo.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlmZiAtdXIgY2xpc3AtMi40MS5vcmlnL21vZHVsZXMvZmFzdGNnaS9NYWtlZmlsZS5pbiBjbGlz
cC0yLjQxL21vZHVsZXMvZmFzdGNnaS9NYWtlZmlsZS5pbgotLS0gY2xpc3AtMi40MS5vcmlnL21v
ZHVsZXMvZmFzdGNnaS9NYWtlZmlsZS5pbgkyMDA0LTA4LTEyIDA5OjM4OjM2LjAwMDAwMDAwMCAt
MDUwMAorKysgY2xpc3AtMi40MS9tb2R1bGVzL2Zhc3RjZ2kvTWFrZWZpbGUuaW4JMjAwNi0wNC0y
NCAxNToxNDozOC4wMDAwMDAwMDAgLTA1MDAKQEAgLTIzLDEwICsyMywxMCBAQAogCSQoQ0xJU1Ap
IC1jIGZhc3RjZ2kubGlzcAogCiBmYXN0Y2dpLm86ICAgICAgIGZhc3RjZ2kuYwotCSQoQ0MpICQo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