[luci] execvp: /usr/bin/env: Argument list too long error

Itus Shield, unsupported, running r13676-9858a8c582 compiled from master branch. I build with CONFIG_ALL flagged.

I build via: make IGNORE_ERRORS="n m", and the build fails on packages/install

Collected errors:
 * resolve_conffiles: Existing conffile /home/grommish/openwrt/build_dir/target-mips64_octeon3_64_musl/root-octeon/etc/config/dhcp is different from the conffile in the new package. The new conffile will be placed at /home/grommish/openwrt/build_dir/target-mips64_octeon3_64_musl/root-octeon/etc/config/dhcp-opkg.
 * resolve_conffiles: Existing conffile /home/grommish/openwrt/build_dir/target-mips64_octeon3_64_musl/root-octeon/etc/config/uhttpd is different from the conffile in the new package. The new conffile will be placed at /home/grommish/openwrt/build_dir/target-mips64_octeon3_64_musl/root-octeon/etc/config/uhttpd-opkg.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-ssl:
 * 	luci
 * opkg_install_cmd: Cannot install package luci-ssl.
make[1]: *** [package/Makefile:68: package/install] Error 255
make[1]: Leaving directory '/home/grommish/openwrt'
make: *** [/home/grommish/openwrt/include/toplevel.mk:224: package/install] Error 2

I do a make -j1 V=sc package/feeds/luci/luci/compile and it ends with:

make[2]: Entering directory '/home/grommish/openwrt/feeds/luci/collections/luci'
make[2]: execvp: /usr/bin/env: Argument list too long
make[2]: *** [../../luci.mk:296: /home/grommish/openwrt/bin/packages/mips64_octeon3/luci/luci_git-20.184.73759-da42423_all.ipk] Error 127
make[2]: Leaving directory '/home/grommish/openwrt/feeds/luci/collections/luci'

I'm facing the above issue, and I've already seen https://forum.openwrt.org/t/compiling-a-package-execvp-usr-bin-env-argument-list-too-long/33196

I figured this might have something to do with ccache, but I've got ccache off. I've also rm -rf bin/ build_dir/ staging_dir/ before building in order to make sure it was off.

My ulimit output:

rommish@norwits:~/openwrt$ ulimit -a
core file size          (blocks, -c) unlimited
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 111909
max locked memory       (kbytes, -l) 65536
max memory size         (kbytes, -m) unlimited
open files                      (-n) 65535
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 65535
cpu time               (seconds, -t) unlimited
max user processes              (-u) 111909
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

My stack size and open files are max'ed at 65535. Anyone have any ideas?

1 Like

As answered by @jow in the IRC:

<jow> Grommish: https://patchwork.ozlabs.org/project/openwrt/cover/20200219215212.31263-1-cotequeiroz@gmail.com/
<jow> https://patchwork.ozlabs.org/series/159595/mbox/

https://patchwork.ozlabs.org/project/openwrt/cover/20200219215212.31263-1-cotequeiroz@gmail.com/

https://patchwork.ozlabs.org/series/159595/mbox/

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.