Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293950 - media-sound/amarok-2.2.1 has wrong dependency on taglib
Summary: media-sound/amarok-2.2.1 has wrong dependency on taglib
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Jorge Manuel B. S. Vicetto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-21 12:00 UTC by Christopher Loessl
Modified: 2009-12-17 19:37 UTC (History)
5 users (show)

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 Christopher Loessl 2009-11-21 12:00:25 UTC
taglib-1.6 doesn't support the USE flags which are required by amarok-2.2.1

# grep taglib-1.6 /usr/portage/media-sound/amarok/amarok-2.2.1-r1.ebuild 
	>=media-libs/taglib-1.6[asf,mp4]
# USE="asf mp4" emerge -avp =taglib-1.6
....
[ebuild   R   ] media-libs/taglib-1.6  USE="-debug -examples -static-libs -test" 0 kB

# USE="asf mp4" emerge -avp =taglib-1.6.1
...
[ebuild     U ] media-libs/taglib-1.6.1 [1.6] USE="asf%* mp4%* -debug -examples -static-libs -test" 1,079 kB


Either correct the useflags in amarok or (if possible) add the use flags to taglib-1.6

Reproducible: Always

Steps to Reproduce:
1. add
media-sound/amarok
=x11-libs/qtscriptgenerator-0.1.0
=media-libs/taglib-extras-1.0.1
=dev-db/mysql-5.0.76-r1
=media-libs/taglib-1.6
media-sound/amarok-utils
media-libs/liblastfm
to /etc/portage/packeages.keywords
2. emerge -av amarok

Actual Results:  
# emerge -av amarok

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy ">=media-libs/taglib-1.6[asf,mp4]".
!!! One of the following packages is required to complete your request:
- media-libs/taglib-1.6 (Missing IUSE: mp4 asf)
(dependency required by "media-sound/amarok-2.2.1-r1" [ebuild])
(dependency required by "amarok" [argument])


Expected Results:  
Installation of amarok

Easy workaround:
add:
=media-libs/taglib-1.6.1
to /etc/portage/packages.keywords
Comment 1 Maciej Mrozowski gentoo-dev 2009-12-01 02:02:55 UTC
No, as stated by portage, you need to enable asf and mp4 USE flags for media-libs/taglib.

That being said this bug is invalid.
Comment 2 Maciej Mrozowski gentoo-dev 2009-12-01 02:05:34 UTC
Grr, no actually you're right - why do we force those two for amarok anyway?

(dependency should be raised to media-sound/taglib-1.6.1[asf,mp4] btw)
Comment 3 Jorge Manuel B. S. Vicetto (RETIRED) gentoo-dev 2009-12-01 02:15:01 UTC
Fixed on amarok-2.2.1-r2 - media-libs/taglib-1.6.1.
Thanks for the bug report.

PS - The mp4, asf use deps are specifically required by upstream.
Comment 4 Helmut Robben 2009-12-17 12:39:56 UTC
amarok and taglib won't work for me.

When emerging taglib with USE-flag "asf mp4" I get the following while emerging amarok or amarok-utils:

_______________________________________

pc-helmut ~ # emerge -av amarok-utils

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy ">=media-libs/taglib-1.6.1[-asf,-mp4]".
!!! One of the following packages is required to complete your request:                             
- media-libs/taglib-1.6.1-r1 (Change USE: -asf -mp4)
(dependency required by "media-sound/amarok-utils-2.2.1.90" [ebuild])                               
(dependency required by "amarok-utils" [argument])                                                  

________________________________________________

When emerging taglib with USE-flag "asf mp4" I get the following while emerging amarok or amarok-utils:


______________________________________________________

pc-helmut ~ # USE="-asf -mp4" emerge -av amarok-utils

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] media-libs/taglib-1.6.1-r1  USE="examples test -asf -debug -mp4 -static-libs" 0 kB
[ebuild  N    ] media-libs/taglib-extras-1.0.1  USE="-debug" 0 kB                                 
[ebuild  N    ] media-sound/amarok-utils-2.2.1.90  USE="bindist -debug" 0 kB                      

Total: 3 packages (3 new), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] Yes

>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 3) media-libs/taglib-1.6.1-r1
(...)
 * You've chosen to disable the asf use flag, thus taglib won't include
 * support for Microsoft's 'advanced systems format' media container   
 * You've chosen to disable the mp4 use flag, thus taglib won't include
 * support for the MPEG-4 part 14 / MP4 media container                
>>> Regenerating /etc/ld.so.cache...                                   

>>> Emerging (2 of 3) media-libs/taglib-extras-1.0.1
(...)
>>> Regenerating /etc/ld.so.cache...                      

>>> Emerging (3 of 3) media-sound/amarok-utils-2.2.1.90
 * amarok-2.2.1.90.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                            [ ok ]
 * checking ebuild checksums ;-) ...                                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                                [ ok ]
 * CPV:  media-sound/amarok-utils-2.2.1.90                                                                                  
 * REPO: gentoo                                                                                                             
 * USE:  bindist elibc_glibc kernel_linux test userland_GNU x86                                                             
