Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870667 - net-analyzer/jnettop-0.13.0-r2 - configure: error: cant figure out gethostbyname_r() since localhost doesnt resolve
Summary: net-analyzer/jnettop-0.13.0-r2 - configure: error: cant figure out gethostbyn...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Netmon project
URL:
Whiteboard: fixed in 0.13.0-r2
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-17 11:24 UTC by Toralf Förster
Modified: 2024-10-26 20:41 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.02 KB, text/plain)
2022-09-17 11:24 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,147.58 KB, text/plain)
2022-09-17 11:24 UTC, Toralf Förster
Details
environment (environment,75.38 KB, text/plain)
2022-09-17 11:24 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,8.05 KB, application/x-bzip)
2022-09-17 11:24 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.64 KB, application/x-bzip)
2022-09-17 11:24 UTC, Toralf Förster
Details
net-analyzer:jnettop-0.13.0-r2:20220917-111709.log (net-analyzer:jnettop-0.13.0-r2:20220917-111709.log,5.47 KB, text/plain)
2022-09-17 11:24 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,22.87 KB, application/x-bzip)
2022-09-17 11:24 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-09-17 11:24:19 UTC
checking if pcap_freecode takes 2 arguments... no
checking if pcap_freecode takes 1 argument... yes
checking if struct in6_addr contains s6_addr32 member... yes
checking if "localhost" resolves... no
configure: error: can't figure out gethostbyname_r() since localhost doesn't resolve

!!! Please attach the following file when seeking support:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-j4-20220915-203738

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.1 *
GNU Make 4.3.90

  HEAD of ::gentoo
commit 2be4f11d1103e9d0fe6cdcf770492a7d6c7ab1e5
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 17 11:01:50 2022 +0000

    2022-09-17 11:01:49 UTC

emerge -qpvO net-analyzer/jnettop
[ebuild  N    ] net-analyzer/jnettop-0.13.0-r2  USE="ncurses -berkdb -syslog"
Comment 1 Toralf Förster gentoo-dev 2022-09-17 11:24:20 UTC
Created attachment 807070 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-17 11:24:22 UTC
Created attachment 807073 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-09-17 11:24:23 UTC
Created attachment 807076 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-09-17 11:24:24 UTC
Created attachment 807079 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-09-17 11:24:25 UTC
Created attachment 807082 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-17 11:24:26 UTC
Created attachment 807085 [details]
net-analyzer:jnettop-0.13.0-r2:20220917-111709.log
Comment 7 Toralf Förster gentoo-dev 2022-09-17 11:24:27 UTC
Created attachment 807088 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-09-29 04:27:56 UTC
The bug has been closed via the following commit(s):

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

commit 667a4998e29bec427a8f7ffe29a8de668a24d948
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-09-29 04:14:52 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-09-29 04:17:55 +0000

    net-analyzer/jnettop: fix configure with clang16
    
    Closes: https://bugs.gentoo.org/870667
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 net-analyzer/jnettop/files/jnettop-0.13.0-clang16.patch | 9 +++++++++
 net-analyzer/jnettop/jnettop-0.13.0-r2.ebuild           | 1 +
 2 files changed, 10 insertions(+)