microsoft / microsoft/vcpkg

[libiconv] Build error on x64-windows-static-md-release

Open
#44,795 1 comment 0 reactions 0 assignees View on GitHub
category:community-triplet
Dominant language
CMake
Stars
27.5k
Forks
7.7k
Avg merge
2d 19h
Merged PRs (30d)
321

Description

Package: libiconv:x64-windows-static-md-release@1.17#5

**Host Environment**

- Host: x64-windows
- Compiler: MSVC 19.42.34436.0
- vcpkg-tool version: 2025-03-22-d4dd14112c2026ee57e59f966ecfa3b9137bd143
vcpkg-scripts version: 64f3d3d 2025-03-27 (5 hours ago)

**To Reproduce**

`vcpkg install `

**Failure logs**

```
Downloading libiconv-1.17.tar.gz, trying https://ftp.gnu.org/gnu/libiconv/libiconv-1.17.tar.gz
Successfully downloaded libiconv-1.17.tar.gz
-- Extracting source D:/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/downloads/libiconv-1.17.tar.gz
-- Applying patch 0002-Config-for-MSVC.patch
-- Applying patch 0003-Add-export.patch
-- Applying patch 0004-ModuleFileName.patch
-- Applying patch clang-fortify.patch
-- Applying patch 0005-iOS-missing-symbol-fix.patch
-- Using source at D:/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/buildtrees/libiconv/src/v1.17-ae896f7b49.clean
-- Found external ninja('1.12.1').
-- Getting CMake variables for x64-windows-static-md-release
Downloading msys2-autoconf-wrapper-20240607-1-any.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/autoconf-wrapper-20240607-1-any.pkg.tar.zst
Successfully downloaded msys2-autoconf-wrapper-20240607-1-any.pkg.tar.zst
Downloading msys2-automake-wrapper-20240607-1-any.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/automake-wrapper-20240607-1-any.pkg.tar.zst
Successfully downloaded msys2-automake-wrapper-20240607-1-any.pkg.tar.zst
Downloading msys2-binutils-2.43.1-1-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/binutils-2.43.1-1-x86_64.pkg.tar.zst
Successfully downloaded msys2-binutils-2.43.1-1-x86_64.pkg.tar.zst
Downloading msys2-libtool-2.4.7-4-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/libtool-2.4.7-4-x86_64.pkg.tar.zst
Successfully downloaded msys2-libtool-2.4.7-4-x86_64.pkg.tar.zst
Downloading msys2-make-4.4.1-2-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/make-4.4.1-2-x86_64.pkg.tar.zst
Successfully downloaded msys2-make-4.4.1-2-x86_64.pkg.tar.zst
Downloading msys2-pkgconf-2.3.0-1-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/pkgconf-2.3.0-1-x86_64.pkg.tar.zst
Successfully downloaded msys2-pkgconf-2.3.0-1-x86_64.pkg.tar.zst
Downloading msys2-which-2.21-4-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/which-2.21-4-x86_64.pkg.tar.zst
Successfully downloaded msys2-which-2.21-4-x86_64.pkg.tar.zst
Downloading msys2-bash-5.2.037-1-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/bash-5.2.037-1-x86_64.pkg.tar.zst
Successfully downloaded msys2-bash-5.2.037-1-x86_64.pkg.tar.zst
Downloading msys2-coreutils-8.32-5-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/coreutils-8.32-5-x86_64.pkg.tar.zst
Successfully downloaded msys2-coreutils-8.32-5-x86_64.pkg.tar.zst
Downloading msys2-file-5.45-3-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/file-5.45-3-x86_64.pkg.tar.zst
Successfully downloaded msys2-file-5.45-3-x86_64.pkg.tar.zst
Downloading msys2-gawk-5.3.1-1-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/gawk-5.3.1-1-x86_64.pkg.tar.zst
Successfully downloaded msys2-gawk-5.3.1-1-x86_64.pkg.tar.zst
Downloading msys2-grep-1~3.0-6-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/grep-1~3.0-6-x86_64.pkg.tar.zst
Successfully downloaded msys2-grep-1~3.0-6-x86_64.pkg.tar.zst
Downloading msys2-gzip-1.13-1-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/gzip-1.13-1-x86_64.pkg.tar.zst
Successfully downloaded msys2-gzip-1.13-1-x86_64.pkg.tar.zst
Downloading msys2-diffutils-3.10-1-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/diffutils-3.10-1-x86_64.pkg.tar.zst
Successfully downloaded msys2-diffutils-3.10-1-x86_64.pkg.tar.zst
Downloading msys2-sed-4.9-1-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/sed-4.9-1-x86_64.pkg.tar.zst
Successfully downloaded msys2-sed-4.9-1-x86_64.pkg.tar.zst
Downloading msys2-msys2-runtime-3.5.4-2-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/msys2-runtime-3.5.4-2-x86_64.pkg.tar.zst
Successfully downloaded msys2-msys2-runtime-3.5.4-2-x86_64.pkg.tar.zst
Downloading msys2-autoconf2.72-2.72-1-any.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/autoconf2.72-2.72-1-any.pkg.tar.zst
Successfully downloaded msys2-autoconf2.72-2.72-1-any.pkg.tar.zst
Downloading msys2-automake1.16-1.16.5-1-any.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/automake1.16-1.16.5-1-any.pkg.tar.zst
Successfully downloaded msys2-automake1.16-1.16.5-1-any.pkg.tar.zst
Downloading msys2-automake1.17-1.17-1-any.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/automake1.17-1.17-1-any.pkg.tar.zst
Successfully downloaded msys2-automake1.17-1.17-1-any.pkg.tar.zst
Downloading msys2-libiconv-1.17-1-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/libiconv-1.17-1-x86_64.pkg.tar.zst
Successfully downloaded msys2-libiconv-1.17-1-x86_64.pkg.tar.zst
Downloading msys2-libintl-0.22.4-1-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/libintl-0.22.4-1-x86_64.pkg.tar.zst
Successfully downloaded msys2-libintl-0.22.4-1-x86_64.pkg.tar.zst
Downloading msys2-zlib-1.3.1-1-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/zlib-1.3.1-1-x86_64.pkg.tar.zst
Successfully downloaded msys2-zlib-1.3.1-1-x86_64.pkg.tar.zst
Downloading msys2-tar-1.35-2-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/tar-1.35-2-x86_64.pkg.tar.zst
Successfully downloaded msys2-tar-1.35-2-x86_64.pkg.tar.zst
Downloading msys2-findutils-4.10.0-2-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/findutils-4.10.0-2-x86_64.pkg.tar.zst
Successfully downloaded msys2-findutils-4.10.0-2-x86_64.pkg.tar.zst
Downloading msys2-gmp-6.3.0-1-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/gmp-6.3.0-1-x86_64.pkg.tar.zst
Successfully downloaded msys2-gmp-6.3.0-1-x86_64.pkg.tar.zst
Downloading msys2-gcc-libs-13.3.0-1-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/gcc-libs-13.3.0-1-x86_64.pkg.tar.zst
Successfully downloaded msys2-gcc-libs-13.3.0-1-x86_64.pkg.tar.zst
Downloading msys2-libbz2-1.0.8-4-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/libbz2-1.0.8-4-x86_64.pkg.tar.zst
Successfully downloaded msys2-libbz2-1.0.8-4-x86_64.pkg.tar.zst
Downloading msys2-liblzma-5.6.3-1-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/liblzma-5.6.3-1-x86_64.pkg.tar.zst
Successfully downloaded msys2-liblzma-5.6.3-1-x86_64.pkg.tar.zst
Downloading msys2-libzstd-1.5.6-1-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/libzstd-1.5.6-1-x86_64.pkg.tar.zst
Successfully downloaded msys2-libzstd-1.5.6-1-x86_64.pkg.tar.zst
Downloading msys2-libreadline-8.2.013-1-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/libreadline-8.2.013-1-x86_64.pkg.tar.zst
Successfully downloaded msys2-libreadline-8.2.013-1-x86_64.pkg.tar.zst
Downloading msys2-mpfr-4.2.1-1-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/mpfr-4.2.1-1-x86_64.pkg.tar.zst
Successfully downloaded msys2-mpfr-4.2.1-1-x86_64.pkg.tar.zst
Downloading msys2-libpcre-8.45-4-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/libpcre-8.45-4-x86_64.pkg.tar.zst
Successfully downloaded msys2-libpcre-8.45-4-x86_64.pkg.tar.zst
Downloading msys2-m4-1.4.19-2-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/m4-1.4.19-2-x86_64.pkg.tar.zst
Successfully downloaded msys2-m4-1.4.19-2-x86_64.pkg.tar.zst
Downloading msys2-perl-5.38.2-2-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/perl-5.38.2-2-x86_64.pkg.tar.zst
Successfully downloaded msys2-perl-5.38.2-2-x86_64.pkg.tar.zst
Downloading msys2-ncurses-6.5.20240831-2-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/ncurses-6.5.20240831-2-x86_64.pkg.tar.zst
Successfully downloaded msys2-ncurses-6.5.20240831-2-x86_64.pkg.tar.zst
Downloading msys2-libxcrypt-4.4.36-1-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/libxcrypt-4.4.36-1-x86_64.pkg.tar.zst
Successfully downloaded msys2-libxcrypt-4.4.36-1-x86_64.pkg.tar.zst
-- Applying patch D:/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/scripts/cmake/compile_wrapper_consider_clang-cl.patch
-- Using msys root at D:/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/downloads/tools/msys2/2db36fb050d01f45
Downloading msys2-mingw-w64-x86_64-pkgconf-1~2.3.0-1-any.pkg.tar.zst, trying https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-pkgconf-1~2.3.0-1-any.pkg.tar.zst
Successfully downloaded msys2-mingw-w64-x86_64-pkgconf-1~2.3.0-1-any.pkg.tar.zst
-- Using cached msys2-msys2-runtime-3.5.4-2-x86_64.pkg.tar.zst
-- Using msys root at D:/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/downloads/tools/msys2/21caed2f81ec917b
-- Configuring x64-windows-static-md-release-rel
-- Building x64-windows-static-md-release-rel
-- Installing x64-windows-static-md-release-rel
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
Command failed: D:/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/downloads/tools/msys2/2db36fb050d01f45/usr/bin/make.exe -j 13 --trace -f Makefile install DESTDIR=/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/packages/libiconv_x64-windows-static-md-release
Working Directory: D:/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/buildtrees/libiconv/x64-windows-static-md-release-rel/
See logs for more information:
D:\nuc-16gb-i7x6-github\_work\AfterShoot-Desktop-App\AfterShoot-Desktop-App\.vcpkg\buildtrees\libiconv\install-x64-windows-static-md-release-rel-out.log
D:\nuc-16gb-i7x6-github\_work\AfterShoot-Desktop-App\AfterShoot-Desktop-App\.vcpkg\buildtrees\libiconv\install-x64-windows-static-md-release-rel-err.log

Call Stack (most recent call first):
scripts/cmake/vcpkg_build_make.cmake:153 (vcpkg_execute_build_process)
scripts/cmake/vcpkg_install_make.cmake:2 (vcpkg_build_make)
C:/Users/runner/AppData/Local/vcpkg/registries/git-trees/22817264465e37fbbde994c614aae7d07bc727c0/portfile.cmake:40 (vcpkg_install_make)
scripts/ports.cmake:203 (include)



```

