aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorohfp <1813007-ohfp@users.noreply.gitlab.com>2020-11-23 10:01:30 +0100
committerohfp <1813007-ohfp@users.noreply.gitlab.com>2020-11-23 10:01:30 +0100
commit8d686931d941012e69c223fa8383706269b97577 (patch)
treed9d93c1115a89a4928135ae9e641da47d78ba431
parentv83.0-1 (diff)
downloadlibrewolf-linux-8d686931d941012e69c223fa8383706269b97577.tar.gz
librewolf-linux-8d686931d941012e69c223fa8383706269b97577.tar.bz2
librewolf-linux-8d686931d941012e69c223fa8383706269b97577.zip
workaround for build issue with rust 1.48.0HEADmaster
-rw-r--r--PKGBUILD3
-rwxr-xr-xarch/01_build.sh2
2 files changed, 4 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index cc1f8d7..dece6d9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,7 +14,8 @@ license=(MPL GPL LGPL)
url="https://librewolf-community.gitlab.io/"
depends=(gtk3 libxt mime-types dbus-glib ffmpeg nss ttf-font libpulse)
makedepends=(unzip zip diffutils yasm mesa imake inetutils xorg-server-xvfb
- autoconf2.13 rust clang llvm jack gtk2 nodejs cbindgen nasm
+ 'rust<1:1.48.0' # rust 1.48.0 causes firefox / packed_simd building to fail
+ autoconf2.13 clang llvm jack gtk2 nodejs cbindgen nasm
python-setuptools python-psutil python-zstandard git binutils lld)
optdepends=('networkmanager: Location detection via available WiFi networks'
'libnotify: Notification integration'
diff --git a/arch/01_build.sh b/arch/01_build.sh
index 90dbcb3..1faceaa 100755
--- a/arch/01_build.sh
+++ b/arch/01_build.sh
@@ -9,5 +9,7 @@ usermod -d /home/nobody nobody
# we need to un-expire the account, otherwise PAM will complain
usermod -e '' nobody
chown -R nobody .
+# temporary workaround for rust / packed_simd build issue:
+pacman --noconfirm -U https://archive.archlinux.org/packages/r/rust/rust-1%3A1.47.0-4-x86_64.pkg.tar.zst
# makepkg will not run as root
sudo -u nobody -E -H makepkg --noconfirm --nosign --syncdeps --cleanbuild
bgstack15