Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 947276 - net-misc/radvd-2.20 fails to compile: includes.h:30:10: fatal error: string.h: No such file or directory
Summary: net-misc/radvd-2.20 fails to compile: includes.h:30:10: fatal error: string.h...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthew Thode ( prometheanfire )
URL: https://github.com/radvd-project/radv...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-31 16:17 UTC by Agostino Sarubbo
Modified: 2024-12-31 17:21 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,67.00 KB, text/plain)
2024-12-31 16:17 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-12-31 16:17:37 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-misc/radvd-2.20 fails to compile.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-12-31 16:17:38 UTC
Created attachment 915608 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-12-31 16:17:38 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


includes.h:30:10: fatal error: bsd/string.h: No such file or directory
includes.h:30:10: fatal error: bsd/string.h: No such file or directory
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-31 16:20:15 UTC
```
In file included from log.c:16:
includes.h:30:10: fatal error: bsd/string.h: No such file or directory
   30 | #include <bsd/string.h> // strlcpy
      |          ^~~~~~~~~~~~~~
compilation terminated.
```

so, libbsd dep will fix this, but upstream, it should be fixed to first probe for strlcpy, because glibc now has it, and musl has for a while.
Comment 4 Larry the Git Cow gentoo-dev 2024-12-31 17:16:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52e116083597e0d3c6367d2cc3eae82c0f3e04c9

commit 52e116083597e0d3c6367d2cc3eae82c0f3e04c9
Author:     Robin H. Johnson <robbat2@gentoo.org>
AuthorDate: 2024-12-31 17:15:52 +0000
Commit:     Robin H. Johnson <robbat2@gentoo.org>
CommitDate: 2024-12-31 17:15:52 +0000

    net-misc/radvd: missing dep
    
    Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
    Fixes: https://bugs.gentoo.org/show_bug.cgi?id=947276

 net-misc/radvd/radvd-2.20.ebuild | 1 +
 1 file changed, 1 insertion(+)
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2024-12-31 17:21:36 UTC
Upstream issue also created for later strlcpy configure improvement