Skip to content

Commit 0f2d553

Browse files
committed
Work around node bug
https://aur.archlinux.org/cgit/aur.git/commit/?h=thelounge&id=fd50c63 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 nodejs/node#48444 is the necro bumped thread originally from docker
1 parent 35f31db commit 0f2d553

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

thelounge-beta/.SRCINFO

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
pkgbase = thelounge-beta
22
pkgdesc = Modern self-hosted web IRC client (Latest release/pre-release)
33
pkgver = 4.4.3
4-
pkgrel = 2
4+
pkgrel = 3
55
url = https://thelounge.chat/
66
arch = any
77
license = MIT

thelounge-beta/PKGBUILD

+7-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ _pkgname=thelounge
55
pkgname=thelounge-beta
66
_pkgver=4.4.3
77
pkgver=${_pkgver/-/}
8-
pkgrel=2
8+
pkgrel=3
99
pkgdesc='Modern self-hosted web IRC client (Latest release/pre-release)'
1010
url='https://thelounge.chat/'
1111
arch=('any')
@@ -52,6 +52,12 @@ build() {
5252
file:"$srcdir/$_pkgname-${_pkgver}.tgz"
5353

5454
# fetch sqlite3 binary blob
55+
56+
# node-gyp or node have a bug that prevents building with "text file busy" if the kernel is too fast
57+
# so we have to disable IO_URING support. This is cleary a hack and needs to be removed as soon as possible
58+
# https://github.com/nodejs/node/issues/48444 is the necro bumped thread originally in docker
59+
export UV_USE_IO_URING=0
60+
5561
cd node_modules/sqlite3 || exit 1
5662
yarn run install
5763
}

0 commit comments

Comments
 (0)