Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934184 - net-irc/epic5-2.0.1-r2 fails to compile: irc_std.h:398:8: error: redefinition of struct sockaddr_storage
Summary: net-irc/epic5-2.0.1-r2 fails to compile: irc_std.h:398:8: error: redefinition...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-13 06:11 UTC by Agostino Sarubbo
Modified: 2024-06-19 12:20 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,53.46 KB, text/plain)
2024-06-13 06:11 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-06-13 06:11:38 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-irc/epic5-2.0.1-r2 fails to compile.
Discovered on: amd64 (internal ref: gcc14_tinderbox)
System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-06-13 06:11:39 UTC
Created attachment 895729 [details]
build.log

build log and emerge --info
Comment 2 Attila Tóth 2024-06-19 12:20:17 UTC
configure checks struct sockaddr_storage in sys/socket.h, but this was moved to bits/socket.h, which is included in sys/socket.h. Configure greps in the file, so does not find the definition, therefore the source code redefines it. Unfortunately using bits/socket.h directly is discouraged and results in an error. Bypassing or workarounding this piece lets the code compile.
Upstream has a newer version and Debian also has 2.1.6 in Sid...