Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 252383 - games-emulation/generator-0.35_p3 ebuild fails to compile, at least missing tcl and tk dependencies
Summary: games-emulation/generator-0.35_p3 ebuild fails to compile, at least missing t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-24 13:15 UTC by Pedro Palhoto
Modified: 2009-11-04 04:50 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro Palhoto 2008-12-24 13:15:34 UTC
Emerging dev-lang/tcl and dev-lang/tk compiles games-emulation/generator a bit further, then I'm stuck with SDL related errors. I have media-libs/libsdl-1.2.13 installed.

Reproducible: Always

Steps to Reproduce:
1. emerge -1 dev-lang/tcl dev-lang/tk
2. emerge games-emulation/generator
Actual Results:  
i686-pc-linux-gnu-gcc  -O2 -pipe -fomit-frame-pointer -W -Wall -Wformat=2  -Wl,-O1 -o generator-tcltk cpu68k.o mem68k.o reg68k.o event.o generator.o state.o cpuz80.o vdp.o gensound.o memz80.o ui-tcltk.o diss68k.o gensoundp-unix.o ../cpu68k/lib68k.a ../ym2612/libym2612.a -lz -lbz2 -ljpeg ../raze/libraze.a ../sn76496/libsn76496.a -ltk -ltcl ../cpu68k/tab68k.o
gensoundp-unix.o: In function `soundp_output':
gensoundp-unix.c:(.text+0x2b): undefined reference to `SDL_LockAudio'
gensoundp-unix.c:(.text+0x48): undefined reference to `SDL_UnlockAudio'
gensoundp-unix.c:(.text+0xbe): undefined reference to `SDL_UnlockAudio'
gensoundp-unix.o: In function `soundp_samplesbuffered':
gensoundp-unix.c:(.text+0xe4): undefined reference to `SDL_LockAudio'
gensoundp-unix.c:(.text+0xef): undefined reference to `SDL_UnlockAudio'
gensoundp-unix.o: In function `soundp_stop':
gensoundp-unix.c:(.text+0x10b): undefined reference to `SDL_WasInit'
gensoundp-unix.c:(.text+0x158): undefined reference to `SDL_PauseAudio'
gensoundp-unix.c:(.text+0x15d): undefined reference to `SDL_CloseAudio'
gensoundp-unix.c:(.text+0x169): undefined reference to `SDL_QuitSubSystem'
gensoundp-unix.o: In function `soundp_start':
gensoundp-unix.c:(.text+0x18b): undefined reference to `SDL_WasInit'
gensoundp-unix.c:(.text+0x19b): undefined reference to `SDL_InitSubSystem'
gensoundp-unix.c:(.text+0x2b5): undefined reference to `SDL_OpenAudio'
gensoundp-unix.c:(.text+0x2c4): undefined reference to `SDL_PauseAudio'
gensoundp-unix.c:(.text+0x2e1): undefined reference to `SDL_GetError'
gensoundp-unix.c:(.text+0x2fd): undefined reference to `SDL_QuitSubSystem'
gensoundp-unix.c:(.text+0x30b): undefined reference to `SDL_GetError'
collect2: ld returned 1 exit status
make[2]: *** [generator-tcltk] Error 1
make[2]: Leaving directory `/tmp/portage/portage/games-emulation/generator-0.35_p3/work/generator-0.35-cbiere-r3/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/portage/portage/games-emulation/generator-0.35_p3/work/generator-0.35-cbiere-r3'
make: *** [all] Error 2
 *
 * ERROR: games-emulation/generator-0.35_p3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2797:  Called die
 * The specific snippet of code:
 *           emake -j1 || die "building ${mygui}";
 *  The die message:
 *   building svgalib
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/tmp/portage/portage/games-emulation/generator-0.35_p3/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/portage/games-emulation/generator-0.35_p3/temp/environment'.

Expected Results:  
Software merged successfully.

emerge --info
Portage 2.1.4.5 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.26-gentoo-r4 i686)
=================================================================
System uname: 2.6.26-gentoo-r4 i686 Pentium III (Coppermine)
Timestamp of tree: Wed, 24 Dec 2008 00:30:02 +0000
distcc 3.0 i686-pc-linux-gnu [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer"
CHOST="i686-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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="candy ccache collision-protect distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://cesium.di.uminho.pt/pub/gentoo/ ftp://ftp.rnl.ist.utl.pt/gentoo http://darkstar.ist.utl.pt/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en pt es zh_CN ja"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=30"
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="/tmp/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage-overlays/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acl acpi aim alsa amr ao arts audiofile avahi avi bash-completion berkdb bittorrent bzip2 caps cdparanoia cdr cjk cli cracklib crypt css cups cvs dbus divx4linux dri dts dv dvd dvdr dvdread encode exif extrafilters fame fat festival ffmpeg fftw flac flash fortran ftp fuse gadu gcc gcj gdbm ggi gif gpm hal hfs iconv icq id3tag ieee1394 imagemagick imlib ipod ipv6 isdnlog jabber jack java javascript jfs joystick jpeg jpeg2k kerberos ladspa lame latex ldap libclamav libsamplerate lirc lzo mad midi mikmod mjpeg mmx modplug moznopango mp3 mp4 mpeg msn mudflap musepack musicbrainz mysql mythtv nas ncurses netjack nls nptl nptlonly nsplugin ntfs nuv oav ogg openal opengl openmp oss pam pam-mysql pcmcia pcre pdf perl php png portaudio postgres pppd python quicktime rdesktop readline reflection reiser4 reiserfs ruby samba sdl sdl-sound session sftp sid slp sndfile sox speex spl sql sqlite srvdir sse ssl subversion svg sysfs tcpd theora threads tiff truetype unicode usb v4l v4l2 vcd vim-syntax vorbis wavpack win32codecs wma x264 x86 xfs xine xml xorg xv xvid yahoo zeroconf zlib" ALSA_CARDS="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="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 synaptics joystick vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pt es zh_CN ja" LIRC_DEVICES="avermedia98" USERLAND="GNU" VIDEO_CARDS="savage fbdev v4l vesa vga vmware"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2009-01-15 22:53:53 UTC
Builds fine for me with stable x86, without having tcl or tk installed.  Reopen with the output from emerge -evp games-emulation/generator and the full output from the build attempt.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2009-11-04 04:50:02 UTC
bugzilla
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2009-11-04 04:50:13 UTC
no reply, closing.