Skip to content

[gettext[tools]] build failure on arm64-osx #17892

@autoantwort

Description

@autoantwort

Host Environment

  • OS: macOS with apple m1
  • Compiler: clang

To Reproduce
Steps to reproduce the behavior:
./vcpkg install gettext[tools]

Failure logs

Starting package 3/47: gettext:arm64-osx
Building package gettext[core,tools]:arm64-osx...
-- Using community triplet arm64-osx. This triplet configuration is not guaranteed to succeed.
-- [COMMUNITY] Loading triplet configuration from: /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/triplets/community/arm64-osx.cmake
-- Using cached /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/downloads/gettext-0.21.tar.gz
-- Cleaning sources at /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/gettext/src/0.21-508c311661.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/downloads/gettext-0.21.tar.gz
-- Applying patch 0002-Fix-uwp-build.patch
-- Applying patch 0003-Fix-win-unicode-paths.patch
-- Applying patch rel_path.patch
-- Using source at /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/gettext/src/0.21-508c311661.clean
-- Configuring arm64-osx-dbg
-- Configuring arm64-osx-rel
-- Configuring arm64-osx-dbg
-- Configuring arm64-osx-rel
-- Building arm64-osx-dbg
-- Installing arm64-osx-dbg
-- Building arm64-osx-rel
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:146 (message):
    Command failed: /usr/bin/make V=1 -j 9 -f Makefile all
    Working Directory: /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/gettext/arm64-osx-rel
    See logs for more information:
      /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/gettext/build-arm64-osx-rel-out.log
      /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/gettext/build-arm64-osx-rel-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_build_make.cmake:194 (vcpkg_execute_build_process)
  scripts/cmake/vcpkg_install_make.cmake:26 (vcpkg_build_make)
  ports/gettext/portfile.cmake:68 (vcpkg_install_make)
  scripts/ports.cmake:142 (include)


Error: Building package gettext:arm64-osx failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `./vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: gettext:arm64-osx
  Vcpkg version: 2021-05-05-unknownhash

Additionally, attach any relevant sections from the log files above.
/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/gettext/build-arm64-osx-rel-err.log
../.././../src/0.21-508c311661.clean/gettext-runtime/intl-csharp/intl.cs(218,46): warning CS0168: The variable `e' is declared but never used
mkdir: sys: File exists
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: archive library: .libs/libgnu.a the table of contents is empty (no object file members in the library define global symbols)
ld: warning: directory not found for option '-L/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg_installed/arm64-osx/lib/'
ld: warning: directory not found for option '-L/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg_installed/arm64-osx/lib/manual-link/'
ld: warning: directory not found for option '-L/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg_installed/arm64-osx/lib/'
ld: warning: directory not found for option '-L/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg_installed/arm64-osx/lib/manual-link/'
ld: warning: directory not found for option '-L/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg_installed/arm64-osx/lib/'
ld: warning: directory not found for option '-L/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg_installed/arm64-osx/lib/manual-link/'
mkdir: sys: File exists
mkdir: sys: File exists
../.././../src/0.21-508c311661.clean/libtextstyle/lib/unistr/u8-mbtouc.c:31:1: error: redefinition of 'u8_mbtouc'
u8_mbtouc (ucs4_t *puc, const uint8_t *s, size_t n)
^
/usr/local/include/unistr.h:231:1: note: previous definition is here
u8_mbtouc (ucs4_t *puc, const uint8_t *s, size_t n)
^
1 error generated.
make[4]: *** [config.h] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    category:community-tripletA PR or issue related to community triplets not officially validated by the vcpkg team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions