Created attachment 563190 [details] build.log aarch64-linux-musl-gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wformat=2 -O2 -I../include -I../include/uapi -DRESOLVE_HOSTNAMES -DLIBDIR=\"/lib\" -DCONFDIR=\"/etc/iproute2\" -DNETNS_RUN_DIR=\"/var/run/netns\" -DNETNS_ETC_DIR=\"/etc/netns\" -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -O2 -DHAVE_SETNS -DCONFIG_GACT -DCONFIG_GACT_PROB -DYY_NO_INPUT -c -o f_flower.o f_flower.c In file included from ../include/uapi/linux/netdevice.h:29, from ../include/uapi/linux/if_arp.h:27, from f_flower.c:17: ../include/uapi/linux/if.h:133: warning: "IFF_VOLATILE" redefined #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST|IFF_ECHO|\ In file included from f_flower.c:16: /usr/include/net/if.h:48: note: this is the location of the previous definition #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST| \ f_flower.c: In function 'flower_parse_enc_opts': f_flower.c:702:11: error: 'XATTR_SIZE_MAX' undeclared (first use in this function); did you mean 'SIZE_MAX'? char key[XATTR_SIZE_MAX], mask[XATTR_SIZE_MAX]; ^~~~~~~~~~~~~~ SIZE_MAX f_flower.c:702:11: note: each undeclared identifier is reported only once for each function it appears in f_flower.c:702:28: warning: unused variable 'mask' [-Wunused-variable] char key[XATTR_SIZE_MAX], mask[XATTR_SIZE_MAX]; ^~~~ f_flower.c:702:7: warning: unused variable 'key' [-Wunused-variable] char key[XATTR_SIZE_MAX], mask[XATTR_SIZE_MAX]; ^~~ make[1]: *** [../config.include:24: f_flower.o] Error 1 rm emp_ematch.lex.c make[1]: Leaving directory '/var/tmp/portage/sys-apps/iproute2-4.20.0/work/iproute2-4.20.0/tc' make: *** [Makefile:69: all] Error 2 * ERROR: sys-apps/iproute2-4.20.0::gentoo failed (compile phase): * emake failed This is fixed by an upstream commit: https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=28747146622a49c3e7b5c5b36dc02c6a64124770
localhost ~ # emerge --info '=sys-apps/iproute2-4.20.0::gentoo' Portage 2.3.59 (python 3.7.0-final-0, hardened/linux/musl/arm64, gcc-8.2.0, musl-1.1.21, 4.20.3-gentoo aarch64) ================================================================= System Settings ================================================================= System uname: Linux-4.20.3-gentoo-aarch64-with-gentoo-2.6 KiB Mem: 2045596 total, 895788 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Mon, 28 Jan 2019 15:30:01 +0000 Head commit of repository gentoo: eb805548463507cfca003cf88d08f086caf4356f Timestamp of repository musl: Mon, 28 Jan 2019 14:03:48 +0000 Head commit of repository musl: 31ae311a7a23864ce0d791da437c909015b19f5b sh bash 5.0_p2 ld GNU ld (Gentoo 2.31.1 p5) 2.31.1 app-shells/bash: 5.0_p2::gentoo dev-lang/perl: 5.28.0::gentoo dev-lang/python: 3.7.0::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.40.3::gentoo sys-apps/sandbox: 2.13::musl sys-devel/autoconf: 2.69-r4::gentoo sys-devel/automake: 1.16.1-r1::gentoo sys-devel/binutils: 2.31.1-r3::gentoo sys-devel/gcc: 8.2.0-r6::gentoo sys-devel/gcc-config: 2.0::gentoo sys-devel/libtool: 2.4.6-r5::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 4.20::musl (virtual/os-headers) sys-libs/musl: 1.1.21::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: no sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 musl location: /var/db/repos/musl sync-type: git sync-uri: https://github.com/gentoo-mirror/musl.git masters: gentoo ACCEPT_KEYWORDS="arm64 ~arm64" ACCEPT_LICENSE="* -@EULA" CBUILD="aarch64-linux-musl" CFLAGS="-O2" CHOST="aarch64-linux-musl" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2" DISTDIR="/usr/portage/distfiles" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2" GENTOO_MIRRORS="http://distfiles.gentoo.org" INSTALL_MASK="charset.alias" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="arm64 cli crypt cxx dri fortran hardened iconv ipv6 minimal ncurses nptl openmp pic pie readline seccomp ssl ssp tcpd unicode xattr" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="musl" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= sys-apps/iproute2-4.20.0::gentoo was built with the following: USE="ipv6 minimal -atm -berkdb -caps -elf -iptables (-selinux)" localhost ~ # emerge -pqv '=sys-apps/iproute2-4.20.0::gentoo' [ebuild R ] sys-apps/iproute2-4.20.0 USE="ipv6 minimal -atm -berkdb -caps -elf -iptables (-selinux)"
Fix is in >=iproute2-5.0 which is available in Gentoo repository.