Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 809728 - net-misc/frr-8.0 fails to compile (lib/resolver.c: fatal error: ares.h: No such file or directory)
Summary: net-misc/frr-8.0 fails to compile (lib/resolver.c: fatal error: ares.h: No su...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Jakov Smolić
URL:
Whiteboard:
Keywords: PullRequest
: 809791 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-08-23 01:35 UTC by Agostino Sarubbo
Modified: 2021-08-25 07:40 UTC (History)
5 users (show)

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


Attachments
build.log (build.log,490.92 KB, text/plain)
2021-08-23 01:35 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-08-23 01:35:12 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-misc/frr-8.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-08-23 01:35:15 UTC
Created attachment 735196 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-08-23 01:35:16 UTC
Possible context of error(s):

lib/resolver.c:14:10: fatal error: ares.h: No such file or directory
lib/resolver.c:14:10: fatal error: ares.h: No such file or directory
Comment 3 Alarig Le Lay 2021-08-23 08:12:08 UTC
It’s due to an upstream bug with the presence detection of c-ares being buggy, so that version has to depend on it for now. https://github.com/FRRouting/frr/issues/9451
Comment 4 Agostino Sarubbo gentoo-dev 2021-08-23 10:37:31 UTC
*** Bug 809791 has been marked as a duplicate of this bug. ***
Comment 5 Jakov Smolić archtester gentoo-dev 2021-08-23 17:27:29 UTC
I will backport the patch once I am home
Comment 6 Larry the Git Cow gentoo-dev 2021-08-25 07:40:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=295a86b2494085c4125761afddc962d6a66ebc09

commit 295a86b2494085c4125761afddc962d6a66ebc09
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-08-23 21:26:26 +0000
Commit:     Sergey Popov <pinkbyte@gentoo.org>
CommitDate: 2021-08-25 07:35:36 +0000

    net-misc/frr: Fix broken c-ares detection
    
    Closes: https://github.com/gentoo/gentoo/pull/22085
    Closes: https://bugs.gentoo.org/809728
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: Sergey Popov <pinkbyte@gentoo.org>

 net-misc/frr/files/frr-8.0-c-ares.patch | 19 +++++++++++++++++++
 net-misc/frr/frr-8.0.ebuild             |  5 ++++-
 2 files changed, 23 insertions(+), 1 deletion(-)