The Swift Package Index logo.Swift Package Index

Build Information

Failed to build cglm with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.34.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/recp/cglm.git
Reference: v0.9.4
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/recp/cglm
 * tag               v0.9.4     -> FETCH_HEAD
HEAD is now at 1796cc5 Merge pull request #412 from recp/sse_only
Cloned https://github.com/recp/cglm.git
Revision (git rev-parse @):
1796cc5ce298235b615dc7a4750b8c3ba56a05dd
SUCCESS checkout https://github.com/recp/cglm.git at v0.9.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/recp/cglm.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Building for debugging...
[0/48] Compiling ortho_lh_zo.c
[1/48] Compiling ortho_lh_no.c
[2/48] Compiling empty.c
[3/48] Compiling affine2d.c
[4/48] Compiling aabb2d.c
[5/48] Compiling box.c
[6/48] Compiling vec2.c
[7/48] Compiling ray.c
[8/48] Compiling sphere.c
[9/48] Compiling affine.c
[10/48] Compiling bezier.c
[11/48] Compiling plane.c
[12/48] Compiling vec3.c
[13/48] Compiling project.c
In module 'cglmc' imported from /host/spi-builder-workspace/src/mat4.c:9:
/host/spi-builder-workspace/include/cglm/struct/../mat4.h:376:1: error: 'glm_mat4_mulN' has different definitions in different modules; definition in module 'cglmc' first difference is function body
glm_mat4_mulN(mat4 * __restrict matrices[], uint32_t len, mat4 dest) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/include/cglm/struct/../mat4.h:376:1: note: but in 'cglm' found a different body
glm_mat4_mulN(mat4 * __restrict matrices[], uint32_t len, mat4 dest) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[14/48] Compiling mat4.c
[14/48] Compiling mat4x2.c
[14/48] Compiling mat4x3.c
[14/48] Compiling mat3x4.c
[14/48] Compiling mat3x2.c
[14/48] Compiling vec4.c
[14/48] Compiling cam.c
[14/48] Compiling quat.c
[0/1] Planning build
Building for debugging...
[0/34] Compiling mat4x2.c
[1/34] Compiling mat3x2.c
In module 'cglmc' imported from /host/spi-builder-workspace/src/mat4.c:9:
/host/spi-builder-workspace/include/cglm/struct/../mat4.h:376:1: error: 'glm_mat4_mulN' has different definitions in different modules; definition in module 'cglmc' first difference is function body
glm_mat4_mulN(mat4 * __restrict matrices[], uint32_t len, mat4 dest) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/include/cglm/struct/../mat4.h:376:1: note: but in 'cglm' found a different body
glm_mat4_mulN(mat4 * __restrict matrices[], uint32_t len, mat4 dest) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/34] Compiling mat4.c
[2/34] Compiling mat2x4.c
[2/34] Compiling mat2x3.c
[2/34] Compiling mat4x3.c
[2/34] Compiling mat3x4.c
[2/34] Compiling mat3.c
[2/34] Compiling quat.c
[2/34] Compiling vec4.c
BUILD FAILURE 5.10 linux

Build Machine: Linux 2