Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 496356 - dev-games/irrlicht-1.8.1 fails to compile
Summary: dev-games/irrlicht-1.8.1 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Games
URL: https://sourceforge.net/p/irrlicht/bu...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-29 11:26 UTC by Hans Nieser
Modified: 2014-04-29 23:20 UTC (History)
5 users (show)

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


Attachments
log of failed build (build.log,47.50 KB, text/plain)
2013-12-29 11:26 UTC, Hans Nieser
Details
build.log (build.log,48.50 KB, text/x-log)
2014-03-31 14:13 UTC, Fabian Köster
Details
emerge --info of the system on which build fails for me (emerge.info,6.23 KB, text/plain)
2014-04-03 15:27 UTC, Frank Steinmetzger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hans Nieser 2013-12-29 11:26:32 UTC
Errors triggered by inclusion of glext.h cause the build to fail, see attached build.log



Reproducible: Always




Emerge --info output:

Portage 2.2.7 (default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.8.2, glibc-2.17, 3.11.0-gentoo x86_64)
=================================================================
System uname: Linux-3.11.0-gentoo-x86_64-AMD_Athlon-tm-_II_X2_245e_Processor-with-gentoo-2.2
KiB Mem:     4043208 total,    304560 free
KiB Swap:    4194300 total,   4171048 free
Timestamp of tree: Thu, 26 Dec 2013 23:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.6.8-r3, 2.7.6, 3.2.5-r2, 3.3.3
dev-util/cmake:           2.8.12.1-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.14.1
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.12 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo crossdev-overlay x11 sunrise aphax-overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8-sse3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/sabnzbd/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=k8-sse3 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.leaseweb.com/gentoo "
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="-4"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-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="/usr/local/crossdev-overlay /var/lib/layman/x11 /var/lib/layman/sunrise /usr/local/aphax-overlay"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 audacious automount avahi bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cjk cli colord cracklib crypt cups cxx dbus dirac divx djvu dri dts dv dvd dvdr eds emboss encode evo exif fam ffmpeg firefox flac fortran fuse gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk2 iconv ieee1394 introspection ipv6 jpeg jpeg2k lcms ldap libnotify libsecret mad matroska mmx mmxext mng modules mono moonlight mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nntp nptl nvidia ogg opengl openmp pam pango pcre pdf perl png policykit ppds pulseaudio python qt3support readline real samba sdl session socialweb spell sse sse2 sse3 ssl startup-notification svg systemd tcpd theora threads tiff truetype udev udisks unicode upower usb vcd vdpau vim-syntax vorbis win32codecs wmf wmp wxwidgets wxwindows x264 xcb xinerama xml xulrunner xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 sheets stage tables krita karbon braindump author" CAMERAS="ptp2" 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 ublox ubx" INPUT_DEVICES="wacom evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="vesa r600 radeon" 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, SYNC, USE_PYTHON
Comment 1 Hans Nieser 2013-12-29 11:26:57 UTC
Created attachment 366424 [details]
log of failed build
Comment 2 Emile 2014-03-16 19:00:46 UTC
Bump. I have the same issue.
Comment 3 Julian Ospald 2014-03-16 23:25:31 UTC
which mesa version? (from portage or from x11 overlay?)
`eselect opengl show` output?
Comment 4 Emile 2014-03-17 18:17:08 UTC
(In reply to Julian Ospald (hasufell) from comment #3)
> which mesa version? (from portage or from x11 overlay?)
> `eselect opengl show` output?

xorg-x11 here
Comment 5 Emile 2014-03-22 07:46:03 UTC
bump
Comment 6 Julian Ospald 2014-03-22 12:35:41 UTC
(In reply to Emile from comment #5)
> bump

That doesn't provide me with any information. I got only half of my questions answered.
Comment 7 Emile 2014-03-22 18:06:31 UTC
(In reply to Julian Ospald (hasufell) from comment #6)
> (In reply to Emile from comment #5)
> > bump
> 
> That doesn't provide me with any information. I got only half of my
> questions answered.

Oh sorry. Missed the mesa one.

The version is 10.1.0
Comment 8 Fabian Köster 2014-03-31 14:12:39 UTC
Same issue here with dev-games/irrlicht-1.8-r2 and also dev-games/irrlicht-1.8.1.

Using xorg-x11, Mesa 10.0.4 from main tree.

Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/kde/systemd, gcc-4.7.3, glibc-2.17, 3.12.13-gentoo x86_64)
=================================================================
System uname: Linux-3.12.13-gentoo-x86_64-Intel-R-_Core-TM-_i7-2720QM_CPU_@_2.20GHz-with-gentoo-2.2
KiB Mem:     8060344 total,    791532 free
KiB Swap:    8388604 total,   8334492 free
Timestamp of tree: Mon, 31 Mar 2014 06:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r3, 3.3.3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo hibiscus java x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE freedist as-is CC-Sampling-Plus-1.0"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7-avx -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=corei7-avx -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/hdd/tmp/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/hibiscus /var/lib/layman/java /usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avx berkdb bluetooth branding bzip2 cairo cdda cdr cli cracklib crypt cryptsetup cups cxx dbus declarative dri dts dvb dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gphoto2 gpm gtk iconv idn ipv6 jpeg kde kipi lcms ldap libnotify mad mmx mng modemmanager modules mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qt3support qt4 readline sdl semantic-desktop session sip spell sse sse2 sse4_1 ssl ssse3 startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb vaapi vorbis wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="usb-dib0700" 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 ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" SANE_BACKENDS="genesys" USERLAND="GNU" VIDEO_CARDS="intel nouveau" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 9 Fabian Köster 2014-03-31 14:13:22 UTC
Created attachment 373968 [details]
build.log
Comment 10 Frank Steinmetzger 2014-04-03 15:27:03 UTC
Created attachment 374160 [details]
emerge --info of the system on which build fails for me

Here's a "Me, too". I'm trying to rebuild irrlicht-1.8-r2 in the course of a preserved-rebuild on a Pentium 4 PC. That very version had been built twice before on that system (current emerge --info attached), but both times before mesa was upgraded from version 9 to 10.0.4.

OTOH, I set up a new installation from a current stage 3 two weeks ago on a netbook with a Sandy Bridge Celeron, and there I do have that irrlicht version installed, including mesa 10.0.4. (I didn't check which one was installed first, though.)

On both systems 'eselect opengl show' says xorg-x11, using radeon and intel graphics, respectively.

First and last lines of faling build.log follow. I also tried it with distcc set to localhost only and MAKEOPTS=-j1, just in case that would have been the cause, but it wasn't.


 * Package:    dev-games/irrlicht-1.8-r2
 * Repository: gentoo
 * Maintainer: games@gentoo.org
 * USE:        amd64 doc elibc_glibc kernel_linux userland_GNU
 * FEATURES:   distcc preserve-libs sandbox splitdebug userpriv usersandbox
>>> Unpacking source...
>>> Unpacking irrlicht-1.8.zip to /var/tmp/portage/dev-games/irrlicht-1.8-r2/work
>>> Source unpacked in /var/tmp/portage/dev-games/irrlicht-1.8-r2/work
>>> Preparing source in /var/tmp/portage/dev-games/irrlicht-1.8-r2/work/irrlicht-1.8/source/Irrlicht ...
 * Applying irrlicht-1.8-r2-gentoo.patch ...
[ ok ]
 * Applying irrlicht-1.8-config.patch ...
[ ok ]
 * Applying irrlicht-1.8-demoMake.patch ...
[ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-games/irrlicht-1.8-r2/work/irrlicht-1.8/source/Irrlicht ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-games/irrlicht-1.8-r2/work/irrlicht-1.8/source/Irrlicht ...
make -j5 NDEBUG=1 sharedlib 
x86_64-pc-linux-gnu-g++ -I../../include -DIRRLICHT_EXPORTS=1 -MM -MF aesGladman/sha2.d aesGladman/sha2.cpp
x86_64-pc-linux-gnu-g++ -I../../include -DIRRLICHT_EXPORTS=1 -MM -MF aesGladman/sha1.d aesGladman/sha1.cpp
x86_64-pc-linux-gnu-g++ -I../../include -DIRRLICHT_EXPORTS=1 -MM -MF aesGladman/pwd2key.d aesGladman/pwd2key.cpp

[...]

x86_64-pc-linux-gnu-g++ -O2 -march=native -pipe -ggdb -Wall -fno-exceptions -fno-rtti -fPIC -I../../include -I/usr/X11R6/include -DIRRLICHT_EXPORTS=1  -c -o CSceneNodeAnimatorTexture.o CSceneNodeAnimatorTexture.cpp
x86_64-pc-linux-gnu-g++ -O2 -march=native -pipe -ggdb -Wall -fno-exceptions -fno-rtti -fPIC -I../../include -I/usr/X11R6/include -DIRRLICHT_EXPORTS=1  -c -o CVideoModeList.o CVideoModeList.cpp
x86_64-pc-linux-gnu-g++ -O2 -march=native -pipe -ggdb -Wall -fno-exceptions -fno-rtti -fPIC -I../../include -I/usr/X11R6/include -DIRRLICHT_EXPORTS=1  -c -o CFPSCounter.o CFPSCounter.cpp
x86_64-pc-linux-gnu-g++ -O2 -march=native -pipe -ggdb -Wall -fno-exceptions -fno-rtti -fPIC -I../../include -I/usr/X11R6/include -DIRRLICHT_EXPORTS=1  -c -o CNullDriver.o CNullDriver.cpp
x86_64-pc-linux-gnu-g++ -O2 -march=native -pipe -ggdb -Wall -fno-exceptions -fno-rtti -fPIC -I../../include -I/usr/X11R6/include -DIRRLICHT_EXPORTS=1  -c -o COpenGLDriver.o COpenGLDriver.cpp
x86_64-pc-linux-gnu-g++ -O2 -march=native -pipe -ggdb -Wall -fno-exceptions -fno-rtti -fPIC -I../../include -I/usr/X11R6/include -DIRRLICHT_EXPORTS=1  -c -o COpenGLNormalMapRenderer.o COpenGLNormalMapRenderer.cpp
x86_64-pc-linux-gnu-g++ -O2 -march=native -pipe -ggdb -Wall -fno-exceptions -fno-rtti -fPIC -I../../include -I/usr/X11R6/include -DIRRLICHT_EXPORTS=1  -c -o COpenGLParallaxMapRenderer.o COpenGLParallaxMapRenderer.cpp
In file included from COpenGLDriver.h:25:0,
                 from COpenGLDriver.cpp:5:
COpenGLExtensionHandler.h:1237:3: error: ‘PFNGLBLENDEQUATIONPROC’ does not name a type
COpenGLExtensionHandler.h: In member function ‘void irr::video::COpenGLExtensionHandler::extGlBlendEquation(GLenum)’:
COpenGLExtensionHandler.h:2567:6: error: ‘pGlBlendEquation’ was not declared in this scope
In file included from COpenGLDriver.h:25:0,
                 from COpenGLNormalMapRenderer.cpp:13:
COpenGLExtensionHandler.h:1237:3: error: ‘PFNGLBLENDEQUATIONPROC’ does not name a type
COpenGLExtensionHandler.h: In member function ‘void irr::video::COpenGLExtensionHandler::extGlBlendEquation(GLenum)’:
COpenGLExtensionHandler.h:2567:6: error: ‘pGlBlendEquation’ was not declared in this scope
In file included from COpenGLDriver.h:25:0,
                 from COpenGLParallaxMapRenderer.cpp:9:
COpenGLExtensionHandler.h:1237:3: error: ‘PFNGLBLENDEQUATIONPROC’ does not name a type
COpenGLExtensionHandler.h: In member function ‘void irr::video::COpenGLExtensionHandler::extGlBlendEquation(GLenum)’:
COpenGLExtensionHandler.h:2567:6: error: ‘pGlBlendEquation’ was not declared in this scope
distcc[18035] ERROR: compile (null) on localhost failed
make: *** [COpenGLNormalMapRenderer.o] Error 1
make: *** Waiting for unfinished jobs....
distcc[18041] ERROR: compile (null) on localhost failed
make: *** [COpenGLParallaxMapRenderer.o] Error 1
distcc[18033] ERROR: compile (null) on localhost failed
make: *** [COpenGLDriver.o] Error 1
 * ERROR: dev-games/irrlicht-1.8-r2::gentoo failed (compile phase):
 *   emake failed
Comment 11 Julian Ospald 2014-04-29 23:20:28 UTC
+  29 Apr 2014; Julian Ospald <hasufell@gentoo.org> irrlicht-1.8-r2.ebuild,
+  irrlicht-1.8.1.ebuild, +files/irrlicht-1.8-mesa-10.x.patch,
+  +files/irrlicht-1.8.1-mesa-10.x.patch:
+  fix build with mesa-10.x wrt #496356