Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 440960

Summary: media-gfx/wings - wings: Driver failed: Driver compiled with incorrect version of erl_driver.h // sh: line 0: exec: sdl_driver: not found
Product: Gentoo Linux Reporter: Keith Amidon <camalot>
Component: Current packagesAssignee: Gentoo Graphics Project <graphics+disabled>
Status: RESOLVED NEEDINFO    
Severity: normal CC: gustav.schaffter, hrabe, jer, qbt937, the.guard, uwe
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: complete build log

Description Keith Amidon 2012-11-02 14:20:56 UTC
Wings crashes at startup. The full error message is:

Driver failed: Driver compiled with incorrect version of erl_driver.h 
sh: line 0: exec: sdl_driver: not found

=ERROR REPORT==== 2-Nov-2012::07:16:27 ===
Error in process <0.30.0> with exit value: {badarg,[{erlang,port_control,[esdl_port,21,<<4 bytes>>],[]},{sdl,init,1,[{file,"sdl.erl"},{line,90}]},{wings_init,init,0,[{file,"wings_init.erl"},{line,36}]},{wings,init,1,[{file,"wings.erl"},{line,90}]}]}



Fatal internal error - log written to /home/peter/wings_crash.dump



The contents of wings_crash.dump is:

Dump written 2012-11-2_7-17
Version: 1.1.1
Window: "<Unknown Window Name>"
Reason: {badarg,[{erlang,port_control,[esdl_port,21,<<32,0,16,0>>],[]},
                 {sdl,init,1,[{file,"sdl.erl"},{line,90}]},
                 {wings_init,init,0,[{file,"wings_init.erl"},{line,36}]},
                 {wings,init,1,[{file,"wings.erl"},{line,90}]}]}

Short stack trace:
[]

Long stack trace:
[{ets,lookup_element,[wings_lang,{wings,halt_loop,2},2],[]},
 {wings_lang,str,2,[{file,"wings_lang.erl"},{line,33}]},
 {wings,halt_loop,1,[{file,"wings.erl"},{line,58}]}]



Reproducible: Always

Steps to Reproduce:
1. emerge wings (using wings, esdl, erlang in main tree)
2. Start wings with the command 'wings' in a terminal
Actual Results:  
Wings crashes

Expected Results:  
Wings starts successfully

