Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libusb] Build error on x64-linux #43141

Open
pkmnabcd opened this issue Jan 7, 2025 · 7 comments
Open

[libusb] Build error on x64-linux #43141

pkmnabcd opened this issue Jan 7, 2025 · 7 comments
Assignees
Labels
requires:repro The issue is not currently repro-able

Comments

@pkmnabcd
Copy link

pkmnabcd commented Jan 7, 2025

Copy issue body from /home/gabe/Cemu/build/vcpkg_installed/vcpkg/issue_body.md

On pretty fresh linux mint install.
Ran the commands:
sudo apt install -y cmake curl clang-15 freeglut3-dev git libbluetooth-dev libgcrypt20-dev libglm-dev libgtk-3-dev libpulse-dev libsecret-1-dev libsystemd-dev libtool nasm ninja-build
then
git clone --recursive https://github.com/cemu-project/Cemu
then
cd Cemu
then
cmake -S . -B build -DCMAKE_BUILD_TYPE=release -DCMAKE_C_COMPILER=/usr/bin/clang-15 -DCMAKE_CXX_COMPILER=/usr/bin/clang++-15 -G Ninja -DCMAKE_MAKE_PROGRAM=/usr/bin/ninja

Ran into vcpkg install errors, and ran the command:
cd dependencies/vcpkg && git fetch --unshallow && cd ../..
then
git submodule update --remote dependencies/vcpkg
then
git pull
I also tried vcpkg update, but that command wasn't recognized

After all this, still hit the same errors:

error: building libusb:x64-linux failed with: BUILD_FAILED
Elapsed time to handle libusb:x64-linux: 8 s
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
  https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+libusb
You can submit a new issue at:
  https://github.com/microsoft/vcpkg/issues/new?title=[libusb]+Build+error+on+x64-linux&body=Copy+issue+body+from+%2Fhome%2Fgabe%2FCemu%2Fbuild%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md

-- Running vcpkg install - failed
CMake Error at dependencies/vcpkg/scripts/buildsystems/vcpkg.cmake:904 (message):
  vcpkg install failed.  See logs for more information:
  /home/gabe/Cemu/build/vcpkg-manifest-install.log
Call Stack (most recent call first):
  /usr/share/cmake-3.28/Modules/CMakeDetermineSystem.cmake:170 (include)
  CMakeLists.txt:56 (project)

Here is the issue body from Cemu/build/vcpkg_installed/vcpkg/issue_body.md:

Package: libusb[core,udev]:[email protected]#1

Host Environment

  • Host: x64-linux
  • Compiler: GNU 13.3.0
  • vcpkg-tool version: 2024-04-23-d6945642ee5c3076addd1a42c331bbf4cfc97457
    vcpkg-scripts version: 65be701 2025-01-03 (3 days ago)

To Reproduce

vcpkg install

Failure logs

libusb currently requires the following tools and libraries from the system package manager:
    autoreconf
    libudev

These can be installed on Ubuntu systems via apt-get install autoconf libudev-dev
-- Using cached libusb-libusb-v1.0.27.tar.gz.
-- Cleaning sources at /home/gabe/Cemu/dependencies/vcpkg/buildtrees/libusb/src/v1.0.27-b8650a8dbc.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /home/gabe/Cemu/dependencies/vcpkg/downloads/libusb-libusb-v1.0.27.tar.gz
-- Using source at /home/gabe/Cemu/dependencies/vcpkg/buildtrees/libusb/src/v1.0.27-b8650a8dbc.clean
-- Found external ninja('1.11.1').
-- Getting CMake variables for x64-linux-dbg
-- Getting CMake variables for x64-linux-rel
-- Generating configure for x64-linux
-- Finished generating configure for x64-linux
-- Configuring x64-linux-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
    Command failed: /usr/bin/bash -c "V=1 ./../src/v1.0.27-b8650a8dbc.clean/configure  \"--enable-udev\" \"--enable-examples-build=no\" \"--enable-tests-build=no\" \"--disable-silent-rules\" \"--verbose\" \"--disable-shared\" \"--enable-static\" \"--prefix=/home/gabe/Cemu/build/vcpkg_installed/x64-linux/debug\" \"--bindir=\\${prefix}/../tools/libusb/debug/bin\" \"--sbindir=\\${prefix}/../tools/libusb/debug/sbin\" \"--libdir=\\${prefix}/lib\" \"--includedir=\\${prefix}/../include\" \"--datarootdir=\\${prefix}/share/libusb\""
    Working Directory: /home/gabe/Cemu/dependencies/vcpkg/buildtrees/libusb/x64-linux-dbg
    Error code: 1
    See logs for more information:
      /home/gabe/Cemu/dependencies/vcpkg/buildtrees/libusb/config-x64-linux-dbg-config.log
      /home/gabe/Cemu/dependencies/vcpkg/buildtrees/libusb/config-x64-linux-dbg-out.log
      /home/gabe/Cemu/dependencies/vcpkg/buildtrees/libusb/config-x64-linux-dbg-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_make.cmake:866 (vcpkg_execute_required_process)
  buildtrees/versioning_/versions/libusb/da092fa023f47e3307d55a85bafb31a9c801b715/portfile.cmake:54 (vcpkg_configure_make)
  scripts/ports.cmake:196 (include)



/home/gabe/Cemu/dependencies/vcpkg/buildtrees/libusb/config-x64-linux-dbg-err.log
configure: error: udev support requested but libudev header not installed
/home/gabe/Cemu/dependencies/vcpkg/buildtrees/libusb/config-x64-linux-dbg-out.log
checking for gcc... /usr/bin/cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether /usr/bin/cc accepts -g... yes
checking for /usr/bin/cc option to enable C11 features... none needed
checking whether /usr/bin/cc understands -c and -o together... yes
checking whether the compiler supports GNU C++... yes
checking whether /usr/bin/c++ accepts -g... yes
checking for /usr/bin/c++ option to enable C++11 features... none needed
checking for inline... inline
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking whether make supports nested variables... yes
checking dependency style of /usr/bin/cc... gcc3
checking dependency style of /usr/bin/c++... gcc3
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by /usr/bin/cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... /usr/bin/objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... /usr/bin/strip
checking for ranlib... /usr/bin/ranlib
checking command to parse /usr/bin/nm output from /usr/bin/cc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /usr/bin/cc supports -fno-rtti -fno-exceptions... no
checking for /usr/bin/cc option to produce PIC... -fPIC -DPIC
checking if /usr/bin/cc PIC flag -fPIC -DPIC works... yes
checking if /usr/bin/cc static flag -static works... yes
checking if /usr/bin/cc supports -c -o file.o... yes
checking if /usr/bin/cc supports -c -o file.o... (cached) yes
checking whether the /usr/bin/cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... /usr/bin/c++ -E
checking for ld used by /usr/bin/c++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the /usr/bin/c++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for /usr/bin/c++ option to produce PIC... -fPIC -DPIC
checking if /usr/bin/c++ PIC flag -fPIC -DPIC works... yes
checking if /usr/bin/c++ static flag -static works... yes
checking if /usr/bin/c++ supports -c -o file.o... yes
checking if /usr/bin/c++ supports -c -o file.o... (cached) yes
checking whether the /usr/bin/c++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for windres... no
checking whether make supports nested variables... (cached) yes
checking if /usr/bin/cc supports -std=gnu11... yes
checking operating system... Linux
checking for nfds_t... yes
checking for pipe2... yes
checking if /usr/bin/cc recognizes -pthread... yes
checking for library containing pthread_create... none required
checking whether __atomic_load_n is supported... yes
checking for library containing clock_gettime... none required
checking for pthread_setname_np... yes
checking for libudev.h... no
/home/gabe/Cemu/dependencies/vcpkg/buildtrees/libusb/config-x64-linux-dbg-config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by libusb-1.0 configure 1.0.27, which was
generated by GNU Autoconf 2.71.  Invocation command line was

  $ ./../src/v1.0.27-b8650a8dbc.clean/configure --enable-udev --enable-examples-build=no --enable-tests-build=no --disable-silent-rules --verbose --disable-shared --enable-static --prefix=/home/gabe/Cemu/build/vcpkg_installed/x64-linux/debug '--bindir=${prefix}/../tools/libusb/debug/bin' '--sbindir=${prefix}/../tools/libusb/debug/sbin' '--libdir=${prefix}/lib' '--includedir=${prefix}/../include' '--datarootdir=${prefix}/share/libusb'

