Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 423391 - media-sound/amark-2.5.0-r3 does not detect media-libs/liblastfm-1.0.1
Summary: media-sound/amark-2.5.0-r3 does not detect media-libs/liblastfm-1.0.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jorge Manuel B. S. Vicetto
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-24 20:03 UTC by Graham Murray
Modified: 2012-07-08 14:06 UTC (History)
5 users (show)

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


Attachments
liblastfm1.patch (liblastfm1.patch,29.15 KB, patch)
2012-06-30 10:31 UTC, Johannes Huber (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Graham Murray 2012-06-24 20:03:52 UTC
Rebuilding media-sound/amarok-2.5.0-r3 following the upgrade to media-libs/liblastfm-1.0.1, does not build the lastfm plugin.

-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
-----------------------------------------------------------------------------
   * kdelibs - The toolkit Amarok uses to build
   * qtscript-qt - QtScript Qt Bindings
   * mysqld - Embedded MySQL Libraries
   * mysql - MySQL Server Libraries
   * zlib - zlib
   * qca2 - Qt Cryptographic Architecture
   * QJson - Qt JSON Parser used for the Playdar Collection
   * ffmpeg - Libraries and tools for handling multimedia data
   * libofa - Enable MusicDNS service
   * libmtp - Enable Support for portable media devices that use the media transfer protocol
   * curl - cURL provides the necessary network libraries required by mp3tunes.
   * libxml2 - LibXML2 is an XML parser required by mp3tunes.
   * openssl or libgcrypt - OpenSSL or GNU Libgcrypt provides cryptographic functions required by mp3tunes.
   * loudmouth - Loudmouth is the communication backend needed by mp3tunes for syncing.
   * Qt4 Glib support - Qt4 must be compiled with glib support for mp3tunes
   * gobject - Required by libgpod and mp3tunes.
   * glib2 - Required by libgpod and mp3tunes

-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
-----------------------------------------------------------------------------
   * liblastfm (0.3 or higher)  <http://cdn.last.fm/src/liblastfm-0.3.0.tar.bz2>
     Enable Last.Fm service, including scrobbling, song submissions, and suggested song dynamic playlists
   * libmygpo-qt (1.0.5 or higher)  <http://wiki.gpodder.org/wiki/Libmygpo-qt>
     Enable gpodder.net service

emerge -pv amarok liblastfm

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

Calculating dependencies... done!
[ebuild   R    ] media-libs/liblastfm-1.0.1  USE="fingerprint -test" 0 kB
[ebuild   R    ] media-sound/amarok-2.5.0-r3  USE="cdda embedded lastfm mp3tunes mtp ofa opengl semantic-desktop utils -daap -debug -ipod" LINGUAS="en_GB fr -af -ar -ast -be -bg -bs -ca -ca@valencia -cs -csb -da -de -el -eo -es -et -eu -fa -fi -ga -gl -he -hr -hu -is -it -ja -km -ko -ku -lt -lv -mai -ml -ms -nb -nds -ne -nl -nn -oc -pa -pl -pt -pt_BR -ro -ru -se -si -sk -sl -sq -sr -sr@Latn -sr@ijekavian -sr@ijekavianlatin -sv -tg -th -tr -ug -uk -wa -zh_CN -zh_TW" 0 kB

Total: 2 packages (2 reinstalls), Size of downloads: 0 kB
 emerge --info
Portage 2.2.0_alpha112 (hardened/linux/amd64, gcc-4.6.3, glibc-2.15-r2, 3.4.3-hardened-r1 x86_64)
=================================================================
System uname: Linux-3.4.3-hardened-r1-x86_64-Intel-R-_Core-TM-_i5-2320_CPU_@_3.00GHz-with-gentoo-2.1
Timestamp of tree: Sun, 24 Jun 2012 15:45:01 +0000
app-shells/bash:          4.2_p29
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.5, 1.12.1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2, 4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo raw betagarden
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/bind"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/games/angband/edit/ /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/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=native -mtune=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-march=native -mtune=native -O2 -pipe"
GENTOO_MIRRORS="http://mirrors.linuxant.fr/distfiles.gentoo.org/ http://mirror.qubenet.net/mirror/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://mirrors.linuxant.fr/distfiles.gentoo.org/ ftp://mirror.qubenet.net/mirror/gentoo/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB en fr"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/raw /var/lib/layman/betagarden"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="X a52 aac acl alsa amd64 apache2 berkdb branding bzip2 cairo caps cdda cddb cli cracklib crypt cups cxx dbus doc dri dts dvd emacs encode examples exif fam ffmpeg flac fortran gd gdbm gif gnome gnome-keyring gnutls gpm gstreamer gtk hardened iconv icu ipv6 java jpeg jpeg2k justify kde lcms libnotify lua lzma mad matroska milter mmx mng modules mp3 mpeg mudflap multilib mysql ncurses nls nptl nsplugin ogg opengl openmp pam pax_kernel pcre perl pfd png policykit postgres ppds pppd pulseaudio python qt4 readline sdl semantic-desktop session speex spell sqlite sqlite3 sse sse2 sse3 ssl ssse3 startup-notification svg tcpd theora threads tiff tk truetype udev unicode urandom usb vim-syntax vorbis x264 xattr xcb xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem 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 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 sheets 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB en fr" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nouveau" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Andreas Sturmlechner gentoo-dev 2012-06-24 22:00:24 UTC
confirmed for amarok-9999
Comment 2 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2012-06-24 23:15:59 UTC
(In reply to comment #1)
> confirmed for amarok-9999

amarok is being ported to liblastfm1. This affects the live version, but should not affect 2.5.0*.

http://mail.kde.org/pipermail/amarok-devel/2012-June/010363.html
Comment 3 Andreas Sturmlechner gentoo-dev 2012-06-25 06:01:27 UTC
I'm not sure I understand, if live still needs to be ported shouldn't <amarok-9999 then depend on <liblastfm-1.0.0?

For now I can live without the lastfm plugin, I can't downgrade to 0.3.3 anyway it seems:

>>> Preparing source in /var/tmp/portage/media-libs/liblastfm-0.3.3/work/mxcl-liblastfm-1c739eb ...
/usr/lib64/ruby/1.9.1/rubygems.rb:28:in `require': cannot load such file -- rubygems/defaults (LoadError)
        from /usr/lib64/ruby/1.9.1/rubygems.rb:28:in `<top (required)>'
        from <internal:gem_prelude>:1:in `require'
        from <internal:gem_prelude>:1:in `<compiled>'
 * Applying liblastfm-0.3.3-ruby-1.9-fix.patch ...                                                          [ ok ]
Comment 4 Johannes Huber (RETIRED) gentoo-dev 2012-06-30 10:31:23 UTC
Created attachment 316755 [details, diff]
liblastfm1.patch

From bug #419509 by Andrei Mihăilă. Applied in upstream master repo, will be part of amarok-2.7 and needs >=media-libs/liblastfm-1.0.0.
Comment 5 Andreas Sturmlechner gentoo-dev 2012-06-30 19:06:04 UTC
patch works fine with amarok-2.5.0-r3
Comment 6 Matěj Laitl 2012-07-03 13:10:15 UTC
This bug is invalid. Amarok 2.5 and future Amarok 2.6 depend and will depend on liblastfm 0.3*. Amarok 2.7 will be ported to liblastfm >= 1.0, but the patch is not even merged into master yet.

So the only thing that should be changed is dependency of amarok-2.5.0-r3.ebuild to "lastfm? ( >=media-libs/liblastfm-0.3* )", please don't patch Amarok 2.5 or 2.6 to work with liblastfm 1.*, this would be unsupported by upstream.

I'm active Amarok developer.
Comment 7 Andreas Sturmlechner gentoo-dev 2012-07-07 15:42:23 UTC
The liblastfm1-patch lately seems to have caused startup-segfaults with 2.5.0-r3 and 2.5.90, so I removed it again und downgraded to liblastfm-0.3.3.

Nevermind the previous 0.3.3 trouble, that's ruby-1.9 related.
Comment 8 Andrei Mihăilă 2012-07-07 21:10:58 UTC
(In reply to comment #7)
> The liblastfm1-patch lately seems to have caused startup-segfaults with
> 2.5.0-r3 and 2.5.90, so I removed it again und downgraded to liblastfm-0.3.3.
> 

The patched version (still) works for me (scrobbling right now while listening to a dynamic playlist based on Last.Fm similar tracks).

However, based on what Matěj Laitl says (so loudly at the beginning), downgrading to liblastfm-0* should be the right thing to do.
Comment 9 Andreas Sturmlechner gentoo-dev 2012-07-08 10:00:20 UTC
It did work fine at first for me with 2.5.0-r3, but
Comment 10 Andreas Sturmlechner gentoo-dev 2012-07-08 10:02:23 UTC
...following a rebuild of kdelibs-4.8.95 it segfaulted every time. Rebuild of amarok deps and amarok itself, 2.5.0 and 2.5.90 didn't help, removing the patch then did.
Comment 11 Andrei Mihăilă 2012-07-08 10:12:05 UTC
(In reply to comment #10)
> ...following a rebuild of kdelibs-4.8.95 it segfaulted every time. Rebuild
> of amarok deps and amarok itself, 2.5.0 and 2.5.90 didn't help, removing the
> patch then did.

I see. I'm on kde 4.8.4. I'll bear your problem in mind when I rebuild or upgrade it.
Comment 12 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2012-07-08 14:06:56 UTC
13:53 <+CIA-1> jmbsvicetto * gentoo-x86/media-sound/amarok/ (amarok-2.4.3-r1.ebuild amarok-2.5.0-r3.ebuild ChangeLog):       
13:53 <+CIA-1> [media-sound/amarok] Fix media-libs/liblastfm dependency - bug 423391.

14:05 <+CIA-1> jmbsvicetto proj/kde:master * rc549130d /media-sound/amarok/ (metadata.xml amarok-2.5.90.ebuild): [media-sound/amarok] Fix media-libs/liblastfm dependency - bug 423391.

Added dep on liblastfm-0.3*