Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898372 - media-sound/nickvision-tagger-2022.11.2 fails to compile (MUSL-CLANG-SYSTEM): mediahelpers.cpp:38:18: error: non-constant-expression cannot be narrowed from type std::uintmax_t (aka unsigned long) to double in initializer list [-Wc++11-narrowing]
Summary: media-sound/nickvision-tagger-2022.11.2 fails to compile (MUSL-CLANG-SYSTEM):...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Maciej Barć
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-28 11:55 UTC by Agostino Sarubbo
Modified: 2023-02-28 18:03 UTC (History)
0 users

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


Attachments
build.log (build.log,88.87 KB, text/plain)
2023-02-28 11:55 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 2023-02-28 11:55:40 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-sound/nickvision-tagger-2022.11.2 fails to compile (MUSL-CLANG-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-CLANG-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc + clang16 but this bug MAY or MAY NOT BE related to musl/clang16.
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-28 11:55:42 UTC
Created attachment 855194 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-02-28 11:55:42 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: org.nickvision.tagger.p/src_helpers_mediahelpers.cpp.o 
Program gtk4-update-icon-cache found: NO
../NickvisionTagger-2022.11.2/src/helpers/mediahelpers.cpp:38:18: error: non-constant-expression cannot be narrowed from type 'std::uintmax_t' (aka 'unsigned long') to 'double' in initializer list [-Wc++11-narrowing]
Comment 3 Larry the Git Cow gentoo-dev 2023-02-28 18:03:20 UTC
The bug has been closed via the following commit(s):

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

commit e6d5f5f83b69d689c501c45761b839bfda02caca
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2023-02-28 18:02:59 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2023-02-28 18:03:18 +0000

    media-sound/nickvision-tagger: fix narrowing
    
    Bug: https://github.com/nlogozzo/NickvisionTagger/pull/80
    Closes: https://bugs.gentoo.org/898372
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 ...nickvision-tagger-2022.11.2-fix-narrowing.patch | 27 ++++++++++++++++++++++
 .../nickvision-tagger-2022.11.2.ebuild             |  5 +++-
 2 files changed, 31 insertions(+), 1 deletion(-)