Build Information
Failed to build mecab-swift with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/novi/mecab-swift.git
Reference: 0.3.0
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/novi/mecab-swift
* tag 0.3.0 -> FETCH_HEAD
HEAD is now at f1f7303 add cmecab for Swift 5 [skip ci]
Cloned https://github.com/novi/mecab-swift.git
Revision (git rev-parse @):
f1f730307c53f241f8a01440369199bce65f0dff
SUCCESS checkout https://github.com/novi/mecab-swift.git at 0.3.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/novi/mecab-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module MeCab
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmecab/shim.h:4:10: error: 'mecab.h' file not found
#include <mecab.h>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MeCab/Mecab.swift:13:8: error: could not build Objective-C module 'CMeCab'
import CMeCab
^
[4/5] Compiling MeCab Node.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmecab/shim.h:4:10: error: 'mecab.h' file not found
#include <mecab.h>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MeCab/Mecab.swift:13:8: error: could not build Objective-C module 'CMeCab'
import CMeCab
^
[5/5] Compiling MeCab Mecab.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmecab/shim.h:4:10: error: 'mecab.h' file not found
#include <mecab.h>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MeCab/Mecab.swift:13:8: error: could not build Objective-C module 'CMeCab'
import CMeCab
^
error: fatalError
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install cmecab using your system-packager:
brew install mecab mecab-ipadic
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] Emitting module MeCab
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmecab/shim.h:4:10: error: 'mecab.h' file not found
#include <mecab.h>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MeCab/Mecab.swift:13:8: error: could not build Objective-C module 'CMeCab'
import CMeCab
^
[3/4] Compiling MeCab Mecab.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmecab/shim.h:4:10: error: 'mecab.h' file not found
#include <mecab.h>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MeCab/Mecab.swift:13:8: error: could not build Objective-C module 'CMeCab'
import CMeCab
^
[4/4] Compiling MeCab Node.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmecab/shim.h:4:10: error: 'mecab.h' file not found
#include <mecab.h>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MeCab/Mecab.swift:13:8: error: could not build Objective-C module 'CMeCab'
import CMeCab
^
error: fatalError
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install cmecab using your system-packager:
brew install mecab mecab-ipadic
BUILD FAILURE 5.10 macosSpm