Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 885297 - media-gfx/darktable-4.0.1 fails to compile (CLANG-STRICTER-SYSTEM): 'foo' referenced in section '.text' of bar: defined in discarded section 'baz' of bar
Summary: media-gfx/darktable-4.0.1 fails to compile (CLANG-STRICTER-SYSTEM): 'foo' ref...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marek Szuba
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-10 09:42 UTC by Agostino Sarubbo
Modified: 2023-02-28 10:10 UTC (History)
1 user (show)

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


Attachments
build.log.xz (build.log.xz,31.39 KB, application/x-xz)
2022-12-10 09:42 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-10 09:42:15 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-gfx/darktable-4.0.1 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-10 09:42:17 UTC
Created attachment 841209 [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-10 09:42:18 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


--   Package 'iso-codes', required by 'virtual:world', not found
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR) 
-- Could NOT find libheif (missing: libheif_DIR)
-- Could NOT find libheif (missing: libheif_LIBRARY libheif_INCLUDE_DIR) (Required is at least version "1.12.0")
FAILED: bin/libdarktable.so 
clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
Comment 3 Marek Szuba archtester gentoo-dev 2023-02-28 10:10:16 UTC
Seeing as this has not been updated for 4.2.0 and newer, assuming optimistically that this has been taken care of upstream.