* Package: media-libs/id3lib-3.8.3-r8:0 * Repository: gentoo * Maintainer: sound@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking id3lib-3.8.3.tar.gz to /var/tmp/portage/media-libs/id3lib-3.8.3-r8/work >>> Source unpacked in /var/tmp/portage/media-libs/id3lib-3.8.3-r8/work >>> Preparing source in /var/tmp/portage/media-libs/id3lib-3.8.3-r8/work/id3lib-3.8.3 ... * Applying id3lib-3.8.3-zlib.patch ... [ ok ] * Applying id3lib-3.8.3-test_io.patch ... [ ok ] * Applying id3lib-3.8.3-autoconf259.patch ... [ ok ] * Applying id3lib-3.8.3-doxyinput.patch ... [ ok ] * Applying id3lib-3.8.3-unicode16.patch ... [ ok ] * Applying id3lib-3.8.3-gcc-4.3.patch ... [ ok ] * Applying id3lib-3.8.3-missing_nullpointer_check.patch ... [ ok ] * Applying id3lib-3.8.3-security.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/media-libs/id3lib-3.8.3-r8/work/id3lib-3.8.3/zlib' ... * Running 'libtoolize --install --copy --force --automake' ... [ ok ] * Running 'aclocal -I /var/tmp/portage/media-libs/id3lib-3.8.3-r8/work/id3lib-3.8.3/m4' ... [ ok ] * This package has a configure.in file which has long been deprecated. Please * update it to use configure.ac instead as newer versions of autotools will die * when it finds this file. See https://bugs.gentoo.org/426262 for details. * Running 'autoconf -I /var/tmp/portage/media-libs/id3lib-3.8.3-r8/work/id3lib-3.8.3/m4 --force' ... [ ok ] * Running 'autoheader -I /var/tmp/portage/media-libs/id3lib-3.8.3-r8/work/id3lib-3.8.3/m4' ... [ ok ] * Running 'automake --add-missing --copy --force-missing' ... [ ok ] * Running eautoreconf in '/var/tmp/portage/media-libs/id3lib-3.8.3-r8/work/id3lib-3.8.3' ... * Running 'libtoolize --install --copy --force --automake' ... [ ok ] * Running 'aclocal -I /var/tmp/portage/media-libs/id3lib-3.8.3-r8/work/id3lib-3.8.3/m4' ... [ ok ] * This package has a configure.in file which has long been deprecated. Please * update it to use configure.ac instead as newer versions of autotools will die * when it finds this file. See https://bugs.gentoo.org/426262 for details. * Running 'autoconf -I /var/tmp/portage/media-libs/id3lib-3.8.3-r8/work/id3lib-3.8.3/m4 --force' ... [ ok ] * Running 'autoheader -I /var/tmp/portage/media-libs/id3lib-3.8.3-r8/work/id3lib-3.8.3/m4' ... [ ok ] * Running 'automake --add-missing --copy --force-missing' ... [ ok ] * Running elibtoolize in: id3lib-3.8.3/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... * Applying uclibc-ltconf/1.3.0 patch ... * Running elibtoolize in: id3lib-3.8.3/zlib/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-libs/id3lib-3.8.3-r8/work/id3lib-3.8.3 ... * econf: updating id3lib-3.8.3/config.sub with /usr/share/gnuconfig/config.sub * econf: updating id3lib-3.8.3/config.guess with /usr/share/gnuconfig/config.guess * econf: updating id3lib-3.8.3/zlib/config.sub with /usr/share/gnuconfig/config.sub * econf: updating id3lib-3.8.3/zlib/config.guess with /usr/share/gnuconfig/config.guess ./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/id3lib-3.8.3-r8 --htmldir=/usr/share/doc/id3lib-3.8.3-r8/html --libdir=/usr/lib64 --disable-static checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports the include directive... yes (GNU style) checking for x86_64-pc-linux-gnu-gcc... clang 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 C11 features... none needed checking whether clang understands -c and -o together... yes checking dependency style of clang... none checking for library containing strerror... none required 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... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by clang... /usr/bin/x86_64-pc-linux-gnu-ld checking if the linker (/usr/bin/x86_64-pc-linux-gnu-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) 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/x86_64-pc-linux-gnu-ld option to reload object files... -r checking for x86_64-pc-linux-gnu-file... no checking for file... file checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from clang object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-pc-linux-gnu-mt... no 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 clang supports -fno-rtti -fno-exceptions... yes checking for clang option to produce PIC... -fPIC -DPIC checking if clang PIC flag -fPIC -DPIC works... yes checking if clang static flag -static works... yes checking if clang supports -c -o file.o... yes checking if clang supports -c -o file.o... (cached) yes checking whether the clang linker (/usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no 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... yes checking whether to build static libraries... no checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-pc-linux-gnu-gcc... (cached) clang checking whether the compiler supports GNU C... (cached) yes checking whether clang accepts -g... (cached) yes checking for clang option to enable C11 features... (cached) none needed checking whether clang understands -c and -o together... (cached) yes checking dependency style of clang... (cached) none 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 dependency style of clang++... none checking how to run the C++ preprocessor... clang++ -E checking for ld used by clang++... /usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64 checking if the linker (/usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) is GNU ld... yes checking whether the clang++ linker (/usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking for clang++ option to produce PIC... -fPIC -DPIC checking if clang++ PIC flag -fPIC -DPIC works... yes checking if clang++ static flag -static works... yes checking if clang++ supports -c -o file.o... yes checking if clang++ supports -c -o file.o... (cached) yes checking whether the clang++ linker (/usr/bin/x86_64-pc-linux-gnu-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 how to run the C++ preprocessor... clang++ -E checking for uncompress in -lz... yes checking for egrep... (cached) /bin/grep -E checking for zlib.h... yes checking for wchar.h... yes checking for sys/param.h... yes checking for unistd.h... (cached) yes checking for iconv.h... yes checking where to find iconv_open... libc checking whether iconv takes const char ** or char **... char ** checking whether to typecast in iconv... no checking for libcw/sys.h... no checking for cctype... yes checking for climits... yes checking for cstdio... yes checking for cstdlib... yes checking for bitset... yes checking for cstring... yes checking for fstream... yes checking for iostream... yes checking for iomanip... yes checking for vector... yes checking for string... yes checking whether C++ has bool... no checking whether C++ has correct scoping in for-loops... no checking what warning flags to pass to the C++ compiler... -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations checking what language compliance flags to pass to the C++ compiler... checking whether iconv supports UTF-8... yes checking whether iconv supports UTF-16BE... yes checking whether iconv supports UTF-16... yes checking whether iconv supports ISO-8859-1... yes checking for getopt_long... yes checking for mkstemp... yes checking for truncate... yes checking for size_t... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating m4/Makefile config.status: creating include/Makefile config.status: creating include/id3/Makefile config.status: creating id3com/Makefile config.status: creating id3com/Sample/Makefile config.status: creating src/Makefile config.status: creating examples/Makefile config.status: creating prj/Makefile config.status: creating libprj/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands === configuring in zlib (/var/tmp/portage/media-libs/id3lib-3.8.3-r8/work/id3lib-3.8.3/zlib) configure: running /bin/sh ./configure --disable-option-checking '--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/id3lib-3.8.3-r8' '--htmldir=/usr/share/doc/id3lib-3.8.3-r8/html' '--libdir=/usr/lib64' '--disable-static' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CC=clang' 'CFLAGS=-pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' 'CXX=clang++' 'CXXFLAGS=-pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS' --cache-file=/dev/null --srcdir=. checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes 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 whether make supports the include directive... yes (GNU style) checking for x86_64-pc-linux-gnu-gcc... clang 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 C11 features... none needed checking whether clang understands -c and -o together... yes checking dependency style of clang... none checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by clang... /usr/bin/x86_64-pc-linux-gnu-ld checking if the linker (/usr/bin/x86_64-pc-linux-gnu-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) 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/x86_64-pc-linux-gnu-ld option to reload object files... -r checking for x86_64-pc-linux-gnu-file... no checking for file... file checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from clang object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-pc-linux-gnu-mt... no 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 clang supports -fno-rtti -fno-exceptions... yes checking for clang option to produce PIC... -fPIC -DPIC checking if clang PIC flag -fPIC -DPIC works... yes checking if clang static flag -static works... yes checking if clang supports -c -o file.o... yes checking if clang supports -c -o file.o... (cached) yes checking whether the clang linker (/usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no 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... yes checking whether to build static libraries... no checking whether to enable maintainer-specific portions of Makefiles... no 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 dependency style of clang++... none checking how to run the C++ preprocessor... clang++ -E checking for ld used by clang++... /usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64 checking if the linker (/usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) is GNU ld... yes checking whether the clang++ linker (/usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking for clang++ option to produce PIC... -fPIC -DPIC checking if clang++ PIC flag -fPIC -DPIC works... yes checking if clang++ static flag -static works... yes checking if clang++ supports -c -o file.o... yes checking if clang++ supports -c -o file.o... (cached) yes checking whether the clang++ linker (/usr/bin/x86_64-pc-linux-gnu-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 how to run the C++ preprocessor... clang++ -E checking for x86_64-pc-linux-gnu-ranlib... (cached) x86_64-pc-linux-gnu-ranlib checking for egrep... (cached) /bin/grep -E checking for unistd.h... (cached) yes checking for errno.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: creating prj/Makefile config.status: creating include/Makefile config.status: creating lib/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands >>> Source configured. '/var/tmp/portage/media-libs/id3lib-3.8.3-r8/temp/clang14.log' -> '/var/tmp/clang/media-libs/id3lib-3.8.3-r8/clang14.log' '/var/tmp/portage/media-libs/id3lib-3.8.3-r8/temp/clang15.log' -> '/var/tmp/clang/media-libs/id3lib-3.8.3-r8/clang15.log' >>> Compiling source in /var/tmp/portage/media-libs/id3lib-3.8.3-r8/work/id3lib-3.8.3 ... make -j4 make all-recursive make[1]: Entering directory '/var/tmp/portage/media-libs/id3lib-3.8.3-r8/work/id3lib-3.8.3' Making all in . make[2]: Entering directory '/var/tmp/portage/media-libs/id3lib-3.8.3-r8/work/id3lib-3.8.3' make[2]: Leaving directory '/var/tmp/portage/media-libs/id3lib-3.8.3-r8/work/id3lib-3.8.3' Making all in m4 make[2]: Entering directory '/var/tmp/portage/media-libs/id3lib-3.8.3-r8/work/id3lib-3.8.3/m4' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/media-libs/id3lib-3.8.3-r8/work/id3lib-3.8.3/m4' Making all in doc make[2]: Entering directory '/var/tmp/portage/media-libs/id3lib-3.8.3-r8/work/id3lib-3.8.3/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/media-libs/id3lib-3.8.3-r8/work/id3lib-3.8.3/doc' Making all in include make[2]: Entering directory '/var/tmp/portage/media-libs/id3lib-3.8.3-r8/work/id3lib-3.8.3/include' Making all in id3 make[3]: Entering directory '/var/tmp/portage/media-libs/id3lib-3.8.3-r8/work/id3lib-3.8.3/include/id3' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/var/tmp/portage/media-libs/id3lib-3.8.3-r8/work/id3lib-3.8.3/include/id3' make[3]: Entering directory '/var/tmp/portage/media-libs/id3lib-3.8.3-r8/work/id3lib-3.8.3/include' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/var/tmp/portage/media-libs/id3lib-3.8.3-r8/work/id3lib-3.8.3/include' make[2]: Leaving directory '/var/tmp/portage/media-libs/id3lib-3.8.3-r8/work/id3lib-3.8.3/include' Making all in id3com make[2]: Entering directory '/var/tmp/portage/media-libs/id3lib-3.8.3-r8/work/id3lib-3.8.3/id3com' Making all in Sample make[3]: Entering directory '/var/tmp/portage/media-libs/id3lib-3.8.3-r8/work/id3lib-3.8.3/id3com/Sample' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/var/tmp/portage/media-libs/id3lib-3.8.3-r8/work/id3lib-3.8.3/id3com/Sample' make[3]: Entering directory '/var/tmp/portage/media-libs/id3lib-3.8.3-r8/work/id3lib-3.8.3/id3com' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/var/tmp/portage/media-libs/id3lib-3.8.3-r8/work/id3lib-3.8.3/id3com' make[2]: Leaving directory '/var/tmp/portage/media-libs/id3lib-3.8.3-r8/work/id3lib-3.8.3/id3com' Making all in src make[2]: Entering directory '/var/tmp/portage/media-libs/id3lib-3.8.3-r8/work/id3lib-3.8.3/src' /bin/sh ../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I.. -I../include/id3 -I../include -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations -c -o c_wrapper.lo c_wrapper.cpp /bin/sh ../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I.. -I../include/id3 -I../include -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations -c -o field.lo field.cpp /bin/sh ../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I.. -I../include/id3 -I../include -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations -c -o field_binary.lo field_binary.cpp /bin/sh ../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I.. -I../include/id3 -I../include -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations -c -o field_integer.lo field_integer.cpp libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -I../include/id3 -I../include -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations -c field_binary.cpp -fPIC -DPIC -o .libs/field_binary.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -I../include/id3 -I../include -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations -c c_wrapper.cpp -fPIC -DPIC -o .libs/c_wrapper.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -I../include/id3 -I../include -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations -c field_integer.cpp -fPIC -DPIC -o .libs/field_integer.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -I../include/id3 -I../include -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations -c field.cpp -fPIC -DPIC -o .libs/field.o In file included from c_wrapper.cpp:30: In file included from ../include/id3/tag.h:34: In file included from ../include/id3/utils.h:35: In file included from ../include/id3/id3lib_streams.h:27: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/fstream:38: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:38: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/ios:39: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/exception:168: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/exception_ptr.h:43: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/move.h:57: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/type_traits:340:12: error: redefinition of '__is_integral_helper' struct __is_integral_helper ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/type_traits:295:12: note: previous definition is here struct __is_integral_helper ^ In file included from c_wrapper.cpp:30: In file included from ../include/id3/tag.h:34: In file included from ../include/id3/utils.h:35: In file included from ../include/id3/id3lib_streams.h:27: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/fstream:38: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:38: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/ios:39: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/exception:168: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/exception_ptr.h:156:16: error: cannot initialize return object of type 'int' with an lvalue of type 'void *const' { return _M_exception_object; } ^~~~~~~~~~~~~~~~~~~ In file included from c_wrapper.cpp:30: In file included from ../include/id3/tag.h:34: In file included from ../include/id3/utils.h:35: In file included from ../include/id3/id3lib_streams.h:27: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/fstream:38: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:38: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/ios:39: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/exception:169: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/nested_exception.h:69:11: error: value of type 'const std::__exception_ptr::exception_ptr' is not contextually convertible to 'bool' if (_M_ptr) ^~~~~~ In file included from c_wrapper.cpp:30: In file included from ../include/id3/tag.h:34: In file included from ../include/id3/utils.h:35: In file included from ../include/id3/id3lib_streams.h:27: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/fstream:38: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:38: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/ios:42: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/ios_base.h:41: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/locale_classes.h:40: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/string:42: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/cpp_type_traits.h:214:12: error: redefinition of '__is_integer' struct __is_integer ^~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/cpp_type_traits.h:138:12: note: previous definition is here struct __is_integer ^ In file included from c_wrapper.cpp:30: In file included from ../include/id3/tag.h:34: In file included from ../include/id3/utils.h:35: In file included from ../include/id3/id3lib_streams.h:27: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/fstream:38: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:38: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/ios:42: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/ios_base.h:41: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/locale_classes.h:40: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/string:49: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/ext/numeric_traits.h:70:25: error: expected member name or ';' after declaration specifiers static const bool __is_signed = (_Value)(-1) < 0; ~~~~~~~~~~~~~~~~~ ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/ext/numeric_traits.h:72:57: error: expected '(' = __is_integer_nonstrict<_Value>::__width - __is_signed; ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/ext/numeric_traits.h:75:46: error: expected '(' static const _Value __max = __is_signed ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/ext/numeric_traits.h:78:46: error: expected '(' static const _Value __min = __is_signed ? -__max - 1 : (_Value)0; ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/ext/numeric_traits.h:88:50: error: expected unqualified-id const bool __numeric_traits_integer<_Value>::__is_signed; ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/ext/numeric_traits.h:91:49: error: default initialization of an object of const type 'const int' const int __numeric_traits_integer<_Value>::__digits; ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/ext/numeric_traits.h:164:25: error: expected member name or ';' after declaration specifiers static const bool __is_signed = true; ~~~~~~~~~~~~~~~~~ ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/ext/numeric_traits.h:173:51: error: expected unqualified-id const bool __numeric_traits_floating<_Value>::__is_signed; ^ In file included from field_binary.cpp:35: In file included from ../include/id3/utils.h:35: In file included from ../include/id3/id3lib_streams.h:27: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/fstream:38: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:38: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/ios:39: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/exception:168: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/exception_ptr.h:156:16: error: cannot initialize return object of type 'int' with an lvalue of type 'void *const' { return _M_exception_object; } ^~~~~~~~~~~~~~~~~~~ In file included from field_binary.cpp:35: In file included from ../include/id3/utils.h:35: In file included from ../include/id3/id3lib_streams.h:27: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/fstream:38: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:38: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/ios:39: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/exception:169: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/nested_exception.h:69:11: error: value of type 'const std::__exception_ptr::exception_ptr' is not contextually convertible to 'bool' if (_M_ptr) ^~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/ext/numeric_traits.h:85:52: error: default initialization of an object of const type 'const int' const _Value __numeric_traits_integer<_Value>::__max; ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/basic_string.h:485:46: note: in instantiation of static data member '__gnu_cxx::__numeric_traits_integer::__max' requested here if (__d > __gnu_cxx::__numeric_traits::__max) ^ In file included from c_wrapper.cpp:30: In file included from ../include/id3/tag.h:34: In file included from ../include/id3/utils.h:35: In file included from ../include/id3/id3lib_streams.h:27: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/fstream:38: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:38: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/ios:42: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/ios_base.h:41: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/locale_classes.h:40: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/string:49: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/ext/numeric_traits.h:82:52: error: default initialization of an object of const type 'const int' const _Value __numeric_traits_integer<_Value>::__min; ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/basic_string.h:487:51: note: in instantiation of static data member '__gnu_cxx::__numeric_traits_integer::__min' requested here else if (__d < __gnu_cxx::__numeric_traits::__min) ^ In file included from field_integer.cpp:28: In file included from ../include/id3/utils.h:35: In file included from ../include/id3/id3lib_streams.h:27: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/fstream:38: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:38: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/ios:39: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/exception:168: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/exception_ptr.h:156:16: error: cannot initialize return object of type 'int' with an lvalue of type 'void *const' { return _M_exception_object; } ^~~~~~~~~~~~~~~~~~~ In file included from field_integer.cpp:28: In file included from ../include/id3/utils.h:35: In file included from ../include/id3/id3lib_streams.h:27: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/fstream:38: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:38: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/ios:39: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/exception:169: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/nested_exception.h:69:11: error: value of type 'const std::__exception_ptr::exception_ptr' is not contextually convertible to 'bool' if (_M_ptr) ^~~~~~ In file included from field.cpp:30: In file included from ../include/id3/utils.h:35: In file included from ../include/id3/id3lib_streams.h:27: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/fstream:38: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:38: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/ios:39: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/exception:168: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/exception_ptr.h:156:16: error: cannot initialize return object of type 'int' with an lvalue of type 'void *const' { return _M_exception_object; } ^~~~~~~~~~~~~~~~~~~ In file included from field.cpp:30: In file included from ../include/id3/utils.h:35: In file included from ../include/id3/id3lib_streams.h:27: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/fstream:38: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:38: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/ios:39: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/exception:169: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/nested_exception.h:69:11: error: value of type 'const std::__exception_ptr::exception_ptr' is not contextually convertible to 'bool' if (_M_ptr) ^~~~~~ In file included from c_wrapper.cpp:30: In file included from ../include/id3/tag.h:34: In file included from ../include/id3/utils.h:35: In file included from ../include/id3/id3lib_streams.h:27: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/fstream:38: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:38: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/ios:42: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/ios_base.h:41: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/locale_classes.h:40: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/string:53: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/basic_string.h:4224: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/functional_hash.h:154:3: error: redefinition of 'hash' _Cxx_hashtable_define_trivial_hash(int) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/functional_hash.h:117:12: note: expanded from macro '_Cxx_hashtable_define_trivial_hash' struct hash<_Tp> : public __hash_base \ ^~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/functional_hash.h:125:3: note: previous definition is here _Cxx_hashtable_define_trivial_hash(bool) ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/functional_hash.h:117:12: note: expanded from macro '_Cxx_hashtable_define_trivial_hash' struct hash<_Tp> : public __hash_base \ ^ In file included from field_binary.cpp:35: In file included from ../include/id3/utils.h:35: In file included from ../include/id3/id3lib_streams.h:27: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/fstream:38: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:39: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/ostream:189:7: error: class member cannot be redeclared operator<<(int __n); ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/ostream:174:7: note: previous definition is here operator<<(bool __n) ^ In file included from field_binary.cpp:35: In file included from ../include/id3/utils.h:35: In file included from ../include/id3/id3lib_streams.h:27: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/fstream:38: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:39: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/ostream:833: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/ostream.tcc:106:5: error: redefinition of 'operator<<' operator<<(int __n) ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/ostream:174:7: note: previous definition is here operator<<(bool __n) ^ In file included from field_binary.cpp:35: In file included from ../include/id3/utils.h:35: In file included from ../include/id3/id3lib_streams.h:27: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/fstream:38: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:179:7: error: class member cannot be redeclared operator>>(int& __n); ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:168:7: note: previous definition is here operator>>(bool& __n) ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:648:13: error: unknown type name 'char_type' getline(char_type* __s, streamsize __n, char_type __delim); ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:648:45: error: unknown type name 'char_type' getline(char_type* __s, streamsize __n, char_type __delim); ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:664:13: error: unknown type name 'char_type' getline(char_type* __s, streamsize __n, char_type __delim); ^ In file included from field.cpp:30: In file included from ../include/id3/utils.h:35: In file included from ../include/id3/id3lib_streams.h:27: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/fstream:38: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:39: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/ostream:189:7: error: class member cannot be redeclared operator<<(int __n); ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/ostream:174:7: note: previous definition is here operator<<(bool __n) ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:664:45: error: unknown type name 'char_type' getline(char_type* __s, streamsize __n, char_type __delim); ^ In file included from field.cpp:30: In file included from ../include/id3/utils.h:35: In file included from ../include/id3/id3lib_streams.h:27: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/fstream:38: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:39: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/ostream:833: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/ostream.tcc:106:5: error: redefinition of 'operator<<' operator<<(int __n) ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/ostream:174:7: note: previous definition is here operator<<(bool __n) ^ In file included from field_binary.cpp:35: In file included from ../include/id3/utils.h:35: In file included from ../include/id3/id3lib_streams.h:27: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/fstream:38: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:1016: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/istream.tcc:169:5: error: redefinition of 'operator>>' operator>>(int& __n) ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:168:7: note: previous definition is here operator>>(bool& __n) ^ In file included from field.cpp:30: In file included from ../include/id3/utils.h:35: In file included from ../include/id3/id3lib_streams.h:27: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/fstream:38: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:179:7: error: class member cannot be redeclared operator>>(int& __n); ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:168:7: note: previous definition is here operator>>(bool& __n) ^ In file included from field_integer.cpp:28: In file included from ../include/id3/utils.h:35: In file included from ../include/id3/id3lib_streams.h:27: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/fstream:38: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:39: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/ostream:189:7: error: class member cannot be redeclared operator<<(int __n); ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/ostream:174:7: note: previous definition is here operator<<(bool __n) ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:648:13: error: unknown type name 'char_type' getline(char_type* __s, streamsize __n, char_type __delim); ^ In file included from field_integer.cpp:28: In file included from ../include/id3/utils.h:35: In file included from ../include/id3/id3lib_streams.h:27: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/fstream:38: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:39: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/ostream:833: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/ostream.tcc:106:5: error: redefinition of 'operator<<' operator<<(int __n) ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/ostream:174:7: note: previous definition is here operator<<(bool __n) ^ In file included from c_wrapper.cpp:30: In file included from ../include/id3/tag.h:34: In file included from ../include/id3/utils.h:35: In file included from ../include/id3/id3lib_streams.h:27: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/fstream:38: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:38: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/ios:42: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/ios_base.h:41: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/locale_classes.h:40: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/string:49: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/ext/numeric_traits.h:85:52: error: default initialization of an object of const type 'const char' const _Value __numeric_traits_integer<_Value>::__max; ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/locale_facets.tcc:94:44: note: in instantiation of static data member '__gnu_cxx::__numeric_traits_integer::__max' requested here != __gnu_cxx::__numeric_traits::__max)); ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:648:45: error: unknown type name 'char_type' getline(char_type* __s, streamsize __n, char_type __delim); ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:664:13: error: unknown type name 'char_type' getline(char_type* __s, streamsize __n, char_type __delim); ^ In file included from field_integer.cpp:28: In file included from ../include/id3/utils.h:35: In file included from ../include/id3/id3lib_streams.h:27: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/fstream:38: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:179:7: error: class member cannot be redeclared operator>>(int& __n); ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:168:7: note: previous definition is here operator>>(bool& __n) ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:664:45: error: unknown type name 'char_type' getline(char_type* __s, streamsize __n, char_type __delim); ^ In file included from field.cpp:30: In file included from ../include/id3/utils.h:35: In file included from ../include/id3/id3lib_streams.h:27: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/fstream:38: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:1016: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/istream.tcc:169:5: error: redefinition of 'operator>>' operator>>(int& __n) ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:168:7: note: previous definition is here operator>>(bool& __n) ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:648:13: error: unknown type name 'char_type' getline(char_type* __s, streamsize __n, char_type __delim); ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/locale_facets.tcc:473:33: error: expected unqualified-id (__negative && __num_traits::__is_signed) ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/locale_facets.tcc:576:38: error: expected unqualified-id if (__negative && __num_traits::__is_signed) ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:648:45: error: unknown type name 'char_type' getline(char_type* __s, streamsize __n, char_type __delim); ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:664:13: error: unknown type name 'char_type' getline(char_type* __s, streamsize __n, char_type __delim); ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/locale_facets.tcc:917:48: error: expected unqualified-id && __gnu_cxx::__numeric_traits<_ValueT>::__is_signed) ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:664:45: error: unknown type name 'char_type' getline(char_type* __s, streamsize __n, char_type __delim); ^ In file included from field_integer.cpp:28: In file included from ../include/id3/utils.h:35: In file included from ../include/id3/id3lib_streams.h:27: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/fstream:38: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:1016: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/bits/istream.tcc:169:5: error: redefinition of 'operator>>' operator>>(int& __n) ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/istream:168:7: note: previous definition is here operator>>(bool& __n) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] field_binary.cpp:195:21: error: return type of out-of-line definition of 'ID3_FieldImpl::ParseBinary' differs from that in the declaration bool ID3_FieldImpl::ParseBinary(ID3_Reader& reader) ~~~~ ^ ./field_impl.h:143:8: note: previous declaration is here bool ParseBinary(ID3_Reader&); ~~~~ ^ In file included from field.cpp:33: ../include/id3/readers.h:80:7: error: no matching constructor for initialization of 'ID3_IStreamReader' : ID3_IStreamReader(reader), _file(reader) { ; } ^ ~~~~~~ ../include/id3/readers.h:34:22: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::ifstream' (aka 'basic_ifstream') to 'const ID3_IStreamReader' for 1st argument class ID3_CPP_EXPORT ID3_IStreamReader : public ID3_Reader ^ ../include/id3/readers.h:40:3: note: candidate constructor not viable: no known conversion from 'std::ifstream' (aka 'basic_ifstream') to 'std::istream &' (aka 'basic_istream &') for 1st argument ID3_IStreamReader(istream& reader) : _stream(reader) { ; } ^ field.cpp:968:16: error: return type of out-of-line definition of 'ID3_FieldImpl::HasChanged' differs from that in the declaration ID3_FieldImpl::HasChanged() const ^ ./field_impl.h:111:17: note: previous declaration is here bool HasChanged() const; ~~~~ ^ field.cpp:1043:21: error: return type of out-of-line definition of 'ID3_FieldImpl::Parse' differs from that in the declaration bool ID3_FieldImpl::Parse(ID3_Reader& reader) ~~~~ ^ ./field_impl.h:110:17: note: previous declaration is here bool Parse(ID3_Reader&); ~~~~ ^ field.cpp:1175:21: error: return type of out-of-line definition of 'ID3_FieldImpl::SetEncoding' differs from that in the declaration bool ID3_FieldImpl::SetEncoding(ID3_TextEnc enc) ~~~~ ^ ./field_impl.h:104:17: note: previous declaration is here bool SetEncoding(ID3_TextEnc enc); ~~~~ ^ 11 errors generated. In file included from field.cpp:30: In file included from ../include/id3/utils.h:35: In file included from ../include/id3/id3lib_streams.h:27: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/fstream:738:4: error: cannot initialize object parameter of type 'std::basic_ios' with an expression of type 'std::basic_ifstream' this->setstate(ios_base::failbit); ^~~~ ../include/id3/readers.h:84:11: note: in instantiation of member function 'std::basic_ifstream::close' requested here _file.close(); ^ field_integer.cpp:87:21: error: return type of out-of-line definition of 'ID3_FieldImpl::ParseInteger' differs from that in the declaration bool ID3_FieldImpl::ParseInteger(ID3_Reader& reader) ~~~~ ^ ./field_impl.h:141:8: note: previous declaration is here bool ParseInteger(ID3_Reader&); ~~~~ ^ 15 errors generated. make[2]: *** [Makefile:585: field_binary.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [Makefile:585: field.lo] Error 1 20 errors generated. 11 errors generated. make[2]: *** [Makefile:585: c_wrapper.lo] Error 1 make[2]: *** [Makefile:585: field_integer.lo] Error 1 make[2]: Leaving directory '/var/tmp/portage/media-libs/id3lib-3.8.3-r8/work/id3lib-3.8.3/src' make[1]: *** [Makefile:447: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/media-libs/id3lib-3.8.3-r8/work/id3lib-3.8.3' make: *** [Makefile:379: all] Error 2 * ERROR: media-libs/id3lib-3.8.3-r8::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-libs/id3lib-3.8.3-r8::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-libs/id3lib-3.8.3-r8::gentoo'`. * The complete build log is located at '/var/log/portage/media-libs:id3lib-3.8.3-r8:20220917-203620.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-libs/id3lib-3.8.3-r8/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/id3lib-3.8.3-r8/temp/environment'. * Working directory: '/var/tmp/portage/media-libs/id3lib-3.8.3-r8/work/id3lib-3.8.3' * S: '/var/tmp/portage/media-libs/id3lib-3.8.3-r8/work/id3lib-3.8.3'