On Sat, Jul 02, 2016 at 04:55:28PM +0200, Baptiste Jonglez wrote:
> I think I found the cause of the issue: the packages kmod-udptunnel4.ipk
> and kmod-udptunnel6.ipk are generated, but are empty (no .ko file).  When
> I activate the kernel symbol in kernel_menuconfig, these packages do
> provide the .ko files as expected.

Moving to a different subject, since this is unrelated to wireguard.

Here is how to reproduce the issue (tried with 2a8bb46294):

- start with a fresh config
- activate kmod-udptunnel4 and kmod-udptunnel6 as modules (in Kernel modules → 
Network Support)
- select a target profile (I tried with TP-LINK TL-WR841N/ND v8)
- build

The resulting packages for kmod-udptunnel{4,6} are only 800 octets and do
not contain any .ko module:

$ find bin/ -name "*.ipk" -size '-1000c' -exec ls -lh {} \;
-rw-r--r-- 1 bjonglez users 805 juil.  2 17:14 
bin/targets/ar71xx/generic/packages/kmod-udptunnel6_4.4.14-1_mips_34kc.ipk
-rw-r--r-- 1 bjonglez users 802 juil.  2 17:14 
bin/targets/ar71xx/generic/packages/kmod-udptunnel4_4.4.14-1_mips_34kc.ipk
-rw-r--r-- 1 bjonglez users 781 juil.  2 17:14 
bin/targets/ar71xx/generic/packages/kernel_4.4.14-1-43373ff95800a35b632ff21cb43a1ef1_mips_34kc.ipk
-rw-r--r-- 1 bjonglez users 900 juil.  2 17:15 
bin/packages/mips_34kc/base/ip6tables_1.4.21-2_mips_34kc.ipk

The .ko are actually not built:

$ find 
build_dir/target-mips_34kc_musl-1.1.14/linux-ar71xx_generic/packages/ipkg-mips_34kc/udptunnel4
 -name "*.ko"

$ find 
build_dir/target-mips_34kc_musl-1.1.14/linux-ar71xx_generic/linux-4.4.14/ -name 
"*udp*.ko"
build_dir/target-mips_34kc_musl-1.1.14/linux-ar71xx_generic/linux-4.4.14/net/netfilter/xt_tcpudp.ko


The packages in the snapshots are somehow correct:

  https://downloads.lede-project.org/snapshots/targets/ar71xx/generic/packages/

So, this may actually be a local issue...

Baptiste

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to