## --------- ##
## Platform. ##
## --------- ##

hostname = gabe-Z170MX-Gaming-5
uname -m = x86_64
uname -r = 6.8.0-51-generic
uname -s = Linux
uname -v = #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec  5 13:09:44 UTC 2024

/usr/bin/uname -p = x86_64
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin/
PATH: /usr/local/bin/
PATH: /usr/sbin/
PATH: /usr/bin/
PATH: /sbin/
PATH: /bin/
PATH: /usr/games/
PATH: /usr/local/games/
PATH: /snap/bin/
PATH: /usr/bin/


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2907: looking for aux files: config.guess config.sub ltmain.sh missing install-sh compile
configure:2920:  trying ./../src/v1.0.27-b8650a8dbc.clean/
configure:2949:   ./../src/v1.0.27-b8650a8dbc.clean/config.guess found
configure:2949:   ./../src/v1.0.27-b8650a8dbc.clean/config.sub found
configure:2949:   ./../src/v1.0.27-b8650a8dbc.clean/ltmain.sh found
configure:2949:   ./../src/v1.0.27-b8650a8dbc.clean/missing found
configure:2931:   ./../src/v1.0.27-b8650a8dbc.clean/install-sh found
configure:2949:   ./../src/v1.0.27-b8650a8dbc.clean/compile found
configure:3126: checking for gcc
configure:3158: result: /usr/bin/cc
configure:3511: checking for C compiler version
configure:3520: /usr/bin/cc --version >&5
cc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3531: $? = 0
configure:3520: /usr/bin/cc -v >&5
Using built-in specs.
COLLECT_GCC=/usr/bin/cc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 13.3.0-6ubuntu2~24.04' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04) 
... rest of stderr output deleted ...
configure:3531: $? = 0
configure:3520: /usr/bin/cc -V >&5
cc: error: unrecognized command-line option '-V'
cc: fatal error: no input files
compilation terminated.
configure:3531: $? = 1
configure:3520: /usr/bin/cc -qversion >&5
cc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
cc: fatal error: no input files
compilation terminated.
configure:3531: $? = 1
configure:3520: /usr/bin/cc -version >&5
cc: error: unrecognized command-line option '-version'
cc: fatal error: no input files
compilation terminated.
configure:3531: $? = 1
configure:3551: checking whether the C compiler works
configure:3573: /usr/bin/cc -fPIC -g  -L/home/gabe/Cemu/build/vcpkg_installed/x64-linux/debug/lib conftest.c  >&5
configure:3577: $? = 0
configure:3627: result: yes
configure:3630: checking for C compiler default output file name
configure:3632: result: a.out
configure:3638: checking for suffix of executables
configure:3645: /usr/bin/cc -o conftest -fPIC -g  -L/home/gabe/Cemu/build/vcpkg_installed/x64-linux/debug/lib conftest.c  >&5
configure:3649: $? = 0
configure:3672: result: 
configure:3694: checking whether we are cross compiling
configure:3702: /usr/bin/cc -o conftest -fPIC -g  -L/home/gabe/Cemu/build/vcpkg_installed/x64-linux/debug/lib conftest.c  >&5
configure:3706: $? = 0
configure:3713: ./conftest
configure:3717: $? = 0
configure:3732: result: no
configure:3737: checking for suffix of object files
configure:3760: /usr/bin/cc -c -fPIC -g  conftest.c >&5
configure:3764: $? = 0
configure:3786: result: o
configure:3790: checking whether the compiler supports GNU C
configure:3810: /usr/bin/cc -c -fPIC -g  conftest.c >&5
configure:3810: $? = 0
configure:3820: result: yes
configure:3831: checking whether /usr/bin/cc accepts -g
configure:3852: /usr/bin/cc -c -g  conftest.c >&5
configure:3852: $? = 0
configure:3896: result: yes
configure:3916: checking for /usr/bin/cc option to enable C11 features
configure:3931: /usr/bin/cc  -c -fPIC -g  conftest.c >&5
configure:3931: $? = 0
configure:3949: result: none needed
configure:4070: checking whether /usr/bin/cc understands -c and -o together
configure:4093: /usr/bin/cc -c conftest.c -o conftest2.o
configure:4096: $? = 0
configure:4093: /usr/bin/cc -c conftest.c -o conftest2.o
configure:4096: $? = 0
configure:4108: result: yes
configure:4253: checking for C++ compiler version
configure:4262: /usr/bin/c++ --version >&5
c++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:4273: $? = 0
configure:4262: /usr/bin/c++ -v >&5
Using built-in specs.
COLLECT_GCC=/usr/bin/c++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 13.3.0-6ubuntu2~24.04' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04) 
... rest of stderr output deleted ...
configure:4273: $? = 0
configure:4262: /usr/bin/c++ -V >&5
c++: error: unrecognized command-line option '-V'
c++: fatal error: no input files
compilation terminated.
configure:4273: $? = 1
configure:4262: /usr/bin/c++ -qversion >&5
c++: error: unrecognized command-line option '-qversion'; did you mean '--version'?
c++: fatal error: no input files
compilation terminated.
configure:4273: $? = 1
configure:4277: checking whether the compiler supports GNU C++
configure:4297: /usr/bin/c++ -c -fPIC -g  conftest.cpp >&5
configure:4297: $? = 0
configure:4307: result: yes
configure:4318: checking whether /usr/bin/c++ accepts -g
configure:4339: /usr/bin/c++ -c -g  conftest.cpp >&5
configure:4339: $? = 0
configure:4383: result: yes
configure:4403: checking for /usr/bin/c++ option to enable C++11 features
configure:4418: /usr/bin/c++  -c -fPIC -g  conftest.cpp >&5
conftest.cpp: In function 'int main(int, char**)':
conftest.cpp:175:25: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse]
  175 |   cxx11test::delegate d2();
      |                         ^~
conftest.cpp:175:25: note: remove parentheses to default-initialize a variable
  175 |   cxx11test::delegate d2();
      |                         ^~
      |                         --
conftest.cpp:175:25: note: or replace parentheses with braces to value-initialize a variable
configure:4418: $? = 0
configure:4436: result: none needed
configure:4501: checking for inline
configure:4518: /usr/bin/cc -c -fPIC -g  conftest.c >&5
configure:4518: $? = 0
configure:4527: result: inline
configure:4562: checking for a BSD-compatible install
configure:4635: result: /usr/bin/install -c
configure:4646: checking whether build environment is sane
configure:4701: result: yes
configure:4856: checking for a race-free mkdir -p
configure:4900: result: /usr/bin/mkdir -p
configure:4907: checking for gawk
configure:4942: result: no
configure:4907: checking for mawk
configure:4928: found /usr/bin/mawk
configure:4939: result: mawk
configure:4950: checking whether make sets $(MAKE)
configure:4973: result: yes
configure:4995: checking whether make supports the include directive
configure:5010: make -f confmf.GNU && cat confinc.out
this is the am__doit target
configure:5013: $? = 0
configure:5032: result: yes (GNU style)
configure:5067: checking whether make supports nested variables
configure:5085: result: yes
configure:5166: checking dependency style of /usr/bin/cc
configure:5278: result: gcc3
configure:5295: checking dependency style of /usr/bin/c++
configure:5407: result: gcc3
configure:5511: checking build system type
configure:5526: result: x86_64-pc-linux-gnu
configure:5546: checking host system type
configure:5560: result: x86_64-pc-linux-gnu
configure:5601: checking how to print strings
configure:5628: result: printf
configure:5649: checking for a sed that does not truncate output
configure:5719: result: /usr/bin/sed
configure:5737: checking for grep that handles long lines and -e
configure:5801: result: /usr/bin/grep
configure:5806: checking for egrep
configure:5874: result: /usr/bin/grep -E
configure:5879: checking for fgrep
configure:5947: result: /usr/bin/grep -F
configure:5983: checking for ld used by /usr/bin/cc
configure:6051: result: /usr/bin/ld
configure:6058: checking if the linker (/usr/bin/ld) is GNU ld
configure:6074: result: yes
configure:6086: checking for BSD- or MS-compatible name lister (nm)
configure:6141: result: /usr/bin/nm
configure:6281: checking the name lister (/usr/bin/nm) interface
configure:6289: /usr/bin/cc -c -fPIC -g  conftest.c >&5
configure:6292: /usr/bin/nm "conftest.o"
configure:6295: output
0000000000000000 B some_variable
configure:6302: result: BSD nm
configure:6305: checking whether ln -s works
configure:6309: result: yes
configure:6317: checking the maximum length of command line arguments
configure:6449: result: 1572864
configure:6497: checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format
configure:6538: result: func_convert_file_noop
configure:6545: checking how to convert x86_64-pc-linux-gnu file names to toolchain format
configure:6566: result: func_convert_file_noop
configure:6573: checking for /usr/bin/ld option to reload object files
configure:6581: result: -r
configure:6660: checking for file
configure:6681: found /usr/bin/file
configure:6692: result: file
configure:6768: checking for objdump
configure:6800: result: /usr/bin/objdump
configure:6832: checking how to recognize dependent libraries
configure:7033: result: pass_all
configure:7123: checking for dlltool
configure:7158: result: no
configure:7188: checking how to associate runtime and link libraries
configure:7216: result: printf %s\n
configure:7366: checking for archiver @FILE support
configure:7384: /usr/bin/cc -c -fPIC -g  conftest.c >&5
configure:7384: $? = 0
configure:7388: /usr/bin/ar cr libconftest.a @conftest.lst >&5
configure:7391: $? = 0
configure:7396: /usr/bin/ar cr libconftest.a @conftest.lst >&5
/usr/bin/ar: conftest.o: No such file or directory
configure:7399: $? = 1
configure:7411: result: @
configure:7474: checking for strip
configure:7506: result: /usr/bin/strip
configure:7583: checking for ranlib
configure:7615: result: /usr/bin/ranlib
configure:7717: checking command to parse /usr/bin/nm output from /usr/bin/cc object
configure:7871: /usr/bin/cc -c -fPIC -g  conftest.c >&5
configure:7874: $? = 0
configure:7878: /usr/bin/nm conftest.o | /usr/bin/sed -n -e 's/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[	 ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /usr/bin/sed '/ __gnu_lto/d' > conftest.nm
configure:7944: /usr/bin/cc -o conftest -fPIC -g  -L/home/gabe/Cemu/build/vcpkg_installed/x64-linux/debug/lib conftest.c conftstm.o >&5
configure:7947: $? = 0
configure:7985: result: ok
configure:8032: checking for sysroot
configure:8063: result: no
configure:8070: checking for a working dd
configure:8114: result: /usr/bin/dd
configure:8118: checking how to truncate binary pipes
configure:8134: result: /usr/bin/dd bs=4096 count=1
configure:8271: /usr/bin/cc -c -fPIC -g  conftest.c >&5
configure:8274: $? = 0
configure:8471: checking for mt
configure:8492: found /usr/bin/mt
configure:8503: result: mt
configure:8526: checking if mt is a manifest tool
configure:8533: mt '-?'
configure:8541: result: no
configure:9266: checking for stdio.h
configure:9266: /usr/bin/cc -c -fPIC -g  conftest.c >&5
configure:9266: $? = 0
configure:9266: result: yes
configure:9266: checking for stdlib.h
configure:9266: /usr/bin/cc -c -fPIC -g  conftest.c >&5
configure:9266: $? = 0
configure:9266: result: yes
configure:9266: checking for string.h
configure:9266: /usr/bin/cc -c -fPIC -g  conftest.c >&5
configure:9266: $? = 0
configure:9266: result: yes
configure:9266: checking for inttypes.h
configure:9266: /usr/bin/cc -c -fPIC -g  conftest.c >&5
configure:9266: $? = 0
configure:9266: result: yes
configure:9266: checking for stdint.h
configure:9266: /usr/bin/cc -c -fPIC -g  conftest.c >&5
configure:9266: $? = 0
configure:9266: result: yes
configure:9266: checking for strings.h
configure:9266: /usr/bin/cc -c -fPIC -g  conftest.c >&5
configure:9266: $? = 0
configure:9266: result: yes
configure:9266: checking for sys/stat.h
configure:9266: /usr/bin/cc -c -fPIC -g  conftest.c >&5
configure:9266: $? = 0
configure:9266: result: yes
configure:9266: checking for sys/types.h
configure:9266: /usr/bin/cc -c -fPIC -g  conftest.c >&5
configure:9266: $? = 0
configure:9266: result: yes
configure:9266: checking for unistd.h
configure:9266: /usr/bin/cc -c -fPIC -g  conftest.c >&5
configure:9266: $? = 0
configure:9266: result: yes
configure:9291: checking for dlfcn.h
configure:9291: /usr/bin/cc -c -fPIC -g  conftest.c >&5
configure:9291: $? = 0
configure:9291: result: yes
configure:9561: checking for objdir
configure:9577: result: .libs
configure:9841: checking if /usr/bin/cc supports -fno-rtti -fno-exceptions
configure:9860: /usr/bin/cc -c -fPIC -g  -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command-line option '-fno-rtti' is valid for C++/D/ObjC++ but not for C
configure:9864: $? = 0
configure:9877: result: no
configure:10241: checking for /usr/bin/cc option to produce PIC
configure:10249: result: -fPIC -DPIC
configure:10257: checking if /usr/bin/cc PIC flag -fPIC -DPIC works
configure:10276: /usr/bin/cc -c -fPIC -g  -fPIC -DPIC -DPIC conftest.c >&5
configure:10280: $? = 0
configure:10293: result: yes
configure:10322: checking if /usr/bin/cc static flag -static works
configure:10351: result: yes
configure:10366: checking if /usr/bin/cc supports -c -o file.o
configure:10388: /usr/bin/cc -c -fPIC -g  -o out/conftest2.o conftest.c >&5
configure:10392: $? = 0
configure:10414: result: yes
configure:10422: checking if /usr/bin/cc supports -c -o file.o
configure:10470: result: yes
configure:10503: checking whether the /usr/bin/cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
configure:11777: result: yes
configure:12018: checking dynamic linker characteristics
configure:12600: /usr/bin/cc -o conftest -fPIC -g  -L/home/gabe/Cemu/build/vcpkg_installed/x64-linux/debug/lib -Wl,-rpath -Wl,/foo conftest.c  >&5
configure:12600: $? = 0
configure:12851: result: GNU/Linux ld.so
configure:12973: checking how to hardcode library paths into programs
configure:12998: result: immediate
configure:13550: checking whether stripping libraries is possible
configure:13559: result: yes
configure:13601: checking if libtool supports shared libraries
configure:13603: result: yes
configure:13606: checking whether to build shared libraries
configure:13631: result: no
configure:13634: checking whether to build static libraries
configure:13638: result: yes
configure:13661: checking how to run the C++ preprocessor
configure:13683: /usr/bin/c++ -E  conftest.cpp
configure:13683: $? = 0
configure:13698: /usr/bin/c++ -E  conftest.cpp
conftest.cpp:23:10: fatal error: ac_nonexistent.h: No such file or directory
   23 | #include <ac_nonexistent.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:13698: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libusb-1.0"
| #define PACKAGE_TARNAME "libusb-1.0"
| #define PACKAGE_VERSION "1.0.27"
| #define PACKAGE_STRING "libusb-1.0 1.0.27"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL "https://libusb.info"
| #define PACKAGE "libusb-1.0"
| #define VERSION "1.0.27"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:13725: result: /usr/bin/c++ -E
configure:13739: /usr/bin/c++ -E  conftest.cpp
configure:13739: $? = 0
configure:13754: /usr/bin/c++ -E  conftest.cpp
conftest.cpp:23:10: fatal error: ac_nonexistent.h: No such file or directory
   23 | #include <ac_nonexistent.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:13754: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libusb-1.0"
| #define PACKAGE_TARNAME "libusb-1.0"
| #define PACKAGE_VERSION "1.0.27"
| #define PACKAGE_STRING "libusb-1.0 1.0.27"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL "https://libusb.info"
| #define PACKAGE "libusb-1.0"
| #define VERSION "1.0.27"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:13919: checking for ld used by /usr/bin/c++
configure:13987: result: /usr/bin/ld -m elf_x86_64
configure:13994: checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld
configure:14010: result: yes
configure:14065: checking whether the /usr/bin/c++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
configure:15143: result: yes
configure:15179: /usr/bin/c++ -c -fPIC -g  conftest.cpp >&5
configure:15182: $? = 0
configure:15663: checking for /usr/bin/c++ option to produce PIC
configure:15671: result: -fPIC -DPIC
configure:15679: checking if /usr/bin/c++ PIC flag -fPIC -DPIC works
configure:15698: /usr/bin/c++ -c -fPIC -g  -fPIC -DPIC -DPIC conftest.cpp >&5
configure:15702: $? = 0
configure:15715: result: yes
configure:15738: checking if /usr/bin/c++ static flag -static works
configure:15767: result: yes
configure:15779: checking if /usr/bin/c++ supports -c -o file.o
configure:15801: /usr/bin/c++ -c -fPIC -g  -o out/conftest2.o conftest.cpp >&5
configure:15805: $? = 0
configure:15827: result: yes
configure:15832: checking if /usr/bin/c++ supports -c -o file.o
configure:15880: result: yes
configure:15910: checking whether the /usr/bin/c++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
configure:15953: result: yes
configure:16095: checking dynamic linker characteristics
configure:16855: result: GNU/Linux ld.so
configure:16920: checking how to hardcode library paths into programs
configure:16945: result: immediate
configure:17054: checking for windres
configure:17089: result: no
configure:17204: checking whether make supports nested variables
configure:17222: result: yes
configure:17239: checking if /usr/bin/cc supports -std=gnu11
configure:17252: /usr/bin/cc -c -std=gnu11  conftest.c >&5
configure:17252: $? = 0
configure:17254: result: yes
configure:17304: checking operating system
configure:17339: result: Linux
configure:17396: checking for nfds_t
configure:17396: /usr/bin/cc -c -fPIC -g  conftest.c >&5
configure:17396: $? = 0
configure:17396: /usr/bin/cc -c -fPIC -g  conftest.c >&5
conftest.c: In function 'main':
conftest.c:32:21: error: expected expression before ')' token
   32 | if (sizeof ((nfds_t)))
      |                     ^
configure:17396: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libusb-1.0"
| #define PACKAGE_TARNAME "libusb-1.0"
| #define PACKAGE_VERSION "1.0.27"
| #define PACKAGE_STRING "libusb-1.0 1.0.27"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL "https://libusb.info"
| #define PACKAGE "libusb-1.0"
| #define VERSION "1.0.27"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define _GNU_SOURCE 1
| #define DEFAULT_VISIBILITY __attribute__ ((visibility ("default")))
| #define PRINTF_FORMAT(a, b) __attribute__ ((__format__ (__printf__, a, b)))
| #define PLATFORM_POSIX 1
| /* end confdefs.h.  */
| #include <poll.h>
| 
| int
| main (void)
| {
| if (sizeof ((nfds_t)))
| 	    return 0;
|   ;
|   return 0;
| }
configure:17396: result: yes
configure:17409: checking for pipe2
configure:17409: /usr/bin/cc -o conftest -fPIC -g  -L/home/gabe/Cemu/build/vcpkg_installed/x64-linux/debug/lib conftest.c  >&5
configure:17409: $? = 0
configure:17409: result: yes
configure:17419: checking if /usr/bin/cc recognizes -pthread
configure:17432: /usr/bin/cc -c -Wall -Werror -pthread  conftest.c >&5
configure:17432: $? = 0
configure:17434: result: yes
configure:17444: checking for library containing pthread_create
configure:17474: /usr/bin/cc -o conftest -fPIC -g  -L/home/gabe/Cemu/build/vcpkg_installed/x64-linux/debug/lib conftest.c  >&5
configure:17474: $? = 0
configure:17494: result: none required
configure:17504: checking whether __atomic_load_n is supported
configure:17518: /usr/bin/cc -o conftest -fPIC -g  -L/home/gabe/Cemu/build/vcpkg_installed/x64-linux/debug/lib conftest.c  >&5
configure:17518: $? = 0
configure:17526: result: yes
configure:17619: checking for library containing clock_gettime
configure:17649: /usr/bin/cc -o conftest -fPIC -g  -L/home/gabe/Cemu/build/vcpkg_installed/x64-linux/debug/lib conftest.c  >&5
configure:17649: $? = 0
configure:17669: result: none required
configure:17678: checking for pthread_setname_np
configure:17678: /usr/bin/cc -o conftest -fPIC -g  -L/home/gabe/Cemu/build/vcpkg_installed/x64-linux/debug/lib conftest.c  >&5
configure:17678: $? = 0
configure:17678: result: yes
configure:17694: checking for libudev.h
configure:17694: /usr/bin/cc -c -fPIC -g  conftest.c >&5
conftest.c:58:10: fatal error: libudev.h: No such file or directory
   58 | #include <libudev.h>
      |          ^~~~~~~~~~~
