Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 887619 - x11-misc/gmrun-1.4w-r1 fails to compile (CLANG-STRICTER-SYSTEM): ERROR: stdio.h is required
Summary: x11-misc/gmrun-1.4w-r1 fails to compile (CLANG-STRICTER-SYSTEM): ERROR: stdio...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Henning Schild
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: missing-depend
  Show dependency tree
 
Reported: 2022-12-21 09:40 UTC by Agostino Sarubbo
Modified: 2025-03-27 06:51 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,54.69 KB, text/plain)
2022-12-21 09:40 UTC, Agostino Sarubbo
Details
1-config.log (1-config.log,937 bytes, text/plain)
2022-12-21 09:40 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-21 09:40:54 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: x11-misc/gmrun-1.4w-r1 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-21 09:40:56 UTC
Created attachment 844321 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-12-21 09:40:56 UTC
Created attachment 844323 [details]
1-config.log

1-config.log
Comment 3 Henning Schild 2025-03-27 06:51:53 UTC
Tried to repro manually but could not.

Compiling with all the strict CFLAGS works without a problem with llvm-core/clang-19.1.7

The report used way older versions and is about "configure" so not the actual code.

So maybe that system actually did not have any stdio.h anywhere, in which case the compile phase would have failed as well. Strict CFLAGS probably did not even influence things yet. More the minimalistic nature of the tinderbox.

There might be something missing in BDEPEND, but something that no real user is likely to encounter. But very likely no "code is not modern enough" which would require patching upstream.

Closing.