Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 887839 - x11-wm/spectrwm-3.4.1 fails to compile (CLANG-STRICTER-SYSTEM): Xft.h:40:10: fatal error: ft2build.h file not found
Summary: x11-wm/spectrwm-3.4.1 fails to compile (CLANG-STRICTER-SYSTEM): Xft.h:40:10: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ben Kohler
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-22 07:57 UTC by Agostino Sarubbo
Modified: 2023-01-05 16:35 UTC (History)
0 users

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


Attachments
build.log (build.log,48.31 KB, text/plain)
2022-12-22 07:57 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-22 07:57:23 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: x11-wm/spectrwm-3.4.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-22 07:57:25 UTC
Created attachment 844615 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-12-22 07:57:26 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


Package 'xcb-icccm', required by 'virtual:world', not found
Package 'xcb-keysyms', required by 'virtual:world', not found
Package xcb-icccm was not found in the pkg-config search path.
linux.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/usr/include/X11/Xft/Xft.h:40:10: fatal error: 'ft2build.h' file not found
Comment 3 Larry the Git Cow gentoo-dev 2023-01-05 16:35:28 UTC
The bug has been closed via the following commit(s):

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

commit 35af6e5ea98747f7c435eb80ac17f9767a454664
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2023-01-05 16:28:22 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2023-01-05 16:34:30 +0000

    x11-wm/spectrwm: add missing deps
    
    Closes: https://bugs.gentoo.org/887839
    
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 x11-wm/spectrwm/spectrwm-3.4.1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)