Re: [OpenWrt-Devel] lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64 fails to build image

2018-09-05 Thread Baptiste Jonglez
On 03-09-18, Baptiste Jonglez wrote:
> On 18-07-18, Mikael Bak wrote:
> > Hi,
> > 
> > Image builder for 17.01.5 seems broken.
> > 
> > It works well for 17.01.4 and 18.06.0-rc1 on my system.
> 
> I'm having the same issue with the ar71xx imagebuilder on Arch Linux:
> 17.01.4 and 18.06.1 both work fine, but 17.01.5 fails with the same error
> message as below.
> 
> Relevant bug reports I found are:
> 
> https://bugs.openwrt.org/index.php?do=details_id=1708
> https://bugs.openwrt.org/index.php?do=details_id=1671

The recently released 17.01.6 does not exhibit this issue anymore!

The only relevant commit I found was https://git.openwrt.org/6e8f1c3878
It is intented to fix another similar issue, and it may have fixed this
one as a side-effect.

In any case, this is great :)

Regards,
Baptiste


signature.asc
Description: PGP signature
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64 fails to build image

2018-09-03 Thread Baptiste Jonglez
Hi,

On 18-07-18, Mikael Bak wrote:
> Hi,
> 
> Image builder for 17.01.5 seems broken.
> 
> It works well for 17.01.4 and 18.06.0-rc1 on my system.

I'm having the same issue with the ar71xx imagebuilder on Arch Linux:
17.01.4 and 18.06.1 both work fine, but 17.01.5 fails with the same error
message as below.

Relevant bug reports I found are:

https://bugs.openwrt.org/index.php?do=details_id=1708
https://bugs.openwrt.org/index.php?do=details_id=1671

Thanks,
Baptiste

> Output attached.
> 
> TIA,
> Mikael

> [mikael@mikael-pc lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64]$ 
> make image PROFILE=tl-wr1043nd-v1 PACKAGES="luci luci-app-firewall luci-base 
> luci-lib-ip luci-lib-jsonc luci-lib-nixio luci-mod-admin-full luci-proto-ipv6 
> luci-proto-ppp luci-theme-bootstrap luci-app-statistics collectd rrdtool1 
> collectd-mod-rrdtool collectd-mod-iwinfo collectd-mod-cpu collectd-mod-memory 
> collectd-mod-interface collectd-mod-load collectd-mod-network ddns-scripts 
> wget libpcre zlib libopenssl librt"
> Building images for ar71xx - TP-LINK TL-WR1043N/ND v1
> Packages: luci luci-app-firewall luci-base luci-lib-ip luci-lib-jsonc 
> luci-lib-nixio luci-mod-admin-full luci-proto-ipv6 luci-proto-ppp 
> luci-theme-bootstrap luci-app-statistics collectd rrdtool1 
> collectd-mod-rrdtool collectd-mod-iwinfo collectd-mod-cpu collectd-mod-memory 
> collectd-mod-interface collectd-mod-load collectd-mod-network ddns-scripts 
> wget libpcre zlib libopenssl librt base-files busybox dnsmasq dropbear 
> firewall fstools ip6tables iptables kernel kmod-ath9k 
> kmod-gpio-button-hotplug kmod-usb-core kmod-usb-ledtrig-usbport kmod-usb2 
> libc libgcc logd mtd netifd odhcp6c odhcpd opkg ppp ppp-mod-pppoe swconfig 
> uboot-envtools uci uclient-fetch wpad-mini
> 
> Downloading 
> http://downloads.lede-project.org/releases/17.01.5/targets/ar71xx/generic/packages/Packages.gz
> Updated list of available packages in 
> /home/mikael/LEDE/stable/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/root-ar71xx/../../../../../../../../home/mikael/LEDE/stable/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/reboot_core
> Downloading 
> http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/Packages.gz
> Updated list of available packages in 
> /home/mikael/LEDE/stable/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/root-ar71xx/../../../../../../../../home/mikael/LEDE/stable/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/reboot_base
> Downloading 
> http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/luci/Packages.gz
> Updated list of available packages in 
> /home/mikael/LEDE/stable/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/root-ar71xx/../../../../../../../../home/mikael/LEDE/stable/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/reboot_luci
> Downloading 
> http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/packages/Packages.gz
> Updated list of available packages in 
> /home/mikael/LEDE/stable/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/root-ar71xx/../../../../../../../../home/mikael/LEDE/stable/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/reboot_packages
> Downloading 
> http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/routing/Packages.gz
> Updated list of available packages in 
> /home/mikael/LEDE/stable/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/root-ar71xx/../../../../../../../../home/mikael/LEDE/stable/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/reboot_routing
> Downloading 
> http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/telephony/Packages.gz
> Updated list of available packages in 
> /home/mikael/LEDE/stable/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/root-ar71xx/../../../../../../../../home/mikael/LEDE/stable/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/reboot_telephony
> Downloading file:packages/Packages
> Updated list of available packages in 
> /home/mikael/LEDE/stable/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/root-ar71xx/../../../../../../../../home/mikael/LEDE/stable/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/imagebuilder
> 
> Installing packages...
> Installing libc (1.1.16-1) to root...
> Installing libgcc (5.4.0-1) to root...
> Downloading 
> http://downloads.lede-project.org/releases/17.01.5/targets/ar71xx/generic/packages/libgcc_5.4.0-1_mips_24kc.ipk
> Configuring libgcc.
> Configuring libc.
> Installing kernel (4.4.140-1-33d452ad71ac13bc6dc71df37efa5ec7) to root...
> Configuring kernel.
> Installing luci (git-18.180.55366-b78664c-1) to root...
> Downloading 
> 

Re: [OpenWrt-Devel] lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64 fails to build image

2018-07-19 Thread Mikael Bak

Hi,

On 2018-07-19 08:49, Jo-Philipp Wich wrote:

Hi again,

As a workaround, run the following command once within the IB/SDK directory:

sed -i -e 's,/\(usr\|lib\|etc\)/,/###/,g' ./staging_dir/host/lib/libc.so.6



Executing the above command solves the problem on my system (Manjaro - 
similar to Arch).




This will prevent the bundled glibc from trying to dlopen() libraries on
the host system which is the root cause of the assertion.



Thank you very much for the quick workaround!

Is it generally recommended to use Debian or Ubuntu for building images? 
I do not have to use Manjaro for that if it's difficult for the project 
to support it.


Cheers,
Mikael

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64 fails to build image

2018-07-19 Thread Jo-Philipp Wich
Hi again,

As a workaround, run the following command once within the IB/SDK directory:

sed -i -e 's,/\(usr\|lib\|etc\)/,/###/,g' ./staging_dir/host/lib/libc.so.6


This will prevent the bundled glibc from trying to dlopen() libraries on
the host system which is the root cause of the assertion.

~ Jo




signature.asc
Description: OpenPGP digital signature
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64 fails to build image

2018-07-19 Thread Jo-Philipp Wich
Hi,

works for me on Debian 9 und Ubuntu 18. I've got reports that it is
broken on Arch which I am currently trying to install but it seems to be
a pain

~ Jo



signature.asc
Description: OpenPGP digital signature
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64 fails to build image

2018-07-18 Thread Mikael Bak
Hi,

Image builder for 17.01.5 seems broken.

It works well for 17.01.4 and 18.06.0-rc1 on my system.

Output attached.

