[Slackbuilds-users] Updates - 20161231.1

Andrzej Telszewski atelszewski at gmail.com
Sun Jan 1 23:53:57 UTC 2017


On 31/12/16 03:07, Willy Sudiarto Raharjo wrote:
> libraries/chromaprint: Updated for version 1.4.

clementine fails to build here with the following:


/tmp/slackrepo-desktop/Clementine-1.3.1/src/musicbrainz/chromaprinter.cpp: 
In member function 'QString Chromaprinter::CreateFingerprint()':
/tmp/slackrepo-desktop/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/slackrepo-desktop/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/slackrepo-desktop/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/slackrepo-desktop/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/slackrepo-desktop/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/slackrepo-desktop/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/slackrepo-desktop/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/slackrepo-desktop/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
make[2]: *** Waiting for unfinished jobs....
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

-- 
Best regards,
Andrzej Telszewski


More information about the SlackBuilds-users mailing list