D:\nuc-16gb-i7x6-github\_work\AfterShoot-Desktop-App\AfterShoot-Desktop-App\.vcpkg\buildtrees\libiconv\install-x64-windows-static-md-release-rel-err.log

```
libtool: warning: remember to run 'libtool --finish /D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/lib'
libtool: warning: remember to run 'libtool --finish /D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/lib'
libtool: warning: library '/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/packages/libiconv_x64-windows-static-md-release/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/lib/libiconv.la' was moved.
libtool: warning: library '/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/packages/libiconv_x64-windows-static-md-release/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/lib/libiconv.la' was moved.
cl : Command line warning D9002 : ignoring unknown option '//?/D:/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/packages/libiconv_x64-windows-static-md-release/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/lib/iconv.lib'
cl : Command line warning D9024 : unrecognized source file type '../srclib/libicrt.a', object file assumed
make[1]: *** [Makefile:114: install] Error 2
make: *** [Makefile:54: install] Error 2
```


D:\nuc-16gb-i7x6-github\_work\AfterShoot-Desktop-App\AfterShoot-Desktop-App\.vcpkg\buildtrees\libiconv\install-x64-windows-static-md-release-rel-out.log

```
Makefile:51: update target 'install' due to: target does not exist
cd libcharset && /usr/bin/make install prefix='/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release' exec_prefix='/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release' libdir='/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/lib'
make[1]: Entering directory '/d/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/buildtrees/libiconv/x64-windows-static-md-release-rel/libcharset'
Makefile:34: update target 'all' due to: target does not exist
cd lib && /usr/bin/make all
make[2]: Entering directory '/d/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/buildtrees/libiconv/x64-windows-static-md-release-rel/libcharset/lib'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/d/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/buildtrees/libiconv/x64-windows-static-md-release-rel/libcharset/lib'
Makefile:46: update target 'install' due to: target does not exist
cd lib && /usr/bin/make install prefix='/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release' exec_prefix='/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release' libdir='/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/lib'
make[2]: Entering directory '/d/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/buildtrees/libiconv/x64-windows-static-md-release-rel/libcharset/lib'
Makefile:77: update target 'install' due to: target does not exist
/bin/sh ../.././../src/v1.17-ae896f7b49.clean/libcharset/build-aux/mkinstalldirs /D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/packages/libiconv_x64-windows-static-md-release/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/lib ; \
/bin/sh ../libtool --mode=install /usr/bin/install -c libcharset.la /D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/packages/libiconv_x64-windows-static-md-release/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/lib/libcharset.la
mkdir -p -- /D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/packages/libiconv_x64-windows-static-md-release/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/lib
libtool: install: /usr/bin/install -c .libs/libcharset.lai /D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/packages/libiconv_x64-windows-static-md-release/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/lib/libcharset.la
libtool: install: /usr/bin/install -c .libs/charset.lib /D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/packages/libiconv_x64-windows-static-md-release/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/lib/charset.lib
libtool: install: chmod 644 /D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/packages/libiconv_x64-windows-static-md-release/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/lib/charset.lib
make[2]: Leaving directory '/d/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/buildtrees/libiconv/x64-windows-static-md-release-rel/libcharset/lib'
/bin/sh .././../src/v1.17-ae896f7b49.clean/libcharset/build-aux/mkinstalldirs /D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/packages/libiconv_x64-windows-static-md-release/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/include
mkdir -p -- /D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/packages/libiconv_x64-windows-static-md-release/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/include
/usr/bin/install -c -m 644 include/libcharset.h.inst /D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/packages/libiconv_x64-windows-static-md-release/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/include/libcharset.h
/usr/bin/install -c -m 644 include/localcharset.h.inst /D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/packages/libiconv_x64-windows-static-md-release/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/include/localcharset.h
make[1]: Leaving directory '/d/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/buildtrees/libiconv/x64-windows-static-md-release-rel/libcharset'
cd lib && /usr/bin/make install prefix='/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release' exec_prefix='/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release' libdir='/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/lib'
make[1]: Entering directory '/d/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/buildtrees/libiconv/x64-windows-static-md-release-rel/lib'
Makefile:111: update target 'install' due to: target does not exist
if [ ! -d /D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/packages/libiconv_x64-windows-static-md-release/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/lib ] ; then /bin/sh .././../src/v1.17-ae896f7b49.clean/build-aux/mkinstalldirs /D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/packages/libiconv_x64-windows-static-md-release/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/lib ; fi
/bin/sh ../libtool --mode=install /usr/bin/install -c libiconv.la /D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/packages/libiconv_x64-windows-static-md-release/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/lib/libiconv.la
libtool: install: /usr/bin/install -c .libs/libiconv.lai /D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/packages/libiconv_x64-windows-static-md-release/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/lib/libiconv.la
libtool: install: /usr/bin/install -c .libs/iconv.lib /D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/packages/libiconv_x64-windows-static-md-release/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/lib/iconv.lib
libtool: install: chmod 644 /D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/packages/libiconv_x64-windows-static-md-release/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/lib/iconv.lib
case "mingw32" in \
aix*) (cd /D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/packages/libiconv_x64-windows-static-md-release/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/lib && \
objects=`ar-lib lib.exe t libiconv.a`" "`ar-lib lib.exe t /lib/libiconv.a` && \
ar-lib lib.exe x libiconv.a && ar-lib lib.exe x /lib/libiconv.a && \
ar-lib lib.exe q libiconv.new.a $objects && \
rm -f $objects && \
mv -f libiconv.new.a libiconv.a) ;; \
esac
make[1]: Leaving directory '/d/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/buildtrees/libiconv/x64-windows-static-md-release-rel/lib'
cd srclib && /usr/bin/make install prefix='/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release' exec_prefix='/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release' libdir='/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/lib'
make[1]: Entering directory '/d/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/buildtrees/libiconv/x64-windows-static-md-release-rel/srclib'
cd .. && /usr/bin/make am--refresh
make[2]: Entering directory '/d/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/buildtrees/libiconv/x64-windows-static-md-release-rel'
make[2]: Nothing to be done for 'am--refresh'.
make[2]: Leaving directory '/d/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/buildtrees/libiconv/x64-windows-static-md-release-rel'
cd .. && /usr/bin/make am--refresh
make[2]: Entering directory '/d/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/buildtrees/libiconv/x64-windows-static-md-release-rel'
make[2]: Nothing to be done for 'am--refresh'.
make[2]: Leaving directory '/d/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/buildtrees/libiconv/x64-windows-static-md-release-rel'
make[2]: Entering directory '/d/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/buildtrees/libiconv/x64-windows-static-md-release-rel'
make[2]: Nothing to be done for 'am--refresh'.
make[2]: Leaving directory '/d/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/buildtrees/libiconv/x64-windows-static-md-release-rel'
Makefile:1959: update target 'install' due to: target is .PHONY
/usr/bin/make install-am
make[2]: Entering directory '/d/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/buildtrees/libiconv/x64-windows-static-md-release-rel/srclib'
cd .. && /usr/bin/make am--refresh
make[3]: Entering directory '/d/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/buildtrees/libiconv/x64-windows-static-md-release-rel'
make[3]: Nothing to be done for 'am--refresh'.
make[3]: Leaving directory '/d/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/buildtrees/libiconv/x64-windows-static-md-release-rel'
cd .. && /usr/bin/make am--refresh
make[3]: Entering directory '/d/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/buildtrees/libiconv/x64-windows-static-md-release-rel'
make[3]: Nothing to be done for 'am--refresh'.
make[3]: Leaving directory '/d/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/buildtrees/libiconv/x64-windows-static-md-release-rel'
make[3]: Entering directory '/d/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/buildtrees/libiconv/x64-windows-static-md-release-rel'
make[3]: Nothing to be done for 'am--refresh'.
make[3]: Leaving directory '/d/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/buildtrees/libiconv/x64-windows-static-md-release-rel'
Makefile:1966: update target 'install-am' due to: target is .PHONY
/usr/bin/make install-exec-am install-data-am
make[3]: Entering directory '/d/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/buildtrees/libiconv/x64-windows-static-md-release-rel/srclib'
cd .. && /usr/bin/make am--refresh
make[4]: Entering directory '/d/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/buildtrees/libiconv/x64-windows-static-md-release-rel'
make[4]: Nothing to be done for 'am--refresh'.
make[4]: Leaving directory '/d/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/buildtrees/libiconv/x64-windows-static-md-release-rel'
cd .. && /usr/bin/make am--refresh
make[4]: Entering directory '/d/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/buildtrees/libiconv/x64-windows-static-md-release-rel'
make[4]: Nothing to be done for 'am--refresh'.
make[4]: Leaving directory '/d/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/buildtrees/libiconv/x64-windows-static-md-release-rel'
make[4]: Entering directory '/d/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/buildtrees/libiconv/x64-windows-static-md-release-rel'
make[4]: Nothing to be done for 'am--refresh'.
make[4]: Leaving directory '/d/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/buildtrees/libiconv/x64-windows-static-md-release-rel'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/d/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/buildtrees/libiconv/x64-windows-static-md-release-rel/srclib'
make[2]: Leaving directory '/d/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/buildtrees/libiconv/x64-windows-static-md-release-rel/srclib'
make[1]: Leaving directory '/d/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/buildtrees/libiconv/x64-windows-static-md-release-rel/srclib'
cd src && /usr/bin/make install prefix='/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release' exec_prefix='/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release' libdir='/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/lib'
make[1]: Entering directory '/d/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/buildtrees/libiconv/x64-windows-static-md-release-rel/src'
Makefile:74: update target 'all' due to: target does not exist
test `ls -ld . | sed -e 's/^d\(.........\).*/\1/'` = rwxrwxrwx || chmod 777 .
Makefile:113: update target 'install' due to: target does not exist
if [ ! -d /D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/packages/libiconv_x64-windows-static-md-release/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/tools/libiconv/bin ] ; then /bin/sh .././../src/v1.17-ae896f7b49.clean/build-aux/mkinstalldirs /D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/packages/libiconv_x64-windows-static-md-release/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/tools/libiconv/bin ; fi
mkdir -p -- /D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/packages/libiconv_x64-windows-static-md-release/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/tools/libiconv/bin
case "mingw32" in \
hpux*) compile cl.exe -Xlinker -Xlinker -Xlinker -LIBPATH:D:/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/lib -Xlinker -Xlinker -Xlinker -machine:x64 -Xlinker -Xlinker -Xlinker -nologo -Xlinker -Xlinker -Xlinker -DEBUG -Xlinker -Xlinker -Xlinker -INCREMENTAL:NO -Xlinker -Xlinker -Xlinker -OPT:REF -Xlinker -Xlinker -Xlinker -OPT:ICF -Xcompiler -nologo -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MD -Xcompiler -O2 -Xcompiler -Oi -Xcompiler -Gy -Xcompiler -Z7 `if test -n ':'; then : /D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/tools/libiconv/bin; fi` iconv.obj ../srclib/libicrt.a -L/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/packages/libiconv_x64-windows-static-md-release/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/lib -liconv iconv.res `if test -n '/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/packages/libiconv_x64-windows-static-md-release'; then echo " -Wl,+b -Wl,/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/lib"; fi` -o iconv.exe;; \
*) /bin/sh ../libtool --mode=link compile cl.exe -Xlinker -Xlinker -Xlinker -LIBPATH:D:/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/lib -Xlinker -Xlinker -Xlinker -machine:x64 -Xlinker -Xlinker -Xlinker -nologo -Xlinker -Xlinker -Xlinker -DEBUG -Xlinker -Xlinker -Xlinker -INCREMENTAL:NO -Xlinker -Xlinker -Xlinker -OPT:REF -Xlinker -Xlinker -Xlinker -OPT:ICF -Xcompiler -nologo -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MD -Xcompiler -O2 -Xcompiler -Oi -Xcompiler -Gy -Xcompiler -Z7 `if test -n ':'; then : /D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/tools/libiconv/bin; fi` iconv.obj ../srclib/libicrt.a /D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/packages/libiconv_x64-windows-static-md-release/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/lib/libiconv.la iconv.res -o iconv.exe;; \
esac
libtool: link: compile cl.exe -Xlinker -LIBPATH:D:/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/lib -Xlinker -machine:x64 -Xlinker -nologo -Xlinker -DEBUG -Xlinker -INCREMENTAL:NO -Xlinker -OPT:REF -Xlinker -OPT:ICF -nologo -utf-8 -MP -MD -O2 -Oi -Gy -Z7 iconv.obj ../srclib/libicrt.a iconv.res -o iconv.exe /D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/packages/libiconv_x64-windows-static-md-release/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/lib/iconv.lib
cl : Command line warning D9002 : ignoring unknown option '//?/D:/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/packages/libiconv_x64-windows-static-md-release/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/lib/iconv.lib'
cl : Command line warning D9002 : ignoring unknown option '//?/D:/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/packages/libiconv_x64-windows-static-md-release/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/lib/iconv.lib'
cl : Command line warning D9024 : unrecognized source file type '../srclib/libicrt.a', object file assumed
cl : Command line warning D9002 : ignoring unknown option '//?/D:/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/packages/libiconv_x64-windows-static-md-release/D/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/vcpkg_installed/x64-windows-static-md-release/lib/iconv.lib'
cl : Command line warning D9024 : unrecognized source file type '../srclib/libicrt.a', object file assumed
cl : Command line warning D9024 : unrecognized source file type '../srclib/libicrt.a', object file assumed
Creating library iconv.lib and object iconv.exp
LINK : warning LNK4217: symbol 'program_name' defined in 'libicrt.a(libicrt_a-progname.obj)' is imported by 'iconv.obj' in function 'main'
iconv.obj : error LNK2019: unresolved external symbol libiconv_open referenced in function main
iconv.obj : error LNK2019: unresolved external symbol libiconv referenced in function convert
iconv.obj : error LNK2019: unresolved external symbol libiconv_close referenced in function main
iconv.obj : error LNK2019: unresolved external symbol libiconvctl referenced in function convert
iconv.obj : error LNK2019: unresolved external symbol libiconvlist referenced in function main
iconv.obj : error LNK2019: unresolved external symbol iconv_canonicalize referenced in function main
iconv.obj : error LNK2001: unresolved external symbol _libiconv_version
iconv.exe : fatal error LNK1120: 7 unresolved externals
libtool: link: lt_outputfile="iconv.exe"
libtool: link: lt_tool_outputfile="iconv.exe"
libtool: link: case iconv.exe in *.exe|*.EXE) ;; *) lt_outputfile=iconv.exe.exe lt_tool_outputfile=iconv.exe.exe ;; esac
libtool: link: if test : != "mt" && test -f "iconv.exe.manifest"; then mt -manifest "iconv.exe.manifest" -outputresource:"iconv.exe" || exit 1; rm -f "iconv.exe.manifest"; fi
make[1]: Leaving directory '/d/nuc-16gb-i7x6-github/_work/AfterShoot-Desktop-App/AfterShoot-Desktop-App/.vcpkg/buildtrees/libiconv/x64-windows-static-md-release-rel/src'
```


