Skip to content

Commit 3f881d3

Browse files
appimageupdatetool: downgrade to older version
avoids needing gpgme which, in order to build, requires _FILE_OFFSET_BITS=64 which causes issues with linking to system libz.so.1 /usr/bin/ld: libzsync2_standalone.a(zsclient.cpp.o): undefined reference to symbol 'gzopen64@@ZLIB_1.2.3.3' /usr/bin/ld: /lib/arm-linux-gnueabihf/libz.so.1: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status AppImageCommunity/AppImageUpdate#230
1 parent 25567ee commit 3f881d3

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

build/ci/linux/setup-arm.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -301,16 +301,12 @@ appimagetool --version
301301

302302
git clone https://github.com/AppImageCommunity/AppImageUpdate.git
303303
cd AppImageUpdate
304-
git checkout --recurse-submodules 2.0.0-alpha-1-20230526
304+
git checkout --recurse-submodules 2.0.0-alpha-1-20220512
305305
git submodule update --init --recursive
306306
mkdir -p build
307307
cd build
308308

309-
if [ "$PACKARCH" == "armv7l" ]; then
310-
cmake -DBUILD_TESTING=OFF -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_CXX_FLAGS=-D_FILE_OFFSET_BITS=64 -DCMAKE_C_FLAGS=-D_FILE_OFFSET_BITS=64 ..
311-
else
312-
cmake -DBUILD_TESTING=OFF -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_SYSTEM_NAME=Linux ..
313-
fi
309+
cmake -DBUILD_TESTING=OFF -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_SYSTEM_NAME=Linux ..
314310
make -j"$(nproc)"
315311
# create the extracted appimage directory
316312
mkdir -p $BUILD_TOOLS/appimageupdatetool

0 commit comments

Comments
 (0)