Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830226 - net-analyzer/pinger-0.33-r1 - ping.c: error: buf undeclared (first use in this function)
Summary: net-analyzer/pinger-0.33-r1 - ping.c: error: buf undeclared (first use in thi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-29 12:10 UTC by Toralf Förster
Modified: 2021-12-29 23:41 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.99 KB, text/plain)
2021-12-29 12:10 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,473.84 KB, text/plain)
2021-12-29 12:10 UTC, Toralf Förster
Details
environment (environment,84.68 KB, text/plain)
2021-12-29 12:10 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,42.07 KB, application/x-bzip)
2021-12-29 12:10 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,8.03 KB, application/x-bzip)
2021-12-29 12:10 UTC, Toralf Förster
Details
net-analyzer:pinger-0.33-r1:20211229-103658.log (net-analyzer:pinger-0.33-r1:20211229-103658.log,91.51 KB, text/plain)
2021-12-29 12:10 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,29.81 KB, application/x-bzip)
2021-12-29 12:10 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 2021-12-29 12:10:26 UTC
In file included from pinger.c:29:
/usr/include/sys/types.h:66:25: note: previous declaration of 'uint' with type 'uint' {aka 'unsigned int'}
   66 | typedef unsigned u_int, uint;
      |                         ^~~~
ping.c:45:17: error: 'buf' undeclared (first use in this function)
   45 |         sum += *buf++;
      |                 ^~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-j4-20211222-160113

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.1 *
clang version 13.0.0
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.57.0
  [2]   rust-1.57.0 *
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)

php cli:

  HEAD of ::gentoo
commit 087d9400636917024bf99f39f801768f997e21ed
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Dec 29 09:52:00 2021 +0000

    2021-12-29 09:51:58 UTC

emerge -qpvO net-analyzer/pinger
[ebuild  N    ] net-analyzer/pinger-0.33-r1  USE="ncurses nls -gtk2 -gtk3"
Comment 1 Toralf Förster gentoo-dev 2021-12-29 12:10:28 UTC
Created attachment 760743 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-29 12:10:30 UTC
Created attachment 760744 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-12-29 12:10:32 UTC
Created attachment 760745 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-12-29 12:10:33 UTC
Created attachment 760746 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-12-29 12:10:34 UTC
Created attachment 760747 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-29 12:10:36 UTC
Created attachment 760748 [details]
net-analyzer:pinger-0.33-r1:20211229-103658.log
Comment 7 Toralf Förster gentoo-dev 2021-12-29 12:10:37 UTC
Created attachment 760749 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2021-12-29 23:41:56 UTC
The bug has been closed via the following commit(s):

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

commit a086a26f2a5442546dd6fbd3ec94f2eb7286c538
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-12-29 23:41:22 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-29 23:41:49 +0000

    net-analyzer/pinger: further musl build fixes
    
    Bug: https://bugs.gentoo.org/712746
    Closes: https://bugs.gentoo.org/830226
    Signed-off-by: Sam James <sam@gentoo.org>

 .../pinger/files/pinger-0.33-musl-int-types.patch  | 111 ++++++++++++++++++++-
 1 file changed, 107 insertions(+), 4 deletions(-)