**Additional context**

vcpkg.json

```
{
"version": "1.0.0",
"name": "backend",
"dependencies": [
"openssl",
"dng-sdk",
"gpr-sdk",
{
"name": "rawspeed",
"platform": "!(windows & arm64)"
},
"zlib",
{
"name": "libheif",
"platform": "!linux"
},
{
"name": "aom",
"platform": "osx"
},
{
"name": "libwebp",
"platform": "osx"
},
{
"name": "opencl",
"platform": "osx"
},
"libpng",
{
"name": "libjpeg-turbo",
"default-features": false,
"features": [
"jpeg8"
]
},
{
"name": "opencv4",
"default-features": false,
"features": [
"jpeg",
"tiff",
"world",
"contrib"
]
},
"pugixml",
{
"name": "ipxcpucodec",
"platform": "!emscripten & !(windows & arm)"
}
],
"overrides": [
{
"name": "opencv4",
"version": "4.8.0"
}
],
"vcpkg-configuration": {
"default-registry": {
"kind": "git",
"baseline": "3edabbe1407e2d4d8ce5b78bab8abf42cc966d10",
"repository": "https://github.com/microsoft/vcpkg"
},
"registries": [
{
"kind": "git",
"repository": "ssh://git@github.com/aftershootco/vcpkg-as-overlay.git",
"baseline": "5735728a5a0ccf51c[389](https://github.com/aftershootco/AfterShoot-Desktop-App/actions/runs/14105890745/job/39512275639#step:22:390)03e0019879e298a30829",
"packages": [
"dng-sdk",
"gpr-sdk",
"ipxcpucodec",
"rawspeed",
"xmp-toolkit"
]
}
]
}
}

```

Contributor guide

Open the contributing guide

Research direction

Start with portfile.cmake at line 40 and the referenced install-x64-windows-static-md-release-rel-out.log and -err.log files. Reproduce the x64-windows-static-md-release install and trace the make/libtool failure in the MSVC build. Done means the libiconv port installs successfully for this triplet without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, cmake
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.