View previous topic :: View next topic |
Author |
Message |
Thistled Guru
Joined: 06 Jan 2011 Posts: 572 Location: Scotland
|
Posted: Sun Jul 07, 2013 3:14 pm Post subject: [ SOLVED] Stable XBMC fails to build with stable taglib. |
|
|
Really don't know what is going on here team.
XBMC-12.2-r1 fails to build.
It freaks out every time at the "taglib" part of the build with the following.
Code: | CPP xbmc/music/tags/TagLoaderTagLib.o
TagLoaderTagLib.cpp: In member function ‘virtual bool CTagLoaderTagLib::Load(const string&, MUSIC_INFO::CMusicInfoTag&, MUSIC_INFO::EmbeddedArt*)’:
TagLoaderTagLib.cpp:127:77: error: no matching function for call to ‘TagLib::FLAC::File::File(MUSIC_INFO::TagLibVFSStream*&, TagLib::ID3v2::FrameFactory*)’
TagLoaderTagLib.cpp:127:77: note: candidates are:
/usr/local/include/taglib/flacfile.h:186:7: note: TagLib::FLAC::File::File(const TagLib::FLAC::File&)
/usr/local/include/taglib/flacfile.h:186:7: note: candidate expects 1 argument, 2 provided
/usr/local/include/taglib/flacfile.h:87:7: note: TagLib::FLAC::File::File(TagLib::FileName, TagLib::ID3v2::FrameFactory*, bool, TagLib::AudioProperties::ReadStyle)
/usr/local/include/taglib/flacfile.h:87:7: note: no known conversion for argument 1 from ‘MUSIC_INFO::TagLibVFSStream*’ to ‘TagLib::FileName {aka const char*}’
/usr/local/include/taglib/flacfile.h:75:7: note: TagLib::FLAC::File::File(TagLib::FileName, bool, TagLib::AudioProperties::ReadStyle)
/usr/local/include/taglib/flacfile.h:75:7: note: no known conversion for argument 1 from ‘MUSIC_INFO::TagLibVFSStream*’ to ‘TagLib::FileName {aka const char*}’
TagLoaderTagLib.cpp:137:42: error: no matching function for call to ‘TagLib::MPC::File::File(MUSIC_INFO::TagLibVFSStream*&)’
TagLoaderTagLib.cpp:137:42: note: candidates are:
/usr/local/include/taglib/mpcfile.h:160:7: note: TagLib::MPC::File::File(const TagLib::MPC::File&)
/usr/local/include/taglib/mpcfile.h:160:7: note: no known conversion for argument 1 from ‘MUSIC_INFO::TagLibVFSStream*’ to ‘const TagLib::MPC::File&’
/usr/local/include/taglib/mpcfile.h:88:7: note: TagLib::MPC::File::File(TagLib::FileName, bool, TagLib::AudioProperties::ReadStyle)
/usr/local/include/taglib/mpcfile.h:88:7: note: no known conversion for argument 1 from ‘MUSIC_INFO::TagLibVFSStream*’ to ‘TagLib::FileName {aka const char*}’
TagLoaderTagLib.cpp:139:77: error: no matching function for call to ‘TagLib::MPEG::File::File(MUSIC_INFO::TagLibVFSStream*&, TagLib::ID3v2::FrameFactory*)’
TagLoaderTagLib.cpp:139:77: note: candidates are:
/usr/local/include/taglib/mpegfile.h:256:7: note: TagLib::MPEG::File::File(const TagLib::MPEG::File&)
/usr/local/include/taglib/mpegfile.h:256:7: note: candidate expects 1 argument, 2 provided
/usr/local/include/taglib/mpegfile.h:90:7: note: TagLib::MPEG::File::File(TagLib::FileName, TagLib::ID3v2::FrameFactory*, bool, TagLib::AudioProperties::ReadStyle)
/usr/local/include/taglib/mpegfile.h:90:7: note: no known conversion for argument 1 from ‘MUSIC_INFO::TagLibVFSStream*’ to ‘TagLib::FileName {aka const char*}’
/usr/local/include/taglib/mpegfile.h:80:7: note: TagLib::MPEG::File::File(TagLib::FileName, bool, TagLib::AudioProperties::ReadStyle)
/usr/local/include/taglib/mpegfile.h:80:7: note: no known conversion for argument 1 from ‘MUSIC_INFO::TagLibVFSStream*’ to ‘TagLib::FileName {aka const char*}’
TagLoaderTagLib.cpp:143:81: error: no matching function for call to ‘TagLib::TrueAudio::File::File(MUSIC_INFO::TagLibVFSStream*&, TagLib::ID3v2::FrameFactory*)’
TagLoaderTagLib.cpp:143:81: note: candidates are:
/usr/local/include/taglib/trueaudiofile.h:166:7: note: TagLib::TrueAudio::File::File(const TagLib::TrueAudio::File&)
/usr/local/include/taglib/trueaudiofile.h:166:7: note: candidate expects 1 argument, 2 provided
/usr/local/include/taglib/trueaudiofile.h:95:7: note: TagLib::TrueAudio::File::File(TagLib::FileName, TagLib::ID3v2::FrameFactory*, bool, TagLib::AudioProperties::ReadStyle)
/usr/local/include/taglib/trueaudiofile.h:95:7: note: no known conversion for argument 1 from ‘MUSIC_INFO::TagLibVFSStream*’ to ‘TagLib::FileName {aka const char*}’
/usr/local/include/taglib/trueaudiofile.h:86:7: note: TagLib::TrueAudio::File::File(TagLib::FileName, bool, TagLib::AudioProperties::ReadStyle)
/usr/local/include/taglib/trueaudiofile.h:86:7: note: no known conversion for argument 1 from ‘MUSIC_INFO::TagLibVFSStream*’ to ‘TagLib::FileName {aka const char*}’
TagLoaderTagLib.cpp:145:45: error: no matching function for call to ‘TagLib::WavPack::File::File(MUSIC_INFO::TagLibVFSStream*&)’
TagLoaderTagLib.cpp:145:45: note: candidates are:
/usr/local/include/taglib/wavpackfile.h:150:7: note: TagLib::WavPack::File::File(const TagLib::WavPack::File&)
/usr/local/include/taglib/wavpackfile.h:150:7: note: no known conversion for argument 1 from ‘MUSIC_INFO::TagLibVFSStream*’ to ‘const TagLib::WavPack::File&’
/usr/local/include/taglib/wavpackfile.h:87:7: note: TagLib::WavPack::File::File(TagLib::FileName, bool, TagLib::AudioProperties::ReadStyle)
/usr/local/include/taglib/wavpackfile.h:87:7: note: no known conversion for argument 1 from ‘MUSIC_INFO::TagLibVFSStream*’ to ‘TagLib::FileName {aka const char*}’
TagLoaderTagLib.cpp:149:56: error: no matching function for call to ‘TagLib::Vorbis::File::File(MUSIC_INFO::TagLibVFSStream*&)’
TagLoaderTagLib.cpp:149:56: note: candidates are:
/usr/local/include/taglib/vorbisfile.h:94:7: note: TagLib::Vorbis::File::File(const TagLib::Vorbis::File&)
/usr/local/include/taglib/vorbisfile.h:94:7: note: no known conversion for argument 1 from ‘MUSIC_INFO::TagLibVFSStream*’ to ‘const TagLib::Vorbis::File&’
/usr/local/include/taglib/vorbisfile.h:70:7: note: TagLib::Vorbis::File::File(TagLib::FileName, bool, TagLib::AudioProperties::ReadStyle)
/usr/local/include/taglib/vorbisfile.h:70:7: note: no known conversion for argument 1 from ‘MUSIC_INFO::TagLibVFSStream*’ to ‘TagLib::FileName {aka const char*}’
TagLoaderTagLib.cpp:152:52: error: no matching function for call to ‘TagLib::Ogg::FLAC::File::File(MUSIC_INFO::TagLibVFSStream*&)’
TagLoaderTagLib.cpp:152:52: note: candidates are:
/usr/local/include/taglib/oggflacfile.h:103:7: note: TagLib::Ogg::FLAC::File::File(const TagLib::Ogg::FLAC::File&)
/usr/local/include/taglib/oggflacfile.h:103:7: note: no known conversion for argument 1 from ‘MUSIC_INFO::TagLibVFSStream*’ to ‘const TagLib::Ogg::FLAC::File&’
/usr/local/include/taglib/oggflacfile.h:71:7: note: TagLib::Ogg::FLAC::File::File(TagLib::FileName, bool, TagLib::AudioProperties::ReadStyle)
/usr/local/include/taglib/oggflacfile.h:71:7: note: no known conversion for argument 1 from ‘MUSIC_INFO::TagLibVFSStream*’ to ‘TagLib::FileName {aka const char*}’
TagLoaderTagLib.cpp:157:58: error: no matching function for call to ‘TagLib::Vorbis::File::File(MUSIC_INFO::TagLibVFSStream*&)’
TagLoaderTagLib.cpp:157:58: note: candidates are:
/usr/local/include/taglib/vorbisfile.h:94:7: note: TagLib::Vorbis::File::File(const TagLib::Vorbis::File&)
/usr/local/include/taglib/vorbisfile.h:94:7: note: no known conversion for argument 1 from ‘MUSIC_INFO::TagLibVFSStream*’ to ‘const TagLib::Vorbis::File&’
/usr/local/include/taglib/vorbisfile.h:70:7: note: TagLib::Vorbis::File::File(TagLib::FileName, bool, TagLib::AudioProperties::ReadStyle)
/usr/local/include/taglib/vorbisfile.h:70:7: note: no known conversion for argument 1 from ‘MUSIC_INFO::TagLibVFSStream*’ to ‘TagLib::FileName {aka const char*}’
TagLoaderTagLib.cpp: In member function ‘void CTagLoaderTagLib::SetFlacArt(TagLib::FLAC::File*, MUSIC_INFO::EmbeddedArt*, MUSIC_INFO::CMusicInfoTag&)’:
TagLoaderTagLib.cpp:617:3: error: ‘Picture’ is not a member of ‘TagLib::FLAC’
TagLoaderTagLib.cpp:617:3: note: suggested alternative:
/usr/include/taglib/asfpicture.h:49:25: note: ‘TagLib::ASF::Picture’
TagLoaderTagLib.cpp:617:18: error: ‘cover’ was not declared in this scope
TagLoaderTagLib.cpp:617:30: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
TagLoaderTagLib.cpp:618:8: error: ‘Picture’ is not a member of ‘TagLib::FLAC’
TagLoaderTagLib.cpp:618:8: note: suggested alternative:
/usr/include/taglib/asfpicture.h:49:25: note: ‘TagLib::ASF::Picture’
TagLoaderTagLib.cpp:618:8: error: ‘Picture’ is not a member of ‘TagLib::FLAC’
TagLoaderTagLib.cpp:618:8: note: suggested alternative:
/usr/include/taglib/asfpicture.h:49:25: note: ‘TagLib::ASF::Picture’
TagLoaderTagLib.cpp:618:23: error: template argument 1 is invalid
TagLoaderTagLib.cpp:618:34: error: invalid type in declaration before ‘=’ token
TagLoaderTagLib.cpp:618:46: error: ‘class TagLib::FLAC::File’ has no member named ‘pictureList’
TagLoaderTagLib.cpp:619:13: error: ‘Picture’ is not a member of ‘TagLib::FLAC’
TagLoaderTagLib.cpp:619:13: note: suggested alternative:
/usr/include/taglib/asfpicture.h:49:25: note: ‘TagLib::ASF::Picture’
TagLoaderTagLib.cpp:619:13: error: ‘Picture’ is not a member of ‘TagLib::FLAC’
TagLoaderTagLib.cpp:619:13: note: suggested alternative:
/usr/include/taglib/asfpicture.h:49:25: note: ‘TagLib::ASF::Picture’
TagLoaderTagLib.cpp:619:28: error: template argument 1 is invalid
TagLoaderTagLib.cpp:619:45: error: invalid type in declaration before ‘i’
TagLoaderTagLib.cpp:619:45: error: invalid use of qualified-name ‘::ConstIterator’
TagLoaderTagLib.cpp:619:45: error: expected ‘;’ before ‘i’
TagLoaderTagLib.cpp:619:45: error: ‘i’ was not declared in this scope
TagLoaderTagLib.cpp:619:58: error: request for member ‘begin’ in ‘pictures’, which is of non-class type ‘int’
TagLoaderTagLib.cpp:619:81: error: request for member ‘end’ in ‘pictures’, which is of non-class type ‘int’
TagLoaderTagLib.cpp:619:86: error: expected ‘)’ before ‘;’ token
TagLoaderTagLib.cpp:619:90: error: ‘i’ was not declared in this scope
TagLoaderTagLib.cpp:619:91: error: expected ‘;’ before ‘)’ token
make[1]: *** [TagLoaderTagLib.o] Error 1
make: *** [xbmc/music/tags/musictags.a] Error 2
make: *** Waiting for unfinished jobs....
|
I know "Frodo" requires taglib-1.8, and that is what is installed.
Even the stable gst-plugins-taglib is installed.
I have installed Frodo on a fresh stable install and it compiles without error, but not on my main box.
emerge --info
Code: | Portage 2.1.12.2 (default/linux/x86/13.0/desktop/gnome, gcc-4.6.3, glibc-2.15-r3, 3.8.13-gentoo i686)
=================================================================
System Settings
=================================================================
System uname: Linux-3.8.13-gentoo-i686-Pentium-R-_Dual-Core_CPU_E5400_@_2.70GHz-with-gentoo-2.2
KiB Mem: 3555744 total, 1365008 free
KiB Swap: 1992056 total, 1989392 free
Timestamp of tree: Sun, 07 Jul 2013 11:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash: 4.2_p45
dev-java/java-config: 2.1.12-r1
dev-lang/python: 2.6.8-r2, 2.7.5, 3.1.5-r1, 3.2.5-r1, 3.3.2-r1
dev-util/cmake: 2.8.11.1
dev-util/pkgconfig: 0.28
sys-apps/baselayout: 2.2
sys-apps/openrc: 0.11.8
sys-apps/sandbox: 2.6-r1
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.6, 1.12.6
sys-devel/binutils: 2.23.1
sys-devel/gcc: 4.4.7, 4.5.4, 4.6.3
sys-devel/gcc-config: 1.8
sys-devel/libtool: 2.4.2
sys-devel/make: 3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc: 2.15-r3
Repositories: gentoo gamerlay spring zugaina bitcoin OVERLAY-pigs_overlay
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.3 dlj-1.1 Oracle-BCLA-JavaSE PUEL ut2003"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/mnt/nfs_portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=y --binpkg-respect-use=n"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://gentoo.virginmedia.com/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/mnt/nfs_portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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="/mnt/nfs_portage"
PORTDIR_OVERLAY="/var/lib/layman/gamerlay /var/lib/layman/Spring /var/lib/layman/zugaina /var/lib/layman/bitcoin /usr/local/portage"
SYNC="rsync://pig2/gentoo-portage"
USE="X X509 a52 aac acl acpi additions alsa animation-rtl antialiasing apache2 applet archive artworkextra autoipd berkdb binary-drivers bluetooth bonobo branding bzip2 cairo caps cdaudio cdda cdio cdr cdrkit cdrom cdrtools cg cifs cleartype cli client clutter colord consolekit cpumining cracklib crypt cups curl curlwrappers cursors cxx dbase dbus dconf desktop-effects device-mapper dga dns dri dso dts dv dvb dvbpsi dvd dvdnav dvdr dvdread eds effects emboss encode equalizer evo exif extraicons extras fallback fam fat fat16 fbcondecor fbosd fbsplash ffmpeg fftw firefox fits flac flash fltk flv fontconfig foomaticdb fortran ftp fuse g3dvl games gcj gconf gd gdbm gdm gdu gedit geoloc gif git gjs glade glib glitz glx gmedia gnome gnome-dvb-daemon gnome-keyring gnome-online-accounts gnome-print gnome-shell gnomecanvas gnomecd gnutls gphoto2 gpib gpm gps graphviz grub gstreamer gtk gtk3 gtkhtml gtkstyle gudev h224 hardware hddtemp help-screen hibernate-script hidd howl-compat hpn htsp http httpd i2c icc icons iconv id3 id3tag idn ieee1394 imagemagick imap inotify introspection ipc iplayer iptables ipv6 ivman jack java java6 javascript jit jpeg jpeg2k json kdrive kerberos keymap lame laptop lastfm lastfmradio lcms ldap libburn libgda libmpeg2 libnotify libsamplerate libsecret libsexy libsoup libv4l2 libvisual lm_sensors logrotate lzo mad mailwrapper mbox mdnsresponder-compat metadata mime mms mmx mmxext mng modplug modules mono mozilla mp2 mp3 mp4 mpd mpeg mpg123 mplayer msn mudflap nautilus ncurses net network networking networkmanager new-login nfs nfsv3 nfsv4 nls nptl nsplugin nss ntfs ntp nvcontrol nvram objc offensive ogg openal opengl openstreetmap optimization osc oss outputs overlays pam pango parted pcre pdf perl pipechan pixmaps player playlist plugins pm-utils pmu png policykit ppds previewer pvr pyqt4 python python-daap quicktime quvi raw readline rss rsync rtsp sasl scrobbler sctp sdl search-screen sendto server session sftp shaders sharedext sharedmem shm shmvideo shotwell showtabbar sid sip slideshow slp smi smp smtp sndfile snmp socialweb sockets sound spell splash sql sqlite sse sse2 sse3 ssh ssl ssse3 startup-notification svg swf symlink syslog sysvipc taglib tcpd tdb teletext terminal tetex themes theora tiff tk toolbar tools tordns totem transcode truetype tvheadend twisted twolame type3 udev udev-acl udisks underscores unicode unsupported upnp upower usb userpriv v4l v4l2 v8 vaapi vala vdpau vfat vga vhook video videos virtualbox vnc vorbis wav wavpack weather webdav webgl win32codecs wma wmf wmp wxwidgets x264 x86 x86emu xattr xcb xcomposite xcursors xf86 xine xml xosd xpm xrandr xrender xv xvid xvmc youtube yv12 zlib" ABI_X86="32" ALSA_CARDS="emu10k1 hda-intel" APACHE2_MODULES="auth_digest authn_file authz_groupfile authz_host dav dav_fs dir mime status" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="openssl" DRACUT_MODULES="plymouth" DVB_CARDS="usb-dtt200u usb-wt220u" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19 ruby20" 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"
USE_PYTHON="2.7 3.2"
Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
=================================================================
Package Settings
=================================================================
media-tv/xbmc-11.0-r1 was built with the following:
USE="alsa bluetooth mysql projectm pvr rsxs sse sse2 udev vaapi vdpau xrandr -airplay (-altivec) -avahi -bluray -cec -css -debug -goom -joystick -midi -profile -pulseaudio -rtmp -samba -webserver"
|
I'm at a loss. _________________ Whatever you do, do it properly!
Last edited by Thistled on Sun Jul 07, 2013 4:46 pm; edited 1 time in total |
|
Back to top |
|
|
Thistled Guru
Joined: 06 Jan 2011 Posts: 572 Location: Scotland
|
Posted: Sun Jul 07, 2013 4:46 pm Post subject: |
|
|
** UPDATE **
Seem to have solved the problem.
I saw the following in the code above.
Code: | /usr/local/include/taglib/ |
Which got me thinking - I had a taglib folder living in
Code: | /usr/local/include/ |
and another living in
So I renamed (as a temporary measure - but maybe for good if I find no other problems.) the taglib folder in
and copied the taglib folder which lives in
then XBMC-12.2-r1 compiled.
I do recall having a problem with trying to install xbmc some time ago, and because I had some local libraries lying around, it would not build.
Me thinks the same has happened again, but this time I nailed it alone.
Woop woop!
You live n learn eh?
_________________ Whatever you do, do it properly! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|