diff options
author | Reto Brunner | 2024-05-18 13:22:18 +0200 |
---|---|---|
committer | Reto Brunner | 2024-05-18 13:22:18 +0200 |
commit | fd50c6372e78fe518b35fd5afd0f9ba786a80d02 (patch) | |
tree | 7330176e4481037a1b844a102ff546d27794a412 | |
parent | 616413911d055a70e584aefc4aa95f4eae1c81a1 (diff) | |
download | aur-fd50c6372e78fe518b35fd5afd0f9ba786a80d02.tar.gz |
Work around node bug
node-gyp or node have a bug that prevents building with "text file busy"
if the kernel is too fast, so we have to disable IO_URING support. This
is cleary a hack and needs to be removed as soon as possible
https://github.com/nodejs/node/issues/48444 is the necro bumped thread
originally from docker
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 8 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = thelounge pkgdesc = Modern self-hosted web IRC client pkgver = 4.4.3 - pkgrel = 2 + pkgrel = 3 url = https://thelounge.chat/ arch = any license = MIT @@ -3,7 +3,7 @@ pkgname=thelounge pkgver=4.4.3 pkgsuffix="" #-rc.1 -pkgrel=2 +pkgrel=3 pkgdesc='Modern self-hosted web IRC client' url='https://thelounge.chat/' arch=('any') @@ -48,6 +48,12 @@ build() { file:"$srcdir/$pkgname-${pkgver}${pkgsuffix}.tgz" # fetch sqlite3 binary blob + + # node-gyp or node have a bug that prevents building with "text file busy" if the kernel is too fast + # so we have to disable IO_URING support. This is cleary a hack and needs to be removed as soon as possible + # https://github.com/nodejs/node/issues/48444 is the necro bumped thread originally in docker + export UV_USE_IO_URING=0 + cd node_modules/sqlite3 || exit 1 yarn run install } |