Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 889402 - sys-apps/ethtool-6.1 - marvell.c: error: unknown type name u_int32_t
Summary: sys-apps/ethtool-6.1 - marvell.c: error: unknown type name u_int32_t
Status: RESOLVED FIXED
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:
: 894520 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-01-02 18:29 UTC by Toralf Förster
Modified: 2023-02-15 07:59 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.89 KB, text/plain)
2023-01-02 18:29 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,69.34 KB, application/x-bzip)
2023-01-02 18:29 UTC, Toralf Förster
Details
environment (environment,23.71 KB, text/plain)
2023-01-02 18:29 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,570 bytes, application/x-bzip)
2023-01-02 18:29 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,20.00 KB, application/x-bzip)
2023-01-02 18:29 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.70 KB, application/x-bzip)
2023-01-02 18:29 UTC, Toralf Förster
Details
sys-apps:ethtool-6.1:20230102-165328.log (sys-apps:ethtool-6.1:20230102-165328.log,14.03 KB, text/plain)
2023-01-02 18:29 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,9.85 KB, application/x-bzip)
2023-01-02 18:29 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-01-02 18:29:43 UTC
too long lines were shrinked:

x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I.  -I./uapi   -Wall -Wextra -D_POSIX_C_SOURCE=200809L -pipe -march=native -fno-diagnostics-color -O2 -c -o netlink/privflags.o netlink/privflags.c
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I.  -I./uapi   -Wall -Wextra -D_POSIX_C_SOURCE=200809L -pipe -march=native -fno-diagnostics-color -O2 -c -o tg3.o tg3.c
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I.  -I./uapi   -Wall -Wextra -D_POSIX_C_SOURCE=200809L -pipe -march=native -fno-diagnostics-color -O2 -c -o sfpid.o sfpid.c
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I.  -I./uapi   -Wall -Wextra -D_POSIX_C_SOURCE=200809L -pipe -march=native -fno-diagnostics-color -O2 -c -o json_print.o json_print.c
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I.  -I./uapi   -Wall -Wextra -D_POSIX_C_SOURCE=200809L -pipe -march=native -fno-diagnostics-color -O2 -c -o marvell.o marvell.c
marvell.c: In function 'dump_queue':
marvell.c:34:17: error: unknown type name 'u_int32_t'
   34 |                 u_int32_t               ctl;
      |                 ^~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-j4-20221229-143533

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-gentoo-linux-musl-12.2.0 *
clang/llvm (if any):
clang version 15.0.6
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.6
Python 3.10.9
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.66.0
  [2]   rust-1.66.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.17_p8 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-11 
  [2]   openjdk-bin-17  system-vm

php cli (if any):
  [1]   php7.4
  [2]   php8.0
  [3]   php8.2 *

  HEAD of ::gentoo
commit 733481a5bb493db90c7b37d150c585aa9854702d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Jan 2 16:02:21 2023 +0000

    2023-01-02 16:02:20 UTC

emerge -qpvO sys-apps/ethtool
[ebuild  N    ] sys-apps/ethtool-6.1  USE="netlink"
Comment 1 Toralf Förster gentoo-dev 2023-01-02 18:29:44 UTC
Created attachment 846714 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-01-02 18:29:45 UTC
Created attachment 846716 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2023-01-02 18:29:46 UTC
Created attachment 846718 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-01-02 18:29:47 UTC
Created attachment 846720 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-01-02 18:29:48 UTC
Created attachment 846722 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-01-02 18:29:49 UTC
Created attachment 846724 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-01-02 18:29:50 UTC
Created attachment 846726 [details]
sys-apps:ethtool-6.1:20230102-165328.log
Comment 8 Toralf Förster gentoo-dev 2023-01-02 18:29:50 UTC
Created attachment 846728 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2023-02-15 05:31:12 UTC
The bug has been closed via the following commit(s):

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

commit debd0a8b5082f5189da33070cda7ad33db9be85c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-02-15 05:30:52 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-15 05:30:52 +0000

    sys-apps/ethtool: fix build w/ musl
    
    Closes: https://bugs.gentoo.org/889402
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/ethtool/ethtool-6.1.ebuild           |  6 ++-
 sys-apps/ethtool/files/ethtool-6.1-musl.patch | 64 +++++++++++++++++++++++++++
 2 files changed, 69 insertions(+), 1 deletion(-)
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-15 07:59:14 UTC
*** Bug 894520 has been marked as a duplicate of this bug. ***