Package Details: cantata 2.5.0-6

Git Clone URL: https://aur.archlinux.org/cantata.git (read-only, click to copy)
Package Base: cantata
Description: Qt5 client for the music player daemon (MPD)
Upstream URL: https://github.com/CDrummond/cantata
Licenses: GPL3
Submitter: arojas
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 14
Popularity: 0.24
First Submitted: 2024-01-24 15:31 (UTC)
Last Updated: 2024-07-14 08:34 (UTC)

Latest Comments

« First ‹ Previous 1 2

KdU7aq commented on 2024-01-30 13:27 (UTC)

Having problems building the package with makepkg. Giving error: make: *** [Makefile:156: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...

Can confirm I'm getting the same error, like @FabioLolix mentioned this is related to TagLib

/home/0axde67/.cache/paru/clone/cantata/src/cantata-2.5.0/tags/tags.cpp: In function ‘void Tags::readAPETags(TagLib::APE::Tag*, Song*, ReplayGain*, QImage*, int*)’:
/home/0axde67/.cache/paru/clone/cantata/src/cantata-2.5.0/tags/tags.cpp:622:64: error: ‘const class TagLib::APE::Item’ has no member named ‘value’; did youmean ‘values’?
  622 |          TagLib::ByteVector item = map["COVER ART (FRONT)"].value();
      |                                                             ^~~~~
      |                                                             values
[ 10%] Building CXX object 3rdparty/solid-lite/CMakeFiles/solidlite.dir/devicemanager.cpp.o
/home/0axde67/.cache/paru/clone/cantata/src/cantata-2.5.0/tags/tags.cpp: In function ‘void Tags::readTags(TagLib::FileRef, Song*, ReplayGain*, QImage*, QString*, int*)’:
/home/0axde67/.cache/paru/clone/cantata/src/cantata-2.5.0/tags/tags.cpp:1304:36: error: invalid conversion from ‘TagLib::Tag*’ to ‘TagLib::ID3v2::Tag*’ [-fpermissive]
 1304 |             readID3v2Tags(file->tag(), song, rg, img, lyrics, rating);
      |                           ~~~~~~~~~^~
      |                                    |
      |                                    TagLib::Tag*
/home/0axde67/.cache/paru/clone/cantata/src/cantata-2.5.0/tags/tags.cpp:313:47: note:   initializing argument 1 of ‘void Tags::readID3v2Tags(TagLib::ID3v2::Tag*, Song*, ReplayGain*, QImage*, QString*, int*)’
  313 | static void readID3v2Tags(TagLib::ID3v2::Tag *tag, Song *song, ReplayGain *rg, QImage *img, QString *lyrics, int *rating)
      |                           ~~~~~~~~~~~~~~~~~~~~^~~
/home/0axde67/.cache/paru/clone/cantata/src/cantata-2.5.0/tags/tags.cpp: In function ‘bool Tags::writeTags(TagLib::FileRef, const Song&, const Song&, constRgTags&, const QByteArray&, int, bool)’:
/home/0axde67/.cache/paru/clone/cantata/src/cantata-2.5.0/tags/tags.cpp:1422:45: error: invalid conversion from ‘TagLib::Tag*’ to ‘TagLib::ID3v2::Tag*’ [-fpermissive]
 1422 |             changed=writeID3v2Tags(file->tag(), from, to, rg, img, rating) || changed;
      |                                    ~~~~~~~~~^~
      |                                             |
      |                                             TagLib::Tag*
/home/0axde67/.cache/paru/clone/cantata/src/cantata-2.5.0/tags/tags.cpp:496:48: note:   initializing argument 1 of ‘bool Tags::writeID3v2Tags(TagLib::ID3v2::Tag*, const Song&, const Song&, const RgTags&, const QByteArray&, int)’
  496 | static bool writeID3v2Tags(TagLib::ID3v2::Tag *tag, const Song &from, const Song &to, const RgTags &rg, const QByteArray &img, int rating)
      |                            ~~~~~~~~~~~~~~~~~~~~^~~
/home/0axde67/.cache/paru/clone/cantata/src/cantata-2.5.0/tags/tags.cpp: In function ‘Song Tags::read(const QString&)’:
/home/0axde67/.cache/paru/clone/cantata/src/cantata-2.5.0/tags/tags.cpp:1458:76: warning: ‘virtual int TagLib::AudioProperties::length() const’ is deprecated [-Wdeprecated-declarations]
 1458 | fileref.audioProperties() ? fileref.audioProperties()->length() : 0;
      |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~

In file included from /usr/include/taglib/fileref.h:33,
                 from /home/0axde67/.cache/paru/clone/cantata/src/cantata-2.5.0/tags/filetyperesolver.h:28,
                 from /home/0axde67/.cache/paru/clone/cantata/src/cantata-2.5.0/tags/tags.cpp:26:
/usr/include/taglib/audioproperties.h:82:17: note: declared here
   82 |     virtual int length() const;
      |                 ^~~~~~

[...]

[ 35%] Linking CXX static library libsolidlite.a
[ 35%] Built target solidlite
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'cantata-2.5.0-4'

FabioLolix commented on 2024-01-29 17:55 (UTC)

@d_fajardo your post don't identify which is the error, only that it fails, anyway, I made some tests, there has been a taglib update to v2.0 this have introduced breaking changes, taglib1 have been uploaded on the AUR, bad news there isn't a way to specify the taglib path with cmake at first sight

the options at the moment are:

  • disable taglib support (this disable tagging, replaygain and media device)
  • depends or makedepends on taglib1 but the pkgbuild must be build in clean chroot using a local repo or passing the taglib package

d_fajardo commented on 2024-01-29 17:23 (UTC)

Having problems building the package with makepkg. Giving error: make: *** [Makefile:156: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...