Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DeSmuME 0.9.1 fails to build
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
daseinhorn
Apprentice
Apprentice


Joined: 16 Jan 2009
Posts: 150
Location: Canada

PostPosted: Sun Mar 22, 2009 11:01 pm    Post subject: DeSmuME 0.9.1 fails to build Reply with quote

Relevant error information during emerge

Code:
OGLRender.cpp: In function 'char OGLInit()':                                                   
OGLRender.cpp:587: error: 'glActiveTexture' was not declared in this scope                     
OGLRender.cpp: In function 'void setTexture(unsigned int, unsigned int)':                     
OGLRender.cpp:692: error: 'glActiveTexture' was not declared in this scope                     
OGLRender.cpp: In function 'void OGLRender()':                                                 
OGLRender.cpp:1235: error: 'glActiveTexture' was not declared in this scope                   
make[2]: *** [OGLRender.o] Error 1                                                             
make[2]: *** Waiting for unfinished jobs....                                                   
mv -f .deps/Disassembler.Tpo .deps/Disassembler.Po                                             
mv -f .deps/NDSSystem.Tpo .deps/NDSSystem.Po                                                   
mv -f .deps/GPU.Tpo .deps/GPU.Po                                                               
mv -f .deps/arm_instructions.Tpo .deps/arm_instructions.Po                                     
make[2]: Leaving directory `/var/tmp/portage/games-emulation/desmume-0.9.1/work/desmume-0.9.1/src'                                                                                           
make[1]: *** [all-recursive] Error 1                                                           
make[1]: Leaving directory `/var/tmp/portage/games-emulation/desmume-0.9.1/work/desmume-0.9.1/src'                                                                                           
make: *** [all-recursive] Error 1                                                             
 *                                                                                             
 * ERROR: games-emulation/desmume-0.9.1 failed.                                               
 * Call stack:                                                                                 
 *               ebuild.sh, line   48:  Called src_compile                                     
 *             environment, line 2545:  Called die                                             
 * The specific snippet of code:                                                               
 *       emake || die "emake failed"                                                           
 *  The die message:                                                                           
 *   emake failed                                                                             
 *                                                                                             
 * If you need support, post the topmost build error, and the call stack if relevant.         
 * A complete build log is located at '/var/tmp/portage/games-emulation/desmume-0.9.1/temp/build.log'.                                                                                       
 * The ebuild environment file is located at '/var/tmp/portage/games-emulation/desmume-0.9.1/temp/environment'.                                                                               
 *


My emerge --info

Code:
xavier-pc xavier # emerge --info
Portage 2.1.6.9 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r4 x86_64)                                                                             
=================================================================                             
System uname: Linux-2.6.28-gentoo-r4-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-glibc2.2.5                                                                                       
Timestamp of tree: Sun, 22 Mar 2009 17:15:02 +0000                                             
app-shells/bash:     4.0_p10-r1                                                               
dev-java/java-config: 2.1.7                                                                   
dev-lang/python:     2.5.4-r2                                                                 
dev-util/cmake:      2.6.3                                                                     
sys-apps/baselayout: 2.0.0                                                                     
sys-apps/openrc:     0.4.3-r1                                                                 
sys-apps/sandbox:    1.6                                                                       
sys-devel/autoconf:  2.13, 2.63                                                               
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                 
sys-devel/binutils:  2.19.1-r1                                                                 
sys-devel/gcc-config: 1.4.1                                                                   
sys-devel/libtool:   2.2.6a                                                                   
virtual/os-headers:  2.6.28-r1                                                                 
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                 
CBUILD="x86_64-pc-linux-gnu"                                                                   
CFLAGS="-O2 -pipe"                                                                             
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/config"                                                                                     
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"                                                                                         
CXXFLAGS="-O2 -pipe"                                                                           
DISTDIR="/usr/portage/distfiles"                                                               
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"                                                                               
GENTOO_MIRRORS="ftp://mirrors.tera-byte.com/pub/gentoo ftp://mirror.fslutd.org/linux/distributions/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US fr fr_CA nb no nb_NO"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/nouveau /usr/local/portage/layman/pro-audio"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi alsa amd64 automount avahi berkdb branding bzip2 cairo cdda cddb cdr cdrkit cli cracklib crypt css cuda cups dbus dhcp dri dts dvb dvbd dvd dvdr dvdread eds embedded emboss encode esd evo fam ffmpeg firefox flac fluidsynth fortran fuse gdbm gif gimp git gnome gpm gstreamer gtk hal iconv isdnlog jack java joystick jpeg kate kde kdeenablefinal ldap libnotify mad mdnsresponder-compat midi mikmod mmx mng mp3 mpeg msn mudflap multilib mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd ptp2 pulseaudio python qt3 qt3support qt4 quicktime readline reflection resolvconf samba sdl session skins spell spl sse sse2 sse3 ssl startup-notification subversion svg symlink sysfs tcpd tga theora tiff truetype unicode usb v4l v4l2 vcd vorbis webkit wiki x264 xcb xcomposite xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ICE1724" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US fr fr_CA nb no nb_NO" USERLAND="GNU"VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Do you guys see anything wrong with my configuration which would make the ebuild fail? Thanks for your input!
Back to top
View user's profile Send private message
kevstar31
Guru
Guru


Joined: 22 Nov 2006
Posts: 449
Location: Ohio

PostPosted: Mon Mar 23, 2009 3:13 pm    Post subject: Reply with quote

Post a bug report at https://bugs.gentoo.org/ and include the full emerge log and output of emerge --info.
In the meantime you can try masking the specific version of the package by:
Code:
 echo "=games-emulation/desmume-0.9.1" >> /etc/portage/package.mask

_________________
while(true) std::cout << "Jesus I trust in you." << std::endl;
My Political Compass
Back to top
View user's profile Send private message
daseinhorn
Apprentice
Apprentice


Joined: 16 Jan 2009
Posts: 150
Location: Canada

PostPosted: Tue Mar 24, 2009 3:40 am    Post subject: Reply with quote

Already done here, the guy has the same output as me : https://bugs.gentoo.org/show_bug.cgi?id=258942
Back to top
View user's profile Send private message
daseinhorn
Apprentice
Apprentice


Joined: 16 Jan 2009
Posts: 150
Location: Canada

PostPosted: Wed Apr 01, 2009 1:38 am    Post subject: Reply with quote

A temporary workaround is to switch opengl selection to xorg while compiling desmume and then set it back to nvidia. Until then, desmume compiles and works properly if this is followed.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum