Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 885529 - media-sound/clementine-1.4.0_rc2 fails to compile (CLANG-STRICTER-SYSTEM): spotifywebapiservice.cpp:44:44: error: implicit instantiation of undefined template std::array<const char , 1>
Summary: media-sound/clementine-1.4.0_rc2 fails to compile (CLANG-STRICTER-SYSTEM): sp...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexey
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-12-12 09:52 UTC by Agostino Sarubbo
Modified: 2023-01-29 17:29 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.xz (build.log.xz,39.32 KB, application/x-xz)
2022-12-12 09:52 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-12-12 09:52:36 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-sound/clementine-1.4.0_rc2 fails to compile (CLANG-STRICTER-SYSTEM).
Discovered on: amd64 (internal ref: clang-stricter_tinderbox)

NOTE:
(CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode

This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types

See also:
https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
https://wiki.gentoo.org/wiki/Modern_C_porting
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-12 09:52:38 UTC
Created attachment 841641 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2022-12-12 09:52:39 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


--   Package 'libcdio', required by 'virtual:world', not found
--   Package 'libgpod-1.0', required by 'virtual:world', not found
--   Package 'libmtp', required by 'virtual:world', not found
--   Package 'libpulse', required by 'virtual:world', not found
--   Package 'libspotify', required by 'virtual:world', not found
-- Could NOT find ALSA (missing: ALSA_LIBRARY ALSA_INCLUDE_DIR) 
FAILED: src/CMakeFiles/clementine_lib.dir/internet/spotifywebapi/spotifywebapiservice.cpp.o 
/var/tmp/portage/media-sound/clementine-1.4.0_rc2/work/Clementine-1.4.0rc2/src/internet/spotifywebapi/spotifywebapiservice.cpp:44:44: error: implicit instantiation of undefined template 'std::array<const char *, 1>'
Comment 3 Larry the Git Cow gentoo-dev 2022-12-19 03:01:39 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7913cf6e40a172131fea9647c96045f54b9fd4e

commit c7913cf6e40a172131fea9647c96045f54b9fd4e
Author:     Alexey Sokolov <alexey+gentoo@asokolov.org>
AuthorDate: 2022-12-18 22:45:48 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-19 03:00:58 +0000

    media-sound/clementine: disable spotify
    
    This code was actually removed upstream:
    https://github.com/clementine-player/Clementine/pull/7210
    
    Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
    Bug: https://bugs.gentoo.org/885529
    Closes: https://github.com/gentoo/gentoo/pull/28709
    Signed-off-by: Sam James <sam@gentoo.org>

 .../clementine/clementine-1.4.0_rc2-r1.ebuild      | 165 +++++++++++++++++++++
 media-sound/clementine/clementine-9999.ebuild      |   2 -
 2 files changed, 165 insertions(+), 2 deletions(-)
Comment 4 Larry the Git Cow gentoo-dev 2023-01-29 17:29:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e4a3b4b7f939a5554451631b9fb94dc859af881

commit 9e4a3b4b7f939a5554451631b9fb94dc859af881
Author:     Alexey Sokolov <alexey+gentoo@asokolov.org>
AuthorDate: 2023-01-29 09:45:07 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-01-29 17:28:01 +0000

    media-sound/clementine: drop 1.4.0_rc2
    
    Closes: https://bugs.gentoo.org/885529
    Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
    Closes: https://github.com/gentoo/gentoo/pull/29327
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-sound/clementine/clementine-1.4.0_rc2.ebuild | 164 ---------------------
 1 file changed, 164 deletions(-)