compilation terminated.
configure:17694: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libusb-1.0"
| #define PACKAGE_TARNAME "libusb-1.0"
| #define PACKAGE_VERSION "1.0.27"
| #define PACKAGE_STRING "libusb-1.0 1.0.27"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL "https://libusb.info"
| #define PACKAGE "libusb-1.0"
| #define VERSION "1.0.27"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define _GNU_SOURCE 1
| #define DEFAULT_VISIBILITY __attribute__ ((visibility ("default")))
| #define PRINTF_FORMAT(a, b) __attribute__ ((__format__ (__printf__, a, b)))
| #define PLATFORM_POSIX 1
| #define HAVE_NFDS_T 1
| #define HAVE_PIPE2 1
| #define HAVE_PTHREAD_SETNAME_NP 1
| /* end confdefs.h.  */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <libudev.h>
configure:17694: result: no
configure:17699: error: udev support requested but libudev header not installed

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_c_inline=inline
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/usr/bin/cc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-fPIC -g'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-fPIC -g'
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=/usr/bin/c++
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=-L/home/gabe/Cemu/build/vcpkg_installed/x64-linux/debug/lib
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=set
ac_cv_env_PKG_CONFIG_PATH_value=/home/gabe/Cemu/dependencies/vcpkg/packages/libusb_x64-linux/debug/lib/pkgconfig:/home/gabe/Cemu/dependencies/vcpkg/packages/libusb_x64-linux/share/pkgconfig:/home/gabe/Cemu/build/vcpkg_installed/x64-linux/debug/lib/pkgconfig:/home/gabe/Cemu/build/vcpkg_installed/x64-linux/share/pkgconfig
ac_cv_env_PKG_CONFIG_set=set
ac_cv_env_PKG_CONFIG_value=/bin/pkg-config
ac_cv_env_UMOCKDEV_CFLAGS_set=
ac_cv_env_UMOCKDEV_CFLAGS_value=
ac_cv_env_UMOCKDEV_HOTPLUG_CFLAGS_set=
ac_cv_env_UMOCKDEV_HOTPLUG_CFLAGS_value=
ac_cv_env_UMOCKDEV_HOTPLUG_LIBS_set=
ac_cv_env_UMOCKDEV_HOTPLUG_LIBS_value=
ac_cv_env_UMOCKDEV_LIBS_set=
ac_cv_env_UMOCKDEV_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_pipe2=yes
ac_cv_func_pthread_setname_np=yes
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_libudev_h=no
ac_cv_header_stdint_h=yes
ac_cv_header_stdio_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_FGREP='/usr/bin/grep -F'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_lt_DD=/usr/bin/dd
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=mawk
ac_cv_prog_CXXCPP='/usr/bin/c++ -E'
ac_cv_prog_ac_ct_CC=/usr/bin/cc
ac_cv_prog_ac_ct_FILECMD=file
ac_cv_prog_ac_ct_MANIFEST_TOOL=mt
ac_cv_prog_ac_ct_OBJDUMP=/usr/bin/objdump
ac_cv_prog_ac_ct_RANLIB=/usr/bin/ranlib
ac_cv_prog_ac_ct_STRIP=/usr/bin/strip
ac_cv_prog_cc_c11=
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_cxx11=
ac_cv_prog_cxx_g=yes
ac_cv_prog_cxx_stdcxx=
ac_cv_prog_make_make_set=yes
ac_cv_search_clock_gettime='none required'
ac_cv_search_pthread_create='none required'
ac_cv_type_nfds_t=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
lt_cv_ar_at_file=@
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/bin/ld
lt_cv_path_LDCXX='/usr/bin/ld -m elf_x86_64'
lt_cv_path_NM=/usr/bin/nm
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_c_o_CXX=yes
lt_cv_prog_compiler_c_o_RC=yes
lt_cv_prog_compiler_pic='-fPIC -DPIC'
lt_cv_prog_compiler_pic_CXX='-fPIC -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_pic_works_CXX=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_compiler_static_works_CXX=yes
lt_cv_prog_gnu_ld=yes
lt_cv_prog_gnu_ldcxx=yes
lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
lt_cv_shlibpath_overrides_runpath=yes
lt_cv_sys_global_symbol_pipe='/usr/bin/sed -n -e '\''s/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[	 ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | /usr/bin/sed '\''/ __gnu_lto/d'\'''
lt_cv_sys_global_symbol_to_c_name_address='/usr/bin/sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/  {"\1", (void *) \&\1},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='/usr/bin/sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/  {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/  {"lib\1", (void *) \&\1},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='/usr/bin/sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_global_symbol_to_import=
lt_cv_sys_max_cmd_len=1572864
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop
lt_cv_truncate_bin='/usr/bin/dd bs=4096 count=1'

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} '\''/home/gabe/Cemu/dependencies/vcpkg/buildtrees/libusb/src/v1.0.27-b8650a8dbc.clean/missing'\'' aclocal-1.16'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_CFLAGS=''
AM_CPPFLAGS=''
AM_CXXFLAGS=''
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_LDFLAGS=''
AM_V='$(V)'
AR='/usr/bin/ar'
AUTOCONF='${SHELL} '\''/home/gabe/Cemu/dependencies/vcpkg/buildtrees/libusb/src/v1.0.27-b8650a8dbc.clean/missing'\'' autoconf'
AUTOHEADER='${SHELL} '\''/home/gabe/Cemu/dependencies/vcpkg/buildtrees/libusb/src/v1.0.27-b8650a8dbc.clean/missing'\'' autoheader'
AUTOMAKE='${SHELL} '\''/home/gabe/Cemu/dependencies/vcpkg/buildtrees/libusb/src/v1.0.27-b8650a8dbc.clean/missing'\'' automake-1.16'
AWK='mawk'
BUILD_EXAMPLES_FALSE=''
BUILD_EXAMPLES_TRUE=''
BUILD_TESTS_FALSE=''
BUILD_TESTS_TRUE=''
BUILD_UMOCKDEV_TEST_FALSE=''
BUILD_UMOCKDEV_TEST_TRUE=''
CC='/usr/bin/cc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-fPIC -g'
CPPFLAGS=''
CREATE_IMPORT_LIB_FALSE=''
CREATE_IMPORT_LIB_TRUE=''
CSCOPE='cscope'
CTAGS='ctags'
CXX='/usr/bin/c++'
CXXCPP='/usr/bin/c++ -E'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-fPIC -g'
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DLLTOOL='false'
DOXYGEN_HTMLDIR=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/grep -E'
ETAGS='etags'
EXEEXT=''
EXTRA_LDFLAGS=''
FGREP='/usr/bin/grep -F'
FILECMD='file'
GREP='/usr/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='/usr/bin/ld -m elf_x86_64'
LDFLAGS='-L/home/gabe/Cemu/build/vcpkg_installed/x64-linux/debug/lib'
LIBOBJS=''
LIBS=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
LT_LDFLAGS='-version-info 4:0:4 -no-undefined'
LT_SYS_LIBRARY_PATH=''
MAKEINFO='${SHELL} '\''/home/gabe/Cemu/dependencies/vcpkg/buildtrees/libusb/src/v1.0.27-b8650a8dbc.clean/missing'\'' makeinfo'
MANIFEST_TOOL=':'
MKDIR_P='/usr/bin/mkdir -p'
NM='/usr/bin/nm'
NMEDIT=''
OBJDUMP='/usr/bin/objdump'
OBJEXT='o'
OS_DARWIN_FALSE=''
OS_DARWIN_TRUE=''
OS_EMSCRIPTEN_FALSE=''
OS_EMSCRIPTEN_TRUE=''
OS_HAIKU_FALSE=''
OS_HAIKU_TRUE=''
OS_LINUX_FALSE=''
OS_LINUX_TRUE=''
OS_NETBSD_FALSE=''
OS_NETBSD_TRUE=''
OS_NULL_FALSE=''
OS_NULL_TRUE=''
OS_OPENBSD_FALSE=''
OS_OPENBSD_TRUE=''
OS_SUNOS_FALSE=''
OS_SUNOS_TRUE=''
OS_WINDOWS_FALSE=''
OS_WINDOWS_TRUE=''
OTOOL64=''
OTOOL=''
PACKAGE='libusb-1.0'
PACKAGE_BUGREPORT='[email protected]'
PACKAGE_NAME='libusb-1.0'
PACKAGE_STRING='libusb-1.0 1.0.27'
PACKAGE_TARNAME='libusb-1.0'
PACKAGE_URL='https://libusb.info'
PACKAGE_VERSION='1.0.27'
PATH_SEPARATOR=':'
PKG_CONFIG='/bin/pkg-config'
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH='/home/gabe/Cemu/dependencies/vcpkg/packages/libusb_x64-linux/debug/lib/pkgconfig:/home/gabe/Cemu/dependencies/vcpkg/packages/libusb_x64-linux/share/pkgconfig:/home/gabe/Cemu/build/vcpkg_installed/x64-linux/debug/lib/pkgconfig:/home/gabe/Cemu/build/vcpkg_installed/x64-linux/share/pkgconfig'
PLATFORM_POSIX_FALSE=''
PLATFORM_POSIX_TRUE=''
PLATFORM_WINDOWS_FALSE=''
PLATFORM_WINDOWS_TRUE=''
RANLIB='/usr/bin/ranlib'
RC=''
SED='/usr/bin/sed'
SET_MAKE=''
SHELL='/bin/bash'
STRIP='/usr/bin/strip'
THREAD_CFLAGS='-pthread'
THREAD_LIBS=''
UMOCKDEV_CFLAGS=''
UMOCKDEV_HOTPLUG_CFLAGS=''
UMOCKDEV_HOTPLUG_LIBS=''
UMOCKDEV_LIBS=''
USE_UDEV_FALSE=''
USE_UDEV_TRUE=''
VERSION='1.0.27'
ac_ct_AR=''
ac_ct_CC='/usr/bin/cc'
ac_ct_CXX=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=' -I$(srcdir)'
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${prefix}/../tools/libusb/debug/bin'
build='x86_64-pc-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share/libusb'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-pc-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/../include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/gabe/Cemu/dependencies/vcpkg/buildtrees/libusb/src/v1.0.27-b8650a8dbc.clean/install-sh'
libdir='${prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/home/gabe/Cemu/build/vcpkg_installed/x64-linux/debug'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${prefix}/../tools/libusb/debug/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "libusb-1.0"
#define PACKAGE_TARNAME "libusb-1.0"
#define PACKAGE_VERSION "1.0.27"
#define PACKAGE_STRING "libusb-1.0 1.0.27"
#define PACKAGE_BUGREPORT "[email protected]"
#define PACKAGE_URL "https://libusb.info"
#define PACKAGE "libusb-1.0"
#define VERSION "1.0.27"
#define HAVE_STDIO_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_STRINGS_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define STDC_HEADERS 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define _GNU_SOURCE 1
#define DEFAULT_VISIBILITY __attribute__ ((visibility ("default")))
#define PRINTF_FORMAT(a, b) __attribute__ ((__format__ (__printf__, a, b)))
#define PLATFORM_POSIX 1
#define HAVE_NFDS_T 1
#define HAVE_PIPE2 1
#define HAVE_PTHREAD_SETNAME_NP 1

configure: exit 1

Additional context

vcpkg.json
{
  "name": "cemu",
  "version-string": "1.0",
  "builtin-baseline": "a4275b7eee79fb24ec2e135481ef5fce8b41c339",
  "dependencies": [
    "pugixml",
    "zlib",
    "zstd",
    {
      "name": "libzip",
      "default-features": false
    },
    "rapidjson",
    "sdl2",
    "boost-tokenizer",
    "boost-container",
    "boost-program-options",
    "boost-nowide",
    "boost-algorithm",
    "boost-functional",
    "boost-optional",
    "boost-signals2",
    "boost-asio",
    "boost-ptr-container",
    "boost-property-tree",
    "boost-static-string",
    "boost-random",
    "fmt",
    "hidapi",
    "libpng",
    "glm",
    {
      "name": "glslang",
      "default-features": false
    },
    "zstd",
    {
      "name": "wxwidgets",
      "default-features": false
    },
    "openssl",
    {
      "name": "curl",
      "default-features": false,
      "features": [
        "openssl"
      ]
    },
    {
      "name": "dbus",
      "default-features": false,
      "platform": "linux"
    },
    {
      "name": "tiff",
      "default-features": false,
      "features": [
        "jpeg",
        "zip"
      ]
    },
    "libusb"
  ],
  "overrides": [
    {
      "name": "sdl2",
      "version": "2.30.3"
    }
  ]
}

@Mengna-Li
Copy link
Contributor

Please try this:

libusb currently requires the following tools and libraries from the system package manager:
    autoreconf
    libudev

These can be installed on Ubuntu systems via apt-get install autoconf libudev-dev

@Mengna-Li Mengna-Li added the requires:repro The issue is not currently repro-able label Jan 7, 2025
@pkmnabcd
Copy link
Author

pkmnabcd commented Jan 8, 2025

I was able to install those packages and finish the third step in building, but then when I ran cmake --build build, I hit 20 errors and it wasn't able to finish building.

I think this is the first error:

[95/532] Building CXX object src/Cafe/CMakeFiles/CemuCafe.dir/cmake_pch.hxx.pch
FAILED: src/Cafe/CMakeFiles/CemuCafe.dir/cmake_pch.hxx.pch 
/usr/bin/clang++-15 -DBOOST_NOWIDE_NO_LIB -DCURL_STATICLIB -DEMULATOR_HASH=92021db -DEMULATOR_VERSION_MAJOR=0 -DEMULATOR_VERSION_MINOR=0 -DEMULATOR_VERSION_PATCH=0 -DENABLE_DISCORD_RPC -DENABLE_FERAL_GAMEMODE -DHAS_BLUEZ -DHAS_CUBEB=1 -DHAS_HIDAPI -DHAS_WAYLAND -DNSYSHID_ENABLE_BACKEND_LIBUSB -DSUPPORTS_WIIMOTE -DVK_NO_PROTOTYPES -DVK_USE_PLATFORM_WAYLAND_KHR -DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_XLIB_KHR -D_FILE_OFFSET_BITS=64 -D_UNICODE -D__WXGTK3__ -D__WXGTK__ -I/home/gabe/Cemu/build/src/Cafe -I/home/gabe/Cemu/src/Cafe -I/home/gabe/Cemu/dependencies/Vulkan-Headers/include -I/home/gabe/Cemu/src/Cafe/.. -I/home/gabe/Cemu/src/audio/.. -I/home/gabe/Cemu/src/Common/.. -I/home/gabe/Cemu/src/Cemu/.. -I/home/gabe/Cemu/src/config/.. -I/home/gabe/Cemu/src/gui/.. -I/home/gabe/Cemu/build/vcpkg_installed/x64-linux/share/rapidjson/../../include -I/home/gabe/Cemu/src/input/.. -I/home/gabe/Cemu/src/resource/.. -I/home/gabe/Cemu/src/util/.. -I/home/gabe/Cemu/src/imgui/.. -I/home/gabe/Cemu/src/imgui/../../dependencies/imgui -I/home/gabe/Cemu/dependencies/ZArchive/include -isystem /home/gabe/Cemu/dependencies/cubeb/include -isystem /home/gabe/Cemu/build/exports -isystem /home/gabe/Cemu/build/vcpkg_installed/x64-linux/lib/wx/include/gtk3-unicode-static-3.2 -isystem /home/gabe/Cemu/build/vcpkg_installed/x64-linux/include/wx-3.2 -isystem /home/gabe/Cemu/build/vcpkg_installed/x64-linux/include -isystem /usr/include/gtk-3.0 -isystem /usr/include/pango-1.0 -isystem /usr/include/glib-2.0 -isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem /home/gabe/Cemu/build/vcpkg_installed/x64-linux/lib/pkgconfig/../../include -isystem /usr/include/harfbuzz -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/fribidi -isystem /usr/include/cairo -isystem /usr/include/pixman-1 -isystem /usr/include/gdk-pixbuf-2.0 -isystem /usr/include/gio-unix-2.0 -isystem /usr/include/atk-1.0 -isystem /usr/include/at-spi2-atk/2.0 -isystem /usr/include/at-spi-2.0 -isystem /home/gabe/Cemu/build/vcpkg_installed/x64-linux/lib/pkgconfig/../../include/dbus-1.0 -isystem /home/gabe/Cemu/build/vcpkg_installed/x64-linux/lib/pkgconfig/../../lib/dbus-1.0/include -isystem /home/gabe/Cemu/build/vcpkg_installed/x64-linux/lib/pkgconfig/../../include/libusb-1.0 -O3 -DNDEBUG -std=gnu++20 -flto=thin -Wno-ambiguous-reversed-operator -Wno-multichar -Wno-invalid-offsetof -Wno-switch -Wno-ignored-attributes -Wno-deprecated-enum-enum-conversion -DXML_STATIC -pthread -Winvalid-pch -fpch-instantiate-templates -Xclang -emit-pch -Xclang -include -Xclang /home/gabe/Cemu/build/src/Cafe/CMakeFiles/CemuCafe.dir/cmake_pch.hxx -x c++-header -MD -MT src/Cafe/CMakeFiles/CemuCafe.dir/cmake_pch.hxx.pch -MF src/Cafe/CMakeFiles/CemuCafe.dir/cmake_pch.hxx.pch.d -o src/Cafe/CMakeFiles/CemuCafe.dir/cmake_pch.hxx.pch -c /home/gabe/Cemu/build/src/Cafe/CMakeFiles/CemuCafe.dir/cmake_pch.hxx.cxx
In file included from <built-in>:1:
In file included from /home/gabe/Cemu/build/src/Cafe/CMakeFiles/CemuCafe.dir/cmake_pch.hxx:5:
In file included from /home/gabe/Cemu/src/Common/precompiled.h:10:
In file included from /home/gabe/Cemu/build/vcpkg_installed/x64-linux/include/fmt/core.h:14:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/iterator:61:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/stl_iterator_base_types.h:71:
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/iterator_concepts.h:1013:13: error: no matching function for call to '__begin'
        = decltype(ranges::__access::__begin(std::declval<_Tp&>()));
                   ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/ranges_base.h:511:5: note: in instantiation of template type alias '__range_iter_t' requested here
    using iterator_t = std::__detail::__range_iter_t<_Tp>;
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/ranges_util.h:132:36: note: in instantiation of template type alias 'iterator_t' requested here
      requires contiguous_iterator<iterator_t<_Derived>>
                                   ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/ranges_util.h:262:29: note: in instantiation of template class 'std::ranges::view_interface<std::ranges::subrange<const wchar_t *, const wchar_t *, std::ranges::subrange_kind::sized>>' requested here
    class subrange : public view_interface<subrange<_It, _Sent, _Kind>>
                            ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/iterator_concepts.h:979:22: note: in instantiation of template class 'std::ranges::subrange<const wchar_t *, const wchar_t *, std::ranges::subrange_kind::sized>' requested here
          { __decay_copy(__t.begin()) } -> input_or_output_iterator;
                            ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/iterator_concepts.h:979:6: note: in instantiation of requirement here
          { __decay_copy(__t.begin()) } -> input_or_output_iterator;
            ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/iterator_concepts.h:977:32: note: (skipping 11 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
      concept __member_begin = requires(_Tp& __t)
                               ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/unicode.h:591:5: note: while checking constraint satisfaction for template '_Utf_view<char32_t, std::ranges::subrange<const wchar_t *, const wchar_t *, std::ranges::subrange_kind::sized>>' required here
    using _Utf32_view = _Utf_view<char32_t, _View>;
    ^~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/format:439:3: note: in instantiation of template type alias '_Utf32_view' requested here
                _Utf32_view<ranges::subrange<iterator>> __uv({__first, __last});
                ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/format:974:19: note: in instantiation of member function 'std::__format::_Spec<wchar_t>::_M_parse_fill_and_align' requested here
        __first = __spec._M_parse_fill_and_align(__first, __last);
                         ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/format:1073:21: note: in instantiation of member function 'std::__format::__formatter_int<wchar_t>::_M_do_parse' requested here
              auto __end = _M_do_parse(__pc, _AsChar);
                           ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/format:1899:14: note: in instantiation of function template specialization 'std::__format::__formatter_int<wchar_t>::_M_parse<char>' requested here
        return _M_f._M_parse<char>(__pc);
                    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/iterator_concepts.h:997:7: note: candidate template ignored: constraints not satisfied [with _Tp = std::ranges::subrange<const wchar_t *, const wchar_t *, std::ranges::subrange_kind::sized>]
      __begin(_Tp& __t)
      ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/iterator_concepts.h:995:16: note: because 'is_array_v<std::ranges::subrange<const wchar_t *, const wchar_t *, std::ranges::subrange_kind::sized> >' evaluated to false
      requires is_array_v<_Tp> || __member_begin<_Tp&> || __adl_begin<_Tp&>
               ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/iterator_concepts.h:995:35: note: and 'std::ranges::subrange<const wchar_t *, const wchar_t *, std::ranges::subrange_kind::sized> &' does not satisfy '__member_begin'
      requires is_array_v<_Tp> || __member_begin<_Tp&> || __adl_begin<_Tp&>
                                  ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/iterator_concepts.h:979:23: note: because '__decay_copy(__t.begin())' would be invalid: no member named 'begin' in 'std::ranges::subrange<const wchar_t *, const wchar_t *, std::ranges::subrange_kind::sized>'
          { __decay_copy(__t.begin()) } -> input_or_output_iterator;
                             ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/iterator_concepts.h:995:59: note: and 'std::ranges::subrange<const wchar_t *, const wchar_t *, std::ranges::subrange_kind::sized> &' does not satisfy '__adl_begin'
      requires is_array_v<_Tp> || __member_begin<_Tp&> || __adl_begin<_Tp&>
                                                          ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/iterator_concepts.h:989:19: note: because '__decay_copy(begin(__t))' would be invalid: no matching function for call to 'begin'
          { __decay_copy(begin(__t)) } -> input_or_output_iterator;
                         ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/iterator_concepts.h:1013:13: error: no matching function for call to '__begin'
        = decltype(ranges::__access::__begin(std::declval<_Tp&>()));
                   ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/ranges_base.h:511:5: note: in instantiation of template type alias '__range_iter_t' requested here
    using iterator_t = std::__detail::__range_iter_t<_Tp>;
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/ranges_util.h:138:25: note: in instantiation of template type alias 'iterator_t' requested here
        && contiguous_iterator<iterator_t<const _Derived>>
                               ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/ranges_util.h:262:29: note: in instantiation of template class 'std::ranges::view_interface<std::ranges::subrange<const wchar_t *, const wchar_t *, std::ranges::subrange_kind::sized>>' requested here
    class subrange : public view_interface<subrange<_It, _Sent, _Kind>>
                            ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/iterator_concepts.h:979:22: note: in instantiation of template class 'std::ranges::subrange<const wchar_t *, const wchar_t *, std::ranges::subrange_kind::sized>' requested here
          { __decay_copy(__t.begin()) } -> input_or_output_iterator;
                            ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/iterator_concepts.h:979:6: note: in instantiation of requirement here
          { __decay_copy(__t.begin()) } -> input_or_output_iterator;
            ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/iterator_concepts.h:977:32: note: (skipping 11 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
      concept __member_begin = requires(_Tp& __t)
                               ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/unicode.h:591:5: note: while checking constraint satisfaction for template '_Utf_view<char32_t, std::ranges::subrange<const wchar_t *, const wchar_t *, std::ranges::subrange_kind::sized>>' required here
    using _Utf32_view = _Utf_view<char32_t, _View>;
    ^~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/format:439:3: note: in instantiation of template type alias '_Utf32_view' requested here
                _Utf32_view<ranges::subrange<iterator>> __uv({__first, __last});
                ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/format:974:19: note: in instantiation of member function 'std::__format::_Spec<wchar_t>::_M_parse_fill_and_align' requested here
        __first = __spec._M_parse_fill_and_align(__first, __last);
                         ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/format:1073:21: note: in instantiation of member function 'std::__format::__formatter_int<wchar_t>::_M_do_parse' requested here
              auto __end = _M_do_parse(__pc, _AsChar);
                           ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/format:1899:14: note: in instantiation of function template specialization 'std::__format::__formatter_int<wchar_t>::_M_parse<char>' requested here
        return _M_f._M_parse<char>(__pc);
                    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/iterator_concepts.h:997:7: note: candidate template ignored: constraints not satisfied [with _Tp = const std::ranges::subrange<const wchar_t *, const wchar_t *, std::ranges::subrange_kind::sized>]
      __begin(_Tp& __t)
      ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/iterator_concepts.h:995:16: note: because 'is_array_v<const std::ranges::subrange<const wchar_t *, const wchar_t *, std::ranges::subrange_kind::sized> >' evaluated to false
      requires is_array_v<_Tp> || __member_begin<_Tp&> || __adl_begin<_Tp&>
               ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/iterator_concepts.h:995:35: note: and 'const std::ranges::subrange<const wchar_t *, const wchar_t *, std::ranges::subrange_kind::sized> &' does not satisfy '__member_begin'
      requires is_array_v<_Tp> || __member_begin<_Tp&> || __adl_begin<_Tp&>
                                  ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/iterator_concepts.h:979:23: note: because '__decay_copy(__t.begin())' would be invalid: no member named 'begin' in 'std::ranges::subrange<const wchar_t *, const wchar_t *, std::ranges::subrange_kind::sized>'
          { __decay_copy(__t.begin()) } -> input_or_output_iterator;
                             ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/iterator_concepts.h:995:59: note: and 'const std::ranges::subrange<const wchar_t *, const wchar_t *, std::ranges::subrange_kind::sized> &' does not satisfy '__adl_begin'
      requires is_array_v<_Tp> || __member_begin<_Tp&> || __adl_begin<_Tp&>
                                                          ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/iterator_concepts.h:989:19: note: because '__decay_copy(begin(__t))' would be invalid: no matching function for call to 'begin'
          { __decay_copy(begin(__t)) } -> input_or_output_iterator;
                         ^

@Mengna-Li
Copy link
Contributor

@pkmnabcd Can you provide the full failure log? Thanks.

@pkmnabcd
Copy link
Author

pkmnabcd commented Jan 9, 2025

Yes, the full log is attached.big_error_log.txt

@dg0yt
Copy link
Contributor

dg0yt commented Jan 9, 2025

The error is unrelated to vcpkg ports.

@pkmnabcd
Copy link
Author

Dang, what might it be related to?

@dg0yt
Copy link
Contributor

dg0yt commented Jan 10, 2025

Your C++ code needs work. You must seek help elsewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires:repro The issue is not currently repro-able
Projects
None yet
Development

No branches or pull requests

3 participants