Skip to content

Error building texpresso-tectonic #95

@ym23333

Description

@ym23333

I wanted to build tectonic on macos14.0, but an error occurred and the build could not be completed. The following is the return information:
error: failed to run custom build command for `tectonic_xetex_layout v0.2.4 (/Users/mac/texpresso/tectonic/crates/xetex_layout)

and this is the complete return message:

``
mac@Macom texpresso % make texpresso-tonic
/Library/Developer/CommandLineTools/usr/bin/make -f Makefile.tectonic tectonic
cd tectonic && PKG_CONFIG_PATH=/opt/homebrew/opt/icu4c@77/lib/pkgconfig C_INCLUDE_PATH=/opt/homebrew/opt/icu4c@77/include LIBRARY_PATH=/opt/homebrew/opt/icu4c@77/lib cargo build --release --features external-harfbuzz
Compiling proc-macro2 v1.0.93
Compiling unicode-ident v1.0.17
Compiling libc v0.2.169
Compiling cfg-if v1.0.0
Compiling autocfg v1.4.0
Compiling memchr v2.7.4
Compiling pkg-config v0.3.31
Compiling vcpkg v0.2.15
Compiling thiserror v1.0.69
Compiling shlex v1.3.0
Compiling cc v1.2.15
Compiling version_check v0.9.5
Compiling once_cell v1.20.3
Compiling bitflags v2.8.0
Compiling tectonic_dep_support v0.1.1 (/Users/mac/texpresso/tectonic/crates/dep_support)
Compiling itoa v1.0.14
Compiling aho-corasick v1.1.3
Compiling pin-project-lite v0.2.16
Compiling regex-syntax v0.8.5
Compiling smallvec v1.14.0
Compiling rustix v0.38.44
Compiling byteorder v1.5.0
Compiling pin-utils v0.1.0
Compiling same-file v1.0.6
Compiling walkdir v2.5.0
Compiling bytes v1.10.0
Compiling errno v0.3.10
Compiling getrandom v0.2.15
Compiling quote v1.0.38
Compiling getrandom v0.3.1
Compiling rand_core v0.6.4
Compiling syn v2.0.98
Compiling regex-automata v0.4.9
Compiling typenum v1.18.0
Compiling fastrand v2.3.0
Compiling futures-core v0.3.31
Compiling log v0.4.26
Compiling siphasher v1.0.1
Compiling phf_shared v0.11.3
Compiling socket2 v0.5.8
Compiling mio v1.0.3
Compiling signal-hook-registry v1.4.2
Compiling generic-array v0.14.7
Compiling slab v0.4.9
Compiling futures-sink v0.3.31
Compiling core-foundation-sys v0.8.7
Compiling tempfile v3.17.1
Compiling num-traits v0.2.19
Compiling stable_deref_trait v1.2.0
Compiling anyhow v1.0.96
Compiling serde v1.0.218
Compiling adler2 v2.0.0
Compiling bitflags v1.3.2
Compiling crossbeam-utils v0.8.21
Compiling miniz_oxide v0.8.5
Compiling bstr v1.11.3
Compiling synstructure v0.13.1
Compiling futures-channel v0.3.31
Compiling libz-sys v1.1.21
Compiling futures-task v0.3.31
Compiling futures-io v0.3.31
Compiling tectonic_bridge_core v0.4.1 (/Users/mac/texpresso/tectonic/crates/bridge_core)
Compiling hex v0.4.3
Compiling thiserror-impl v1.0.69
Compiling zerocopy-derive v0.7.35
Compiling zerofrom-derive v0.1.5
Compiling tokio-macros v2.5.0
Compiling yoke-derive v0.7.5
Compiling serde_derive v1.0.218
Compiling tokio v1.43.0
Compiling zerocopy v0.7.35
Compiling futures-macro v0.3.31
Compiling zerofrom v0.1.5
Compiling ppv-lite86 v0.2.20
Compiling zerovec-derive v0.10.3
Compiling futures-util v0.3.31
Compiling rand_chacha v0.3.1
Compiling rand v0.8.5
Compiling displaydoc v0.2.5
Compiling yoke v0.7.5
Compiling phf_generator v0.11.3
Compiling lazy_static v1.5.0
Compiling fnv v1.0.7
Compiling tectonic_cfg_support v0.1.4 (/Users/mac/texpresso/tectonic/crates/cfg_support)
Compiling gix-hash v0.11.4
Compiling phf_codegen v0.11.3
Compiling zerovec v0.10.4
Compiling tectonic_errors v0.2.1 (/Users/mac/texpresso/tectonic/crates/errors)
Compiling crypto-common v0.1.6
Compiling block-buffer v0.10.4
Compiling crc32fast v1.4.2
Compiling sha1_smol v1.0.1
Compiling gix-features v0.29.0
Compiling flate2 v1.0.35
Compiling digest v0.10.7
Compiling tracing-attributes v0.1.28
Compiling texpresso_protocol v0.1.0 (/Users/mac/texpresso/tectonic/crates/texpresso_protocol)
Compiling tracing-core v0.1.33
Compiling lock_api v0.4.12
Compiling num-conv v0.1.0
Compiling time-core v0.1.2
Compiling home v0.5.11
Compiling tinystr v0.7.6
Compiling parking_lot_core v0.9.10
Compiling thiserror v2.0.11
Compiling writeable v0.5.5
Compiling litemap v0.7.4
Compiling minimal-lexical v0.2.1
Compiling powerfmt v0.2.0
Compiling icu_locid v1.5.0
Compiling nom v7.1.3
Compiling deranged v0.3.11
Compiling tracing v0.1.41
Compiling time-macros v0.2.19
Compiling tectonic_status_base v0.2.1 (/Users/mac/texpresso/tectonic/crates/status_base)
Compiling icu_provider_macros v1.5.0
Compiling num_threads v0.1.7
Compiling cpufeatures v0.2.17
Compiling cpu-time v1.0.0
Compiling memoffset v0.7.1
Compiling unicode-width v0.1.14
Compiling tinyvec_macros v0.1.1
Compiling equivalent v1.0.2
Compiling scopeguard v1.2.0
Compiling hashbrown v0.15.2
Compiling time v0.3.37
Compiling tinyvec v1.8.1
Compiling icu_provider v1.5.0
Compiling indexmap v2.7.1
Compiling sha2 v0.10.8
Compiling thiserror-impl v2.0.11
Compiling crossbeam-epoch v0.9.18
Compiling tectonic_bridge_graphite2 v0.2.2 (/Users/mac/texpresso/tectonic/crates/bridge_graphite2)
Compiling icu_locid_transform_data v1.5.0
Compiling gix-trace v0.1.12
Compiling app_dirs2 v2.5.5
Compiling tectonic_bridge_flate v0.1.7 (/Users/mac/texpresso/tectonic/crates/bridge_flate)
Compiling tectonic_io_base v0.4.3 (/Users/mac/texpresso/tectonic/crates/io_base)
Compiling gix-path v0.8.4
Compiling icu_locid_transform v1.5.0
Compiling gix-date v0.5.1
Compiling crossbeam-deque v0.8.6
Compiling parking_lot v0.12.3
Compiling unicode-normalization v0.1.24
Compiling phf v0.11.3
Compiling icu_collections v1.5.0
Compiling gix-fs v0.1.1
Compiling btoi v0.4.3
Compiling globset v0.4.15
Compiling core-foundation v0.9.4
Compiling percent-encoding v2.3.1
Compiling icu_properties_data v1.5.0
Compiling icu_properties v1.5.1
Compiling ignore v0.4.23
Compiling gix-actor v0.20.0
Compiling gix-tempfile v5.0.3
Compiling gix-utils v0.1.14
Compiling regex v1.11.1
Compiling nix v0.26.4
Compiling md-5 v0.10.6
Compiling tectonic_pdf_io v0.4.1 (/Users/mac/texpresso/tectonic/crates/pdf_io)
Compiling http v0.2.12
Compiling gix-validate v0.7.7
Compiling miette-derive v5.10.0
Compiling security-framework-sys v2.14.0
Compiling tectonic_bridge_harfbuzz v0.2.9 (/Users/mac/texpresso/tectonic/crates/bridge_harfbuzz)
Compiling tectonic_bridge_freetype2 v0.2.0 (/Users/mac/texpresso/tectonic/crates/bridge_freetype2)
Compiling tectonic_bridge_icu v0.2.1 (/Users/mac/texpresso/tectonic/crates/bridge_icu)
Compiling icu_normalizer_data v1.5.0
Compiling utf16_iter v1.0.5
Compiling write16 v1.0.0
Compiling utf8_iter v1.0.4
Compiling ryu v1.0.19
Compiling httparse v1.10.0
Compiling native-tls v0.2.14
Compiling icu_normalizer v1.5.0
Compiling miette v5.10.0
Compiling security-framework v2.11.1
Compiling gix-object v0.29.2
Compiling parse-zoneinfo v0.3.1
Compiling gix-lock v5.0.1
Compiling tokio-util v0.7.13
Compiling futures-executor v0.3.31
Compiling terminfo v0.8.0
Compiling dirs-sys v0.3.7
Compiling memmap2 v0.5.10
Compiling try-lock v0.2.5
Compiling system-configuration-sys v0.5.0
Compiling ucd-trie v0.1.7
Compiling want v0.3.1
Compiling pest v2.7.15
Compiling gix-ref v0.29.1
Compiling dirs v4.0.0
Compiling chrono-tz-build v0.3.0
Compiling h2 v0.3.26
Compiling futures v0.3.31
Compiling idna_adapter v1.2.0
Compiling http-body v0.4.6
Compiling form_urlencoded v1.2.1
Compiling gix-config-value v0.12.5
Compiling gix-glob v0.7.0
Compiling tokio-stream v0.1.17
Compiling tectonic_xetex_layout v0.2.4 (/Users/mac/texpresso/tectonic/crates/xetex_layout)
Compiling crossbeam-channel v0.5.14
Compiling fsevent-sys v4.1.0
Compiling gix-sec v0.8.4
Compiling filetime v0.2.25
Compiling nibble_vec v0.1.0
Compiling proc-macro-error-attr v1.0.4
Compiling unicode-bom v2.0.3
Compiling endian-type v0.1.2
Compiling unic-common v0.9.0
Compiling syn v1.0.109
Compiling unic-char-range v0.9.0
Compiling libm v0.2.11
Compiling tower-service v0.3.3
Compiling httpdate v1.0.3
Compiling either v1.13.0
Compiling pest_meta v2.7.15
Compiling which v4.4.2
Compiling unic-char-property v0.9.0
Compiling unic-ucd-version v0.9.0
Compiling gix-config v0.22.0
Compiling radix_trie v0.2.1
Compiling notify v5.2.0
Compiling project-origins v1.2.0
Compiling chrono-tz v0.9.0
Compiling idna v1.0.3
Compiling tokio-native-tls v0.3.1
Compiling hyper v0.14.32
Compiling watchexec-signals v1.0.0
Compiling async-trait v0.1.86
Compiling iana-time-zone v0.1.61
Compiling proc-macro-error v1.0.4
Compiling dunce v1.0.5
Compiling event-listener v2.5.3
Compiling object v0.36.7
Compiling base64 v0.21.7
Compiling serde_json v1.0.139
Compiling rustls-pemfile v1.0.4
Compiling command-group v2.1.0
Compiling async-priority-channel v0.1.0
Compiling ignore-files v1.3.1
Compiling chrono v0.4.39
Compiling clearscreen v2.0.1
Compiling watchexec-events v1.0.0
Compiling url v2.5.4
warning: tectonic_xetex_layout@0.2.4: In file included from layout/xetex-XeTeXFontInst.cpp:42:
warning: tectonic_xetex_layout@0.2.4: layout/tectonic_xetex_layout.h:42:10: fatal error: 'harfbuzz/hb.h' file not found
warning: tectonic_xetex_layout@0.2.4: #include <harfbuzz/hb.h>
warning: tectonic_xetex_layout@0.2.4: ^~~~~~~~~~~~~~~
warning: tectonic_xetex_layout@0.2.4: 1 error generated.
error: failed to run custom build command for tectonic_xetex_layout v0.2.4 (/Users/mac/texpresso/tectonic/crates/xetex_layout)

Caused by:
process didn't exit successfully: /Users/mac/texpresso/tectonic/target/release/build/tectonic_xetex_layout-8bcf5c45945a86ca/build-script-build (exit status: 1)
--- stdout
cargo:rerun-if-env-changed=TECTONIC_DEP_BACKEND
cargo:rerun-if-env-changed=TECTONIC_PKGCONFIG_FORCE_SEMI_STATIC
cargo:rerun-if-changed=layout/xetex-XeTeXFontInst.cpp
cargo:rerun-if-changed=layout/xetex-XeTeXFontMgr.cpp
cargo:rerun-if-changed=layout/xetex-XeTeXLayoutInterface.cpp
cargo:rerun-if-changed=layout/xetex-XeTeXFontInst_Mac.cpp
cargo:rerun-if-changed=layout/xetex-XeTeXFontMgr_Mac.mm
cargo:rustc-link-lib=framework=Foundation
cargo:rustc-link-lib=framework=CoreFoundation
cargo:rustc-link-lib=framework=CoreGraphics
cargo:rustc-link-lib=framework=CoreText
cargo:rustc-link-lib=framework=AppKit
OUT_DIR = Some(/Users/mac/texpresso/tectonic/target/release/build/tectonic_xetex_layout-e8aab8ff159ceeeb/out)
OPT_LEVEL = Some(3)
TARGET = Some(aarch64-apple-darwin)
HOST = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
CXX_aarch64-apple-darwin = None
cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
CXX_aarch64_apple_darwin = None
cargo:rerun-if-env-changed=HOST_CXX
HOST_CXX = None
cargo:rerun-if-env-changed=CXX
CXX = None
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
RUSTC_WRAPPER = None
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some(false)
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
MACOSX_DEPLOYMENT_TARGET = None
cargo:rerun-if-env-changed=CXXFLAGS
CXXFLAGS = None
cargo:rerun-if-env-changed=HOST_CXXFLAGS
HOST_CXXFLAGS = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
CXXFLAGS_aarch64_apple_darwin = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
CXXFLAGS_aarch64-apple-darwin = None
CARGO_ENCODED_RUSTFLAGS = Some()
OUT_DIR = Some(/Users/mac/texpresso/tectonic/target/release/build/tectonic_xetex_layout-e8aab8ff159ceeeb/out)
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
TARGET = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
MACOSX_DEPLOYMENT_TARGET = None
HOST = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=CXXFLAGS
CXXFLAGS = None
cargo:rerun-if-env-changed=HOST_CXXFLAGS
HOST_CXXFLAGS = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
CXXFLAGS_aarch64_apple_darwin = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
CXXFLAGS_aarch64-apple-darwin = None
OUT_DIR = Some(/Users/mac/texpresso/tectonic/target/release/build/tectonic_xetex_layout-e8aab8ff159ceeeb/out)
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
TARGET = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
MACOSX_DEPLOYMENT_TARGET = None
HOST = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=CXXFLAGS
CXXFLAGS = None
cargo:rerun-if-env-changed=HOST_CXXFLAGS
HOST_CXXFLAGS = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
CXXFLAGS_aarch64_apple_darwin = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
CXXFLAGS_aarch64-apple-darwin = None
OUT_DIR = Some(/Users/mac/texpresso/tectonic/target/release/build/tectonic_xetex_layout-e8aab8ff159ceeeb/out)
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
TARGET = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
MACOSX_DEPLOYMENT_TARGET = None
HOST = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=CXXFLAGS
CXXFLAGS = None
cargo:rerun-if-env-changed=HOST_CXXFLAGS
HOST_CXXFLAGS = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
CXXFLAGS_aarch64_apple_darwin = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
CXXFLAGS_aarch64-apple-darwin = None
OUT_DIR = Some(/Users/mac/texpresso/tectonic/target/release/build/tectonic_xetex_layout-e8aab8ff159ceeeb/out)
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
TARGET = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
MACOSX_DEPLOYMENT_TARGET = None
HOST = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=CXXFLAGS
CXXFLAGS = None
cargo:rerun-if-env-changed=HOST_CXXFLAGS
HOST_CXXFLAGS = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
CXXFLAGS_aarch64_apple_darwin = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
CXXFLAGS_aarch64-apple-darwin = None
OUT_DIR = Some(/Users/mac/texpresso/tectonic/target/release/build/tectonic_xetex_layout-e8aab8ff159ceeeb/out)
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
TARGET = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
MACOSX_DEPLOYMENT_TARGET = None
HOST = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=CXXFLAGS
CXXFLAGS = None
cargo:rerun-if-env-changed=HOST_CXXFLAGS
HOST_CXXFLAGS = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
CXXFLAGS_aarch64_apple_darwin = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
CXXFLAGS_aarch64-apple-darwin = None
OUT_DIR = Some(/Users/mac/texpresso/tectonic/target/release/build/tectonic_xetex_layout-e8aab8ff159ceeeb/out)
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
TARGET = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
MACOSX_DEPLOYMENT_TARGET = None
HOST = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=CXXFLAGS
CXXFLAGS = None
cargo:rerun-if-env-changed=HOST_CXXFLAGS
HOST_CXXFLAGS = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
CXXFLAGS_aarch64_apple_darwin = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
CXXFLAGS_aarch64-apple-darwin = None
OUT_DIR = Some(/Users/mac/texpresso/tectonic/target/release/build/tectonic_xetex_layout-e8aab8ff159ceeeb/out)
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
TARGET = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
MACOSX_DEPLOYMENT_TARGET = None
HOST = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=CXXFLAGS
CXXFLAGS = None
cargo:rerun-if-env-changed=HOST_CXXFLAGS
HOST_CXXFLAGS = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
CXXFLAGS_aarch64_apple_darwin = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
CXXFLAGS_aarch64-apple-darwin = None
OUT_DIR = Some(/Users/mac/texpresso/tectonic/target/release/build/tectonic_xetex_layout-e8aab8ff159ceeeb/out)
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
TARGET = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
MACOSX_DEPLOYMENT_TARGET = None
HOST = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=CXXFLAGS
CXXFLAGS = None
cargo:rerun-if-env-changed=HOST_CXXFLAGS
HOST_CXXFLAGS = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
CXXFLAGS_aarch64_apple_darwin = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
CXXFLAGS_aarch64-apple-darwin = None
OUT_DIR = Some(/Users/mac/texpresso/tectonic/target/release/build/tectonic_xetex_layout-e8aab8ff159ceeeb/out)
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
TARGET = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
MACOSX_DEPLOYMENT_TARGET = None
HOST = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=CXXFLAGS
CXXFLAGS = None
cargo:rerun-if-env-changed=HOST_CXXFLAGS
HOST_CXXFLAGS = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
CXXFLAGS_aarch64_apple_darwin = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
CXXFLAGS_aarch64-apple-darwin = None
OUT_DIR = Some(/Users/mac/texpresso/tectonic/target/release/build/tectonic_xetex_layout-e8aab8ff159ceeeb/out)
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
TARGET = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
MACOSX_DEPLOYMENT_TARGET = None
HOST = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=CXXFLAGS
CXXFLAGS = None
cargo:rerun-if-env-changed=HOST_CXXFLAGS
HOST_CXXFLAGS = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
CXXFLAGS_aarch64_apple_darwin = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
CXXFLAGS_aarch64-apple-darwin = None
OUT_DIR = Some(/Users/mac/texpresso/tectonic/target/release/build/tectonic_xetex_layout-e8aab8ff159ceeeb/out)
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
TARGET = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
MACOSX_DEPLOYMENT_TARGET = None
HOST = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=CXXFLAGS
CXXFLAGS = None
cargo:rerun-if-env-changed=HOST_CXXFLAGS
HOST_CXXFLAGS = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
CXXFLAGS_aarch64_apple_darwin = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
CXXFLAGS_aarch64-apple-darwin = None
OUT_DIR = Some(/Users/mac/texpresso/tectonic/target/release/build/tectonic_xetex_layout-e8aab8ff159ceeeb/out)
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
TARGET = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
MACOSX_DEPLOYMENT_TARGET = None
HOST = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=CXXFLAGS
CXXFLAGS = None
cargo:rerun-if-env-changed=HOST_CXXFLAGS
HOST_CXXFLAGS = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
CXXFLAGS_aarch64_apple_darwin = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
CXXFLAGS_aarch64-apple-darwin = None
OUT_DIR = Some(/Users/mac/texpresso/tectonic/target/release/build/tectonic_xetex_layout-e8aab8ff159ceeeb/out)
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
TARGET = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
MACOSX_DEPLOYMENT_TARGET = None
HOST = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=CXXFLAGS
CXXFLAGS = None
cargo:rerun-if-env-changed=HOST_CXXFLAGS
HOST_CXXFLAGS = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
CXXFLAGS_aarch64_apple_darwin = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
CXXFLAGS_aarch64-apple-darwin = None
OUT_DIR = Some(/Users/mac/texpresso/tectonic/target/release/build/tectonic_xetex_layout-e8aab8ff159ceeeb/out)
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
TARGET = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
MACOSX_DEPLOYMENT_TARGET = None
HOST = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=CXXFLAGS
CXXFLAGS = None
cargo:rerun-if-env-changed=HOST_CXXFLAGS
HOST_CXXFLAGS = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
CXXFLAGS_aarch64_apple_darwin = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
CXXFLAGS_aarch64-apple-darwin = None
OUT_DIR = Some(/Users/mac/texpresso/tectonic/target/release/build/tectonic_xetex_layout-e8aab8ff159ceeeb/out)
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
TARGET = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
MACOSX_DEPLOYMENT_TARGET = None
HOST = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=CXXFLAGS
CXXFLAGS = None
cargo:rerun-if-env-changed=HOST_CXXFLAGS
HOST_CXXFLAGS = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
CXXFLAGS_aarch64_apple_darwin = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
CXXFLAGS_aarch64-apple-darwin = None
OUT_DIR = Some(/Users/mac/texpresso/tectonic/target/release/build/tectonic_xetex_layout-e8aab8ff159ceeeb/out)
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
TARGET = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
MACOSX_DEPLOYMENT_TARGET = None
HOST = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=CXXFLAGS
CXXFLAGS = None
cargo:rerun-if-env-changed=HOST_CXXFLAGS
HOST_CXXFLAGS = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
CXXFLAGS_aarch64_apple_darwin = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
CXXFLAGS_aarch64-apple-darwin = None
OUT_DIR = Some(/Users/mac/texpresso/tectonic/target/release/build/tectonic_xetex_layout-e8aab8ff159ceeeb/out)
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
TARGET = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
MACOSX_DEPLOYMENT_TARGET = None
HOST = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=CXXFLAGS
CXXFLAGS = None
cargo:rerun-if-env-changed=HOST_CXXFLAGS
HOST_CXXFLAGS = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
CXXFLAGS_aarch64_apple_darwin = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
CXXFLAGS_aarch64-apple-darwin = None
OUT_DIR = Some(/Users/mac/texpresso/tectonic/target/release/build/tectonic_xetex_layout-e8aab8ff159ceeeb/out)
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
TARGET = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
MACOSX_DEPLOYMENT_TARGET = None
HOST = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=CXXFLAGS
CXXFLAGS = None
cargo:rerun-if-env-changed=HOST_CXXFLAGS
HOST_CXXFLAGS = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
CXXFLAGS_aarch64_apple_darwin = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
CXXFLAGS_aarch64-apple-darwin = None
OUT_DIR = Some(/Users/mac/texpresso/tectonic/target/release/build/tectonic_xetex_layout-e8aab8ff159ceeeb/out)
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
TARGET = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
MACOSX_DEPLOYMENT_TARGET = None
HOST = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=CXXFLAGS
CXXFLAGS = None
cargo:rerun-if-env-changed=HOST_CXXFLAGS
HOST_CXXFLAGS = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
CXXFLAGS_aarch64_apple_darwin = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
CXXFLAGS_aarch64-apple-darwin = None
OUT_DIR = Some(/Users/mac/texpresso/tectonic/target/release/build/tectonic_xetex_layout-e8aab8ff159ceeeb/out)
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
TARGET = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
MACOSX_DEPLOYMENT_TARGET = None
HOST = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=CXXFLAGS
CXXFLAGS = None
cargo:rerun-if-env-changed=HOST_CXXFLAGS
HOST_CXXFLAGS = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
CXXFLAGS_aarch64_apple_darwin = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
CXXFLAGS_aarch64-apple-darwin = None
OUT_DIR = Some(/Users/mac/texpresso/tectonic/target/release/build/tectonic_xetex_layout-e8aab8ff159ceeeb/out)
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
TARGET = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
MACOSX_DEPLOYMENT_TARGET = None
HOST = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=CXXFLAGS
CXXFLAGS = None
cargo:rerun-if-env-changed=HOST_CXXFLAGS
HOST_CXXFLAGS = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
CXXFLAGS_aarch64_apple_darwin = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
CXXFLAGS_aarch64-apple-darwin = None
cargo:warning=In file included from layout/xetex-XeTeXFontInst.cpp:42:
cargo:warning=layout/tectonic_xetex_layout.h:42:10: fatal error: 'harfbuzz/hb.h' file not found
cargo:warning=#include <harfbuzz/hb.h>
cargo:warning= ^~~~~~~~~~~~~~~
cargo:warning=1 error generated.

--- stderr

error occurred in cc-rs: command did not execute successfully (status code exit status: 1): env -u IPHONEOS_DEPLOYMENT_TARGET LC_ALL="C" "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=arm64-apple-macosx" "-mmacosx-version-min=14.4" "-I" "layout" "-I" "/Users/mac/texpresso/tectonic/crates/bridge_core/support" "-I" "/opt/homebrew/Cellar/harfbuzz/11.2.1/include/harfbuzz" "-I" "/opt/homebrew/opt/freetype/include/freetype2" "-I" "/opt/homebrew/opt/libpng/include/libpng16" "-I" "/opt/homebrew/Cellar/glib/2.84.1/include/glib-2.0" "-I" "/opt/homebrew/Cellar/glib/2.84.1/lib/glib-2.0/include" "-I" "/opt/homebrew/opt/gettext/include" "-I" "/opt/homebrew/Cellar/pcre2/10.45/include" "-I" "/opt/homebrew/Cellar/graphite2/1.3.14/include" "-I" "/opt/homebrew/opt/freetype/include/freetype2" "-I" "/opt/homebrew/opt/libpng/include/libpng16" "-I" "/opt/homebrew/Cellar/graphite2/1.3.14/include" "-I" "/opt/homebrew/Cellar/icu4c@77/77.1/include" "-Wall" "-Wextra" "-Wall" "-std=c++17" "-Wall" "-Wdate-time" "-Wendif-labels" "-Wextra" "-Wformat=2" "-Wmissing-declarations" "-Wmissing-include-dirs" "-Wpointer-arith" "-Wredundant-decls" "-Wshadow" "-Wswitch-bool" "-Wundef" "-Wextra-semi" "-Wno-unused-parameter" "-Wno-implicit-fallthrough" "-fno-exceptions" "-fno-rtti" "-DXETEX_MAC=1" "-o" "/Users/mac/texpresso/tectonic/target/release/build/tectonic_xetex_layout-e8aab8ff159ceeeb/out/54bde2384bf9f557-xetex-XeTeXFontInst.o" "-c" "layout/xetex-XeTeXFontInst.cpp"

warning: build failed, waiting for other jobs to finish...
warning: tectonic_pdf_io@0.4.1: pdf_io/dpx-cidtype2.c:477:14: warning: variable 'num_glyphs' set but not used [-Wunused-but-set-variable]
warning: tectonic_pdf_io@0.4.1: USHORT num_glyphs;
warning: tectonic_pdf_io@0.4.1: ^
warning: tectonic_pdf_io@0.4.1: pdf_io/dpx-cidtype2.c:818:21: warning: variable 'gid' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
warning: tectonic_pdf_io@0.4.1: if (code < 0) {
warning: tectonic_pdf_io@0.4.1: ^~~~~~~~
warning: tectonic_pdf_io@0.4.1: pdf_io/dpx-cidtype2.c:839:17: note: uninitialized use occurs here
warning: tectonic_pdf_io@0.4.1: if (gid == 0) {
warning: tectonic_pdf_io@0.4.1: ^~~
warning: tectonic_pdf_io@0.4.1: pdf_io/dpx-cidtype2.c:818:17: note: remove the 'if' if its condition is always false
warning: tectonic_pdf_io@0.4.1: if (code < 0) {
warning: tectonic_pdf_io@0.4.1: ^~~~~~~~~~~~~~~
warning: tectonic_pdf_io@0.4.1: pdf_io/dpx-cidtype2.c:794:25: note: initialize the variable 'gid' to silence this warning
warning: tectonic_pdf_io@0.4.1: uint16_t gid;
warning: tectonic_pdf_io@0.4.1: ^
warning: tectonic_pdf_io@0.4.1: = 0
warning: tectonic_pdf_io@0.4.1: 2 warnings generated.
warning: tectonic_pdf_io@0.4.1: pdf_io/dpx-spc_misc.c:363:18: warning: no previous extern declaration for non-static variable 'fontattrs' [-Wmissing-variable-declarations]
warning: tectonic_pdf_io@0.4.1: struct fontattr *fontattrs = NULL;
warning: tectonic_pdf_io@0.4.1: ^
warning: tectonic_pdf_io@0.4.1: pdf_io/dpx-spc_misc.c:363:1: note: declare 'static' if the variable is not intended to be used outside of this translation unit
warning: tectonic_pdf_io@0.4.1: struct fontattr fontattrs = NULL;
warning: tectonic_pdf_io@0.4.1: ^
warning: tectonic_pdf_io@0.4.1: pdf_io/dpx-spc_misc.c:364:5: warning: no previous extern declaration for non-static variable 'num_fontattrs' [-Wmissing-variable-declarations]
warning: tectonic_pdf_io@0.4.1: int num_fontattrs = 0;
warning: tectonic_pdf_io@0.4.1: ^
warning: tectonic_pdf_io@0.4.1: pdf_io/dpx-spc_misc.c:364:1: note: declare 'static' if the variable is not intended to be used outside of this translation unit
warning: tectonic_pdf_io@0.4.1: int num_fontattrs = 0;
warning: tectonic_pdf_io@0.4.1: ^
warning: tectonic_pdf_io@0.4.1: pdf_io/dpx-spc_misc.c:365:5: warning: no previous extern declaration for non-static variable 'max_fontattrs' [-Wmissing-variable-declarations]
warning: tectonic_pdf_io@0.4.1: int max_fontattrs = 0;
warning: tectonic_pdf_io@0.4.1: ^
warning: tectonic_pdf_io@0.4.1: pdf_io/dpx-spc_misc.c:365:1: note: declare 'static' if the variable is not intended to be used outside of this translation unit
warning: tectonic_pdf_io@0.4.1: int max_fontattrs = 0;
warning: tectonic_pdf_io@0.4.1: ^
warning: tectonic_pdf_io@0.4.1: 3 warnings generated.
warning: tectonic_pdf_io@0.4.1: pdf_io/dpx-spc_util.c:1188:8: warning: missing field 'color' initializer [-Wmissing-field-initializers]
warning: tectonic_pdf_io@0.4.1: {NULL}
warning: tectonic_pdf_io@0.4.1: ^
warning: tectonic_pdf_io@0.4.1: 1 warning generated.
warning: tectonic_pdf_io@0.4.1: pdf_io/dpx-specials.c:615:8: warning: missing field 'bodhk_func' initializer [-Wmissing-field-initializers]
warning: tectonic_pdf_io@0.4.1: {NULL} /
end */
warning: tectonic_pdf_io@0.4.1: ^
warning: tectonic_pdf_io@0.4.1: 1 warning generated.
warning: tectonic_pdf_io@0.4.1: pdf_io/dpx-tt_gsub.c:1935:11: warning: variable 'count' set but not used [-Wunused-but-set-variable]
warning: tectonic_pdf_io@0.4.1: int32_t count = 0;
warning: tectonic_pdf_io@0.4.1: ^
warning: tectonic_pdf_io@0.4.1: 1 warning generated.
make[1]: *** [tectonic] Error 101
make: *** [texpresso-tonic] Error 2

``

I don't know how to solve it. Please give me some tips. Thank you !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions