Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 818490 - app-antivirus/clamav-0.104.0 fails to compile (Could NOT find JSONC (missing: JSONC_LIBRARIES JSONC_INCLUDE_DIRS))
Summary: app-antivirus/clamav-0.104.0 fails to compile (Could NOT find JSONC (missing:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Antivirus Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-16 18:37 UTC by Agostino Sarubbo
Modified: 2021-10-17 02:16 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,40.86 KB, text/plain)
2021-10-16 18:37 UTC, Agostino Sarubbo
Details
1-CMakeError.log (1-CMakeError.log,2.42 KB, text/plain)
2021-10-16 18:38 UTC, Agostino Sarubbo
Details
1-CMakeOutput.log (1-CMakeOutput.log,46.66 KB, text/plain)
2021-10-16 18:38 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 2021-10-16 18:37:57 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-antivirus/clamav-0.104.0 fails to compile.
Discovered on: amd64 (internal ref: ci)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
If you think this is a GCC-11 related issue, please block bug 732706.
Comment 1 Agostino Sarubbo gentoo-dev 2021-10-16 18:37:59 UTC
Created attachment 745191 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-10-16 18:38:00 UTC
Created attachment 745194 [details]
1-CMakeError.log

1-CMakeError.log
Comment 3 Agostino Sarubbo gentoo-dev 2021-10-16 18:38:01 UTC
Created attachment 745197 [details]
1-CMakeOutput.log

1-CMakeOutput.log
Comment 4 Agostino Sarubbo gentoo-dev 2021-10-16 18:38:02 UTC
Possible context of error(s):

  Could NOT find JSONC (missing: JSONC_LIBRARIES JSONC_INCLUDE_DIRS)
Comment 5 Stejarel Veres 2021-10-16 23:28:15 UTC
I managed to both have it build and install with USE=clamapp -doc. Per the ebuild, json-c is only needed with USE=clamapp, but that's obviously not the case.
Comment 6 Larry the Git Cow gentoo-dev 2021-10-17 02:15:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c69250ed4df9fbd1f093813d117b7bf415019c7

commit 5c69250ed4df9fbd1f093813d117b7bf415019c7
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-17 02:14:16 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-17 02:14:16 +0000

    app-antivirus/clamav: json-c is always required
    
    Closes: https://bugs.gentoo.org/818490
    Signed-off-by: Sam James <sam@gentoo.org>

 .../clamav/{clamav-0.104.0.ebuild => clamav-0.104.0-r1.ebuild}         | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)