packages/lang
Eneas U de Queiroz 70bb6f15e8 perl: perlmod.mk: use flock when hostpkg/perl used
Avoid parallel relinking and usage of the host perl binary by wrapping
its usage around flock calls.

Sometimes, two packages will try to relink the static host perl binary
at the same time.  Neither of them will have the other's module linked
in, and one of them will unavoidably clobber the other one's binary.

This will lead to errors when a package will not be able to find a
module that was supposed to be installed.

To fix that, an exclusive flock is used when relinking, with a 900
seconds timeout to avoid locking up the build process forever.

This is not enough because the binary may be concurrently used to build
another module package; perl is used in Configure, Compile, and Install
procedures.  If timing is right, a package will fail with a "permission
denied" error.

So a shared flock call is added in Configure, Compile, and Install
definitions for host and target, with a shorter, 300 seconds timeout.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit 1e18c4324f)
2021-10-08 09:48:01 -07:00
..
chicken-scheme chicken-scheme: add package 2019-03-26 10:29:03 +08:00
dkjson treewide: add missing PKGARCH:=all to non-binary packages 2019-03-30 17:11:50 +08:00
erlang treewide: add PKG_CPE_ID for better cvescanner coverage 2019-09-26 19:36:27 -07:00
golang golang: Update to 1.13.15 2020-08-12 04:42:02 +08:00
jamvm jamvm: Don't compile on ARM64 2019-09-27 10:10:33 -07:00
json4lua treewide: add missing PKGARCH:=all to non-binary packages 2019-03-30 17:11:50 +08:00
ldbus ldbus: remove nonshared flag 2018-03-31 15:08:23 +02:00
lpeg treewide: Use default PKG_BUILD_DIR when possible 2020-04-12 19:24:15 -07:00
lua-bencode treewide: add missing PKGARCH:=all to non-binary packages 2019-03-30 17:11:50 +08:00
lua-cjson treewide: Use default PKG_BUILD_DIR when possible 2020-04-12 19:24:15 -07:00
lua-copas lua-copas: Update to 2.0.2 2018-11-27 09:04:10 -08:00
lua-coxpcall treewide: run "make check FIXUP=1" 2017-08-29 21:41:14 -07:00
lua-ev lua-ev: Add package 2019-04-27 17:24:45 +08:00
lua-libmodbus treewide: Use default PKG_BUILD_DIR when possible 2020-04-12 19:24:15 -07:00
lua-lsqlite3 lua-lsqlite3: update to 0.9.5 2018-08-14 16:17:16 +00:00
lua-lzlib treewide: run "make check FIXUP=1" 2017-08-29 21:41:14 -07:00
lua-md5 treewide: run "make check FIXUP=1" 2017-08-29 21:41:14 -07:00
lua-mobdebug treewide: add missing PKGARCH:=all to non-binary packages 2019-03-30 17:11:50 +08:00
lua-mosquitto lua-mosquitto: bump to 0.3 release 2017-11-10 09:20:40 +00:00
lua-openssl treewide: fix missing/wrong MIRROR_HASH for sources from github 2018-07-02 10:40:47 +08:00
lua-penlight lua-penlight: update to 1.6.0 2018-12-10 15:33:50 +00:00
lua-rings treewide: run "make check FIXUP=1" 2017-08-29 21:41:14 -07:00
lua-rs232 lua-rs232: remove build timestamp 2017-12-03 14:26:45 +01:00
lua-sha2 treewide: run "make check FIXUP=1" 2017-08-29 21:41:14 -07:00
lua-wsapi treewide: add missing PKGARCH:=all to non-binary packages 2019-03-30 17:11:50 +08:00
lua-xavante treewide: add missing PKGARCH:=all to non-binary packages 2019-03-30 17:11:50 +08:00
luabitop treewide: run "make check FIXUP=1" 2017-08-29 21:41:14 -07:00
luaexpat treewide: add PKG_CPE_ID for better cvescanner coverage 2019-09-26 19:36:27 -07:00
luafilesystem luafilesystem: fix PKG_MIRROR_HASH 2019-05-06 22:13:28 +02:00
luajit luajit: for powerpc, add FPU dependency 2021-07-14 19:26:19 -07:00
lualanes lualane: avoid luajit dependency 2018-12-28 10:27:17 -02:00
luaposix luaposix: musl compatibility with XOPEN_REALTIME 2018-01-25 15:11:46 +00:00
luarocks treewide: fix incorrect *_BUILD_DEPENDS 2018-01-09 16:36:02 +01:00
luasec luasec: update to 0.8 2019-04-27 23:22:12 -04:00
luasoap treewide: add missing PKGARCH:=all to non-binary packages 2019-03-30 17:11:50 +08:00
luasocket luasocket: Replace -fpic with $(FPIC) 2019-04-02 12:49:45 -07:00
luasql treewide: Use default PKG_BUILD_DIR when possible 2020-04-12 19:24:15 -07:00
luasrcdiet luasrcdiet: add package (moved from luci-base package) 2019-11-26 19:52:28 +01:00
luv luv: Update to 1.22.0-1 2018-12-15 22:55:34 -08:00
lzmq lzmq: Fix homepage URL 2019-04-19 18:04:14 -07:00
node node: fix http/2 DoS 2019-09-27 12:44:16 -07:00
node-arduino-firmata node-arduino-firmata: support serialport 7.x 2019-04-05 13:47:33 +09:00
node-cylon node-cylon: Takeover of maintainer and Major Makefile Update 2019-04-05 13:57:00 +09:00
node-hid node-hid: update to 0.7.9 2019-06-04 14:52:05 +09:00
node-homebridge node-homebridge: update to 0.4.50 2019-06-10 14:26:06 +09:00
node-serialport node-serialport: fix powerpc build fail 2019-05-21 13:58:25 +09:00
node-serialport-bindings node-serialport-bindings: add new package - fix powerpc build fail 2019-05-21 13:50:54 +09:00
perl perl: perlmod.mk: use flock when hostpkg/perl used 2021-10-08 09:48:01 -07:00
perl-authen-sasl treewide: Change .*GPL.*+ licenses to SPDX compatible identifier 2019-09-26 19:36:25 -07:00
perl-authen-sasl-xs treewide: Change .*GPL.*+ licenses to SPDX compatible identifier 2019-09-26 19:36:25 -07:00
perl-cgi perl-cgi: Update to 4.42 2019-04-07 15:57:39 -06:00
perl-compress-bzip2 treewide: Change .*GPL.*+ licenses to SPDX compatible identifier 2019-09-26 19:36:25 -07:00
perl-dbi treewide: Change .*GPL.*+ licenses to SPDX compatible identifier 2019-09-26 19:36:25 -07:00
perl-device-serialport treewide: Change .*GPL.*+ licenses to SPDX compatible identifier 2019-09-26 19:36:25 -07:00
perl-device-usb perl-device-usb: Update to 0.37 2019-04-12 12:44:29 -07:00
perl-encode-locale treewide: Change .*GPL.*+ licenses to SPDX compatible identifier 2019-09-26 19:36:25 -07:00
perl-file-listing treewide: Change .*GPL.*+ licenses to SPDX compatible identifier 2019-09-26 19:36:25 -07:00
perl-file-sharedir-install treewide: Change .*GPL.*+ licenses to SPDX compatible identifier 2019-09-26 19:36:25 -07:00
perl-html-form treewide: Change .*GPL.*+ licenses to SPDX compatible identifier 2019-09-26 19:36:25 -07:00
perl-html-parser treewide: add PKG_CPE_ID for better cvescanner coverage 2019-09-26 19:36:27 -07:00
perl-html-tagset treewide: Change .*GPL.*+ licenses to SPDX compatible identifier 2019-09-26 19:36:25 -07:00
perl-html-tree treewide: Change .*GPL.*+ licenses to SPDX compatible identifier 2019-09-26 19:36:25 -07:00
perl-http-cookies treewide: Change .*GPL.*+ licenses to SPDX compatible identifier 2019-09-26 19:36:25 -07:00
perl-http-daemon treewide: Change .*GPL.*+ licenses to SPDX compatible identifier 2019-09-26 19:36:25 -07:00
perl-http-date treewide: Change .*GPL.*+ licenses to SPDX compatible identifier 2019-09-26 19:36:25 -07:00
perl-http-message treewide: Change .*GPL.*+ licenses to SPDX compatible identifier 2019-09-26 19:36:25 -07:00
perl-http-negotiate treewide: Change .*GPL.*+ licenses to SPDX compatible identifier 2019-09-26 19:36:25 -07:00
perl-http-server-simple treewide: Change .*GPL.*+ licenses to SPDX compatible identifier 2019-09-26 19:36:25 -07:00
perl-inline perl-inline: Update to 0.82 2019-04-16 21:33:21 -07:00
perl-inline-c Revert "perl-inline-c: patch Makefile.PL to not eval undef" 2018-01-25 18:48:34 -07:00
perl-io-html treewide: Change .*GPL.*+ licenses to SPDX compatible identifier 2019-09-26 19:36:25 -07:00
perl-lockfile-simple treewide: Change .*GPL.*+ licenses to SPDX compatible identifier 2019-09-26 19:36:25 -07:00
perl-lwp-mediatypes treewide: Change .*GPL.*+ licenses to SPDX compatible identifier 2019-09-26 19:36:25 -07:00
perl-net-http treewide: Change .*GPL.*+ licenses to SPDX compatible identifier 2019-09-26 19:36:25 -07:00
perl-net-telnet treewide: Change .*GPL.*+ licenses to SPDX compatible identifier 2019-09-26 19:36:25 -07:00
perl-parse-recdescent treewide: Change .*GPL.*+ licenses to SPDX compatible identifier 2019-09-26 19:36:25 -07:00
perl-sub-uplevel treewide: Change .*GPL.*+ licenses to SPDX compatible identifier 2019-09-26 19:36:25 -07:00
perl-test-harness treewide: Change .*GPL.*+ licenses to SPDX compatible identifier 2019-09-26 19:36:25 -07:00
perl-test-warn treewide: Change .*GPL.*+ licenses to SPDX compatible identifier 2019-09-26 19:36:25 -07:00
perl-text-csv_xs treewide: Change .*GPL.*+ licenses to SPDX compatible identifier 2019-09-26 19:36:25 -07:00
perl-uri treewide: Change .*GPL.*+ licenses to SPDX compatible identifier 2019-09-26 19:36:25 -07:00
perl-www treewide: add PKG_CPE_ID for cvescanner 2019-09-26 19:36:27 -07:00
perl-www-curl Revert "Revert "perl-www-curl: curl 7.66.0 compatibility"" 2019-11-10 20:40:19 +01:00
perl-www-mechanize treewide: Change .*GPL.*+ licenses to SPDX compatible identifier 2019-09-26 19:36:25 -07:00
perl-www-robotrules treewide: Change .*GPL.*+ licenses to SPDX compatible identifier 2019-09-26 19:36:25 -07:00
perl-xml-parser treewide: Change .*GPL.*+ licenses to SPDX compatible identifier 2019-09-26 19:36:25 -07:00
php7 php: add fix for updated ICU 68+ 2021-03-22 13:57:13 +01:00
php7-pecl-dio php7-pecl-dio: upgrade to 0.1.0 2017-03-27 21:44:58 +02:00
php7-pecl-http php7-pecl-http: give hint about zlib staging dir 2019-02-04 22:30:49 +01:00
php7-pecl-krb5 php7-pecl-krb5: add new package 2018-05-26 19:49:53 -04:00
php7-pecl-libevent php7-pecl-libevent: update to latest commit 2018-04-20 22:18:29 +02:00
php7-pecl-mcrypt php7-pecl-mcrypt: update to 1.0.2 2019-03-16 17:11:28 -04:00
php7-pecl-propro php7-pecl-propro: update to 2.1.0 2018-04-18 22:38:31 +02:00
php7-pecl-raphf treewide: run "make check FIXUP=1" 2017-08-29 21:41:14 -07:00
php7-pecl-redis php7-pecl-redis: add new package (fixes #8710) 2019-04-30 20:50:20 +02:00
python python3: update to version 3.7.12 2021-09-08 13:06:36 +02:00
ruby ruby: update to 2.6.8 2021-07-16 15:57:54 +02:00
tcl treewide: add PKG_CPE_ID for better cvescanner coverage 2019-09-26 19:36:27 -07:00
uuid treewide: add missing PKGARCH:=all to non-binary packages 2019-03-30 17:11:50 +08:00
vala vala: Update to 0.34.18 2018-10-20 15:06:46 -07:00