Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 864771 - sys-apps/iproute2-5.19.0 - ipstats.c:(.text+<snip>): undefined reference to MIN
Summary: sys-apps/iproute2-5.19.0 - ipstats.c:(.text+<snip>): undefined reference to MIN
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: PATCH
Depends on:
Blocks:
 
Reported: 2022-08-10 07:14 UTC by Toralf Förster
Modified: 2022-08-10 08:07 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.05 KB, text/plain)
2022-08-10 07:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,219.17 KB, text/plain)
2022-08-10 07:14 UTC, Toralf Förster
Details
environment (environment,62.92 KB, text/plain)
2022-08-10 07:14 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,28.57 KB, application/x-bzip)
2022-08-10 07:14 UTC, Toralf Förster
Details
sys-apps:iproute2-5.19.0:20220809-214210.log (sys-apps:iproute2-5.19.0:20220809-214210.log,79.10 KB, text/plain)
2022-08-10 07:14 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,21.90 KB, application/x-bzip)
2022-08-10 07:14 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-08-10 07:14:36 UTC
too long lines were shrinked:

      |         ^~~~~~~~~~~~~~~~~~~
x86_64-gentoo-linux-musl-gcc rtmon.o -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-export-dynamic -ltirpc ../lib/libutil.a ../lib/libnetlink.a -ltirpc -lmnl -lmnl -ldl -o rtmon
x86_64-gentoo-linux-musl-gcc ip.o ipaddress.o ipaddrlabel.o iproute.o iprule.o ipnetns.o rtm_map.o iptunnel.o ip6tunnel.o tunnel.o ipneigh.o ipntable.o iplink.o ipmaddr.o ipmonitor.o ipmroute.o ipprefix.o iptuntap.o iptoken.o ipxfrm.o xfrm_state.o xfrm_policy.o xfrm_monitor.o iplink_dummy.o iplink_i
/usr/lib/gcc/x86_64-gentoo-linux-musl/12.1.1/../../../../x86_64-gentoo-linux-musl/bin/ld: ipstats.o: in function `ipstats_show_64':
ipstats.c:(.text+0x21b): undefined reference to `MIN'
/usr/lib/gcc/x86_64-gentoo-linux-musl/12.1.1/../../../../x86_64-gentoo-linux-musl/bin/ld: ipstats.o: in function `ipstats_stat_desc_show_l3_stats':
ipstats.c:(.text+0xe42): undefined reference to `MIN'

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

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

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-12.1.1 *
clang/llvm (if any):
clang version 14.0.6
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.6
Python 3.10.6
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.62.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.15_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-11 
  [2]   openjdk-bin-17  system-vm

php cli:

  HEAD of ::gentoo
commit b630ca274347072da8912d14f0a23e017f4c55cd
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Aug 9 21:16:51 2022 +0000

    2022-08-09 21:16:51 UTC

emerge -qpvO sys-apps/iproute2
[ebuild     U ] sys-apps/iproute2-5.19.0 [5.18.0-r1] USE="iptables (split-usr) -atm -berkdb -bpf -caps -elf -libbsd -minimal -nfs (-selinux)"
Comment 1 Toralf Förster gentoo-dev 2022-08-10 07:14:37 UTC
Created attachment 799083 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-08-10 07:14:39 UTC
Created attachment 799085 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-08-10 07:14:41 UTC
Created attachment 799087 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-08-10 07:14:42 UTC
Created attachment 799089 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-08-10 07:14:43 UTC
Created attachment 799091 [details]
sys-apps:iproute2-5.19.0:20220809-214210.log
Comment 6 Toralf Förster gentoo-dev 2022-08-10 07:14:44 UTC
Created attachment 799093 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-08-10 08:07:35 UTC
The bug has been closed via the following commit(s):

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

commit a92a9f6ab23a9b1eee9b8486a71455c1907c7e92
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-08-10 08:07:19 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-08-10 08:07:29 +0000

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

 sys-apps/iproute2/files/iproute2-5.19.0-musl.patch | 48 ++++++++++++++++++++++
 sys-apps/iproute2/iproute2-5.19.0.ebuild           |  1 +
 2 files changed, 49 insertions(+)