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

David O'Shaughnessy lists at osh.id.au
Fri Jan 6 13:31:47 UTC 2017

I also can't build Clementine after upgrading chromaprint. I don't have
Spotify installed, but building Clementine still fails with various
Chromaprint error messages;

/tmp/SBo/Clementine-1.3.1/src/musicbrainz/chromaprinter.cpp: In member
function ‘QString Chromaprinter::CreateFingerprint()’:
error: invalid conversion from ‘void*’ to ‘const int16_t* {aka const
short int*}’ [-fpermissive]
                    data.size() / 2);

I tried rebuilding all the dependencies (chromaprint cryptopp
libechonest pytz six python-dateutil python-gflags protobuf) but that
didn't seem to help.


On 01/03/2017 11:54 PM, Willy Sudiarto Raharjo wrote:
>>> 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.
> protobuf hasn't been changed for a long time except for deps, which was
> in 2015. It never built static library AFAIK.
> Since you are using current, probably best to rebuilt every deps of
> Clementine just to be sure

More information about the SlackBuilds-users mailing list