Summary: | net-irc/epic5-2.0.1-r2 fails to compile: irc_std.h:398:8: error: redefinition of struct sockaddr_storage | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | atoth |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Agostino Sarubbo
2024-06-13 06:11:38 UTC
Created attachment 895729 [details]
build.log
build log and emerge --info
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... |