TIA,
Mikael
[mikael@mikael-pc lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64]$ make 
image PROFILE=tl-wr1043nd-v1 PACKAGES="luci luci-app-firewall luci-base 
luci-lib-ip luci-lib-jsonc luci-lib-nixio luci-mod-admin-full luci-proto-ipv6 
luci-proto-ppp luci-theme-bootstrap luci-app-statistics collectd rrdtool1 
collectd-mod-rrdtool collectd-mod-iwinfo collectd-mod-cpu collectd-mod-memory 
collectd-mod-interface collectd-mod-load collectd-mod-network ddns-scripts wget 
libpcre zlib libopenssl librt"
Building images for ar71xx - TP-LINK TL-WR1043N/ND v1
Packages: luci luci-app-firewall luci-base luci-lib-ip luci-lib-jsonc 
luci-lib-nixio luci-mod-admin-full luci-proto-ipv6 luci-proto-ppp 
luci-theme-bootstrap luci-app-statistics collectd rrdtool1 collectd-mod-rrdtool 
collectd-mod-iwinfo collectd-mod-cpu collectd-mod-memory collectd-mod-interface 
collectd-mod-load collectd-mod-network ddns-scripts wget libpcre zlib 
libopenssl librt base-files busybox dnsmasq dropbear firewall fstools ip6tables 
iptables kernel kmod-ath9k kmod-gpio-button-hotplug kmod-usb-core 
kmod-usb-ledtrig-usbport kmod-usb2 libc libgcc logd mtd netifd odhcp6c odhcpd 
opkg ppp ppp-mod-pppoe swconfig uboot-envtools uci uclient-fetch wpad-mini

Downloading 
http://downloads.lede-project.org/releases/17.01.5/targets/ar71xx/generic/packages/Packages.gz
Updated list of available packages in 
/home/mikael/LEDE/stable/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/root-ar71xx/../../../../../../../../home/mikael/LEDE/stable/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/reboot_core
Downloading 
http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/Packages.gz
Updated list of available packages in 
/home/mikael/LEDE/stable/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/root-ar71xx/../../../../../../../../home/mikael/LEDE/stable/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/reboot_base
Downloading 
http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/luci/Packages.gz
Updated list of available packages in 
/home/mikael/LEDE/stable/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/root-ar71xx/../../../../../../../../home/mikael/LEDE/stable/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/reboot_luci
Downloading 
http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/packages/Packages.gz
Updated list of available packages in 
/home/mikael/LEDE/stable/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/root-ar71xx/../../../../../../../../home/mikael/LEDE/stable/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/reboot_packages
Downloading 
http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/routing/Packages.gz
Updated list of available packages in 
/home/mikael/LEDE/stable/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/root-ar71xx/../../../../../../../../home/mikael/LEDE/stable/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/reboot_routing
Downloading 
http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/telephony/Packages.gz
Updated list of available packages in 
/home/mikael/LEDE/stable/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/root-ar71xx/../../../../../../../../home/mikael/LEDE/stable/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/reboot_telephony
Downloading file:packages/Packages
Updated list of available packages in 
/home/mikael/LEDE/stable/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/root-ar71xx/../../../../../../../../home/mikael/LEDE/stable/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/imagebuilder

Installing packages...
Installing libc (1.1.16-1) to root...
Installing libgcc (5.4.0-1) to root...
Downloading 
http://downloads.lede-project.org/releases/17.01.5/targets/ar71xx/generic/packages/libgcc_5.4.0-1_mips_24kc.ipk
Configuring libgcc.
Configuring libc.
Installing kernel (4.4.140-1-33d452ad71ac13bc6dc71df37efa5ec7) to root...
Configuring kernel.
Installing luci (git-18.180.55366-b78664c-1) to root...
Downloading 
http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/luci/luci_git-18.180.55366-b78664c-1_all.ipk
Installing libubox (2018-01-07-1dafcd78-1) to root...
Downloading 
http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/libubox_2018-01-07-1dafcd78-1_mips_24kc.ipk
Installing libjson-c (0.12.1-1) to root...
Downloading 
http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/libjson-c_0.12.1-1_mips_24kc.ipk
Installing libblobmsg-json (2018-01-07-1dafcd78-1) to root...
Downloading