Statically link unixodbc and update configurations #1737
ci.yml
on: pull_request
Matrix: docker_build
compile_and_lint
3m 23s
windows_test
3m 34s
Matrix: test
docker_push
Annotations
11 errors and 1 notice
|
docker_build (linux/amd64)
buildx failed with: ERROR: failed to build: failed to solve: process "/bin/sh -c apt-get update && mkdir -p /opt/sqlpage-libs && if [ \"$TARGETARCH\" = \"$BUILDARCH\" ]; then rustup target list --installed > TARGET && echo gcc > LINKER && apt-get install -y gcc libgcc-s1 cmake make autoconf automake libtool pkg-config curl ca-certificates && LIBMULTIARCH=$(gcc -print-multiarch); LIBDIR=\"/lib/$LIBMULTIARCH\"; USRLIBDIR=\"/usr/lib/$LIBMULTIARCH\"; HOST_TRIPLE=$(gcc -dumpmachine); elif [ \"$TARGETARCH\" = \"arm64\" ]; then echo aarch64-unknown-linux-gnu > TARGET && echo aarch64-linux-gnu-gcc > LINKER && dpkg --add-architecture arm64 && apt-get update && apt-get install -y gcc-aarch64-linux-gnu libgcc-s1-arm64-cross make autoconf automake libtool pkg-config curl ca-certificates && LIBDIR=\"/lib/aarch64-linux-gnu\"; USRLIBDIR=\"/usr/lib/aarch64-linux-gnu\"; HOST_TRIPLE=\"aarch64-linux-gnu\"; elif [ \"$TARGETARCH\" = \"arm\" ]; then echo armv7-unknown-linux-gnueabihf > TARGET && echo arm-linux-gnueabihf-gcc > LINKER && dpkg --add-architecture armhf && apt-get update && apt-get install -y gcc-arm-linux-gnueabihf libgcc-s1-armhf-cross cmake libclang1 clang make autoconf automake libtool pkg-config curl ca-certificates && cargo install --force --locked bindgen-cli && SYSROOT=$(arm-linux-gnueabihf-gcc -print-sysroot); echo \"--sysroot=$SYSROOT -I$SYSROOT/usr/include -I$SYSROOT/usr/include/arm-linux-gnueabihf\" > BINDGEN_EXTRA_CLANG_ARGS; LIBDIR=\"/lib/arm-linux-gnueabihf\"; USRLIBDIR=\"/usr/lib/arm-linux-gnueabihf\"; HOST_TRIPLE=\"arm-linux-gnueabihf\"; else echo \"Unsupported cross compilation target: $TARGETARCH\"; exit 1; fi && ODBC_VERSION=\"2.3.12\" && curl -fsSL https://www.unixodbc.org/unixODBC-$ODBC_VERSION.tar.gz | tar -xz -C /tmp && cd /tmp/unixODBC-$ODBC_VERSION && CC=$(cat LINKER) ./configure --disable-shared --enable-static --host=\"$HOST_TRIPLE\" --prefix=/opt/unixodbc && make -j\"$(nproc)\" && make install && echo /opt/unixodbc/lib > ODBC_LIBDIR && cp $LIBDIR/libgcc_s.so.1 /opt/sqlpage-libs/ && rustup target add $(cat TARGET) && cargo init ." did not complete successfully: exit code: 1
|
|
docker_build (linux/arm64)
buildx failed with: ERROR: failed to build: failed to solve: process "/bin/sh -c apt-get update && mkdir -p /opt/sqlpage-libs && if [ \"$TARGETARCH\" = \"$BUILDARCH\" ]; then rustup target list --installed > TARGET && echo gcc > LINKER && apt-get install -y gcc libgcc-s1 cmake make autoconf automake libtool pkg-config curl ca-certificates && LIBMULTIARCH=$(gcc -print-multiarch); LIBDIR=\"/lib/$LIBMULTIARCH\"; USRLIBDIR=\"/usr/lib/$LIBMULTIARCH\"; HOST_TRIPLE=$(gcc -dumpmachine); elif [ \"$TARGETARCH\" = \"arm64\" ]; then echo aarch64-unknown-linux-gnu > TARGET && echo aarch64-linux-gnu-gcc > LINKER && dpkg --add-architecture arm64 && apt-get update && apt-get install -y gcc-aarch64-linux-gnu libgcc-s1-arm64-cross make autoconf automake libtool pkg-config curl ca-certificates && LIBDIR=\"/lib/aarch64-linux-gnu\"; USRLIBDIR=\"/usr/lib/aarch64-linux-gnu\"; HOST_TRIPLE=\"aarch64-linux-gnu\"; elif [ \"$TARGETARCH\" = \"arm\" ]; then echo armv7-unknown-linux-gnueabihf > TARGET && echo arm-linux-gnueabihf-gcc > LINKER && dpkg --add-architecture armhf && apt-get update && apt-get install -y gcc-arm-linux-gnueabihf libgcc-s1-armhf-cross cmake libclang1 clang make autoconf automake libtool pkg-config curl ca-certificates && cargo install --force --locked bindgen-cli && SYSROOT=$(arm-linux-gnueabihf-gcc -print-sysroot); echo \"--sysroot=$SYSROOT -I$SYSROOT/usr/include -I$SYSROOT/usr/include/arm-linux-gnueabihf\" > BINDGEN_EXTRA_CLANG_ARGS; LIBDIR=\"/lib/arm-linux-gnueabihf\"; USRLIBDIR=\"/usr/lib/arm-linux-gnueabihf\"; HOST_TRIPLE=\"arm-linux-gnueabihf\"; else echo \"Unsupported cross compilation target: $TARGETARCH\"; exit 1; fi && ODBC_VERSION=\"2.3.12\" && curl -fsSL https://www.unixodbc.org/unixODBC-$ODBC_VERSION.tar.gz | tar -xz -C /tmp && cd /tmp/unixODBC-$ODBC_VERSION && CC=$(cat LINKER) ./configure --disable-shared --enable-static --host=\"$HOST_TRIPLE\" --prefix=/opt/unixodbc && make -j\"$(nproc)\" && make install && echo /opt/unixodbc/lib > ODBC_LIBDIR && cp $LIBDIR/libgcc_s.so.1 /opt/sqlpage-libs/ && rustup target add $(cat TARGET) && cargo init ." did not complete successfully: exit code: 1
|
|
docker_build (linux/arm/v7)
buildx failed with: ERROR: failed to build: failed to solve: process "/bin/sh -c apt-get update && mkdir -p /opt/sqlpage-libs && if [ \"$TARGETARCH\" = \"$BUILDARCH\" ]; then rustup target list --installed > TARGET && echo gcc > LINKER && apt-get install -y gcc libgcc-s1 cmake make autoconf automake libtool pkg-config curl ca-certificates && LIBMULTIARCH=$(gcc -print-multiarch); LIBDIR=\"/lib/$LIBMULTIARCH\"; USRLIBDIR=\"/usr/lib/$LIBMULTIARCH\"; HOST_TRIPLE=$(gcc -dumpmachine); elif [ \"$TARGETARCH\" = \"arm64\" ]; then echo aarch64-unknown-linux-gnu > TARGET && echo aarch64-linux-gnu-gcc > LINKER && dpkg --add-architecture arm64 && apt-get update && apt-get install -y gcc-aarch64-linux-gnu libgcc-s1-arm64-cross make autoconf automake libtool pkg-config curl ca-certificates && LIBDIR=\"/lib/aarch64-linux-gnu\"; USRLIBDIR=\"/usr/lib/aarch64-linux-gnu\"; HOST_TRIPLE=\"aarch64-linux-gnu\"; elif [ \"$TARGETARCH\" = \"arm\" ]; then echo armv7-unknown-linux-gnueabihf > TARGET && echo arm-linux-gnueabihf-gcc > LINKER && dpkg --add-architecture armhf && apt-get update && apt-get install -y gcc-arm-linux-gnueabihf libgcc-s1-armhf-cross cmake libclang1 clang make autoconf automake libtool pkg-config curl ca-certificates && cargo install --force --locked bindgen-cli && SYSROOT=$(arm-linux-gnueabihf-gcc -print-sysroot); echo \"--sysroot=$SYSROOT -I$SYSROOT/usr/include -I$SYSROOT/usr/include/arm-linux-gnueabihf\" > BINDGEN_EXTRA_CLANG_ARGS; LIBDIR=\"/lib/arm-linux-gnueabihf\"; USRLIBDIR=\"/usr/lib/arm-linux-gnueabihf\"; HOST_TRIPLE=\"arm-linux-gnueabihf\"; else echo \"Unsupported cross compilation target: $TARGETARCH\"; exit 1; fi && ODBC_VERSION=\"2.3.12\" && curl -fsSL https://www.unixodbc.org/unixODBC-$ODBC_VERSION.tar.gz | tar -xz -C /tmp && cd /tmp/unixODBC-$ODBC_VERSION && CC=$(cat LINKER) ./configure --disable-shared --enable-static --host=\"$HOST_TRIPLE\" --prefix=/opt/unixodbc && make -j\"$(nproc)\" && make install && echo /opt/unixodbc/lib > ODBC_LIBDIR && cp $LIBDIR/libgcc_s.so.1 /opt/sqlpage-libs/ && rustup target add $(cat TARGET) && cargo init ." did not complete successfully: exit code: 1
|
|
test (mysql, mysql, mysql://root:[email protected]/sqlpage)
Process completed with exit code 101.
|
|
test (mssql, mssql, mssql://root:[email protected]/sqlpage)
The operation was canceled.
|
|
test (mssql, mssql, mssql://root:[email protected]/sqlpage)
The strategy configuration was canceled because "test.mysql_mysql_mysql___root_" failed
|
|
test (odbc, postgres, Driver={PostgreSQL Unicode};Server=127.0.0.1;Port=5432;Database=sqlpage;UID...
The operation was canceled.
|
|
test (odbc, postgres, Driver={PostgreSQL Unicode};Server=127.0.0.1;Port=5432;Database=sqlpage;UID...
The strategy configuration was canceled because "test.mysql_mysql_mysql___root_" failed
|
|
test (postgres, postgres, postgres://root:[email protected]/sqlpage)
The operation was canceled.
|
|
test (postgres, postgres, postgres://root:[email protected]/sqlpage)
The strategy configuration was canceled because "test.mysql_mysql_mysql___root_" failed
|
|
compile_and_lint
Process completed with exit code 101.
|
|
windows_test
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
sqlpage-windows-debug
|
17.5 MB |
sha256:3bcb29f48364d1b6050b2857d274b6ab64ba35e466cc005b89d9b9952868ad2e
|
|