Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 407093 - sci-astronomy/celestia-1.6.1 compilation failure with lua-5.2
Summary: sci-astronomy/celestia-1.6.1 compilation failure with lua-5.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Astronomy project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lua-5.2
  Show dependency tree
 
Reported: 2012-03-06 11:18 UTC by Bernard Cafarelli
Modified: 2012-08-05 14:57 UTC (History)
2 users (show)

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


Attachments
build log (celestia-1.6.1-build.log,78.50 KB, text/plain)
2012-03-06 11:18 UTC, Bernard Cafarelli
Details
Patch for celestia-1.6.1.ebuild (celestia-ebuild-lua.patch,364 bytes, patch)
2012-03-15 00:38 UTC, Nils Larsson
Details | Diff

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 11:18:18 UTC
Created attachment 304385 [details]
build log

scriptorbit.cpp: In member function 'bool ScriptedOrbit::initialize(const std::string&, const std::string&, Hash*)':
scriptorbit.cpp:77:32: error: 'LUA_GLOBALSINDEX' was not declared in this scope
scriptorbit.cpp:96:28: error: 'LUA_GLOBALSINDEX' was not declared in this scope
scriptorbit.cpp: In member function 'virtual Point3d ScriptedOrbit::computePosition(double) const':
scriptorbit.cpp:210:28: error: 'LUA_GLOBALSINDEX' was not declared in this scope
make[3]: *** [libcelengine_a-scriptorbit.o] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/libcelengine_a-vsop87.Tpo .deps/libcelengine_a-vsop87.Po
scriptrotation.cpp: In member function 'bool ScriptedRotation::initialize(const std::string&, const std::string&, Hash*)':
scriptrotation.cpp:78:32: error: 'LUA_GLOBALSINDEX' was not declared in this scope
scriptrotation.cpp:97:28: error: 'LUA_GLOBALSINDEX' was not declared in this scope
scriptrotation.cpp: In member function 'virtual Quatd ScriptedRotation::spin(double) const':
scriptrotation.cpp:164:32: error: 'LUA_GLOBALSINDEX' was not declared in this scope
make[3]: *** [libcelengine_a-scriptrotation.o] 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 Nils Larsson 2012-03-15 00:38:03 UTC
Created attachment 305401 [details, diff]
Patch for celestia-1.6.1.ebuild

As there's no lua-5.0 and lua-5.2 is masked I propose celestia specifically asks for a pre 5.2 lua. Upstream probably wont rush to port the lua bits to work with 5.2.
Comment 2 Sébastien Fabbro (RETIRED) gentoo-dev 2012-08-05 14:57:05 UTC
+  05 Aug 2012; Sébastien Fabbro <bicatali@gentoo.org> celestia-1.6.1.ebuild,
+  metadata.xml:
+  Force depend on lua < 5.2 (bug #407093, thanks Nils Larsson)
+