[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


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 
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 
make -C 
make[4]: Entering directory 
make[4]: `bin/LuaSrcDiet.lua' is up to date.
make[4]: Leaving directory 
install -d -m0755 /bin
install -m0755 src/po2lmo /bin/po2lmo
install: cannot create regular file '/bin/po2lmo': Permission denied
make[3]: *** 
Error 1
make[3]: Leaving directory 
make[2]: *** [package/feeds/luci/luci-base/host/compile] Error 2
make[2]: Leaving directory `/net20/router/openwrt/trunk'
make[1]: *** 
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.
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list