Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 407113 - www-servers/lighttpd-1.4.30-r1 USE=lua with dev-lang/lua-5.2 - mod_magnet.c:831:18: error: 'LUA_GLOBALSINDEX' undeclared (first use in this function)
Summary: www-servers/lighttpd-1.4.30-r1 USE=lua with dev-lang/lua-5.2 - mod_magnet.c:8...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL: http://redmine.lighttpd.net/attachmen...
Whiteboard:
Keywords: InVCS, PATCH
Depends on:
Blocks: lua-5.2
  Show dependency tree
 
Reported: 2012-03-06 13:40 UTC by Bernard Cafarelli
Modified: 2017-07-25 22:53 UTC (History)
4 users (show)

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


Attachments
build log (lighttpd-1.4.30-r1-build.log,22.50 KB, text/plain)
2012-03-06 13:40 UTC, Bernard Cafarelli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernard Cafarelli gentoo-dev 2012-03-06 13:40:45 UTC
Created attachment 304401 [details]
build log

mod_magnet.c: In function 'magnet_copy_response_header':
mod_magnet.c:691:2: warning: implicit declaration of function 'lua_getfenv'
mod_magnet.c: In function 'traceback':
mod_magnet.c:831:18: error: 'LUA_GLOBALSINDEX' undeclared (first use in this function)
mod_magnet.c:831:18: note: each undeclared identifier is reported only once for each function it appears in
mod_magnet.c: In function 'magnet_attract':
mod_magnet.c:979:19: error: 'LUA_GLOBALSINDEX' undeclared (first use in this function)
mod_magnet.c:984:2: warning: implicit declaration of function 'lua_setfenv'
make[3]: *** [mod_magnet_la-mod_magnet.lo] Error 1

emerge --info:
Portage 2.2.0_alpha90 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.14.1-r2, 3.2.2-gentoo x86_64)
=================================================================
System uname: Linux-3.2.2-gentoo-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5000+-with-gentoo-2.1
Timestamp of tree: Mon, 05 Mar 2012 21:15:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.7-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.9.2
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.3
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2, 4.6.2
sys-devel/gcc-config:     1.5.1
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2-r1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo gnustep nx voyageur
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --quiet-build=n"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.tiscali.nl/"
LANG="fr_FR.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="fr fr_FR"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/bernard/Download/SVN/gnustep/overlay /home/bernard/Download/SVN/nx/testing /usr/local/portage"
SYNC="rsync://cafarelli.fr/gentoo-portage"
USE="3dnowext X a52 aac aalib acl aim alsa amd64 audacious audiofile avahi bash-completion berkdb bonobo branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cscope cups curl cvs cxx d dbus dga dri dts dvb dvd dvdr dvdread emboss enca encode exif expat ffmpeg fftw flac fontconfig foomaticdb fortran ftp gd gdbm gdu gif gimp glitz glut gmp gnome gnustep gphoto2 gpm gstreamer gtk gtkhtml iconv idn imagemagick imap imlib ipv6 jabber java java6 jikes jingle joystick jpeg lcms libcaca libnotify lirc live lm_sensors mad matroska mbox mikmod mime mmx mng modplug modules mono mp3 mp4 mpeg mplayer msn mudflap multilib musicbrainz nas nautilus ncurses nls nptl nptlonly nvidia offensive ogg openal opengl openmp oscar oss pam pango pcmcia pcre pdf perl php pic png policykit posix ppds pppd python qt3support qt4 quicktime readline recode samba scanner sdl session slang smp speex spell sqlite sqlite3 sse sse2 ssl startup-notification subtitles subversion svg sysfs tcl tcltk tcpd tetex theora threads tiff timidity tk truetype udev unicode usb vcd vdpau vim-syntax vorbis vpx webkit wma wmf wxwidgets x264 xcb xcomposite xface xft xinerama xml xorg xosd xpm xscreensaver xulrunner xv xvid xvmc yahoo zeroconf zlib zsh-completion" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr fr_FR" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby19" SANE_BACKENDS="xerox_mfp" USERLAND="GNU" VIDEO_CARDS="none nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2013-08-13 17:10:17 UTC
Seems like upstream don't want to fix that: http://redmine.lighttpd.net/issues/2421 & http://redmine.lighttpd.net/boards/3/topics/5552

Not sure if this should keep 407091 blocking...
Comment 2 Azamat H. Hackimov 2016-07-24 21:55:55 UTC
Support for Lua 5.2 and 5.3 added in 1.4.40 (https://redmine.lighttpd.net/versions/41 https://redmine.lighttpd.net/issues/2674)
Comment 3 zlg (RETIRED) gentoo-dev 2016-08-31 21:44:35 UTC
Since this is fixed in 1.4.40 and I'm working on getting 1.4.40 and 1.4.41 in tree, I'll mark this as IN_PROGRESS.
Comment 4 zlg (RETIRED) gentoo-dev 2016-09-12 07:39:35 UTC
(In reply to Daniel Campbell from comment #3)
> Since this is fixed in 1.4.40 and I'm working on getting 1.4.40 and 1.4.41
> in tree, I'll mark this as IN_PROGRESS.

Scratch that. 1.4.42 is scheduled for October and upstream has suggested that as a stable target.
Comment 5 zlg (RETIRED) gentoo-dev 2016-10-20 04:18:39 UTC
1.4.42 is now in Gentoo git. I tested the build with USE="lua" and it appears to work. Please test and confirm. Adding the InVCS keyword for now.
Comment 6 Bernard Cafarelli gentoo-dev 2016-10-20 12:58:10 UTC
As original reporter, I have to comment :)
Compilation is fine here too, but I do not use lighttpd anymore, so I can not say more about it in usage
Comment 7 zlg (RETIRED) gentoo-dev 2017-07-25 22:53:00 UTC
lighttpd 1.4.42 is now stable (1.4.45 being the next stable target), closing.