[Slackbuilds-users] BUG: Cannot build clementine after chromaprint upgrade

Eduardo Sanchez sombragris at sombragris.org
Tue Jan 3 14:37:28 UTC 2017


> try removing spotify and launching the build again.
> 
> Matteo

Hi Matteo (and Willy):

That did it. Clementine is now building OK.

I don't even know why I installed spotify, because I had no use for it.
It must be a required dependency on another audio player.

Thanks!

Eduardo

En respuesta al mensaje de Eduardo Sanchez <sombragris at sombragris.org>
el Tue, 3 Jan 2017 10:48:55 -0300

> > It's fixed in my branch already
> > https://slackbuilds.org/cgit/slackbuilds/commit/?h=willysr&id=9c5f47526eaef77727c6ff4eb53cdeb90c4e95b4
> >   
> 
> Hi Willy, now I cannot build clementine.
> 
> CMake complains of a Protobuf static library missing.
> 
> ===
> Building Clementine version: 1.3.1
> 
> The following components will be built:
>    Box support
>    D-Bus support
>    Devices: Audio CD support
>    Devices: DeviceKit backend
>    Devices: GIO device backend
>    Devices: MTP support
>    Devices: iPod classic support
>    Dropbox support
>    Google Drive support
>    Last.fm support
>    Moodbar support
>    Pulse audio integration
>    Seafile support
>    Skydrive support
>    Spotify support: non-GPL binary helper
>    Visualisations
>    Vk.com support
>    Wiimote support
> 
> The following components WILL NOT be built:
>    Amazon Cloud Drive support (disabled in CMake config)
>    Crash reporting (disabled in CMake config)
>    Sparkle integration (missing Mac OS X, Sparkle)
> 
> CMake Error: The following variables are used in this project, but
> they are set to NOTFOUND. Please set them or make sure they are set
> and tested correctly in the CMake files: PROTOBUF_STATIC_LIBRARY
>     linked by target "clementine-spotifyblob" in
> directory /tmp/SBo/Clementine-1.3.1/ext/clementine-spotifyblob
> 
> -- Configuring incomplete, errors occurred!
> See also "/tmp/SBo/Clementine-1.3.1/build/CMakeFiles/CMakeOutput.log".
> See also "/tmp/SBo/Clementine-1.3.1/build/CMakeFiles/CMakeError.log".
> 
> ===
> 
> I don't know what happened. The previous SlackBuild used to build
> Clementine OK but I didn't see any changes on your branch which
> merited this behavior.
> 
> Thanks,
> 
> Eduardo
> 
> En respuesta al mensaje de Eduardo Sanchez <sombragris at sombragris.org>
> el Mon, 2 Jan 2017 23:58:29 -0300
> 
> > Hi there,
> > 
> > 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?
> > 
> > Thanks,
> > 
> > 
> > Eduardo
> > 
> >   
> 
> 


-- 
Eduardo Sánchez Gauto, Abog., Th.M.
Abogado - Traductor Público Matriculado Inglés - Español
Web: http://sombragris.org - Blog: http://shadow.sombragris.org
TW: @thegreyshadow - FB: /thegreyshadow
Teléfono: (0991) 755-355 - Asunción, Paraguay
==================================================================


More information about the SlackBuilds-users mailing list