>>> Unpacking source...                                                                                                     
>>> Unpacking amarok-2.2.1.90.tar.bz2 to /var/tmp/portage/media-sound/amarok-utils-2.2.1.90/work                            
>>> Source unpacked in /var/tmp/portage/media-sound/amarok-utils-2.2.1.90/work                                              
>>> Preparing source in /var/tmp/portage/media-sound/amarok-utils-2.2.1.90/work/amarok-2.2.1.90 ...                         
>>> Source prepared.                                                                                                        
>>> Configuring source in /var/tmp/portage/media-sound/amarok-utils-2.2.1.90/work/amarok-2.2.1.90 ...                       
>>> Working in BUILD_DIR: "/var/tmp/portage/media-sound/amarok-utils-2.2.1.90/work/amarok-2.2.1.90_build"                   
cmake -C /var/tmp/portage/media-sound/amarok-utils-2.2.1.90/temp/gentoo_common_config.cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_PLAYER=OFF -DWITH_UTILITIES=ON -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/media-sound/amarok-utils-2.2.1.90/temp/gentoo_rules.cmake /var/tmp/portage/media-sound/amarok-utils-2.2.1.90/work/amarok-2.2.1.90                                    
loading initial cache file /var/tmp/portage/media-sound/amarok-utils-2.2.1.90/temp/gentoo_common_config.cmake                
-- The C compiler identification is GNU         
-- The CXX compiler identification is GNU       
-- Check for working C compiler: /usr/bin/i686-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/i686-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info                 
-- Detecting C compiler ABI info - done          
-- Check for working CXX compiler: /usr/bin/i686-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/i686-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info               
-- Detecting CXX compiler ABI info - done        
-- Looking for dlopen in dl                    
-- Looking for dlopen in dl - found               
-- Taglib found: -L/usr/lib -ltag                 
-- Performing Test TAGLIB_ASF_FOUND                          
-- Performing Test TAGLIB_ASF_FOUND - Failed                                                                                 
CMake Error at CMakeLists.txt:27 (message):            
  TagLib does not have ASF support compiled in. 


-- Configuring incomplete, errors occurred!
 * ERROR: media-sound/amarok-utils-2.2.1.90 failed:
 *   cmake failed                                  
 *                                                 
 * Call stack:                                     
 *     ebuild.sh, line   61:  Called src_configure 
 *   environment, line 2988:  Called cmake-utils_src_configure
 *   environment, line  786:  Called _execute_optionaly 'src_configure'
 *   environment, line  228:  Called enable_cmake-utils_src_configure  
 *   environment, line 1195:  Called die                               
 * The specific snippet of code:                                       
 *       cmake "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 *                                                                        
 * If you need support, post the output of 'emerge --info =media-sound/amarok-utils-2.2.1.90',
 * the complete build log and the output of 'emerge -pqv =media-sound/amarok-utils-2.2.1.90'. 
 * The complete build log is located at '/var/tmp/portage/media-sound/amarok-utils-2.2.1.90/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/amarok-utils-2.2.1.90/temp/environment'.
 * S: '/var/tmp/portage/media-sound/amarok-utils-2.2.1.90/work/amarok-2.2.1.90'

>>> Failed to emerge media-sound/amarok-utils-2.2.1.90, Log file:

>>>  '/var/tmp/portage/media-sound/amarok-utils-2.2.1.90/temp/build.log'

 * Messages for package media-libs/taglib-1.6.1-r1:

 * You've chosen to disable the asf use flag, thus taglib won't include
 * support for Microsoft's 'advanced systems format' media container
 * You've chosen to disable the mp4 use flag, thus taglib won't include
 * support for the MPEG-4 part 14 / MP4 media container

 * Messages for package media-sound/amarok-utils-2.2.1.90:

 * ERROR: media-sound/amarok-utils-2.2.1.90 failed:
 *   cmake failed
 *
 * Call stack:
 *     ebuild.sh, line   61:  Called src_configure
 *   environment, line 2988:  Called cmake-utils_src_configure
 *   environment, line  786:  Called _execute_optionaly 'src_configure'
 *   environment, line  228:  Called enable_cmake-utils_src_configure
 *   environment, line 1195:  Called die
 * The specific snippet of code:
 *       cmake "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 *
 * If you need support, post the output of 'emerge --info =media-sound/amarok-utils-2.2.1.90',
 * the complete build log and the output of 'emerge -pqv =media-sound/amarok-utils-2.2.1.90'.
 * The complete build log is located at '/var/tmp/portage/media-sound/amarok-utils-2.2.1.90/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/amarok-utils-2.2.1.90/temp/environment'.
 * S: '/var/tmp/portage/media-sound/amarok-utils-2.2.1.90/work/amarok-2.2.1.90'

 * GNU info directory index is up-to-date.
