[Slackbuilds-users] BUG: Cannot build clementine after chromaprint upgrade
Willy Sudiarto Raharjo
willysr at slackbuilds.org
Tue Jan 3 03:04:21 UTC 2017
> I'm using -current but this might happen as well with 14.2 so I report
> it here.
>
> After SBo's last ChangeLog and its chromaprint-1.4 update, clementine
> cannot run anymore.
>
> Trying to rebuild fails with the following errors:
>
> [ 61%] Building CXX object
> src/CMakeFiles/clementine_lib.dir/musicbrainz/acoustidclient.cpp.o
> [ 61%] Building CXX object
> src/CMakeFiles/clementine_lib.dir/musicbrainz/chromaprinter.cpp.o /tmp/SBo/Clementine-1.3.1/src/musicbrainz/chromaprinter.cpp:
> In member function ‘QString
> Chromaprinter::CreateFingerprint()’: /tmp/SBo/Clementine-1.3.1/src/musicbrainz/chromaprinter.cpp:147:35:
> error: invalid conversion from ‘void*’ to ‘const int16_t* {aka const
> short int*}’ [-fpermissive] data.size() / 2); ^ In file included
> from /tmp/SBo/Clementine-1.3.1/src/musicbrainz/chromaprinter.cpp:27:0: /usr/include/chromaprint.h:235:45:
> note: initializing argument 2 of ‘int
> chromaprint_feed(ChromaprintContext*, const int16_t*, int)’
> CHROMAPRINT_API int chromaprint_feed(ChromaprintContext *ctx, const
> int16_t *data, int size);
> ^ /tmp/SBo/Clementine-1.3.1/src/musicbrainz/chromaprinter.cpp:152:72:
> error: invalid conversion from ‘void**’ to ‘uint32_t** {aka unsigned
> int**}’ [-fpermissive] int ret =
> chromaprint_get_raw_fingerprint(chromaprint, &fprint, &size); ^ In file
> included
> from /tmp/SBo/Clementine-1.3.1/src/musicbrainz/chromaprinter.cpp:27:0: /usr/include/chromaprint.h:273:45:
> note: initializing argument 2 of ‘int
> chromaprint_get_raw_fingerprint(ChromaprintContext*, uint32_t**, int*)’
> CHROMAPRINT_API int chromaprint_get_raw_fingerprint(ChromaprintContext
> *ctx, uint32_t **fingerprint, int *size);
> ^ /tmp/SBo/Clementine-1.3.1/src/musicbrainz/chromaprinter.cpp:158:62:
> error: invalid conversion from ‘void*’ to ‘const uint32_t* {aka const
> unsigned int*}’ [-fpermissive] &encoded, &encoded_size, 1); ^ In file
> included
> from /tmp/SBo/Clementine-1.3.1/src/musicbrainz/chromaprinter.cpp:27:0: /usr/include/chromaprint.h:331:45:
> note: initializing argument 1 of ‘int
> chromaprint_encode_fingerprint(const uint32_t*, int, int, char**, int*,
> int)’ CHROMAPRINT_API int chromaprint_encode_fingerprint(const uint32_t
> *fp, int size, int algorithm, char **encoded_fp, int *encoded_size, int
> base64);
> ^ /tmp/SBo/Clementine-1.3.1/src/musicbrainz/chromaprinter.cpp:158:62:
> error: invalid conversion from ‘void**’ to ‘char**’ [-fpermissive]
> &encoded, &encoded_size, 1); ^ In file included
> from /tmp/SBo/Clementine-1.3.1/src/musicbrainz/chromaprinter.cpp:27:0: /usr/include/chromaprint.h:331:45:
> note: initializing argument 4 of ‘int
> chromaprint_encode_fingerprint(const uint32_t*, int, int, char**, int*,
> int)’ CHROMAPRINT_API int chromaprint_encode_fingerprint(const uint32_t
> *fp, int size, int algorithm, char **encoded_fp, int *encoded_size, int
> base64); ^ At global scope: cc1plus: error: unrecognized command line
> option ‘-Wno-unknown-warning-option’ [-Werror] cc1plus: error:
> unrecognized command line option ‘-Wno-unused-private-field’ [-Werror]
> cc1plus: all warnings being treated as errors
> src/CMakeFiles/clementine_lib.dir/build.make:7366: recipe for target
> 'src/CMakeFiles/clementine_lib.dir/musicbrainz/chromaprinter.cpp.o'
> failed make[2]: ***
> [src/CMakeFiles/clementine_lib.dir/musicbrainz/chromaprinter.cpp.o]
> Error 1 CMakeFiles/Makefile2:1071: recipe for target
> 'src/CMakeFiles/clementine_lib.dir/all' failed make[1]: ***
> [src/CMakeFiles/clementine_lib.dir/all] Error 2 Makefile:127: recipe
> for target 'all' failed make: *** [all] Error 2
>
> ===
>
> btw, I'm not at all interested in "audio fingerprints". Is there a way
> to get rid of this dependency?
It's fixed in my branch already
https://slackbuilds.org/cgit/slackbuilds/commit/?h=willysr&id=9c5f47526eaef77727c6ff4eb53cdeb90c4e95b4
--
Willy Sudiarto Raharjo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20170103/7c50eed6/attachment.asc>
More information about the SlackBuilds-users
mailing list