microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
23.03k stars 6.36k forks source link

[alsa] Build error #33666

Closed ixblaze16xi closed 1 year ago

ixblaze16xi commented 1 year ago

Package: alsa:x86-windows -> 1.2.8#1

Host Environment

To Reproduce

vcpkg install freeglut freetype ftgl loguru protobuf alsa Qt geographiclib boost-log magic-enum osgearth open-dis-cpp eigen3 gtest --allow-unsupported Failure logs

alsa currently requires the following programs from the system package manager:
    autoconf autoheader aclocal automake libtoolize
On Debian and Ubuntu derivatives:
    sudo apt install autoconf libtool
On recent Red Hat and Fedora derivatives:
    sudo dnf install autoconf libtool
On Arch Linux and derivatives:
    sudo pacman -S autoconf automake libtool
On Alpine:
    apk add autoconf automake libtool
-- Using cached alsa-project-alsa-lib-v1.2.8.tar.gz.
-- Extracting source C:/vcpkg/downloads/alsa-project-alsa-lib-v1.2.8.tar.gz
-- Applying patch fix-plugin-dir.patch
-- Using source at C:/vcpkg/buildtrees/alsa/src/v1.2.8-4b81499278.clean
-- Found external ninja('1.11.0').
-- Getting CMake variables for x86-windows
-- Using cached msys2-autoconf-wrapper-20221207-1-any.pkg.tar.zst.
-- Using cached msys2-automake-wrapper-20221207-1-any.pkg.tar.zst.
-- Using cached msys2-binutils-2.40-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libtool-2.4.7-3-x86_64.pkg.tar.zst.
-- Using cached msys2-make-4.4.1-1-x86_64.pkg.tar.zst.
-- Using cached msys2-pkgconf-1.9.4-1-x86_64.pkg.tar.zst.
-- Using cached msys2-which-2.21-4-x86_64.pkg.tar.zst.
-- Using cached msys2-bash-5.2.015-1-x86_64.pkg.tar.zst.
-- Using cached msys2-coreutils-8.32-5-x86_64.pkg.tar.zst.
-- Using cached msys2-file-5.44-5-x86_64.pkg.tar.zst.
-- Using cached msys2-gawk-5.2.1-2-x86_64.pkg.tar.zst.
-- Using cached msys2-grep-1~3.0-6-x86_64.pkg.tar.zst.
-- Using cached msys2-gzip-1.12-2-x86_64.pkg.tar.zst.
-- Using cached msys2-diffutils-3.9-1-x86_64.pkg.tar.zst.
-- Using cached msys2-sed-4.9-1-x86_64.pkg.tar.zst.
-- Using cached msys2-msys2-runtime-3.4.6-1-x86_64.pkg.tar.zst.
-- Using cached msys2-autoconf2.71-2.71-1-any.pkg.tar.zst.
-- Using cached msys2-automake1.16-1.16.5-1-any.pkg.tar.zst.
-- Using cached msys2-libiconv-1.17-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libintl-0.21-2-x86_64.pkg.tar.zst.
-- Using cached msys2-zlib-1.2.13-1-x86_64.pkg.tar.zst.
-- Using cached msys2-tar-1.34-3-x86_64.pkg.tar.zst.
-- Using cached msys2-findutils-4.9.0-3-x86_64.pkg.tar.zst.
-- Using cached msys2-gmp-6.2.1-2-x86_64.pkg.tar.zst.
-- Using cached msys2-gcc-libs-11.3.0-3-x86_64.pkg.tar.zst.
-- Using cached msys2-libbz2-1.0.8-4-x86_64.pkg.tar.zst.
-- Using cached msys2-liblzma-5.4.1-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libzstd-1.5.4-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libreadline-8.2.001-3-x86_64.pkg.tar.zst.
-- Using cached msys2-mpfr-4.2.0-2-x86_64.pkg.tar.zst.
-- Using cached msys2-libpcre-8.45-3-x86_64.pkg.tar.zst.
-- Using cached msys2-m4-1.4.19-2-x86_64.pkg.tar.zst.
-- Using cached msys2-perl-5.36.0-1-x86_64.pkg.tar.zst.
-- Using cached msys2-ncurses-6.4-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libcrypt-2.1-4-x86_64.pkg.tar.zst.
-- Using msys root at C:/vcpkg/downloads/tools/msys2/d7266db249278763
-- Generating configure for x86-windows
-- Finished generating configure for x86-windows
-- Using cached mingw-w64-i686-pkgconf-1~1.8.0-2-any.pkg.tar.zst.
-- Using cached msys2-msys2-runtime-3.4.6-1-x86_64.pkg.tar.zst.
-- Using msys root at C:/vcpkg/downloads/tools/msys2/6f3fa1a12ef85a6f
-- Configuring x86-windows-dbg
-- Configuring x86-windows-rel
-- Building x86-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: C:/vcpkg/downloads/tools/msys2/d7266db249278763/usr/bin/make.exe -j 21 --trace -f Makefile all
    Working Directory: C:/vcpkg/buildtrees/alsa/x86-windows-dbg/
    See logs for more information:
      C:\vcpkg\buildtrees\alsa\build-x86-windows-dbg-out.log
      C:\vcpkg\buildtrees\alsa\build-x86-windows-dbg-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_build_make.cmake:151 (vcpkg_execute_build_process)
  scripts/cmake/vcpkg_install_make.cmake:2 (vcpkg_build_make)
  ports/alsa/portfile.cmake:57 (vcpkg_install_make)
  scripts/ports.cmake:147 (include)
