Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 390093 - games-emulation/stella-3.4 doesn't build with minizip USE flag on sys-libs/zlib
Summary: games-emulation/stella-3.4 doesn't build with minizip USE flag on sys-libs/zlib
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on: 383179
Blocks:
  Show dependency tree
 
Reported: 2011-11-10 15:00 UTC by James L. Hammons
Modified: 2012-02-13 17:29 UTC (History)
0 users

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


Attachments
build.log (build.log,56.25 KB, text/plain)
2011-11-10 15:00 UTC, James L. Hammons
Details

Note You need to log in before you can comment on or make changes to this bug.
Description James L. Hammons 2011-11-10 15:00:01 UTC
Created attachment 292125 [details]
build.log

The latest Stella doesn't build correctly when zlib is made with the minizip USE flag enabled. This is on both ~x86 and ~amd64. Wouldn't be much of an issue, but something in the latest KDE update forced minizip on zlib.

A workaround is to build zlib with -minizip, build stella, then rebuild zlib with +minizip, but this is really a broken way to do it.

Attached is the build.log from ~x86.


# emerge --info =games-emulation/stella-3.4
Portage 2.1.10.32 (default/linux/x86/10.0/desktop, gcc-4.4.6, glibc-2.13-r4, 2.6.39-gentoo i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.39-gentoo-i686-Intel-R-_Pentium-R-_4_CPU_2.80GHz-with-gentoo-2.1
Timestamp of tree: Wed, 09 Nov 2011 23:00:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.6-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.4_p6-r1, 1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.6-r1, 4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r4
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo proaudio Local-Portage-Overlay
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=pentium4"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=pentium4"
DISTDIR="/mnt/filestore/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
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/pro-audio /usr/local/portage"
SYNC="rsync://192.168.0.9/gentoo-portage"
USE="16bit 3ds 64bit 7z 7zip X a52 aac ace acl acpi agg alsa amarok amr ao apng archive asf async audiofile bash-completion bidi bittorrent bjam blender-game bluetooth branding bzip2 cairo cdda cdparanoia cdr chm chroot cjk cli consolekit cpudetection cracklib crypt css cups curl cviewer cxx dbus declarative depth32 device-mapper devil dia dirac divx djbfft djvu dri dssi dts dv dvb dvbplayer dvd dvdr dvdread dvi ecc effects embedded emboss encode exif extra extrafilters fam fat fbcon ffmpeg fftw firefox fits flac fluidsynth fontconfig fontforge fortran fping gd gdbm gdu gif gimp gimpprint git gkrellm glib glitz gnutella gnutls gphoto2 gpm gs gtk gtk2 guile gzip hddtemp htmlhandbook iconv icu id3 idea ieee1394 imagemagick imlib inkjar ipv6 jack jack-tmpfs jackmidi java javascript joystick jpeg jpeg2k kde kdecards kerberos kig-scripting kpathsea kqemu ksolver ladcca ladspa lame lash latex lcms ldap ldapsam libass libnotify libsamplerate lilypond lm_sensors lzma lzo lzw mad matroska melt mikmod mime ming minizip mjpeg mmap mmx mmxext mng mod modplug modules mp3 mp4 mpeg mpeg2 mudflap musepack music mysql ncurses nls nova nptl nptlonly nsplugin ntfs offensive ofx ogg openal openexr opengl openmp openssh openssl oscar pam pango pch pcre pdf physfs plasma player png policykit povray ppds pppd qt3 qt3support qt4 quicktime rar rdesktop readline regex reiserfs rle rpm rtc rtsp samba scanner schroedinger sdl sdl-sound sdlaudio semantic-desktop session shorten sid slang sndfile sockets solver sound sox speex spell sql sqlite sqlite3 sse sse2 ssl startup-notification subtitles subversion svg svgz sysfs t1lib tagwriting tcpd tetex tga theora thesaurus threads tidy tiff transcode truetype twolame type1 udev unicode unzip usb utempter vcd vdr verse visualization vorbis vorbis-psy wavpack webkit win32codecs wma wmf wmp wordperfect wxwindows x264 x86 xanim xcb xchatdccserver xcomposite xetex xft xine xml xorg xpm xprint xrandr xscreensaver xulrunner xv xvid xvmc zip zlib" ALSA_CARDS="ice1712" 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="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 keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" 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, LANG, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

games-emulation/stella-3.4 was built with the following:
USE="joystick opengl"


# emerge -pqv =games-emulation/stella-3.4
[ebuild   R   ] games-emulation/stella-3.4  USE="joystick opengl"


The error:

i686-pc-linux-gnu-g++ -Wp,-MMD,"src/emucore/.deps/OSystem.d",-MQ,"src/emucore/OSystem.o",-MP -O2 -pipe -march=pentium4   -Wall -Wno-multichar -Wunused -fno-rtti -fomit-frame-pointer  -DUNIX -DBSPF_UNIX -DHAVE_GETTIMEOFDAY -DHAVE_INTTYPES -DHAVE_X11 -DDISPLAY_OPENGL -DWINDOWED_SUPPORT -DSOUND_SUPPORT -DDEBUGGER_SUPPORT -DSNAPSHOT_SUPPORT -DJOYSTICK_SUPPORT -DCHEATCODE_SUPPORT -DTHUMB_SUPPORT  -Isrc/emucore -Isrc/common -Isrc/gui -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Isrc/unix -Isrc/debugger -Isrc/debugger/gui -Isrc/yacc -Isrc/cheat -c src/emucore/OSystem.cxx -o src/emucore/OSystem.o
In file included from src/emucore/OSystem.cxx:53:
src/emucore/unzip.h:114: error: expected initializer before 'OF'
src/emucore/unzip.h:127: error: expected initializer before 'OF'
src/emucore/unzip.h:138: error: expected initializer before 'OF'
src/emucore/unzip.h:145: error: expected initializer before 'OF'
src/emucore/unzip.h:153: error: expected initializer before 'OF'
src/emucore/unzip.h:166: error: expected initializer before 'OF'
src/emucore/unzip.h:172: error: expected initializer before 'OF'
src/emucore/unzip.h:179: error: expected initializer before 'OF'
src/emucore/unzip.h:192: error: expected initializer before 'OF'
src/emucore/unzip.h:218: error: expected initializer before 'OF'
src/emucore/unzip.h:224: error: expected initializer before 'OF'
src/emucore/unzip.h:231: error: expected initializer before 'OF'
src/emucore/unzip.h:245: error: expected initializer before 'OF'
src/emucore/unzip.h:250: error: expected initializer before 'OF'
src/emucore/unzip.h:255: error: expected initializer before 'OF'
src/emucore/OSystem.cxx: In member function 'uInt8* OSystem::openROM(std::string, std::string&, uInt32&)':
src/emucore/OSystem.cxx:741: error: 'unzOpen' was not declared in this scope
src/emucore/OSystem.cxx:743: error: 'unzGoToFirstFile' was not declared in this scope
src/emucore/OSystem.cxx:753: error: 'unzGetCurrentFileInfo' was not declared in this scope
src/emucore/OSystem.cxx:770: error: 'unzGoToNextFile' was not declared in this scope
src/emucore/OSystem.cxx:777: error: 'unzClose' was not declared in this scope
src/emucore/OSystem.cxx:786: error: 'unzOpenCurrentFile' was not declared in this scope
src/emucore/OSystem.cxx:787: error: 'unzReadCurrentFile' was not declared in this scope
src/emucore/OSystem.cxx:788: error: 'unzCloseCurrentFile' was not declared in this scope
src/emucore/OSystem.cxx:789: error: 'unzClose' was not declared in this scope
src/emucore/OSystem.cxx:793: error: 'unzClose' was not declared in this scope
make: *** [src/emucore/OSystem.o] Error 1
emake failed
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2011-11-10 16:39:59 UTC
fixed.
Comment 2 James L. Hammons 2011-11-10 18:40:43 UTC
Wow! One of the fastest bugfixes I've ever seen in Gentoo! :-D

Hatari is failing to build for the same reason, can you roll a quick fix in there too or should I file a formal bug report for that one too? :-)