Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 701542 - net-analyzer/wireshark-99999999 USE=-adns - cmake: Could NOT find CARES (missing: CARES_LIBRARY CARES_INCLUDE_DIR) (Required is at least version "1.5.0")
Summary: net-analyzer/wireshark-99999999 USE=-adns - cmake: Could NOT find CARES (miss...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-30 12:08 UTC by jospezial
Modified: 2019-11-30 12:31 UTC (History)
0 users

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 jospezial 2019-11-30 12:08:00 UTC
https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=451a241e50bd34ba097bd09a5f9f673170779aaf

"Add c-ares to the required library list.

Although c-ares support was techically optional, it was either on by
default or required in all of our packaging. Go ahead and require it
globally. C-ares is widely available and synchronous name resolution can
easily result in a horrific user experience."


net-dns/c-ares is not installed on my system.

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
  Could NOT find CARES (missing: CARES_LIBRARY CARES_INCLUDE_DIR) (Required
  is at least version "1.5.0")
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
  cmake/modules/FindCARES.cmake:36 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:1033 (find_package)


-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/net-analyzer/wireshark-99999999/work/wireshark-99999999_build/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/portage/net-analyzer/wireshark-99999999/work/wireshark-99999999_build/CMakeFiles/CMakeError.log".
 * ERROR: net-analyzer/wireshark-99999999::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_configure
 *   environment, line 4649:  Called cmake-utils_src_configure
 *   environment, line 1442:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-11-30 12:30:05 UTC
Looks like they forgot to edit CMakeOptions.txt accordingly.
Comment 2 Larry the Git Cow gentoo-dev 2019-11-30 12:30:51 UTC
The bug has been closed via the following commit(s):

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

commit c525c729b8d724b2223cf4e3a3a036c6ed0b50ba
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2019-11-30 12:30:23 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2019-11-30 12:30:47 +0000

    net-analyzer/wireshark: Drop IUSE=adns
    
    Package-Manager: Portage-2.3.80, Repoman-2.3.19
    Fixes: https://bugs.gentoo.org/701542
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 net-analyzer/wireshark/wireshark-99999999.ebuild | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)