Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907170 - net-libs/liboping-1.10.0-r3 - oping.c: error: NI_MAXHOST undeclared here (not in a function)
Summary: net-libs/liboping-1.10.0-r3 - oping.c: error: NI_MAXHOST undeclared here (not...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-25 12:48 UTC by Toralf Förster
Modified: 2023-05-25 12:48 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.90 KB, text/plain)
2023-05-25 12:48 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,63.91 KB, application/x-bzip)
2023-05-25 12:48 UTC, Toralf Förster
Details
environment (environment,100.23 KB, text/plain)
2023-05-25 12:48 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,707 bytes, application/x-bzip)
2023-05-25 12:48 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,30.28 KB, application/x-bzip)
2023-05-25 12:48 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,10.13 KB, application/x-bzip)
2023-05-25 12:48 UTC, Toralf Förster
Details
net-libs:liboping-1.10.0-r3:20230525-032107.log (net-libs:liboping-1.10.0-r3:20230525-032107.log,13.30 KB, text/plain)
2023-05-25 12:48 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,29.45 KB, application/x-bzip)
2023-05-25 12:48 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 2023-05-25 12:48:50 UTC
too long lines were shrinked:

make[3]: Leaving directory '/var/tmp/portage/net-libs/liboping-1.10.0-r3/work/liboping-1.10.0/src/mans'
make[3]: Entering directory '/var/tmp/portage/net-libs/liboping-1.10.0-r3/work/liboping-1.10.0/src'
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I.     -O2 -pipe -march=native -fno-diagnostics-color -c -o oping.o oping.c
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I.     -O2 -pipe -march=native -fno-diagnostics-color -c -o liboping_la-liboping.lo `test -f 'liboping.c' || echo './'`liboping.c
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I.   -DUSE_NCURSES=1 -D_POSIX_C_SOURCE=199506L -DNCURSES_WIDECHAR -I/usr/include/ncursesw    -O2 -pipe -march=native -fno-diagnostics-color -c -o noping-oping.o `test -f 'oping.c' || echo './'`oping.c
libtool: compile:  x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -fno-diagnostics-color -c liboping.c  -fPIC -DPIC -o .libs/liboping_la-liboping.o
oping.c:162:19: error: 'NI_MAXHOST' undeclared here (not in a function)
  162 |         char host[NI_MAXHOST];
      |                   ^~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-j5-20230521-051504

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-13 *
clang/llvm (if any):
clang version 16.0.4
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.4
Python 3.11.3
Available Ruby profiles:
  [1]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.69.0 *
php cli (if any):
go version go1.20.4 linux/amd64

  HEAD of ::gentoo
commit 99d40e9300a8567746a15ce37a3964f9b92dda3f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu May 25 01:32:04 2023 +0000

    2023-05-25 01:32:03 UTC

emerge -qpvO net-libs/liboping
[ebuild  N    ] net-libs/liboping-1.10.0-r3  USE="filecaps ncurses -perl -test"
Comment 1 Toralf Förster gentoo-dev 2023-05-25 12:48:51 UTC
Created attachment 862560 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-05-25 12:48:52 UTC
Created attachment 862561 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2023-05-25 12:48:53 UTC
Created attachment 862562 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-05-25 12:48:54 UTC
Created attachment 862563 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-05-25 12:48:55 UTC
Created attachment 862564 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-05-25 12:48:56 UTC
Created attachment 862565 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-05-25 12:48:57 UTC
Created attachment 862566 [details]
net-libs:liboping-1.10.0-r3:20230525-032107.log
Comment 8 Toralf Förster gentoo-dev 2023-05-25 12:48:58 UTC
Created attachment 862567 [details]
temp.tar.bz2