[LEDE-DEV] Latest trunk pull fails to compile?

Arjen de Korte arjen+lede at de-korte.org
Fri Dec 8 07:03:39 PST 2017


Citeren Mauro Mozzarelli <mauro at ezplanet.org>:

> Hello,
>
>
> I am trying to compile trunk just pulled today and this is how it fails:
>
>
> [...]
>
> Configuring libpopt.
> Configuring getopt.
> Configuring gzip.
> Configuring atm-tools.
> Configuring kmod-ltq-deu-vr9.
> Configuring kmod-fs-cifs.
> Configuring kmod-usb-storage-extras.
> Configuring xz-utils.
> Configuring zip.
> Configuring openvpn-mbedtls.
> Configuring luci-app-hd-idle.
> Configuring dsl-vrx200-firmware-xdsl-b-patch.
> Configuring ppp-mod-pppoa.
> Configuring ppp-mod-pppoe.
> Configuring luci-app-openvpn.
> Configuring kmod-ledtrig-netdev.
> Configuring dnsmasq-full.
> Collected errors:
>  * check_data_file_clashes: Package odhcpd-ipv6only wants to install  
> file  
> /sto/router/lede/trunk/build_dir/target-mips_24kc_musl/root-lantiq/etc/init.d/odhcpd
>     But that file is already provided by package  * odhcpd
>  * check_data_file_clashes: Package odhcpd-ipv6only wants to install  
> file  
> /sto/router/lede/trunk/build_dir/target-mips_24kc_musl/root-lantiq/etc/uci-defaults/odhcpd.defaults
>     But that file is already provided by package  * odhcpd
>  * check_data_file_clashes: Package odhcpd-ipv6only wants to install  
> file  
> /sto/router/lede/trunk/build_dir/target-mips_24kc_musl/root-lantiq/usr/sbin/odhcpd
>     But that file is already provided by package  * odhcpd
>  * check_data_file_clashes: Package odhcpd-ipv6only wants to install  
> file  
> /sto/router/lede/trunk/build_dir/target-mips_24kc_musl/root-lantiq/usr/sbin/odhcpd-update
>     But that file is already provided by package  * odhcpd
>  * opkg_install_cmd: Cannot install package odhcpd-ipv6only.
> package/Makefile:64: recipe for target 'package/install' failed
> make[2]: *** [package/install] Error 255
> make[2]: Leaving directory '/sto/router/lede/trunk'
> package/Makefile:106: recipe for target  
> '/sto/router/lede/trunk/staging_dir/target-mips_24kc_musl/stamp/.package_install'  
> failed
> make[1]: ***  
> [/sto/router/lede/trunk/staging_dir/target-mips_24kc_musl/stamp/.package_install] Error  
> 2
> make[1]: Leaving directory '/sto/router/lede/trunk'
> /sto/router/lede/trunk/include/toplevel.mk:216: recipe for target  
> 'world' failed
> make: *** [world] Error 2
>
>
> I am using the same .config I have been using for the last few builds.

Run 'make menuconfig' again. Better yet is to switch to regenerating  
.config before each build. Something along the lines of

     ./scripts/config/conf --defconfig=$(find bin/ -name config.seed) Config.in

should do. This will merge the local modifications of your previous  
build with the (new) upstream configuration. Keep using the old  
.config file is fragile.

> Any reason why it fails to build now? Has something changed with odhcpd?

https://git.lede-project.org/c7b052db739e50f8a40f95ac17a21363b1593e33

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






More information about the Lede-dev mailing list