Portage 2.1.11.30 (default/linux/amd64/10.0/desktop, gcc-4.6.3, glibc-2.15-r3, 3.4.5-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.4.5-gentoo-x86_64-Intel-R-_Core-TM-_i7-3820_CPU_@_3.60GHz-with-gentoo-2.2
Timestamp of tree: Thu, 01 Nov 2012 09:45:01 +0000
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.9-r1
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.4
sys-devel/binutils:       2.22.90
sys-devel/gcc:            4.5.3-r2, 4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo dustin seden lisp proaudio sugar x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.3 PUEL Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-mtune=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
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="/var/lib/layman/dustin /var/lib/layman/seden /var/lib/layman/lisp /var/lib/layman/pro-audio /var/lib/layman/sugar /usr/local/portage"
SYNC="rsync://portage.picnicpark.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif git gnome gpm gtk iconv icu ipv6 jack jpeg kde lcms ldap libnotify libsamplerate mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pppd pulseaudio qt qt3support qt4 readline sdl semantic-desktop session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml xv xvid zlib" 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" 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="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" 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 ubx" INPUT_DEVICES="evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

media-gfx/wings-1.1.1 was built with the following:
USE="(multilib)"
Comment 1 Uwe Sauter 2013-08-05 18:14:33 UTC
Created attachment 355184 [details]
complete build log

complete build log for failed media-gfx/wings-1.1.1 with unmasked media-libs/esdl-1.2
Comment 2 Uwe Sauter 2013-08-05 18:17:14 UTC
As stated in the build instructions, ESDL is needed in version 1.2 (https://github.com/dgud/wings/blob/master/BUILD.unix). This version is still masked in the portage tree.

When unmasking media-libs/esdl-1.2, emerging wings-1.1.1 failes with:

 * Messages for package media-gfx/wings-1.1.1:

 * Package:    media-gfx/wings-1.1.1
 * Repository: gentoo
 * Maintainer: graphics@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   preserve-libs sandbox splitdebug userpriv usersandbox
 * ERROR: media-gfx/wings-1.1.1 failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_compile
 *   environment, line 2118:  Called die
 * The specific snippet of code:
 *       make ESDL_PATH="${ERL_PATH}/$(best_version media-libs/esdl | cut -d/ -f2)" || die
 * 
 * If you need support, post the output of `emerge --info '=media-gfx/wings-1.1.1'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/wings-1.1.1'`.
 * The complete build log is located at '/var/log/portage/build/media-gfx/wings-1.1.1:20130805-180518.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/wings-1.1.1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-gfx/wings-1.1.1/work/wings-1.1.1'
 * S: '/var/tmp/portage/media-gfx/wings-1.1.1/work/wings-1.1.1'


#################################################
~ # emerge --info '=media-gfx/wings-1.1.1'
Portage 2.1.12.2 (default/linux/amd64/13.0, gcc-4.6.3, glibc-2.15-r3, 3.8.13-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.8.13-gentoo-x86_64-AMD_Phenom-tm-_9750_Quad-Core_Processor-with-gentoo-2.2
KiB Mem:     8178168 total,   4182180 free
KiB Swap:    4193788 total,   4193788 free
Timestamp of tree: Mon, 05 Aug 2013 17:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5, 3.2.5-r1
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo vmware sunrise x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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="-O2 -pipe -march=native"
DISTDIR="/home/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy compress-build-logs config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms split-elog split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://ftp.halifax.rwth-aachen.de/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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="/var/lib/layman/vmware /var/lib/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 7zip X acl acpi aio alsa amd64 bash-completion berkdb bluray bzip2 cairo caps cli consolekit cracklib crypt ctype cups cxx dbus dri dvd exif ffmpeg flac fltk fontconfig fortran gdbm gnutls gstreamer gtk gtk3 iconv icu ipv6 jpeg latex lcms libnotify libsamplerate lm_sensors logrotate lzma memlimit midi mmap mmx modules mp3 mpeg mudflap multilib musepack ncurses nfs nls nptl ntp ogg openal opengl openmp oss pam pch pcre pdf png policykit posix pulseaudio python qt4 readline sasl sdl session sndfile speex sqlite sqlite3 sse sse2 sse3 ssl ssse3 startup-notification taglib tcpd theora threads thunar tiff tk tls truetype udev unicode usb-v4l2 vdpau vorbis wxwidets xattr xft xinerama xml xorg xv xvmc xz 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 ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
#################################################

#################################################
~ # emerge -pqv '=media-gfx/wings-1.1.1'
[ebuild  N    ] media-gfx/wings-1.1.1
#################################################

complete ebuild log is attached
Comment 3 Uwe Sauter 2013-08-05 18:34:49 UTC
It seems as if the ebuild does not set ESDL_PATH on which the Makefile provided by the package does rely on.

A manual try gives the following output:

wings-1.1.1 # make
WINGS_VSN = 1.1.1
(cd intl_tools; make)
make[1]: Entering directory `/root/temp/wings-1.1.1/intl_tools'
make TYPE=opt common
make[2]: Entering directory `/root/temp/wings-1.1.1/intl_tools'
erlc  -W +debug_info +debug_info -o. tools.erl
make[2]: Leaving directory `/root/temp/wings-1.1.1/intl_tools'
make[1]: Leaving directory `/root/temp/wings-1.1.1/intl_tools'
(cd src; make)
make[1]: Entering directory `/root/temp/wings-1.1.1/src'
make TYPE=opt common
make[2]: Entering directory `/root/temp/wings-1.1.1/src'
erlc -pa /usr/lib64/erlang/lib/esdl-1.2/ebin  -I /usr/lib64/erlang/lib/esdl-1.2/include -I ../e3d -W +debug_info '-Dwings_version="1.1.1"' -pa ../intl_tools  -o../ebin wings_lang.erl
erlc -pa /usr/lib64/erlang/lib/esdl-1.2/ebin  -I /usr/lib64/erlang/lib/esdl-1.2/include -I ../e3d -W +debug_info '-Dwings_version="1.1.1"' -pa ../intl_tools  -o../ebin user_default.erl
erlc -pa /usr/lib64/erlang/lib/esdl-1.2/ebin  -I /usr/lib64/erlang/lib/esdl-1.2/include -I ../e3d -W +debug_info '-Dwings_version="1.1.1"' -pa ../intl_tools  -o../ebin wings.erl
:30: can't find include lib "esdl/include/gl.hrl"
:31: can't find include lib "esdl/include/glu.hrl"
wings.erl:118: undefined macro 'GL_INT'
wings.erl:75: function init/1 undefined
:128: Warning: type bool() is now called boolean(); please use the new name instead
:133: Warning: type bool() is now called boolean(); please use the new name instead
:162: Warning: type bool() is now called boolean(); please use the new name instead
:194: Warning: type bool() is now called boolean(); please use the new name instead
wings.erl:190: Warning: function open_file/1 is unused
wings.erl:1449: Warning: function restore_windows/1 is unused
wings.erl:1458: Warning: function restore_windows_1/2 is unused
wings.erl:1492: Warning: function geom_pos/1 is unused
wings.erl:1506: Warning: function geom_props/1 is unused
wings.erl:1511: Warning: function set_geom_props/2 is unused
wings.erl:1533: Warning: function initial_properties/0 is unused
make[2]: *** [../ebin/wings.beam] Error 1
make[2]: Leaving directory `/root/temp/wings-1.1.1/src'
make[1]: *** [opt] Error 2
make[1]: Leaving directory `/root/temp/wings-1.1.1/src'
make: *** [all] Error 2


This bug is described in #458596
Comment 4 Judge Dredd 2013-11-10 18:03:58 UTC
I have the same problem here.
$ wings
Driver failed: Driver compiled with incorrect version of erl_driver.h 

=ERROR REPORT==== 10-Nov-2013::21:43:29 ===
Error in process <0.30.0> with exit value: {badarg,[{erlang,port_control,[esdl_port,21,<<4 bytes>>],[]},{sdl,init,1,[{file,"sdl.erl"},{line,90}]},{wings_init,init,0,[{file,"wings_init.erl"},{line,36}]},{wings,init,1,[{file,"wings.erl"},{line,90}]}]}



Portage 2.2.1 (default/linux/x86/13.0/desktop, gcc-4.7.3, glibc-2.15-r3, 3.5.7-gentoo i686)
=================================================================
System uname: Linux-3.5.7-gentoo-i686-AMD_Athlon-tm-_64_Processor_3200+-with-gentoo-2.1
KiB Mem:     1547512 total,     47296 free
KiB Swap:     410620 total,    280440 free
Timestamp of tree: Sun, 10 Nov 2013 11:15:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5-r2, 3.2.5-r2
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4, 4.6.3, 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.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=k8-sse3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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="-O2 -march=k8-sse3 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -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 -march=i686 -pipe"
GENTOO_MIRRORS="http://gentoo.bloodhost.ru"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.ru.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk iconv ipv6 jpeg lcms ldap libnotify mad mng modules mp3 mp4 mpeg mudflap ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support qt4 readline sdl session spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 x86 xcb xml xv xvid zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 ubx" INPUT_DEVICES="keyboard mouse 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_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 5 Jan Hrabe 2013-12-12 15:49:06 UTC
I can confirm getting the same show-stopping error on AMD64:

~>wings
Driver failed: Driver compiled with incorrect version of erl_driver.h 
sh: line 0: exec: sdl_driver: not found

=ERROR REPORT==== 12-Dec-2013::10:43:51 ===
Error in process <0.30.0> with exit value: {badarg,[{erlang,port_control,[esdl_port,21,<<4 bytes>>],[]},{sdl,init,1,[{file,"sdl.erl"},{line,90}]},{wings_init,init,0,[{file,"wings_init.erl"},{line,36}]},{wings,init,1,[{file,"wings.erl"},{line,90}]}]}



Fatal internal error - log written to /home/hrabe/wings_crash.dump
Comment 6 Jeroen Roovers gentoo-dev 2016-06-11 10:17:45 UTC
Since nobody posted relevant information about media-libs/esdl, I'll close this for now. If media-libs/esdl-1.3.1 gives you the same trouble, please file a new bug report.