[OpenWrt-Devel] Fwd: OpenWRT Build Process broken on recent Debian NFS

Anton Ivanov anton.ivanov at cambridgegreys.com
Sun Nov 12 02:41:39 EST 2017


On 12/11/17 00:08, Alexander Couzens wrote:
> On Sat, 11 Nov 2017 10:53:17 +0000
> Anton Ivanov <anton.ivanov at cambridgegreys.com> wrote:
>
>> SHELL=
>> flock /var/autofs/local/src/openwrt/tmp/.patch-2.7.5.tar.xz.flock -c
>> '    /var/autofs/local/src/openwrt/scripts/download.pl
>> "/var/autofs/local/src/openwrt/dl" "patch-2.7.5.tar.xz"
>> "e3da7940431633fb65a01b91d3b7a27a" "" "@GNU/patch"'
>> flock: /var/autofs/local/src/openwrt/tmp/.patch-2.7.5.tar.xz.flock:
>> Bad file descriptor Makefile:23: recipe for target
>> '/var/autofs/local/src/openwrt/dl/patch-2.7.5.tar.xz' failed
>>
>> Any ideas (I do not want to file a Debian bug before narrowing it
>> down)?
> Hi Anton,
>
> the buildsystem will use it's own flock. Do you tried to use the
> flock produced by the build system?
>
> /var/autofs/local/src/openwrt/staging_dir/host/bin/flock
cd /var/autofs/local/src/openwrt/
touch tmp/1 ; /var/autofs/local/src/openwrt/staging_dir/host/bin/flock
tmp/1 -c "echo OK" ; rm tmp/1

/var/autofs/local/src/openwrt/staging_dir/host/bin/flock: tmp/1: Bad
file descriptor

Slightly better - it is now reproducible "by hand".

/var/autofs/local/src/openwrt/staging_dir/host/bin/flock -V
flock (util-linux-ng 2.18)

I am still wondering what triggers it - it definitely worked fine in the
past.

A.

>
> best,
> lynxis


-- 
Anton R. Ivanov
Cambridgegreys Limited. Registered in England. Company Number 10273661
_______________________________________________
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