Summary: | app-antivirus/clamav-0.105.1 - /.../crypto.c: error: implicit declaration of function strptime [-Werror,-Wimplicit-function-declar | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Antivirus Team <antivirus> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | kangie, mjo, proxy-maint |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=879625 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412 | ||
Attachments: |
emerge-info.txt
app-antivirus:clamav-0.105.1:20220918-095957.log clang.tar.bz2 emerge-history.txt environment etc.portage.tar.bz2 logs.tar.bz2 temp.tar.bz2 |
Description
Toralf Förster
2022-09-18 10:03:24 UTC
Created attachment 810781 [details]
emerge-info.txt
Created attachment 810784 [details]
app-antivirus:clamav-0.105.1:20220918-095957.log
Created attachment 810787 [details]
clang.tar.bz2
Created attachment 810790 [details]
emerge-history.txt
Created attachment 810793 [details]
environment
Created attachment 810796 [details]
etc.portage.tar.bz2
Created attachment 810799 [details]
logs.tar.bz2
Created attachment 810802 [details]
temp.tar.bz2
Just a quick guess is that it might be something similar to this: https://stackoverflow.com/questions/15334558/compiler-gets-warnings-when-using-strptime-function-c (i know that is about a warning, but maybe some change in clang .. will look into it later, but if someone who knows more about clang has clues please let me know) It compiled just fine with LLVM and CLANG 15.0.1 here will have to see if I can somehow reproduce it or figure out what is causing it (In reply to Thomas Raschbacher from comment #10) > It compiled just fine with LLVM and CLANG 15.0.1 here will have to see if I > can somehow reproduce it or figure out what is causing it clang-16 enables these flags by default: * -Werror=implicit-function-declaration * -Werror=implicit-int * -Werror=strict-prototypes it's probably one of those that causes the build to fail. (In reply to Michael Orlitzky from comment #11) > (In reply to Thomas Raschbacher from comment #10) > > It compiled just fine with LLVM and CLANG 15.0.1 here will have to see if I > > can somehow reproduce it or figure out what is causing it > > clang-16 enables these flags by default: > > * -Werror=implicit-function-declaration > * -Werror=implicit-int > * -Werror=strict-prototypes > > it's probably one of those that causes the build to fail. good point that sounds reasonable .. I shall test it asap This version has been removed from the tree a while ago. If it is still an issue with current ones please report a new bug (or re-open this if there is any benefit in doing so) |