From 18b65d83bf27bf7d46a2f0a0fadf6be877e4d4ae Mon Sep 17 00:00:00 2001 From: Giovanni Simoni Date: Fri, 20 Dec 2024 14:59:48 +0100 Subject: [PATCH] dropme: logs from osx --- build-aux/ci/build-osx.sh | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/build-aux/ci/build-osx.sh b/build-aux/ci/build-osx.sh index 8e7abcc..60981e8 100755 --- a/build-aux/ci/build-osx.sh +++ b/build-aux/ci/build-osx.sh @@ -7,7 +7,31 @@ LIBFIDO2_PKGCONF="$(brew --prefix libfido2)/lib/pkgconfig" OPENSSL_PKGCONF="$(brew --prefix "${OPENSSL}")/lib/pkgconfig" export PKG_CONFIG_PATH="${LIBFIDO2_PKGCONF}:${OPENSSL_PKGCONF}" +my_prefix="$PWD/my_prefix" +my_fakeroot="$PWD/my_fakeroot" + +mkdir -p "$my_prefix" && rm -rf "${my_prefix:?}/"* +mkdir -p "$my_fakeroot" && rm -rf "${my_fakeroot:?}/"* + ./autogen.sh -./configure --disable-silent-rules --disable-man -make -j $(sysctl -n hw.logicalcpu) +./configure --disable-silent-rules --disable-man --prefix="$my_prefix" +make -j "$(sysctl -n hw.logicalcpu)" make check + +make install +ls -lR "$my_prefix" + +make install DESTDIR="$my_fakeroot" +ls -lR "$my_prefix" + +mkdir -p "$my_fakeroot" && rm -rf "${my_fakeroot:?}"/* + +./configure --disable-silent-rules --disable-man --with-pam-dir="/pam-ela" +make install DESTDIR="$my_fakeroot" +ls -lR "$my_fakeroot" + +make install DESTDIR="$my_fakeroot" +ls -lR "$my_fakeroot" + +# Fail, so I can find failure. +false