workaround for build issue with rust 1.48.0

This commit is contained in:
ohfp 2020-11-23 10:01:30 +01:00
parent aa51ea96c7
commit 8d686931d9
No known key found for this signature in database
GPG key ID: 2954CC8585E27A3F
2 changed files with 4 additions and 1 deletions

View file

@ -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'

View file

@ -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