Closed HalfAHat closed 1 year ago
@HalfAHat are you using master
branch
Yes. I am following the directions in README.md
for initializing and building. I also had to use the workaround described in issue 131 for the Busybox recipe.
Looking at the file attempted to be patched iptables/Makefile.am
, it appears that most of variable names have been changed causing the patch to not be applied which is what I consider to be the suspect. Snippet of lines 7-30 of build/tmp-musl/work/cortexa15t2hf-neon-oe-linux-musleabi/iptables/1.8.9-r0/iptables-1.8.9/iptables/Makefile.am
:
BUILT_SOURCES =
common_sources = iptables-xml.c xtables-multi.h xshared.c xshared.h
common_ldadd = ../extensions/libext.a ../libxtables/libxtables.la -lm
common_cflags = ${AM_CFLAGS}
if ENABLE_STATIC
common_cflags += -DALL_INCLUSIVE
endif
xtables_legacy_multi_SOURCES = ${common_sources} xtables-legacy-multi.c \
iptables-restore.c iptables-save.c
xtables_legacy_multi_CFLAGS = ${common_cflags}
xtables_legacy_multi_LDADD = ${common_ldadd}
if ENABLE_IPV4
xtables_legacy_multi_SOURCES += iptables-standalone.c iptables.c iptables-multi.h
xtables_legacy_multi_CFLAGS += -DENABLE_IPV4
xtables_legacy_multi_LDADD += ../libiptc/libip4tc.la ../extensions/libext4.a
endif
if ENABLE_IPV6
xtables_legacy_multi_SOURCES += ip6tables-standalone.c ip6tables.c ip6tables-multi.h
xtables_legacy_multi_CFLAGS += -DENABLE_IPV6
xtables_legacy_multi_LDADD += ../libiptc/libip6tc.la ../extensions/libext6.a
endif
ok, do you intend to refresh the patches to apply to current versions ? if you do feel free to send a pull request while you are at it. It does need forward porting these patches as master keeps moving with newer versions.
I can make an attempt to port the effected patches as it seems there are two others 0001 and 601 are also failing. I'm fairly new to Yocto, so let me know if this question doesn't make sense or isn't possible. Would it make sense to tie the OpenWRT source to a tagged release branch such as v22.03.2 to get the same versions of packages every time until someone forwards the recipes to a new version?
On master, iptables fails to be patched during build. Looks similar to issue 98.