* Package: media-libs/libmpd-11.8.17-r1: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 libmpd-11.8.17.tar.gz to /var/tmp/portage/media-libs/libmpd-11.8.17-r1/work >>> Source unpacked in /var/tmp/portage/media-libs/libmpd-11.8.17-r1/work >>> Preparing source in /var/tmp/portage/media-libs/libmpd-11.8.17-r1/work/libmpd-11.8.17 ... * Applying libmpd-11.8.17-remove-strndup.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-libs/libmpd-11.8.17-r1/work/libmpd-11.8.17 ... * econf: updating libmpd-11.8.17/config.guess with /usr/share/gnuconfig/config.guess * econf: updating libmpd-11.8.17/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 --docdir=/usr/share/doc/libmpd-11.8.17-r1 --htmldir=/usr/share/doc/libmpd-11.8.17-r1/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 thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes 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 we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of clang... none checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu 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/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/x86_64-pc-linux-gnu-ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar 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/nm -B output from clang object... ok checking how to run the C preprocessor... clang -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.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 for strndup... yes 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 glib... yes checking for ANSI C header files... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating example/Makefile config.status: creating example/testcase/Makefile config.status: creating libmpd.pc config.status: creating src/libmpd-version.h config.status: creating doc/libmpd.doxy config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands >>> Source configured. '/var/tmp/portage/media-libs/libmpd-11.8.17-r1/temp/clang14.log' -> '/var/tmp/clang/media-libs/libmpd-11.8.17-r1/clang14.log' '/var/tmp/portage/media-libs/libmpd-11.8.17-r1/temp/clang15.log' -> '/var/tmp/clang/media-libs/libmpd-11.8.17-r1/clang15.log' >>> Compiling source in /var/tmp/portage/media-libs/libmpd-11.8.17-r1/work/libmpd-11.8.17 ... make -j4 make all-recursive make[1]: Entering directory '/var/tmp/portage/media-libs/libmpd-11.8.17-r1/work/libmpd-11.8.17' Making all in src make[2]: Entering directory '/var/tmp/portage/media-libs/libmpd-11.8.17-r1/work/libmpd-11.8.17/src' /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Wall -Wmissing-declarations -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o libmpd.lo libmpd.c /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Wall -Wmissing-declarations -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o libmpd-player.lo libmpd-player.c /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Wall -Wmissing-declarations -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o libmpd-status.lo libmpd-status.c /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Wall -Wmissing-declarations -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o libmpd-playlist.lo libmpd-playlist.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Wall -Wmissing-declarations -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c libmpd-status.c -fPIC -DPIC -o .libs/libmpd-status.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Wall -Wmissing-declarations -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c libmpd-player.c -fPIC -DPIC -o .libs/libmpd-player.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Wall -Wmissing-declarations -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c libmpd.c -fPIC -DPIC -o .libs/libmpd.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Wall -Wmissing-declarations -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c libmpd-playlist.c -fPIC -DPIC -o .libs/libmpd-playlist.o libmpd-playlist.c:783:10: error: incompatible pointer to integer conversion returning 'void *' from a function with result type 'int' [-Wint-conversion] return NULL; ^~~~ /usr/lib/llvm/15/bin/../../../../lib/clang/15.0.1/include/stddef.h:89:16: note: expanded from macro 'NULL' # define NULL ((void*)0) ^~~~~~~~~~ 1 error generated. make[2]: *** [Makefile:367: libmpd-playlist.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/var/tmp/portage/media-libs/libmpd-11.8.17-r1/work/libmpd-11.8.17/src' make[1]: *** [Makefile:351: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/media-libs/libmpd-11.8.17-r1/work/libmpd-11.8.17' make: *** [Makefile:258: all] Error 2 * ERROR: media-libs/libmpd-11.8.17-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-libs/libmpd-11.8.17-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-libs/libmpd-11.8.17-r1::gentoo'`. * The complete build log is located at '/var/log/portage/media-libs:libmpd-11.8.17-r1:20221003-064959.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-libs/libmpd-11.8.17-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/libmpd-11.8.17-r1/temp/environment'. * Working directory: '/var/tmp/portage/media-libs/libmpd-11.8.17-r1/work/libmpd-11.8.17' * S: '/var/tmp/portage/media-libs/libmpd-11.8.17-r1/work/libmpd-11.8.17'