Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154889 - dev-lisp/clisp-2.41 failed to compile w/ USE=fastcgi
Summary: dev-lisp/clisp-2.41 failed to compile w/ USE=fastcgi
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Common Lisp Bugs
URL:
Whiteboard:
Keywords:
: 182163 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-11-12 07:03 UTC by Gleb Litvjak
Modified: 2007-09-08 10:49 UTC (History)
1 user (show)

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


Attachments
Update fastcgi patch file (2.41-fastcgi-Makefile-gentoo.patch,1.31 KB, patch)
2007-06-24 19:46 UTC, Dave Wallace
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gleb Litvjak 2006-11-12 07:03:35 UTC
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 'module__fastcgi__init_function_2':
fastcgi.c:27: error: 'fcgi_getenv' 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: 'fcgi_env' undeclared (first use in this function)
fastcgi.c:29: error: 'fcgi_read_stdin' undeclared (first use in this function)
fastcgi.c:30: error: 'fcgi_write_stdout' undeclared (first use in this function)
fastcgi.c:31: error: 'fcgi_write_stderr' undeclared (first use in this function)
fastcgi.c:32: error: 'fcgi_accept_wrapper' undeclared (first use in this function)
fastcgi.c:33: error: 'fcgi_finish_wrapper' undeclared (first use in this function)
fastcgi.c:34: error: 'fcgi_is_cgi_wrapper' 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'
make: *** [fastcgi] Error 2
Comment 1 Gleb Litvjak 2006-11-12 07:09:51 UTC
BTW, the error occurs only when the "fastcgi" 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="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=opteron -fomit-frame-pointer -pipe -momit-leaf-frame-pointer -funit-at-a-time -ftracer -fprefetch-loop-arrays"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=opteron -fomit-frame-pointer -pipe -momit-leaf-frame-pointer -funit-at-a-time -ftracer -fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
LINGUAS="en ru"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/usr/var/tmp/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="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"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-06-15 19:41:02 UTC
*** Bug 182163 has been marked as a duplicate of this bug. ***
Comment 4 Dave Wallace 2007-06-24 19:46:08 UTC
Created attachment 122974 [details, diff]
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&r2=1.10&diff_format=u
[2] https://sourceforge.net/tracker/?func=detail&atid=101355&aid=1595306&group_id=1355
Comment 5 Ulrich Müller gentoo-dev 2007-09-08 10:49:01 UTC
Fixed, as discussed with hkbst on irc.
No revbump since this is a build-time issue.