Summary: | net-misc/radvd does not compile with musl due to missing ARPHRD_IEEE802154_PHY definition | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Robert Sebastian Gerus <ar> |
Component: | Current packages | Assignee: | Gentoo musl team <musl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ar, xmw |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/reubenhwk/radvd/commit/1d8973e13d89802eee0b648451e2b97ac65cf9e0 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 430702 | ||
Attachments: | radvd-2.10-musl-libc-fix.patch obtain from ${URL} |
Created attachment 403758 [details, diff]
radvd-2.10-musl-libc-fix.patch obtain from ${URL}
@report. This is now in the hardened-dev::musl overlay. If you're following this upstream let us know when the patch is accepted so we can close this bug.
@maintainers. the github patch looks sane to me. You can consider adding it to 2.11 (current unstable). I've tested on both glibc and musl.
The github repo is upstream for radvd and this patch is already accepted there. Heh, forgot to add the maintainers. @xmw + prometheanfire. Can we backport for 2.11? looks like we added it to 2.11-r1, removing myself from cc (In reply to Matthew Thode ( prometheanfire ) from comment #4) > looks like we added it to 2.11-r1, removing myself from cc Forgot to close the bug, sry. *radvd-2.11-r1 (14 Jun 2015) 14 Jun 2015; Michael Weber <xmw@gentoo.org> +files/radvd-2.10-musl-libc-fix.patch, +radvd-2.11-r1.ebuild, -radvd-2.5.ebuild, -radvd-2.8.ebuild: Add ARPHRD_IEEE802154_PHY definition for musl (bug 549942). |
net-misc/radvd fails to compile on musl. Linked patch fixes it. Reproducible: Always Steps to Reproduce: 1. emerge -v radvd Actual Results: x86_64-gentoo-linux-musl-ranlib libradvd-parser.a x86_64-gentoo-linux-musl-gcc -std=gnu99 -DINET6=1 -DLOG_FACILITY=LOG_DAEMON -DPATH_RADVD_CONF=\"/etc/radvd.conf\" -DPATH_RADVD_LOG=\"/var/log/radvd.log\" -DPATH_RADVD_PID=\"/var/run/radvd/radvd.pid\" -DVERSION=\"2.11\" -I. -fno-strict-aliasing -fstack-protector -Wall -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wstrict-prototypes -Wno-strict-aliasing -Wno-cast-align -Wno-strict-overflow -O2 -pipe -fomit-frame-pointer -mtune=generic -c -o device-linux.o device-linux.c device-linux.c: In function ‘hwstr’: device-linux.c:374:7: error: ‘ARPHRD_IEEE802154_PHY’ undeclared (first use in this function) case ARPHRD_IEEE802154_PHY: ^ device-linux.c:374:7: note: each undeclared identifier is reported only once for each function it appears in Makefile:908: recipe for target 'device-linux.o' failed make[1]: *** [device-linux.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-misc/radvd-2.11/work/radvd-2.11' Makefile:734: recipe for target 'all' failed make: *** [all] Error 2 Expected Results: >>> net-misc/radvd-2.11 merged.