After upgrading media-libs/jpeg from 6b-r8 to 7 games-fps/nexuiz-2.5.1 refuses to run with the following error: Wrong JPEG library version: library is 70, caller expects 62 Masking media-libs/jpeg-7 and emerging media-libs/jpeg-6b-r8 solves the problem, but I consider this report as a warning too. After upgrading media-libs/jpeg portage tells you to run emerge @preserved-rebuild, which on my system was about 35 packages and took some hours. After downgrading jpeg lib you have to run it again which will also take some time. Revdep-rebuild does not help neither re-emerging nexuiz. Reproducible: Always Actual Results: Nexuiz does not start after media-libs/jpeg update. Expected Results: Nexuiz working as before media-libs/jpeg update. Portage 2.2_rc39 (default/linux/x86/2008.0, gcc-4.4.1, glibc-2.10.1-r0, 2.6.30-tuxonice-r5-bno i686) ================================================================= System uname: Linux-2.6.30-tuxonice-r5-bno-i686-Intel-R-_Core-TM-2_Duo_CPU_E4500_@_2.20GHz-with-gentoo-2.0.1 Timestamp of tree: Sun, 23 Aug 2009 07:45:02 +0000 ccache version 2.4 [disabled] app-shells/bash: 4.0_p28 dev-lang/python: 2.6.2-r1, 3.1.1 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.4-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11 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.30-r1 ACCEPT_KEYWORDS="x86 ~x86" ALSA_CARDS="hda-intel" 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" ARCH="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CCACHE_DIR="/pt/ccache" CCACHE_SIZE="1G" CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CLEAN_DELAY="1" COLLISION_IGNORE="/usr/lib/python2.6/site-packages/PyKDE4" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.3/env /usr/kde/4.3/share/config /usr/kde/4.3/shutdown /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/compiler /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d" CVS_RSH="ssh" CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer" DCCC_PATH="/usr/lib/distcc/bin" DISTCC_LOG="" DISTCC_VERBOSE="0" DISTDIR="/pt/distfiles" ELIBC="glibc" EMERGE_DEFAULT_OPTS="--ask --verbose --keep-going" EMERGE_WARNING_DELAY="10" FEATURES="assume-digests autoconfig distlocks fixpackages metadata-transfer nodoc noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox" FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}"" GCC_SPECS="" GDK_USE_XFT="1" GENTOO_MIRRORS="ftp://gentoo.inode.at/source/" HOME="/home/bete" INFOPATH="/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.4.1/info" INPUT_DEVICES="keyboard mouse" INSTALL_MASK="/media /usr/local" KERNEL="linux" LANG="pl_PL.UTF-8" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LC_ALL="pl_PL.UTF-8" LDFLAGS="-Wl,-O1" LESS="-R -M --shift 5" LESSOPEN="|lesspipe.sh %s" LINGUAS="pl" LOGNAME="root" LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:" MAIL="/var/mail/bete" MAKEOPTS="-j4 -s" MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.19.1/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.4.1/man:/usr/kde/4.3/share/man" NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" NOCOLOR="true" OPENGL_PROFILE="nvidia" PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin:/usr/kde/4.2/sbin:/usr/kde/4.2/bin" PKGDIR="/pt/packages" PKG_CONFIG_PATH="/usr/kde/4.3/lib/pkgconfig" PORTAGE_ARCHLIST="ppc x86-openbsd ppc-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 x86-macos x64-openbsd ia64-hpux hppa x86-netbsd amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64-solaris mips-irix m68k sh x86-solaris sparc-fbsd" PORTAGE_BINHOST_CHUNKSIZE="3000" PORTAGE_BIN_PATH="/usr/lib/portage/bin" PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png" PORTAGE_CONFIGROOT="/" PORTAGE_DEBUG="0" PORTAGE_DEPCACHEDIR="/var/cache/edb/dep" PORTAGE_ELOG_CLASSES="log warn error" PORTAGE_ELOG_MAILFROM="portage@localhost" PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}" PORTAGE_ELOG_MAILURI="root" PORTAGE_ELOG_SYSTEM="save_summary echo" PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5" PORTAGE_FETCH_RESUME_MIN_SIZE="350K" PORTAGE_GID="250" PORTAGE_INST_GID="0" PORTAGE_INST_UID="0" PORTAGE_NICENESS="19" PORTAGE_PYM_PATH="/usr/lib/portage/pym" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/excluded" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_RSYNC_RETRIES="5" PORTAGE_TMPDIR="/pt/temp" PORTAGE_VERBOSE="1" PORTAGE_WORKDIR_MODE="0700" PORTDIR="/portage" PORTDIR_OVERLAY="/pt/overlay/layman/sunrise /pt/overlay" PRELINK_PATH_MASK="/usr/lib/klibc" PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}"" ROOT="/" ROOTPATH="/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:/usr/i686-pc-linux-gnu/gcc-bin/4.4.1:/usr/kde/4.3/sbin:/usr/kde/4.3/bin" RPMDIR="/usr/portage/rpm" RUBYOPT="-rauto_gem" SHELL="/bin/bash" SUDO_COMMAND="/usr/bin/emerge --info" SUDO_GID="1000" SUDO_UID="1000" SUDO_USER="bete" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" TERM="screen" USE="7zip X aac acpi alsa atm audiofile bash-completion berkdb bittorrent bzip2 cdr cracklib crypt cups curl custom-optimization dga dhcp dri dvd dvdr dvdread enca encode escreen exif extramodules fat fbcon fbsplash filepicker firefox flac fortran ftp gdbm gif glibc-omitfp glut hddtemp ibam iconv idn imap imlib insecure-savers irc isdnlog jpeg kde kdeenablefinal kdehiddenvisibility kdeprefix lame libwww lm_sensors mad mmx mmxext mozbranding moznopango mp3 mplayer mudflap multiuser musepack ncurses nls noamazon nothemes nptl nptlonly nsplugin ntfs nvidia obex ogg opengl openmp pcre pdf perl png pop ppds pppd python qt3support qt4 quicktime readline reflection reiserfs sdl session slang sndfile sox spl sse sse2 ssl ssse3 subtitles suid symlink sysfs tabs tcpd thesaurus tiff transmitter truetype unicode usb userlocales v4l v4l2 vim-pager visualization voice vorbis win32codecs x86 xcomposite xfs xorg xpm xrandr xv xvid zlib" ALSA_CARDS="hda-intel" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" USERLAND="GNU" VIDEO_CARDS="nvidia" USER="root" USERLAND="GNU" USERNAME="root" USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS" USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND" USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d" VIDEO_CARDS="nvidia"
8<------------8<-------------------------------8<------- Initializing Video Mode: fullscreen 1280x800x32x60hz Linked against SDL version 1.2.13 Using SDL library version 1.2.13 GL_VENDOR: NVIDIA Corporation GL_RENDERER: GeForce 8400M G/PCI/SSE2 GL_VERSION: 3.1.0 NVIDIA 190.18 0 SDL joystick(s) found: Trying to load library... "libjpeg.so.62" - loaded. Trying to load library... "libpng12.so.0" - loaded. 8<------------8<-------------------------------8<------- Thanks "Preserved-rebuild" feature, i still have this lib on my system, but only because of another package i didn't rebuild yet. The problem might be that libjpeg is listed in RDEPEND and not DEPEND, because it is not strictly needed to build nexuiz. Hence : $ ldd /usr/games/bin/nexuiz* | grep jpeg returns nothing. (Another thing that bugs me : Why libpng listed in RDEPEND for nexuiz ?) Rebuilding Nexuiz now ...
More information here : http://www.alientrap.org/forum/viewtopic.php?t=5170
Created attachment 202059 [details, diff] Patch to use system libjpeg instead of hardcoded 6.2 version Here is a working patch, backported from upstream HEAD SVN.
Created attachment 202062 [details, diff] Patched ebuild
(In reply to comment #4) > Created an attachment (id=202062) [edit] > Patched ebuild Maybe I am missing something but I can see only patch not patched ebuild here.
Fixed, thanks.
Seems not fixed in 2.4.2: ... Found 0 cdrom drives. CDAudio_Init: No CD in player. Can't get initial CD volume CD Audio Initialized Client using an automatically assigned port Client opened a socket on address local:2 Client opened a socket on address 0.0.0.0:55137 Wrong JPEG library version: library is 70, caller expects 62
Agreed, this should be fixed for the versions marked fully stable (AMD64).
(In reply to comment #8) > Agreed, this should be fixed for the versions marked fully stable (AMD64). > That's fixed in version starting from -2.5.1-r1 : *nexuiz-2.5.1-r1 (24 Aug 2009) 24 Aug 2009; Tristan Heaven <nyhm@gentoo.org> +nexuiz-2.5.1-r1.ebuild, +files/nexuiz-2.5.1-jpeg.patch: Patch from Gef Lebster to fix incompatibility with jpeg-7, bug #282406 Maybe it's time for a STABLEREQ on -2.5*.