From 8d686931d941012e69c223fa8383706269b97577 Mon Sep 17 00:00:00 2001 From: ohfp <1813007-ohfp@users.noreply.gitlab.com> Date: Mon, 23 Nov 2020 10:01:30 +0100 Subject: workaround for build issue with rust 1.48.0 --- PKGBUILD | 3 ++- arch/01_build.sh | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) 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 -- cgit