Build Information
Failed to build AMSMB2, reference 4.0.0 (359f03
), with Swift 5.9 for Linux on 17 Oct 2024 23:12:43 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.55.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/amosavian/AMSMB2.git
Reference: 4.0.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/amosavian/AMSMB2
* tag 4.0.0 -> FETCH_HEAD
HEAD is now at 359f03c fix: Error code and description in some async methods
Submodule path 'Dependencies/libsmb2': checked out 'fa127123b915e2e7c3c22f0c3d6cf9d0fa688525'
Submodule 'Dependencies/libsmb2' (https://github.com/sahlberg/libsmb2) registered for path 'Dependencies/libsmb2'
Cloning into '/host/spi-builder-workspace/Dependencies/libsmb2'...
Cloned https://github.com/amosavian/AMSMB2.git
Revision (git rev-parse @):
359f03ce9559f1bc6ff8c5be1bed3ea1f54c8cea
SUCCESS checkout https://github.com/amosavian/AMSMB2.git at 4.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD
https://github.com/amosavian/AMSMB2.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:5a47d9d39a5702cbfa0ba55458353b9ccb6eb7cde0581792bc757a518ca63386
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/apple/swift-atomics.git
[1/1569] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.39s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.37s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Building for debugging...
/host/spi-builder-workspace/Dependencies/libsmb2/lib/hmac.c:11:10: fatal error: 'config.h' file not found
#include "config.h"
^~~~~~~~~~
1 error generated.
[0/54] Compiling hmac.c
[0/54] Compiling smb2-cmd-close.c
[0/54] Compiling dcerpc-srvsvc.c
In file included from /host/spi-builder-workspace/Dependencies/libsmb2/lib/hmac-md5.c:12:
/host/spi-builder-workspace/Dependencies/libsmb2/lib/md5.h:27:10: fatal error: 'config.h' file not found
#include "config.h"
^~~~~~~~~~
[0/54] Compiling hmac-md5.c
/host/spi-builder-workspace/Dependencies/libsmb2/lib/aes128ccm.c:19:10: fatal error: 'config.h' file not found
#include "config.h"
^~~~~~~~~~
/host/spi-builder-workspace/Dependencies/libsmb2/lib/aes.c:32:10: fatal error: 'config.h' file not found
#include "config.h"
^~~~~~~~~~
[0/54] Compiling aes.c
[0/54] Compiling aes128ccm.c
/host/spi-builder-workspace/Dependencies/libsmb2/lib/alloc.c:19:10: fatal error: 'config.h' file not found
#include "config.h"
^~~~~~~~~~
[0/54] Compiling alloc.c
BUILD FAILURE 5.9 linux