[master] 8b4021956 Use fakeroot-tcp for Debian/Ubuntu

guillaume quintard gquintard at users.noreply.github.com
Tue May 19 16:53:05 UTC 2020


commit 8b4021956aefee46e42ca5170bd213314e5d8b55
Author: Martin Tzvetanov Grigorov <mgrigorov at apache.org>
Date:   Tue May 19 12:17:22 2020 +0300

    Use fakeroot-tcp for Debian/Ubuntu
    
    There is a problem with fakeroot-sysv on Ubuntu 20.04 aarch64:
    
    Install Build-Depends packages...
    
    + mk-build-deps --install debian/control
    
    + yes
    
    semop(1): encountered an error: Function not implemented
    
    Error in the build process: exit status 1

diff --git a/.circleci/make-deb-packages.sh b/.circleci/make-deb-packages.sh
index ba4126f93..a2b84f223 100755
--- a/.circleci/make-deb-packages.sh
+++ b/.circleci/make-deb-packages.sh
@@ -5,7 +5,7 @@ set -eux
 export DEBIAN_FRONTEND=noninteractive
 export DEBCONF_NONINTERACTIVE_SEEN=true
 apt-get update
-apt-get install -y dpkg-dev debhelper devscripts equivs pkg-config apt-utils
+apt-get install -y dpkg-dev debhelper devscripts equivs pkg-config apt-utils fakeroot
 
 echo "PARAM_RELEASE: $PARAM_RELEASE"
 echo "PARAM_DIST: $PARAM_DIST"
@@ -19,6 +19,10 @@ elif [ -z "$PARAM_DIST" ]; then
     exit 1
 fi
 
+# Ubuntu 20.04 aarch64 fails when using fakeroot-sysv with:
+#    semop(1): encountered an error: Function not implemented
+update-alternatives --set fakeroot /usr/bin/fakeroot-tcp
+
 cd /varnish-cache
 ls -la
 


More information about the varnish-commit mailing list