_____________________________________________________

Here is my emerge --info:

----------------------------------------------------

pc-helmut ~ # emerge --info
Portage 2.1.7.15 (default/linux/x86/10.0, gcc-4.4.2, glibc-2.11-r1, 2.6.32-gentoo-self i686)
=================================================================                           
System uname: Linux-2.6.32-gentoo-self-i686-Intel-R-_Core-TM-2_CPU_6300_@_1.86GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 17 Dec 2009 11:15:02 +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.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.3
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.64
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA" 
CBUILD="i686-pc-linux-gnu"                                                                         
CFLAGS="-march=prescott -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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/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="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"                        
EMERGE_DEFAULT_OPTS="--with-bdeps y"           
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"                                                                                                           
GENTOO_MIRRORS="http://mirror.cambrium.nl/pub/os/linux/gentoo/ ftp://mirror.netcologne.de/gentoo/ ftp://mirror.cambrium.nl/pub/os/linux/gentoo/ ftp://91.121.124.139/gentoo-distfiles/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"                      
LANG="de_DE.UTF-8"                                                                                                           
LC_ALL="de_DE.UTF8"                                                                                                          
LDFLAGS="-Wl,-O1"                                                                                                            
LINGUAS="de en"                                 
MAKEOPTS="-j3"
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/portage/local/layman/gentoo-de /usr/portage/local/layman/kbfx"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d a52 aac aalib accessibility acl acpi adabas adns aim alsa ao apache apache2 apm asf audiofile avahi bash bcmath berkdb bidi bindist blas bootstrapping boundschecking bzip2 cairo calendar canna caps cdb cddb cdinstall cdparanoia cdr cjk clamav cli cracklib crypt cscope ctype cups curl curlwrappers cxx dbase dbm dbus dbx dga doc dri dts dv dvb dvd dvdr dvdread eds encode esd esoob evo examples exif expat fastcgi fax fbcon ffmpeg fftw firefox flac flatfile fltk foomaticdb fortran freewnn ftp gcj gd gdbm gif ginac glut gmp gnustep gnutls gphoto2 gpm graphviz guile hal hardened howl hyperwave iconv icq idn ieee1394 imagemagick imap imlib innodb iodbc ipod ipv6 itk jabber jack java javascript jbig jikes joystick jpeg jpeg2k junit kde kdehiddenvisibility kdexdeltas kerberos krb4 krb5 lame lcms ldap lesstif lgssapi libcaca libedit libg++ libnotify libsamplerate libwww lm_sensors lua m17n mad maildir mailwrapper matroska mbox mcal mcve memlimit mhash mikmod milter mime mjpeg mmap mmx mng mnogosearch modules mono motif mozilla mp2 mp3 mp4 mpeg mpi mplayer msn mudflap musepack musicbrainz mysql mysqli nas ncurses neXt netboot netcdf networking nis nls nntp nocd nptl nptlonly nsplugin odbc offensive ofx ogg openal openexr opengl openmp oracle osc oscar pam pcntl pcre pda pdf perl peruser pfpro php plotutils png portaudio posix postgres ppds pppd prefork prelude profile pulseaudio python qdbm qt3support qt4 quicktime radius rdesktop readline recode reflection ruby samba sasl savedconfig scanner sdl session sharedext sharedmem shorten simplexml skey slang slp smartcard sndfile snmp soap sockets socks5 source sox speex spell spl sqlite sqlite3 sse sse2 ssl startup svg svga swig sysfs sysvipc szip tcl tcpd test theora threads threadsave tidy tiff tk tokenizer truetype unicode usb v4l vcd verbose vhosts videos vim vorbis wddx wifi win32codecs wmf x264 x86 xcomposite xface xine xinerama xinetd xml xmlrpc xorg xpm xprint xsl xv xvid yahoo yaz 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" DVB_CARDS="ttpci tt-budget" ELIBC="glibc" FRITZCAPI_CARDS="b1pci" INPUT_DEVICES="keyboard evdev mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Helmut Robben 2009-12-17 16:56:52 UTC
Here is my workaround:

  USE="-asf -mp4" emerge taglib

  emerge -av amarok amarok-utils

Before saying "Yes" here, doing another

  USE="asf mp4" emerge taglib

in another xterm.

As I know, this is not a real solution, but I have not better idea for now, and it works.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2009-12-17 17:26:33 UTC
(In reply to comment #5)
> As I know, this is not a real solution, but I have not better idea for now, and
> it works.

USE="-bindist asf mp4" is the solution.
Comment 7 Helmut Robben 2009-12-17 19:37:41 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > As I know, this is not a real solution, but I have not better idea for now, and
> > it works.
> 
> USE="-bindist asf mp4" is the solution.
> 

Thank You Very Much, Samuli!!!!
That worked for me and my (self-written) update-scripts don't bother me anymore.
Best regards,
Helmut