Build Information
Failed to build WatsonDeveloperCloud with Swift 5.8 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.25.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/watson-developer-cloud/swift-sdk.git
Reference: v5.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/watson-developer-cloud/swift-sdk
* tag v5.0.0 -> FETCH_HEAD
HEAD is now at 8359f8d Update to 5.0.0 (#1067)
Cloned https://github.com/watson-developer-cloud/swift-sdk.git
Revision (git rev-parse @):
8359f8d2000c53d11d0757d5413f411ac34fac4e
SUCCESS checkout https://github.com/watson-developer-cloud/swift-sdk.git at v5.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.8
Building package at path: $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/IBM/swift-sdk-core
Fetching https://github.com/daltoniam/Starscream
[1/4773] Fetching starscream
[861/5761] Fetching starscream, swift-sdk-core
Fetched https://github.com/IBM/swift-sdk-core (0.38s)
Fetched https://github.com/daltoniam/Starscream (0.38s)
Computing version for https://github.com/IBM/swift-sdk-core
Computed https://github.com/IBM/swift-sdk-core at 1.2.1 (0.88s)
Computing version for https://github.com/daltoniam/Starscream
Computed https://github.com/daltoniam/Starscream at 4.0.6 (0.31s)
Creating working copy for https://github.com/daltoniam/Starscream
Working copy of https://github.com/daltoniam/Starscream resolved at 4.0.6
Creating working copy for https://github.com/IBM/swift-sdk-core
Working copy of https://github.com/IBM/swift-sdk-core resolved at 1.2.1
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Tests/AssistantV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Tests/AssistantV2Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Tests/DiscoveryV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Tests/LanguageTranslatorV3Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Tests/SpeechToTextV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Tests/TextToSpeechV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Tests/TextToSpeechV1Tests/Resources/audio.ogg
/host/spi-builder-workspace/Tests/TextToSpeechV1Tests/Resources/custom_prompt_audio.wav
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/TextToSpeechV1/README.md
warning: 'spi-builder-workspace': found 6 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/healthcare-short.txt
/host/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/SpeechSample.flac
/host/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/SpeechSample.wav
/host/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/StockAnnouncement.wav
/host/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/SpeechSample.ogg
/host/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/confirm.abnf
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/SpeechToTextV1/README.md
warning: 'spi-builder-workspace': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/Resources/nlu_categories_training.json
/host/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/Resources/nlu_classifications_training.json
/host/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/testArticle.html
/host/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/Resources/nlu_training_data.csv
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/NaturalLanguageUnderstandingV1/README.md
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Tests/LanguageTranslatorV3Tests/Resources/common-phrases.pptx
/host/spi-builder-workspace/Tests/LanguageTranslatorV3Tests/Resources/glossary.tmx
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/LanguageTranslatorV3/README.md
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/Jeopardy.html
/host/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/analyzeDocument.json
/host/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/KennedySpeech.html
/host/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/analyzeDocument.txt
/host/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/TestEnrichments.csv
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/DiscoveryV2/README.md
warning: 'spi-builder-workspace': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Tests/DiscoveryV1Tests/Resources/discoverySample.json
/host/spi-builder-workspace/Tests/DiscoveryV1Tests/Resources/KennedySpeech.html
/host/spi-builder-workspace/Tests/DiscoveryV1Tests/Resources/stopwords.txt
/host/spi-builder-workspace/Tests/DiscoveryV1Tests/Resources/metadata.json
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/DiscoveryV1/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/AssistantV2/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/AssistantV1/README.md
warning: couldn't find pc file for opus
warning: couldn't find pc file for ogg
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/SupportingFiles/Dependencies/Copustools/opus_header.c:32:
In file included from /host/spi-builder-workspace/Sources/SupportingFiles/Dependencies/Copustools/include/opus_header.h:31:
In file included from /host/spi-builder-workspace/Sources/SupportingFiles/Dependencies/Copustools/include/ogg.h:24:
/host/spi-builder-workspace/Sources/SupportingFiles/Dependencies/Copustools/include/os_types.h:154:12: fatal error: 'ogg/config_types.h' file not found
# include <ogg/config_types.h>
^~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/1] Compiling Copustools opus_header.c
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Tests/AssistantV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Tests/AssistantV2Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Tests/DiscoveryV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Tests/LanguageTranslatorV3Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Tests/SpeechToTextV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Tests/TextToSpeechV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Tests/TextToSpeechV1Tests/Resources/custom_prompt_audio.wav
/host/spi-builder-workspace/Tests/TextToSpeechV1Tests/Resources/audio.ogg
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/TextToSpeechV1/README.md
warning: 'spi-builder-workspace': found 6 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/SpeechSample.wav
/host/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/healthcare-short.txt
/host/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/confirm.abnf
/host/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/SpeechSample.flac
/host/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/SpeechSample.ogg
/host/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/StockAnnouncement.wav
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/SpeechToTextV1/README.md
warning: 'spi-builder-workspace': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/testArticle.html
/host/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/Resources/nlu_classifications_training.json
/host/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/Resources/nlu_training_data.csv
/host/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/Resources/nlu_categories_training.json
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/NaturalLanguageUnderstandingV1/README.md
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Tests/LanguageTranslatorV3Tests/Resources/common-phrases.pptx
/host/spi-builder-workspace/Tests/LanguageTranslatorV3Tests/Resources/glossary.tmx
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/LanguageTranslatorV3/README.md
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/analyzeDocument.json
/host/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/TestEnrichments.csv
/host/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/KennedySpeech.html
/host/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/analyzeDocument.txt
/host/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/Jeopardy.html
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/DiscoveryV2/README.md
warning: 'spi-builder-workspace': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Tests/DiscoveryV1Tests/Resources/discoverySample.json
/host/spi-builder-workspace/Tests/DiscoveryV1Tests/Resources/metadata.json
/host/spi-builder-workspace/Tests/DiscoveryV1Tests/Resources/stopwords.txt
/host/spi-builder-workspace/Tests/DiscoveryV1Tests/Resources/KennedySpeech.html
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/DiscoveryV1/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/AssistantV2/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/AssistantV1/README.md
warning: couldn't find pc file for opus
warning: couldn't find pc file for ogg
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/SupportingFiles/Dependencies/Copustools/opus_header.c:32:
In file included from /host/spi-builder-workspace/Sources/SupportingFiles/Dependencies/Copustools/include/opus_header.h:31:
In file included from /host/spi-builder-workspace/Sources/SupportingFiles/Dependencies/Copustools/include/ogg.h:24:
/host/spi-builder-workspace/Sources/SupportingFiles/Dependencies/Copustools/include/os_types.h:154:12: fatal error: 'ogg/config_types.h' file not found
# include <ogg/config_types.h>
^~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/1] Compiling Copustools opus_header.c
BUILD FAILURE 5.8 linux