Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 727412 - net-dns/unbound-1.10.1 needs unqualified 'ar'
Summary: net-dns/unbound-1.10.1 needs unqualified 'ar'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marc Schiffbauer
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2020-06-07 10:30 UTC by Sergei Trofimovich (RETIRED)
Modified: 2020-06-08 08:56 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Trofimovich (RETIRED) gentoo-dev 2020-06-07 10:30:17 UTC
When building net-dns/unbound-1.10.1 on a sys-devel/binutils-config[-native-symlinks] system build fails as:

"""
checking for i686-pc-linux-gnu-ar... no
checking for ar... no
configure: error: Cannot find 'ar', please extend PATH to include it
"""

The following patch makes unbound compile fine:

--- a/acx_nlnetlabs.m4
+++ b/acx_nlnetlabs.m4
@@ -535,7 +535,7 @@ AC_CANONICAL_HOST
 if echo "$host_os" | grep "sunos4" >/dev/null; then
 	lt_cv_sys_max_cmd_len=32750;
 fi
-AC_PATH_TOOL(AR, ar, [false])
+AC_CHECK_TOOL(AR, ar, [false])
 if test $AR = false; then
 	AC_MSG_ERROR([Cannot find 'ar', please extend PATH to include it])
 fi
Comment 1 Marc Schiffbauer gentoo-dev 2020-06-08 08:56:32 UTC
Thanks!

Fixed in 1.10.1-r1 (commmit c599cb1533cf10893c020d1abda1f62c959a2abb)