The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PorterStemmer2, reference 0.1.1 (9a8055), with Swift 6.2 for Android on 17 Jun 2025 17:36:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/scaraux/Swift-Porter-Stemmer-2.git
Reference: 0.1.1
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/scaraux/Swift-Porter-Stemmer-2
 * tag               0.1.1      -> FETCH_HEAD
HEAD is now at 9a8055c Used Macro to import library in case client uses SPM
Cloned https://github.com/scaraux/Swift-Porter-Stemmer-2.git
Revision (git rev-parse @):
9a8055c8dfd8301eaa9104ba0c939f37847dbeb0
SUCCESS checkout https://github.com/scaraux/Swift-Porter-Stemmer-2.git at 0.1.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/scaraux/Swift-Porter-Stemmer-2.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/36] Compiling stem_ISO_8859_1_danish.c
[1/36] Compiling libstemmer.c
[2/36] Compiling stem_ISO_8859_1_porter.c
[3/36] Compiling stem_UTF_8_finnish.c
[4/36] Compiling stem_ISO_8859_1_dutch.c
[5/36] Compiling stem_ISO_8859_1_italian.c
[6/36] Compiling stem_UTF_8_english.c
[7/36] Compiling stem_UTF_8_french.c
[8/36] Compiling api.c
[9/36] Write swift-version-8C5A4AE7A8CE2BA.txt
[10/36] Compiling stem_UTF_8_swedish.c
[11/36] Compiling stem_UTF_8_russian.c
[12/36] Compiling stem_UTF_8_spanish.c
[13/36] Compiling utilities.c
[14/36] Compiling stem_UTF_8_romanian.c
[15/36] Compiling stem_UTF_8_portuguese.c
[16/36] Compiling stem_UTF_8_porter.c
[17/36] Compiling stem_UTF_8_norwegian.c
[18/36] Compiling stem_UTF_8_turkish.c
[19/36] Compiling stem_UTF_8_dutch.c
[20/36] Compiling stem_UTF_8_german.c
[21/36] Compiling stem_UTF_8_danish.c
[22/36] Compiling stem_UTF_8_hungarian.c
[23/36] Compiling stem_UTF_8_italian.c
[24/36] Compiling stem_ISO_8859_1_swedish.c
[25/36] Compiling stem_KOI8_R_russian.c
[26/36] Compiling stem_ISO_8859_2_romanian.c
[27/36] Compiling stem_ISO_8859_1_spanish.c
[28/36] Write sources
[29/36] Compiling stem_ISO_8859_1_portuguese.c
[30/36] Compiling stem_ISO_8859_1_norwegian.c
[31/36] Compiling stem_ISO_8859_2_hungarian.c
[32/36] Compiling stem_ISO_8859_1_german.c
[33/38] Compiling stem_ISO_8859_1_french.c
[34/38] Compiling stem_ISO_8859_1_finnish.c
[35/38] Compiling stem_ISO_8859_1_english.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[37/38] Emitting module PorterStemmer2
/host/spi-builder-workspace/PorterStemmer2/Classes/Swift/PorterStemmer.swift:13:8: error: no such module 'Darwin'
11 | import Glibc
12 | #else
13 | import Darwin
   |        `- error: no such module 'Darwin'
14 | #endif
15 |
[38/38] Compiling PorterStemmer2 PorterStemmer.swift
/host/spi-builder-workspace/PorterStemmer2/Classes/Swift/PorterStemmer.swift:13:8: error: no such module 'Darwin'
11 | import Glibc
12 | #else
13 | import Darwin
   |        `- error: no such module 'Darwin'
14 | #endif
15 |
BUILD FAILURE 6.2 android