Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302771 - <media-sound/qmmp-0.3.2 fails to build if >=media-libs/libprojectm-2* is present
Summary: <media-sound/qmmp-0.3.2 fails to build if >=media-libs/libprojectm-2* is present
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://code.google.com/p/qmmp/source/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-29 16:58 UTC by Paul Tobias
Modified: 2010-01-29 17:11 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 Paul Tobias 2010-01-29 16:58:23 UTC
projectM 2.0 support in qmmp has been implemented in version 0.3.2. If we want to emerge qmmp 0.3.1 or earlier when projectm 2 is present, the build fails with the following error:

Scanning dependencies of target projectm
[ 74%] Building CXX object src/plugins/Visual/projectm/CMakeFiles/projectm.dir/projectmwidget.o
/var/tmp/portage/media-sound/qmmp-0.3.1/work/qmmp-0.3.1/src/plugins/Visual/projectm/projectmwidget.cpp: In member function 'virtual void ProjectMWidget::initializeGL()':
/var/tmp/portage/media-sound/qmmp-0.3.1/work/qmmp-0.3.1/src/plugins/Visual/projectm/projectmwidget.cpp:95: error: no matching function for call to 'projectM::addPresetURL(std::string, std::string, int)'
/usr/include/libprojectM/projectM.hpp:204: note: candidates are: unsigned int projectM::addPresetURL(const std::string&, const std::string&, const RatingList&)
make[2]: *** [src/plugins/Visual/projectm/CMakeFiles/projectm.dir/projectmwidget.o] Error 1
make[1]: *** [src/plugins/Visual/projectm/CMakeFiles/projectm.dir/all] Error 2
make: *** [all] Error 2
 * ERROR: media-sound/qmmp-0.3.1 failed:
 *   Make failed!


Reproducible: Always

Steps to Reproduce:
1. emerge '=media-libs/libprojectm-2*'
2. emerge '<media-sound/qmmp-0.3.2'

Actual Results:  
emerge '<media-sound/qmmp-0.3.2' fails

Expected Results:  
emerge '<media-sound/qmmp-0.3.2' should not fail

Portage 2.1.7.16 (default/linux/x86/10.0/desktop, gcc-4.4.2, glibc-2.10.1-r1, 2.6.33-rc5 i686)
=================================================================
System uname: Linux-2.6.33-rc5-i686-Intel-R-_Celeron-R-_M_processor_900MHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 29 Jan 2010 08:15:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4, 3.1.1-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /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/udev/rules.d"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --nospinner"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch usersync"
GENTOO_MIRRORS="ftp://ftp.fsn.hu/pub/linux/distributions/gentoo/ http://gentoo.inf.elte.hu/"
INSTALL_MASK="/media"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="en en_US hu"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--prune-empty-dirs --exclude-from=/etc/portage/rsync_excludes"
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/sunrise /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X a52 aac aalib acpi afterimage alsa ao async bash-completion berkdb branding bs2b bzip2 cairo cdr chdir cli consolekit crypt cue cups curl cxx dbus dga divx djvu dri dts dv dvd dvdr emboss enca exif fam ffmpeg flac fontconfig ftp fts3 fuse gcrypt gdbm geoip gif git glib glibc-omitfp glitz gmail gmedia gmp gnome-keyring gnutls gpg gpm gsf gstreamer gtk hal iconv icu id3 id3tag imap imlib iproute2 ipv6 jingle jpeg jpeg2k laptop libass libcaca libgcrypt libnotify libproxy libssh2 libtiger live lqr lyx lzma lzo mad matroska mmap mmx mmxext mng modules mozdevelop mozilla mp2 mp3 mp4 mpeg musepack ncurses netboot network network-cron nptl nptlonly ntp offensive ogg opengl openipmi openssl pam passwordsave pch pcre perl png policykit ppds pppd projectm pth python qt3support qt4 quicktime rar readline realmedia reflection replytolist resid resolvconf rtc rtsp samba schroedinger science sdl sdl-image session shout sms sndfile spell spl srt sse sse2 ssl startup-notification subversion svg symlink sysfs teamarena tex4ht tftp theora thunar tiff truetype udev unicode upnp urandom usb v4l v4l2 vim-syntax vim-with-x vlm vnc vorbis wavpack wifi win32codecs wma wmp wps wxwidgets wxwindows x264 x86 xcomposite xfce xml xorg xterm-color xulrunner xv xvid xvmc zlib" ALSA_CARDS="intel8x0 usb-audio" 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" CAMERAS="canon *" ELIBC="glibc" FOO2ZJS_DEVICES="hp1020" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="g15 ncurses png text xosd" LINGUAS="en en_US hu" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-01-29 17:11:59 UTC
Deleted 0.3.0* from Portage, and...

+  29 Jan 2010; Samuli Suominen <ssuominen@gentoo.org> qmmp-0.3.1.ebuild:
+  Fix projectm depend to <media-libs/projectm-2 in 0.3.1 wrt #302771, thanks
+  to Paul Tobias for reporting.

...restricted the projectm depend to older than 2 in 0.3.1

That should take care of this, thanks for reporting