C:\vcpkg\buildtrees\alsa\build-x86-windows-dbg-out.log ``` Makefile:408: update target 'all-recursive' due to: target is .PHONY fail=; \ if (target_option=k; case ${target_option-} in ?) ;; *) echo "am__make_running_with_option: internal error: invalid" "target option '${target_option-}' specified" >&2; exit 1;; esac; has_opt=no; sane_makeflags=$MAKEFLAGS; if { if test -z '0'; then false; elif test -n 'x86_64-pc-msys'; then true; elif test -n '4.4.1' && test -n '/c/vcpkg/buildtrees/alsa/x86-windows-dbg'; then true; else false; fi; }; then sane_makeflags=$MFLAGS; else case $MAKEFLAGS in *\\[\ \ ]*) bs=\\; sane_makeflags=`printf '%s\n' "$MAKEFLAGS" | sed "s/$bs$bs[$bs $bs ]*//g"`;; esac; fi; skip_next=no; strip_trailopt () { flg=`printf '%s\n' "$flg" | sed "s/$1.*$//"`; }; for flg in $sane_makeflags; do test $skip_next = yes && { skip_next=no; continue; }; case $flg in *=*|--*) continue;; -*I) strip_trailopt 'I'; skip_next=yes;; -*I?*) strip_trailopt 'I';; -*O) strip_trailopt 'O'; skip_next=yes;; -*O?*) strip_trailopt 'O';; -*l) strip_trailopt 'l'; skip_next=yes;; -*l?*) strip_trailopt 'l';; -[dEDm]) skip_next=yes;; -[JT]) skip_next=yes;; esac; case $flg in *$target_option*) has_opt=yes; break;; esac; done; test $has_opt = yes); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo all-recursive | sed s/-recursive//`; \ case "all-recursive" in \ distclean-* | maintainer-clean-*) list='doc include src src/topology modules aserver alsalisp test utils' ;; \ *) list='doc include src src/topology test utils' ;; \ esac; \ for subdir in $list; do \ echo "Making $target in $subdir"; \ if test "$subdir" = "."; then \ dot_seen=yes; \ local_target="$target-am"; \ else \ local_target="$target"; \ fi; \ (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && /usr/bin/make $local_target) \ || eval $failcom; \ done; \ if test "$dot_seen" = "no"; then \ /usr/bin/make "$target-am" || exit 1; \ fi; test -z "$fail" Making all in doc make[1]: Entering directory '/c/vcpkg/buildtrees/alsa/x86-windows-dbg/doc' Makefile:370: update target 'all-recursive' due to: target is .PHONY fail=; \ if (target_option=k; case ${target_option-} in ?) ;; *) echo "am__make_running_with_option: internal error: invalid" "target option '${target_option-}' specified" >&2; exit 1;; esac; has_opt=no; sane_makeflags=$MAKEFLAGS; if { if test -z '1'; then false; elif test -n 'x86_64-pc-msys'; then true; elif test -n '4.4.1' && test -n '/c/vcpkg/buildtrees/alsa/x86-windows-dbg/doc'; then true; else false; fi; }; then sane_makeflags=$MFLAGS; else case $MAKEFLAGS in *\\[\ \ ]*) bs=\\; sane_makeflags=`printf '%s\n' "$MAKEFLAGS" | sed "s/$bs$bs[$bs $bs ]*//g"`;; esac; fi; skip_next=no; strip_trailopt () { flg=`printf '%s\n' "$flg" | sed "s/$1.*$//"`; }; for flg in $sane_makeflags; do test $skip_next = yes && { skip_next=no; continue; }; case $flg in *=*|--*) continue;; -*I) strip_trailopt 'I'; skip_next=yes;; -*I?*) strip_trailopt 'I';; -*O) strip_trailopt 'O'; skip_next=yes;; -*O?*) strip_trailopt 'O';; -*l) strip_trailopt 'l'; skip_next=yes;; -*l?*) strip_trailopt 'l';; -[dEDm]) skip_next=yes;; -[JT]) skip_next=yes;; esac; case $flg in *$target_option*) has_opt=yes; break;; esac; done; test $has_opt = yes); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo all-recursive | sed s/-recursive//`; \ case "all-recursive" in \ distclean-* | maintainer-clean-*) list='pictures' ;; \ *) list='pictures' ;; \ esac; \ for subdir in $list; do \ echo "Making $target in $subdir"; \ if test "$subdir" = "."; then \ dot_seen=yes; \ local_target="$target-am"; \ else \ local_target="$target"; \ fi; \ (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && /usr/bin/make $local_target) \ || eval $failcom; \ done; \ if test "$dot_seen" = "no"; then \ /usr/bin/make "$target-am" || exit 1; \ fi; test -z "$fail" Making all in pictures make[2]: Entering directory '/c/vcpkg/buildtrees/alsa/x86-windows-dbg/doc/pictures' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/c/vcpkg/buildtrees/alsa/x86-windows-dbg/doc/pictures' make[2]: Entering directory '/c/vcpkg/buildtrees/alsa/x86-windows-dbg/doc' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/c/vcpkg/buildtrees/alsa/x86-windows-dbg/doc' make[1]: Leaving directory '/c/vcpkg/buildtrees/alsa/x86-windows-dbg/doc' Making all in include make[1]: Entering directory '/c/vcpkg/buildtrees/alsa/x86-windows-dbg/include' Makefile:423: update target 'config.h' due to: stamp-h1 test -f config.h || rm -f stamp-h1 test -f config.h || /usr/bin/make stamp-h1 Makefile:389: update target 'all' due to: target is .PHONY /usr/bin/make all-recursive make[2]: Entering directory '/c/vcpkg/buildtrees/alsa/x86-windows-dbg/include' Makefile:471: update target 'all-recursive' due to: target is .PHONY fail=; \ if (target_option=k; case ${target_option-} in ?) ;; *) echo "am__make_running_with_option: internal error: invalid" "target option '${target_option-}' specified" >&2; exit 1;; esac; has_opt=no; sane_makeflags=$MAKEFLAGS; if { if test -z '2'; then false; elif test -n 'x86_64-pc-msys'; then true; elif test -n '4.4.1' && test -n '/c/vcpkg/buildtrees/alsa/x86-windows-dbg/include'; then true; else false; fi; }; then sane_makeflags=$MFLAGS; else case $MAKEFLAGS in *\\[\ \ ]*) bs=\\; sane_makeflags=`printf '%s\n' "$MAKEFLAGS" | sed "s/$bs$bs[$bs $bs ]*//g"`;; esac; fi; skip_next=no; strip_trailopt () { flg=`printf '%s\n' "$flg" | sed "s/$1.*$//"`; }; for flg in $sane_makeflags; do test $skip_next = yes && { skip_next=no; continue; }; case $flg in *=*|--*) continue;; -*I) strip_trailopt 'I'; skip_next=yes;; -*I?*) strip_trailopt 'I';; -*O) strip_trailopt 'O'; skip_next=yes;; -*O?*) strip_trailopt 'O';; -*l) strip_trailopt 'l'; skip_next=yes;; -*l?*) strip_trailopt 'l';; -[dEDm]) skip_next=yes;; -[JT]) skip_next=yes;; esac; case $flg in *$target_option*) has_opt=yes; break;; esac; done; test $has_opt = yes); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo all-recursive | sed s/-recursive//`; \ case "all-recursive" in \ distclean-* | maintainer-clean-*) list='sound' ;; \ *) list='sound' ;; \ esac; \ for subdir in $list; do \ echo "Making $target in $subdir"; \ if test "$subdir" = "."; then \ dot_seen=yes; \ local_target="$target-am"; \ else \ local_target="$target"; \ fi; \ (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && /usr/bin/make $local_target) \ || eval $failcom; \ done; \ if test "$dot_seen" = "no"; then \ /usr/bin/make "$target-am" || exit 1; \ fi; test -z "$fail" Making all in sound make[3]: Entering directory '/c/vcpkg/buildtrees/alsa/x86-windows-dbg/include/sound' Makefile:424: update target 'all-recursive' due to: target is .PHONY fail=; \ if (target_option=k; case ${target_option-} in ?) ;; *) echo "am__make_running_with_option: internal error: invalid" "target option '${target_option-}' specified" >&2; exit 1;; esac; has_opt=no; sane_makeflags=$MAKEFLAGS; if { if test -z '3'; then false; elif test -n 'x86_64-pc-msys'; then true; elif test -n '4.4.1' && test -n '/c/vcpkg/buildtrees/alsa/x86-windows-dbg/include/sound'; then true; else false; fi; }; then sane_makeflags=$MFLAGS; else case $MAKEFLAGS in *\\[\ \ ]*) bs=\\; sane_makeflags=`printf '%s\n' "$MAKEFLAGS" | sed "s/$bs$bs[$bs $bs ]*//g"`;; esac; fi; skip_next=no; strip_trailopt () { flg=`printf '%s\n' "$flg" | sed "s/$1.*$//"`; }; for flg in $sane_makeflags; do test $skip_next = yes && { skip_next=no; continue; }; case $flg in *=*|--*) continue;; -*I) strip_trailopt 'I'; skip_next=yes;; -*I?*) strip_trailopt 'I';; -*O) strip_trailopt 'O'; skip_next=yes;; -*O?*) strip_trailopt 'O';; -*l) strip_trailopt 'l'; skip_next=yes;; -*l?*) strip_trailopt 'l';; -[dEDm]) skip_next=yes;; -[JT]) skip_next=yes;; esac; case $flg in *$target_option*) has_opt=yes; break;; esac; done; test $has_opt = yes); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo all-recursive | sed s/-recursive//`; \ case "all-recursive" in \ distclean-* | maintainer-clean-*) list='uapi' ;; \ *) list='uapi' ;; \ esac; \ for subdir in $list; do \ echo "Making $target in $subdir"; \ if test "$subdir" = "."; then \ dot_seen=yes; \ local_target="$target-am"; \ else \ local_target="$target"; \ fi; \ (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && /usr/bin/make $local_target) \ || eval $failcom; \ done; \ if test "$dot_seen" = "no"; then \ /usr/bin/make "$target-am" || exit 1; \ fi; test -z "$fail" Making all in uapi make[4]: Entering directory '/c/vcpkg/buildtrees/alsa/x86-windows-dbg/include/sound/uapi' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/c/vcpkg/buildtrees/alsa/x86-windows-dbg/include/sound/uapi' make[4]: Entering directory '/c/vcpkg/buildtrees/alsa/x86-windows-dbg/include/sound' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/c/vcpkg/buildtrees/alsa/x86-windows-dbg/include/sound' make[3]: Leaving directory '/c/vcpkg/buildtrees/alsa/x86-windows-dbg/include/sound' make[3]: Entering directory '/c/vcpkg/buildtrees/alsa/x86-windows-dbg/include' Makefile:761: update target 'stamp-vh' due to: target does not exist echo "/*" > ver.tmp Makefile:749: update target 'alsa_link' due to: target does not exist if ! test -r alsa/local.h; then \ ln -s .././../src/v1.2.8-4b81499278.clean/include alsa; \ fi echo " * version.h" >> ver.tmp Makefile:423: update target 'config.h' due to: stamp-h1 test -f config.h || rm -f stamp-h1 echo " */" >> ver.tmp test -f config.h || /usr/bin/make stamp-h1 echo "" >> ver.tmp echo "#define SND_LIB_MAJOR 1 /**< major number of library version */" >> ver.tmp echo "#define SND_LIB_MINOR 2 /**< minor number of library version */" >> ver.tmp echo "#define SND_LIB_SUBMINOR 8 /**< subminor number of library version */" >> ver.tmp echo "#define SND_LIB_EXTRAVER 1000000 /**< extra version number, used mainly for betas */" >> ver.tmp echo "/** library version */" >> ver.tmp echo "#define SND_LIB_VER(maj, min, sub) (((maj)<<16)|((min)<<8)|(sub))" >> ver.tmp echo "#define SND_LIB_VERSION SND_LIB_VER(SND_LIB_MAJOR, SND_LIB_MINOR, SND_LIB_SUBMINOR)" >> ver.tmp echo "/** library version (string) */" >> ver.tmp echo "#define SND_LIB_VERSION_STR \"1.2.8\"" >> ver.tmp echo >> ver.tmp cmp -s version.h ver.tmp \ || (echo "Updating version.h"; \ cp ver.tmp version.h; \ echo timestamp > stamp-vh) Updating version.h rm -f ver.tmp Makefile:754: update target 'version.h' due to: target does not exist for f in asoundlib.h version.h; do \ if ! test -r .././../src/v1.2.8-4b81499278.clean/include/$f; then \ ln -s /c/vcpkg/buildtrees/alsa/x86-windows-dbg/include/$f .././../src/v1.2.8-4b81499278.clean/include/$f; \ fi; \ done make[3]: Leaving directory '/c/vcpkg/buildtrees/alsa/x86-windows-dbg/include' make[2]: Leaving directory '/c/vcpkg/buildtrees/alsa/x86-windows-dbg/include' make[1]: Leaving directory '/c/vcpkg/buildtrees/alsa/x86-windows-dbg/include' Making all in src make[1]: Entering directory '/c/vcpkg/buildtrees/alsa/x86-windows-dbg/src' Makefile:557: update target 'all-recursive' due to: target is .PHONY fail=; \ if (target_option=k; case ${target_option-} in ?) ;; *) echo "am__make_running_with_option: internal error: invalid" "target option '${target_option-}' specified" >&2; exit 1;; esac; has_opt=no; sane_makeflags=$MAKEFLAGS; if { if test -z '1'; then false; elif test -n 'x86_64-pc-msys'; then true; elif test -n '4.4.1' && test -n '/c/vcpkg/buildtrees/alsa/x86-windows-dbg/src'; then true; else false; fi; }; then sane_makeflags=$MFLAGS; else case $MAKEFLAGS in *\\[\ \ ]*) bs=\\; sane_makeflags=`printf '%s\n' "$MAKEFLAGS" | sed "s/$bs$bs[$bs $bs ]*//g"`;; esac; fi; skip_next=no; strip_trailopt () { flg=`printf '%s\n' "$flg" | sed "s/$1.*$//"`; }; for flg in $sane_makeflags; do test $skip_next = yes && { skip_next=no; continue; }; case $flg in *=*|--*) continue;; -*I) strip_trailopt 'I'; skip_next=yes;; -*I?*) strip_trailopt 'I';; -*O) strip_trailopt 'O'; skip_next=yes;; -*O?*) strip_trailopt 'O';; -*l) strip_trailopt 'l'; skip_next=yes;; -*l?*) strip_trailopt 'l';; -[dEDm]) skip_next=yes;; -[JT]) skip_next=yes;; esac; case $flg in *$target_option*) has_opt=yes; break;; esac; done; test $has_opt = yes); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo all-recursive | sed s/-recursive//`; \ case "all-recursive" in \ distclean-* | maintainer-clean-*) list='control mixer pcm timer rawmidi hwdep seq ucm alisp conf' ;; \ *) list='control mixer pcm timer rawmidi hwdep seq ucm conf' ;; \ esac; \ for subdir in $list; do \ echo "Making $target in $subdir"; \ if test "$subdir" = "."; then \ dot_seen=yes; \ local_target="$target-am"; \ else \ local_target="$target"; \ fi; \ (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && /usr/bin/make $local_target) \ || eval $failcom; \ done; \ if test "$dot_seen" = "no"; then \ /usr/bin/make "$target-am" || exit 1; \ fi; test -z "$fail" Making all in control make[2]: Entering directory '/c/vcpkg/buildtrees/alsa/x86-windows-dbg/src/control' Makefile:419: update target 'cards.lo' due to: target does not exist source='../.././../src/v1.2.8-4b81499278.clean/src/control/cards.c' object='cards.lo' libtool=yes \ DEPDIR=.deps depmode=msvc7 /bin/sh ../.././../src/v1.2.8-4b81499278.clean/depcomp \ /bin/sh ../../libtool --tag=CC --mode=compile compile cl.exe -DHAVE_CONFIG_H -I. -I../.././../src/v1.2.8-4b81499278.clean/src/control -I../../include -I../.././../src/v1.2.8-4b81499278.clean/include -DWIN32 -D_WINDOWS -D_DEBUG -Xcompiler -nologo -Xcompiler -W3 -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -c -o cards.lo ../.././../src/v1.2.8-4b81499278.clean/src/control/cards.c Makefile:419: update target 'tlv.lo' due to: target does not exist source='../.././../src/v1.2.8-4b81499278.clean/src/control/tlv.c' object='tlv.lo' libtool=yes \ DEPDIR=.deps depmode=msvc7 /bin/sh ../.././../src/v1.2.8-4b81499278.clean/depcomp \ /bin/sh ../../libtool --tag=CC --mode=compile compile cl.exe -DHAVE_CONFIG_H -I. -I../.././../src/v1.2.8-4b81499278.clean/src/control -I../../include -I../.././../src/v1.2.8-4b81499278.clean/include -DWIN32 -D_WINDOWS -D_DEBUG -Xcompiler -nologo -Xcompiler -W3 -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -c -o tlv.lo ../.././../src/v1.2.8-4b81499278.clean/src/control/tlv.c Makefile:419: update target 'eld.lo' due to: target does not exist source='../.././../src/v1.2.8-4b81499278.clean/src/control/eld.c' object='eld.lo' libtool=yes \ DEPDIR=.deps depmode=msvc7 /bin/sh ../.././../src/v1.2.8-4b81499278.clean/depcomp \ /bin/sh ../../libtool --tag=CC --mode=compile compile cl.exe -DHAVE_CONFIG_H -I. -I../.././../src/v1.2.8-4b81499278.clean/src/control -I../../include -I../.././../src/v1.2.8-4b81499278.clean/include -DWIN32 -D_WINDOWS -D_DEBUG -Xcompiler -nologo -Xcompiler -W3 -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -c -o eld.lo ../.././../src/v1.2.8-4b81499278.clean/src/control/eld.c Makefile:419: update target 'namehint.lo' due to: target does not exist source='../.././../src/v1.2.8-4b81499278.clean/src/control/namehint.c' object='namehint.lo' libtool=yes \ DEPDIR=.deps depmode=msvc7 /bin/sh ../.././../src/v1.2.8-4b81499278.clean/depcomp \ /bin/sh ../../libtool --tag=CC --mode=compile compile cl.exe -DHAVE_CONFIG_H -I. -I../.././../src/v1.2.8-4b81499278.clean/src/control -I../../include -I../.././../src/v1.2.8-4b81499278.clean/include -DWIN32 -D_WINDOWS -D_DEBUG -Xcompiler -nologo -Xcompiler -W3 -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -c -o namehint.lo ../.././../src/v1.2.8-4b81499278.clean/src/control/namehint.c Makefile:419: update target 'hcontrol.lo' due to: target does not exist source='../.././../src/v1.2.8-4b81499278.clean/src/control/hcontrol.c' object='hcontrol.lo' libtool=yes \ DEPDIR=.deps depmode=msvc7 /bin/sh ../.././../src/v1.2.8-4b81499278.clean/depcomp \ /bin/sh ../../libtool --tag=CC --mode=compile compile cl.exe -DHAVE_CONFIG_H -I. -I../.././../src/v1.2.8-4b81499278.clean/src/control -I../../include -I../.././../src/v1.2.8-4b81499278.clean/include -DWIN32 -D_WINDOWS -D_DEBUG -Xcompiler -nologo -Xcompiler -W3 -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -c -o hcontrol.lo ../.././../src/v1.2.8-4b81499278.clean/src/control/hcontrol.c Makefile:419: update target 'control.lo' due to: target does not exist source='../.././../src/v1.2.8-4b81499278.clean/src/control/control.c' object='control.lo' libtool=yes \ DEPDIR=.deps depmode=msvc7 /bin/sh ../.././../src/v1.2.8-4b81499278.clean/depcomp \ /bin/sh ../../libtool --tag=CC --mode=compile compile cl.exe -DHAVE_CONFIG_H -I. -I../.././../src/v1.2.8-4b81499278.clean/src/control -I../../include -I../.././../src/v1.2.8-4b81499278.clean/include -DWIN32 -D_WINDOWS -D_DEBUG -Xcompiler -nologo -Xcompiler -W3 -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -c -o control.lo ../.././../src/v1.2.8-4b81499278.clean/src/control/control.c Makefile:419: update target 'control_hw.lo' due to: target does not exist source='../.././../src/v1.2.8-4b81499278.clean/src/control/control_hw.c' object='control_hw.lo' libtool=yes \ DEPDIR=.deps depmode=msvc7 /bin/sh ../.././../src/v1.2.8-4b81499278.clean/depcomp \ /bin/sh ../../libtool --tag=CC --mode=compile compile cl.exe -DHAVE_CONFIG_H -I. -I../.././../src/v1.2.8-4b81499278.clean/src/control -I../../include -I../.././../src/v1.2.8-4b81499278.clean/include -DWIN32 -D_WINDOWS -D_DEBUG -Xcompiler -nologo -Xcompiler -W3 -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -c -o control_hw.lo ../.././../src/v1.2.8-4b81499278.clean/src/control/control_hw.c Makefile:419: update target 'control_empty.lo' due to: target does not exist source='../.././../src/v1.2.8-4b81499278.clean/src/control/control_empty.c' object='control_empty.lo' libtool=yes \ DEPDIR=.deps depmode=msvc7 /bin/sh ../.././../src/v1.2.8-4b81499278.clean/depcomp \ /bin/sh ../../libtool --tag=CC --mode=compile compile cl.exe -DHAVE_CONFIG_H -I. -I../.././../src/v1.2.8-4b81499278.clean/src/control -I../../include -I../.././../src/v1.2.8-4b81499278.clean/include -DWIN32 -D_WINDOWS -D_DEBUG -Xcompiler -nologo -Xcompiler -W3 -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -c -o control_empty.lo ../.././../src/v1.2.8-4b81499278.clean/src/control/control_empty.c Makefile:419: update target 'setup.lo' due to: target does not exist source='../.././../src/v1.2.8-4b81499278.clean/src/control/setup.c' object='setup.lo' libtool=yes \ DEPDIR=.deps depmode=msvc7 /bin/sh ../.././../src/v1.2.8-4b81499278.clean/depcomp \ /bin/sh ../../libtool --tag=CC --mode=compile compile cl.exe -DHAVE_CONFIG_H -I. -I../.././../src/v1.2.8-4b81499278.clean/src/control -I../../include -I../.././../src/v1.2.8-4b81499278.clean/include -DWIN32 -D_WINDOWS -D_DEBUG -Xcompiler -nologo -Xcompiler -W3 -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -c -o setup.lo ../.././../src/v1.2.8-4b81499278.clean/src/control/setup.c Makefile:419: update target 'ctlparse.lo' due to: target does not exist source='../.././../src/v1.2.8-4b81499278.clean/src/control/ctlparse.c' object='ctlparse.lo' libtool=yes \ DEPDIR=.deps depmode=msvc7 /bin/sh ../.././../src/v1.2.8-4b81499278.clean/depcomp \ /bin/sh ../../libtool --tag=CC --mode=compile compile cl.exe -DHAVE_CONFIG_H -I. -I../.././../src/v1.2.8-4b81499278.clean/src/control -I../../include -I../.././../src/v1.2.8-4b81499278.clean/include -DWIN32 -D_WINDOWS -D_DEBUG -Xcompiler -nologo -Xcompiler -W3 -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -c -o ctlparse.lo ../.././../src/v1.2.8-4b81499278.clean/src/control/ctlparse.c Makefile:419: update target 'control_plugin.lo' due to: target does not exist source='../.././../src/v1.2.8-4b81499278.clean/src/control/control_plugin.c' object='control_plugin.lo' libtool=yes \ DEPDIR=.deps depmode=msvc7 /bin/sh ../.././../src/v1.2.8-4b81499278.clean/depcomp \ /bin/sh ../../libtool --tag=CC --mode=compile compile cl.exe -DHAVE_CONFIG_H -I. -I../.././../src/v1.2.8-4b81499278.clean/src/control -I../../include -I../.././../src/v1.2.8-4b81499278.clean/include -DWIN32 -D_WINDOWS -D_DEBUG -Xcompiler -nologo -Xcompiler -W3 -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -c -o control_plugin.lo ../.././../src/v1.2.8-4b81499278.clean/src/control/control_plugin.c Makefile:419: update target 'control_symbols.lo' due to: target does not exist source='../.././../src/v1.2.8-4b81499278.clean/src/control/control_symbols.c' object='control_symbols.lo' libtool=yes \ DEPDIR=.deps depmode=msvc7 /bin/sh ../.././../src/v1.2.8-4b81499278.clean/depcomp \ /bin/sh ../../libtool --tag=CC --mode=compile compile cl.exe -DHAVE_CONFIG_H -I. -I../.././../src/v1.2.8-4b81499278.clean/src/control -I../../include -I../.././../src/v1.2.8-4b81499278.clean/include -DWIN32 -D_WINDOWS -D_DEBUG -Xcompiler -nologo -Xcompiler -W3 -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -c -o control_symbols.lo ../.././../src/v1.2.8-4b81499278.clean/src/control/control_symbols.c Makefile:419: update target 'control_remap.lo' due to: target does not exist source='../.././../src/v1.2.8-4b81499278.clean/src/control/control_remap.c' object='control_remap.lo' libtool=yes \ DEPDIR=.deps depmode=msvc7 /bin/sh ../.././../src/v1.2.8-4b81499278.clean/depcomp \ /bin/sh ../../libtool --tag=CC --mode=compile compile cl.exe -DHAVE_CONFIG_H -I. -I../.././../src/v1.2.8-4b81499278.clean/src/control -I../../include -I../.././../src/v1.2.8-4b81499278.clean/include -DWIN32 -D_WINDOWS -D_DEBUG -Xcompiler -nologo -Xcompiler -W3 -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -c -o control_remap.lo ../.././../src/v1.2.8-4b81499278.clean/src/control/control_remap.c Makefile:419: update target 'control_ext.lo' due to: target does not exist source='../.././../src/v1.2.8-4b81499278.clean/src/control/control_ext.c' object='control_ext.lo' libtool=yes \ DEPDIR=.deps depmode=msvc7 /bin/sh ../.././../src/v1.2.8-4b81499278.clean/depcomp \ /bin/sh ../../libtool --tag=CC --mode=compile compile cl.exe -DHAVE_CONFIG_H -I. -I../.././../src/v1.2.8-4b81499278.clean/src/control -I../../include -I../.././../src/v1.2.8-4b81499278.clean/include -DWIN32 -D_WINDOWS -D_DEBUG -Xcompiler -nologo -Xcompiler -W3 -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -c -o control_ext.lo ../.././../src/v1.2.8-4b81499278.clean/src/control/control_ext.c libtool: compile: compile cl.exe -DHAVE_CONFIG_H -I. -I../.././../src/v1.2.8-4b81499278.clean/src/control -I../../include -I../.././../src/v1.2.8-4b81499278.clean/include -DWIN32 -D_WINDOWS -nologo -W3 -utf-8 -MP -MDd -Z7 -Ob0 -Od -RTC1 -D_DEBUG -c -showIncludes ../.././../src/v1.2.8-4b81499278.clean/src/control/control_remap.c -DDLL_EXPORT -DPIC -o .libs/control_remap.obj control_remap.c ../.././../src/v1.2.8-4b81499278.clean/src/control/control_remap.c(32): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory libtool: compile: compile cl.exe -DHAVE_CONFIG_H -I. -I../.././../src/v1.2.8-4b81499278.clean/src/control -I../../include -I../.././../src/v1.2.8-4b81499278.clean/include -DWIN32 -D_WINDOWS -nologo -W3 -utf-8 -MP -MDd -Z7 -Ob0 -Od -RTC1 -D_DEBUG -c -showIncludes ../.././../src/v1.2.8-4b81499278.clean/src/control/namehint.c -DDLL_EXPORT -DPIC -o .libs/namehint.obj namehint.c C:\vcpkg\buildtrees\alsa\src\v1.2.8-4b81499278.clean\include\local.h(27): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory libtool: compile: compile cl.exe -DHAVE_CONFIG_H -I. -I../.././../src/v1.2.8-4b81499278.clean/src/control -I../../include -I../.././../src/v1.2.8-4b81499278.clean/include -DWIN32 -D_WINDOWS -nologo -W3 -utf-8 -MP -MDd -Z7 -Ob0 -Od -RTC1 -D_DEBUG -c -showIncludes ../.././../src/v1.2.8-4b81499278.clean/src/control/setup.c -DDLL_EXPORT -DPIC -o .libs/setup.obj setup.c ../.././../src/v1.2.8-4b81499278.clean/src/control/setup.c(35): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory libtool: compile: compile cl.exe -DHAVE_CONFIG_H -I. -I../.././../src/v1.2.8-4b81499278.clean/src/control -I../../include -I../.././../src/v1.2.8-4b81499278.clean/include -DWIN32 -D_WINDOWS -nologo -W3 -utf-8 -MP -MDd -Z7 -Ob0 -Od -RTC1 -D_DEBUG -c -showIncludes ../.././../src/v1.2.8-4b81499278.clean/src/control/eld.c -DDLL_EXPORT -DPIC -o .libs/eld.obj eld.c ../.././../src/v1.2.8-4b81499278.clean/src/control/eld.c(31): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory libtool: compile: compile cl.exe -DHAVE_CONFIG_H -I. -I../.././../src/v1.2.8-4b81499278.clean/src/control -I../../include -I../.././../src/v1.2.8-4b81499278.clean/include -DWIN32 -D_WINDOWS -nologo -W3 -utf-8 -MP -MDd -Z7 -Ob0 -Od -RTC1 -D_DEBUG -c -showIncludes ../.././../src/v1.2.8-4b81499278.clean/src/control/control_hw.c -DDLL_EXPORT -DPIC -o .libs/control_hw.obj control_hw.c ../.././../src/v1.2.8-4b81499278.clean/src/control/control_hw.c(31): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory libtool: compile: compile cl.exe -DHAVE_CONFIG_H -I. -I../.././../src/v1.2.8-4b81499278.clean/src/control -I../../include -I../.././../src/v1.2.8-4b81499278.clean/include -DWIN32 -D_WINDOWS -nologo -W3 -utf-8 -MP -MDd -Z7 -Ob0 -Od -RTC1 -D_DEBUG -c -showIncludes ../.././../src/v1.2.8-4b81499278.clean/src/control/hcontrol.c -DDLL_EXPORT -DPIC -o .libs/hcontrol.obj hcontrol.c ../.././../src/v1.2.8-4b81499278.clean/src/control/hcontrol.c(47): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory libtool: compile: compile cl.exe -DHAVE_CONFIG_H -I. -I../.././../src/v1.2.8-4b81499278.clean/src/control -I../../include -I../.././../src/v1.2.8-4b81499278.clean/include -DWIN32 -D_WINDOWS -nologo -W3 -utf-8 -MP -MDd -Z7 -Ob0 -Od -RTC1 -D_DEBUG -c -showIncludes ../.././../src/v1.2.8-4b81499278.clean/src/control/ctlparse.c -DDLL_EXPORT -DPIC -o .libs/ctlparse.obj ctlparse.c ../.././../src/v1.2.8-4b81499278.clean/src/control/ctlparse.c(28): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory libtool: compile: compile cl.exe -DHAVE_CONFIG_H -I. -I../.././../src/v1.2.8-4b81499278.clean/src/control -I../../include -I../.././../src/v1.2.8-4b81499278.clean/include -DWIN32 -D_WINDOWS -nologo -W3 -utf-8 -MP -MDd -Z7 -Ob0 -Od -RTC1 -D_DEBUG -c -showIncludes ../.././../src/v1.2.8-4b81499278.clean/src/control/control_plugin.c -DDLL_EXPORT -DPIC -o .libs/control_plugin.obj control_plugin.c C:\vcpkg\buildtrees\alsa\src\v1.2.8-4b81499278.clean\include\local.h(27): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory libtool: compile: compile cl.exe -DHAVE_CONFIG_H -I. -I../.././../src/v1.2.8-4b81499278.clean/src/control -I../../include -I../.././../src/v1.2.8-4b81499278.clean/include -DWIN32 -D_WINDOWS -nologo -W3 -utf-8 -MP -MDd -Z7 -Ob0 -Od -RTC1 -D_DEBUG -c -showIncludes ../.././../src/v1.2.8-4b81499278.clean/src/control/control.c -DDLL_EXPORT -DPIC -o .libs/control.obj control.c ../.././../src/v1.2.8-4b81499278.clean/src/control/control.c(192): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory libtool: compile: compile cl.exe -DHAVE_CONFIG_H -I. -I../.././../src/v1.2.8-4b81499278.clean/src/control -I../../include -I../.././../src/v1.2.8-4b81499278.clean/include -DWIN32 -D_WINDOWS -nologo -W3 -utf-8 -MP -MDd -Z7 -Ob0 -Od -RTC1 -D_DEBUG -c -showIncludes ../.././../src/v1.2.8-4b81499278.clean/src/control/cards.c -DDLL_EXPORT -DPIC -o .libs/cards.obj cards.c ../.././../src/v1.2.8-4b81499278.clean/src/control/cards.c(30): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory libtool: compile: compile cl.exe -DHAVE_CONFIG_H -I. -I../.././../src/v1.2.8-4b81499278.clean/src/control -I../../include -I../.././../src/v1.2.8-4b81499278.clean/include -DWIN32 -D_WINDOWS -nologo -W3 -utf-8 -MP -MDd -Z7 -Ob0 -Od -RTC1 -D_DEBUG -c -showIncludes ../.././../src/v1.2.8-4b81499278.clean/src/control/tlv.c -DDLL_EXPORT -DPIC -o .libs/tlv.obj tlv.c ../.././../src/v1.2.8-4b81499278.clean/src/control/tlv.c(31): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory libtool: compile: compile cl.exe -DHAVE_CONFIG_H -I. -I../.././../src/v1.2.8-4b81499278.clean/src/control -I../../include -I../.././../src/v1.2.8-4b81499278.clean/include -DWIN32 -D_WINDOWS -nologo -W3 -utf-8 -MP -MDd -Z7 -Ob0 -Od -RTC1 -D_DEBUG -c -showIncludes ../.././../src/v1.2.8-4b81499278.clean/src/control/control_ext.c -DDLL_EXPORT -DPIC -o .libs/control_ext.obj control_ext.c ../.././../src/v1.2.8-4b81499278.clean/src/control/control_ext.c(32): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory libtool: compile: compile cl.exe -DHAVE_CONFIG_H -I. -I../.././../src/v1.2.8-4b81499278.clean/src/control -I../../include -I../.././../src/v1.2.8-4b81499278.clean/include -DWIN32 -D_WINDOWS -nologo -W3 -utf-8 -MP -MDd -Z7 -Ob0 -Od -RTC1 -D_DEBUG -c -showIncludes ../.././../src/v1.2.8-4b81499278.clean/src/control/control_empty.c -DDLL_EXPORT -DPIC -o .libs/control_empty.obj control_empty.c C:\vcpkg\buildtrees\alsa\src\v1.2.8-4b81499278.clean\include\local.h(27): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory libtool: compile: compile cl.exe -DHAVE_CONFIG_H -I. -I../.././../src/v1.2.8-4b81499278.clean/src/control -I../../include -I../.././../src/v1.2.8-4b81499278.clean/include -DWIN32 -D_WINDOWS -nologo -W3 -utf-8 -MP -MDd -Z7 -Ob0 -Od -RTC1 -D_DEBUG -c -showIncludes ../.././../src/v1.2.8-4b81499278.clean/src/control/control_symbols.c -DDLL_EXPORT -DPIC -o .libs/control_symbols.obj control_symbols.c make[2]: Leaving directory '/c/vcpkg/buildtrees/alsa/x86-windows-dbg/src/control' make[1]: Leaving directory '/c/vcpkg/buildtrees/alsa/x86-windows-dbg/src' ```
C:\vcpkg\buildtrees\alsa\build-x86-windows-dbg-err.log ``` make[2]: *** [Makefile:419: control_remap.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [Makefile:419: namehint.lo] Error 1 make[2]: *** [Makefile:419: control.lo] Error 1 make[2]: *** [Makefile:419: control_hw.lo] Error 1 make[2]: *** [Makefile:419: tlv.lo] Error 1 make[2]: *** [Makefile:419: hcontrol.lo] Error 1 make[2]: *** [Makefile:419: setup.lo] Error 1 make[2]: *** [Makefile:419: ctlparse.lo] Error 1 make[2]: *** [Makefile:419: control_ext.lo] Error 1 make[2]: *** [Makefile:419: cards.lo] Error 1 make[2]: *** [Makefile:419: eld.lo] Error 1 make[2]: *** [Makefile:419: control_plugin.lo] Error 1 make[2]: *** [Makefile:419: control_empty.lo] Error 1 make[1]: *** [Makefile:557: all-recursive] Error 1 make: *** [Makefile:408: all-recursive] Error 1 ```
StarGate-One commented 1 year ago

Package: alsa:x86-windows -> 1.2.8#1

alsa is only supported on 'linux', which does not match x86-windows. This usually means that there are known build failures, or runtime problems, when building other platforms. To ignore this and attempt to build alsa anyway, rerun vcpkg with --allow-unsupported.

If you are cross-compiling for linux you need to supply both --host-triplet=x64-windows and --triplet=x64-linux or --triplet=x86-linux.

ixblaze16xi commented 1 year ago

Thank you for the obvious response. I missed the obvious statement and it's building with the additional triplet flags.