The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WatsonDeveloperCloud with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/watson-developer-cloud/swift-sdk.git
Reference: v5.0.0
Cloned https://github.com/watson-developer-cloud/swift-sdk.git into spi-builder-workspace
SUCCESS checkout https://github.com/watson-developer-cloud/swift-sdk.git at v5.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/IBM/swift-sdk-core
Fetching https://github.com/daltoniam/Starscream
[1/988] Fetching swift-sdk-core
[851/5650] Fetching swift-sdk-core, starscream
Fetched https://github.com/daltoniam/Starscream (0.42s)
Fetched https://github.com/IBM/swift-sdk-core (0.42s)
Computing version for https://github.com/IBM/swift-sdk-core
Computed https://github.com/IBM/swift-sdk-core at 1.2.1 (1.12s)
Computing version for https://github.com/daltoniam/Starscream
Computed https://github.com/daltoniam/Starscream at 4.0.4 (0.30s)
Creating working copy for https://github.com/daltoniam/Starscream
Working copy of https://github.com/daltoniam/Starscream resolved at 4.0.4
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/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.ogg
    /host/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/SpeechSample.wav
    /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/StockAnnouncement.wav
    /host/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/healthcare-short.txt
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_training_data.csv
    /host/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/Resources/nlu_categories_training.json
    /host/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/testArticle.html
    /host/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/Resources/nlu_classifications_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/glossary.tmx
    /host/spi-builder-workspace/Tests/LanguageTranslatorV3Tests/Resources/common-phrases.pptx
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.txt
    /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/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/metadata.json
    /host/spi-builder-workspace/Tests/DiscoveryV1Tests/Resources/KennedySpeech.html
    /host/spi-builder-workspace/Tests/DiscoveryV1Tests/Resources/discoverySample.json
    /host/spi-builder-workspace/Tests/DiscoveryV1Tests/Resources/stopwords.txt
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
BUILD FAILURE 5.9 linux

Build Machine: Linux 2