[OpenWrt-Devel] Trunk fails to build: trying to install po2lmo binary in /bin

Mauro Mozzarelli openwrt at ezplanet.net
Fri Oct 28 08:25:13 EDT 2016


Hi,

I am building openwrt from trunk. Since a git fresh pull I ran about 3 
weeks ago I have been unable to build trunk as it fails always as follows:

make[4]: Entering directory 
`/net20/router/openwrt/trunk/feeds/luci/modules/luci-base/src'
rm -f po2lmo parser.so version.lua *.o
cc    -c -o po2lmo.o po2lmo.c
cc    -c -o template_lmo.o template_lmo.c
cc  -o po2lmo po2lmo.o template_lmo.o
make[4]: Leaving directory 
`/net20/router/openwrt/trunk/feeds/luci/modules/luci-base/src'
make -C 
/net20/router/openwrt/trunk/build_dir/target-mips_34kc_musl-1.1.14/host/LuaSrcDiet-0.12.1 
bin/LuaSrcDiet.lua
make[4]: Entering directory 
`/net20/router/openwrt/trunk/build_dir/target-mips_34kc_musl-1.1.14/host/LuaSrcDiet-0.12.1'
make[4]: `bin/LuaSrcDiet.lua' is up to date.
make[4]: Leaving directory 
`/net20/router/openwrt/trunk/build_dir/target-mips_34kc_musl-1.1.14/host/LuaSrcDiet-0.12.1'
touch 
/net20/router/openwrt/trunk/build_dir/target-mips_34kc_musl-1.1.14/host/LuaSrcDiet-0.12.1/.built
install -d -m0755 /bin
install -m0755 src/po2lmo /bin/po2lmo
install: cannot create regular file '/bin/po2lmo': Permission denied
make[3]: *** 
[/net20/router/openwrt/trunk/staging_dir/target-mips_34kc_musl-1.1.14/host/stamp/.luci-base_installed] 
Error 1
make[3]: Leaving directory 
`/net20/router/openwrt/trunk/feeds/luci/modules/luci-base'
make[2]: *** [package/feeds/luci/luci-base/host/compile] Error 2
make[2]: Leaving directory `/net20/router/openwrt/trunk'
make[1]: *** 
[/net20/router/openwrt/trunk/staging_dir/target-mips_34kc_musl-1.1.14/stamp/.package_compile] 
Error 2
make[1]: Leaving directory `/net20/router/openwrt/trunk'
make: *** [world] Error 2


To summarize, I am building using a non privileged user, the install 
script for po2lmo tries to install the binary into /bin and it fails 
because rightly the user has no permission.

I waited a few weeks to post this issue hoping the bug would be fixed as 
it usually happens after a few days. But it hasn't been.
I was wondering if you were aware and if it is going to be fixed.

Thank you.
Mauro
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list