Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944383 - app-misc/gnuit-4.9.5-r2 fails to compile: tilde.c:50:14: error: conflicting types for strcpy; have char (void)
Summary: app-misc/gnuit-4.9.5-r2 fails to compile: tilde.c:50:14: error: conflicting t...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-21 20:55 UTC by Agostino Sarubbo
Modified: 2025-01-13 15:20 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,192.64 KB, text/plain)
2024-11-21 20: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 2024-11-21 20:55:31 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-misc/gnuit-4.9.5-r2 fails to compile.
Discovered on: amd64 (internal ref: gcc15_tinderbox)
System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-11-21 20:55:32 UTC
Created attachment 911375 [details]
build.log

build log and emerge --info
Comment 2 NHO 2025-01-13 15:20:11 UTC
There's worse: src/tty.c
2021:   fn = read;
2026:   fn = write;

where read and write are default C functions from unistd.h,
ssize_t read(int, void*, size_t);
ssize_t write(int, const void*, size_t);
With void* and const void* being incompatible pointer type.
I hate it, but cast works here.

Can we drop this 15 years old dead package with hard-coded checks for ancient harware, K&R definitions and bad code quality?