summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig)2022-05-16 20:25:39 +0200
committerJan Alexander Steffens (heftig)2022-05-16 20:25:39 +0200
commit96287e63a4fe1575860aca88f5efa29f8db3b5a7 (patch)
tree0e1ef29cd25dff6a9ec9566a076339fefa05fa58
parente5c0e8d18b9f2ad0e36e7342f527c6fdd7979cf7 (diff)
downloadaur-96287e63a4fe1575860aca88f5efa29f8db3b5a7.tar.gz
2022.05.16.00-1
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD18
-rw-r--r--libgcc_s.so.1bin478272 -> 0 bytes
3 files changed, 13 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 733cd16cf0d7..1950784a9c38 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = watchman-bin
pkgdesc = An inotify-based file watching and job triggering command line utility
- pkgver = 2022.05.09.00
+ pkgver = 2022.05.16.00
pkgrel = 1
url = https://facebook.github.io/watchman/
install = watchman.install
@@ -9,13 +9,11 @@ pkgbase = watchman-bin
makedepends = patchelf
makedepends = python
depends = openssl
- depends = gcc-libs
- provides = watchman=2022.05.09.00
+ depends = gcc11-libs
+ provides = watchman=2022.05.16.00
conflicts = watchman
options = !strip
- source = https://github.com/facebook/watchman/releases/download/v2022.05.09.00/watchman-v2022.05.09.00-linux.zip
- source = libgcc_s.so.1
- sha256sums = 99a4aad800d7ecd6d5d265d40ee3633f5afc1c3c97eaed4a443e72cdef1091f3
- sha256sums = a82367caaa653296b67007e5db6aa3a7a8103687690cdfa91a0095dacff8cbea
+ source = https://github.com/facebook/watchman/releases/download/v2022.05.16.00/watchman-v2022.05.16.00-linux.zip
+ sha256sums = 76adb45344973e6a0f9851f0b2d70679e5126fa985ba10b59bf52207489fb97a
pkgname = watchman-bin
diff --git a/PKGBUILD b/PKGBUILD
index 6a8e1f81c20b..39f266018ac8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,13 @@
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
pkgname=watchman-bin
-pkgver=2022.05.09.00
+pkgver=2022.05.16.00
pkgrel=1
pkgdesc="An inotify-based file watching and job triggering command line utility"
url="https://facebook.github.io/watchman/"
arch=(x86_64)
license=(MIT)
-depends=(openssl gcc-libs)
+depends=(openssl gcc11-libs)
makedepends=(patchelf python)
provides=("watchman=$pkgver")
conflicts=(watchman)
@@ -15,10 +15,8 @@ options=(!strip)
install=watchman.install
# https://github.com/facebook/watchman/releases
-source=("https://github.com/facebook/watchman/releases/download/v$pkgver/watchman-v$pkgver-linux.zip"
- libgcc_s.so.1)
-sha256sums=('99a4aad800d7ecd6d5d265d40ee3633f5afc1c3c97eaed4a443e72cdef1091f3'
- 'a82367caaa653296b67007e5db6aa3a7a8103687690cdfa91a0095dacff8cbea')
+source=("https://github.com/facebook/watchman/releases/download/v$pkgver/watchman-v$pkgver-linux.zip")
+sha256sums=('76adb45344973e6a0f9851f0b2d70679e5126fa985ba10b59bf52207489fb97a')
prepare() {
cd watchman-v$pkgver-linux
@@ -46,6 +44,10 @@ END
bin/* lib/*
patchelf --set-rpath /usr/lib/watchman bin/* lib/*
+
+ # Use libgcc from gcc11-libs to avoid a crash
+ # https://github.com/facebook/watchman/issues/1019
+ patchelf --add-rpath /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0 bin/* lib/*
}
package() {
@@ -54,10 +56,6 @@ package() {
install -Dt "$pkgdir/usr/bin" bin/*
install -Dt "$pkgdir/usr/lib/watchman" lib/*
- # Add libgcc from gcc-libs 11.2.0-4 to avoid a crash
- # https://github.com/facebook/watchman/issues/1019
- install -t "$pkgdir/usr/lib/watchman" ../libgcc_s.so.1
-
install -Dm644 /dev/stdin "$pkgdir/usr/lib/tmpfiles.d/watchman.conf" <<END
d /run/watchman 1777 root root
END
diff --git a/libgcc_s.so.1 b/libgcc_s.so.1
deleted file mode 100644
index bcf89950a86e..000000000000
--- a/libgcc_s.so.1
+++ /dev/null
Binary files differ