* Package: sys-fs/jmtpfs-0.5-r1:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking jmtpfs-0.5.tar.gz to /var/tmp/portage/sys-fs/jmtpfs-0.5-r1/work >>> Source unpacked in /var/tmp/portage/sys-fs/jmtpfs-0.5-r1/work >>> Preparing source in /var/tmp/portage/sys-fs/jmtpfs-0.5-r1/work/jmtpfs-0.5 ... * Running eautoreconf in '/var/tmp/portage/sys-fs/jmtpfs-0.5-r1/work/jmtpfs-0.5' ... * Running 'aclocal --system-acdir=/var/tmp/portage/sys-fs/jmtpfs-0.5-r1/temp/aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'automake --add-missing --copy --force-missing' ... [ ok ] * Running elibtoolize in: jmtpfs-0.5/ >>> Source prepared. * Modern C testing: this build is using a /etc/portage/bashrc hook (2023-11-30T22:24)! * Modern C testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>> Configuring source in /var/tmp/portage/sys-fs/jmtpfs-0.5-r1/work/jmtpfs-0.5 ... * econf: updating jmtpfs-0.5/config.guess with /usr/share/gnuconfig/config.guess * econf: updating jmtpfs-0.5/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/jmtpfs-0.5-r1 --htmldir=/usr/share/doc/jmtpfs-0.5-r1/html --libdir=/usr/lib64 configure: loading site script /usr/share/config.site configure: loading site script /usr/share/config.site.d/80crossdev.conf checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes 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 clang++ accepts -g... yes checking for clang++ option to enable C++11 features... none needed checking whether make supports the include directive... yes (GNU style) checking dependency style of clang++... none checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for libmtp >= 1.1.0... yes checking for fuse >= 2.6... yes checking for x86_64-pc-linux-gnu-gcc... clang checking whether the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C11 features... none needed checking whether clang understands -c and -o together... yes checking dependency style of clang... none checking for magic_open in -lmagic... yes 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 magic.h... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: executing depfiles commands >>> Source configured. '/var/tmp/portage/sys-fs/jmtpfs-0.5-r1/temp/clang16-errors.log' -> '/var/tmp/clang/sys-fs/jmtpfs-0.5-r1/clang16-errors.log' '/var/tmp/portage/sys-fs/jmtpfs-0.5-r1/temp/clang16-safe.log' -> '/var/tmp/clang/sys-fs/jmtpfs-0.5-r1/clang16-safe.log' >>> Compiling source in /var/tmp/portage/sys-fs/jmtpfs-0.5-r1/work/jmtpfs-0.5 ... make -j4 Making all in src make[1]: Entering directory '/var/tmp/portage/sys-fs/jmtpfs-0.5-r1/work/jmtpfs-0.5/src' clang++ -DPACKAGE_NAME=\"jmtpfs\" -DPACKAGE_TARNAME=\"jmtpfs\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"jmtpfs\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"jmtpfs\" -DVERSION=\"1.0\" -DHAVE_LIBMAGIC=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MAGIC_H=1 -I. -I/usr/include/libusb-1.0 -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -fno-diagnostics-color -std=c++0x -c -o jmtpfs-jmtpfs.o `test -f 'jmtpfs.cpp' || echo './'`jmtpfs.cpp clang++ -DPACKAGE_NAME=\"jmtpfs\" -DPACKAGE_TARNAME=\"jmtpfs\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"jmtpfs\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"jmtpfs\" -DVERSION=\"1.0\" -DHAVE_LIBMAGIC=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MAGIC_H=1 -I. -I/usr/include/libusb-1.0 -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -fno-diagnostics-color -std=c++0x -c -o jmtpfs-MtpDevice.o `test -f 'MtpDevice.cpp' || echo './'`MtpDevice.cpp clang++ -DPACKAGE_NAME=\"jmtpfs\" -DPACKAGE_TARNAME=\"jmtpfs\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"jmtpfs\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"jmtpfs\" -DVERSION=\"1.0\" -DHAVE_LIBMAGIC=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MAGIC_H=1 -I. -I/usr/include/libusb-1.0 -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -fno-diagnostics-color -std=c++0x -c -o jmtpfs-ConnectedMtpDevices.o `test -f 'ConnectedMtpDevices.cpp' || echo './'`ConnectedMtpDevices.cpp clang++ -DPACKAGE_NAME=\"jmtpfs\" -DPACKAGE_TARNAME=\"jmtpfs\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"jmtpfs\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"jmtpfs\" -DVERSION=\"1.0\" -DHAVE_LIBMAGIC=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MAGIC_H=1 -I. -I/usr/include/libusb-1.0 -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -fno-diagnostics-color -std=c++0x -c -o jmtpfs-Mutex.o `test -f 'Mutex.cpp' || echo './'`Mutex.cpp clang++ -DPACKAGE_NAME=\"jmtpfs\" -DPACKAGE_TARNAME=\"jmtpfs\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"jmtpfs\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"jmtpfs\" -DVERSION=\"1.0\" -DHAVE_LIBMAGIC=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MAGIC_H=1 -I. -I/usr/include/libusb-1.0 -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -fno-diagnostics-color -std=c++0x -c -o jmtpfs-MtpFilesystemPath.o `test -f 'MtpFilesystemPath.cpp' || echo './'`MtpFilesystemPath.cpp clang++ -DPACKAGE_NAME=\"jmtpfs\" -DPACKAGE_TARNAME=\"jmtpfs\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"jmtpfs\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"jmtpfs\" -DVERSION=\"1.0\" -DHAVE_LIBMAGIC=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MAGIC_H=1 -I. -I/usr/include/libusb-1.0 -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -fno-diagnostics-color -std=c++0x -c -o jmtpfs-MtpMetadataCache.o `test -f 'MtpMetadataCache.cpp' || echo './'`MtpMetadataCache.cpp clang++ -DPACKAGE_NAME=\"jmtpfs\" -DPACKAGE_TARNAME=\"jmtpfs\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"jmtpfs\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"jmtpfs\" -DVERSION=\"1.0\" -DHAVE_LIBMAGIC=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MAGIC_H=1 -I. -I/usr/include/libusb-1.0 -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -fno-diagnostics-color -std=c++0x -c -o jmtpfs-MtpNode.o `test -f 'MtpNode.cpp' || echo './'`MtpNode.cpp clang++ -DPACKAGE_NAME=\"jmtpfs\" -DPACKAGE_TARNAME=\"jmtpfs\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"jmtpfs\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"jmtpfs\" -DVERSION=\"1.0\" -DHAVE_LIBMAGIC=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MAGIC_H=1 -I. -I/usr/include/libusb-1.0 -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -fno-diagnostics-color -std=c++0x -c -o jmtpfs-MtpRoot.o `test -f 'MtpRoot.cpp' || echo './'`MtpRoot.cpp clang++ -DPACKAGE_NAME=\"jmtpfs\" -DPACKAGE_TARNAME=\"jmtpfs\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"jmtpfs\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"jmtpfs\" -DVERSION=\"1.0\" -DHAVE_LIBMAGIC=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MAGIC_H=1 -I. -I/usr/include/libusb-1.0 -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -fno-diagnostics-color -std=c++0x -c -o jmtpfs-MtpLibLock.o `test -f 'MtpLibLock.cpp' || echo './'`MtpLibLock.cpp clang++ -DPACKAGE_NAME=\"jmtpfs\" -DPACKAGE_TARNAME=\"jmtpfs\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"jmtpfs\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"jmtpfs\" -DVERSION=\"1.0\" -DHAVE_LIBMAGIC=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MAGIC_H=1 -I. -I/usr/include/libusb-1.0 -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -fno-diagnostics-color -std=c++0x -c -o jmtpfs-MtpStorage.o `test -f 'MtpStorage.cpp' || echo './'`MtpStorage.cpp clang++ -DPACKAGE_NAME=\"jmtpfs\" -DPACKAGE_TARNAME=\"jmtpfs\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"jmtpfs\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"jmtpfs\" -DVERSION=\"1.0\" -DHAVE_LIBMAGIC=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MAGIC_H=1 -I. -I/usr/include/libusb-1.0 -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -fno-diagnostics-color -std=c++0x -c -o jmtpfs-MtpFolder.o `test -f 'MtpFolder.cpp' || echo './'`MtpFolder.cpp clang++ -DPACKAGE_NAME=\"jmtpfs\" -DPACKAGE_TARNAME=\"jmtpfs\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"jmtpfs\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"jmtpfs\" -DVERSION=\"1.0\" -DHAVE_LIBMAGIC=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MAGIC_H=1 -I. -I/usr/include/libusb-1.0 -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -fno-diagnostics-color -std=c++0x -c -o jmtpfs-MtpFile.o `test -f 'MtpFile.cpp' || echo './'`MtpFile.cpp clang++ -DPACKAGE_NAME=\"jmtpfs\" -DPACKAGE_TARNAME=\"jmtpfs\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"jmtpfs\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"jmtpfs\" -DVERSION=\"1.0\" -DHAVE_LIBMAGIC=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MAGIC_H=1 -I. -I/usr/include/libusb-1.0 -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -fno-diagnostics-color -std=c++0x -c -o jmtpfs-TemporaryFile.o `test -f 'TemporaryFile.cpp' || echo './'`TemporaryFile.cpp clang++ -DPACKAGE_NAME=\"jmtpfs\" -DPACKAGE_TARNAME=\"jmtpfs\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"jmtpfs\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"jmtpfs\" -DVERSION=\"1.0\" -DHAVE_LIBMAGIC=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MAGIC_H=1 -I. -I/usr/include/libusb-1.0 -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -fno-diagnostics-color -std=c++0x -c -o jmtpfs-MtpLocalFileCopy.o `test -f 'MtpLocalFileCopy.cpp' || echo './'`MtpLocalFileCopy.cpp In file included from TemporaryFile.cpp:22: ./mtpFilesystemErrors.h:46:61: error: implicit instantiation of undefined template 'std::basic_string' 46 | FileNotFound(const std::string& what) : MtpFilesystemError(std::string("... | ^ /usr/include/c++/v1/__fwd/string.h:46:28: note: template is declared here 46 | class _LIBCPP_TEMPLATE_VIS basic_string; | ^ In file included from TemporaryFile.cpp:22: ./mtpFilesystemErrors.h:46:93: error: invalid operands to binary expression ('std::string' (aka 'basic_string') and 'const std::string' (aka 'const basic_string')) 46 | ...what) : MtpFilesystemError(std::string("File not found: ") + what) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~ ./mtpFilesystemErrors.h:54:63: error: implicit instantiation of undefined template 'std::basic_string' 54 | NotImplemented(const std::string& what) : MtpFilesystemError(std::string... | ^ /usr/include/c++/v1/__fwd/string.h:46:28: note: template is declared here 46 | class _LIBCPP_TEMPLATE_VIS basic_string; | ^ In file included from TemporaryFile.cpp:22: ./mtpFilesystemErrors.h:54:96: error: invalid operands to binary expression ('std::string' (aka 'basic_string') and 'const std::string' (aka 'const basic_string')) 54 | ...what) : MtpFilesystemError(std::string("Not implemented: ") + what) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~ ./mtpFilesystemErrors.h:76:38: error: no matching constructor for initialization of 'MtpFilesystemErrorWithErrorCode' 76 | ...: MtpFilesystemErrorWithErrorCode(errorCode, "Can't create temp file") {} | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mtpFilesystemErrors.h:62:2: note: candidate constructor not viable: no known conversion from 'const char[23]' to 'const std::string' (aka 'const basic_string') for 2nd argument 62 | ...MtpFilesystemErrorWithErrorCode(int errorCode, const std::string& message... | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mtpFilesystemErrors.h:59:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided 59 | class MtpFilesystemErrorWithErrorCode : public MtpFilesystemError | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mtpFilesystemErrors.h:59:7: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided 59 | class MtpFilesystemErrorWithErrorCode : public MtpFilesystemError | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mtpFilesystemErrors.h:82:29: error: no matching constructor for initialization of 'MtpFilesystemErrorWithErrorCode' 82 | ...: MtpFilesystemErrorWithErrorCode(errorCode, "Can't read file") {} | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mtpFilesystemErrors.h:62:2: note: candidate constructor not viable: no known conversion from 'const char[16]' to 'const std::string' (aka 'const basic_string') for 2nd argument 62 | ...MtpFilesystemErrorWithErrorCode(int errorCode, const std::string& message... | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mtpFilesystemErrors.h:59:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided 59 | class MtpFilesystemErrorWithErrorCode : public MtpFilesystemError | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mtpFilesystemErrors.h:59:7: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided 59 | class MtpFilesystemErrorWithErrorCode : public MtpFilesystemError | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mtpFilesystemErrors.h:88:30: error: no matching constructor for initialization of 'MtpFilesystemErrorWithErrorCode' 88 | ...: MtpFilesystemErrorWithErrorCode(errorCode, "Can't write file") {} | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mtpFilesystemErrors.h:62:2: note: candidate constructor not viable: no known conversion from 'const char[17]' to 'const std::string' (aka 'const basic_string') for 2nd argument 62 | ...MtpFilesystemErrorWithErrorCode(int errorCode, const std::string& message... | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mtpFilesystemErrors.h:59:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided 59 | class MtpFilesystemErrorWithErrorCode : public MtpFilesystemError | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mtpFilesystemErrors.h:59:7: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided 59 | class MtpFilesystemErrorWithErrorCode : public MtpFilesystemError | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mtpFilesystemErrors.h:94:47: error: use of undeclared identifier 'EROFS' 94 | ReadOnly() : MtpFilesystemErrorWithErrorCode(EROFS, "read only") {} | ^ ./mtpFilesystemErrors.h:100:59: error: use of undeclared identifier 'ENOTEMPTY' 100 | MtpDirectoryNotEmpty() : MtpFilesystemErrorWithErrorCode(ENOTEMP... | ^ ./mtpFilesystemErrors.h:106:20: error: no matching constructor for initialization of 'MtpFilesystemError' 106 | NotADirectory() : MtpFilesystemError("Not a directory: ") {} | ^ ~~~~~~~~~~~~~~~~~~~ ./mtpFilesystemErrors.h:37:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'const char[18]' to 'const MtpFilesystemError' for 1st argument 37 | class MtpFilesystemError : public std::runtime_error | ^~~~~~~~~~~~~~~~~~ ./mtpFilesystemErrors.h:37:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'const char[18]' to 'MtpFilesystemError' for 1st argument 37 | class MtpFilesystemError : public std::runtime_error | ^~~~~~~~~~~~~~~~~~ ./mtpFilesystemErrors.h:40:2: note: candidate constructor not viable: no known conversion from 'const char[18]' to 'const std::string' (aka 'const basic_string') for 1st argument 40 | MtpFilesystemError(const std::string& what) : std::runtime_error... | ^ ~~~~~~~~~~~~~~~~~~~~~~~ ./mtpFilesystemErrors.h:112:53: error: use of undeclared identifier 'ENAMETOOLONG' 112 | MtpNameTooLong() : MtpFilesystemErrorWithErrorCode(ENAMETOOLONG... | ^ TemporaryFile.cpp:30:28: error: use of undeclared identifier 'errno' 30 | throw CantCreateTempFile(errno); | ^ 12 errors generated. make[1]: *** [Makefile:600: jmtpfs-TemporaryFile.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/var/tmp/portage/sys-fs/jmtpfs-0.5-r1/work/jmtpfs-0.5/src' make: *** [Makefile:359: all-recursive] Error 1 * ERROR: sys-fs/jmtpfs-0.5-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-fs/jmtpfs-0.5-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-fs/jmtpfs-0.5-r1::gentoo'`. * The complete build log is located at '/var/log/portage/sys-fs:jmtpfs-0.5-r1:20231208-235333.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-fs/jmtpfs-0.5-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-fs/jmtpfs-0.5-r1/temp/environment'. * Working directory: '/var/tmp/portage/sys-fs/jmtpfs-0.5-r1/work/jmtpfs-0.5' * S: '/var/tmp/portage/sys-fs/jmtpfs-0.5-r1/work/jmtpfs-0.5'