gentoo / musl

[MIRROR] musl development overlay
https://gitweb.gentoo.org/proj/musl.git
99 stars 59 forks source link

sys-auth/polkit fails without dev-lang/duktape installed #384

Closed yemouu closed 3 years ago

yemouu commented 3 years ago
 * Package:    sys-auth/polkit-0.118-r1
 * Repository: musl
 * Maintainer: freedesktop-bugs@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_musl elogind introspection kernel_linux nls pam userland_GNU
 * FEATURES:   ccache network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking polkit-0.118.tar.gz to /var/tmp/portage/sys-auth/polkit-0.118-r1/work
>>> Unpacking polkit-0.118-duktape.patch to /var/tmp/portage/sys-auth/polkit-0.118-r1/work
unpack polkit-0.118-duktape.patch: file format not recognized. Ignoring.
>>> Source unpacked in /var/tmp/portage/sys-auth/polkit-0.118-r1/work
>>> Preparing source in /var/tmp/portage/sys-auth/polkit-0.118-r1/work/polkit-0.118 ...
 * Applying polkit-0.118-duktape.patch ...
 [ ok ]
 * Applying polkit-0.115-elogind.patch ...
 [ ok ]
 * Applying polkit-0.118-make-netgroup-support-optional.patch ...
 [ ok ]
 * Running eautoreconf in '/var/tmp/portage/sys-auth/polkit-0.118-r1/work/polkit-0.118/test/mocklibc' ...
 * Running libtoolize --install --copy --force --automake ...
 [ ok ]
 * Running aclocal ...
 [ ok ]
 * Running autoconf --force ...
 [ ok ]
 * Running autoheader ...
 [ ok ]
 * Running automake --add-missing --copy --force-missing ...
 [ ok ]
 * Running eautoreconf in '/var/tmp/portage/sys-auth/polkit-0.118-r1/work/polkit-0.118' ...
 * Running glib-gettextize --copy --force ...
 [ ok ]
 * Running intltoolize --automake --copy --force ...
 [ ok ]
 * Skipping 'gtkdocize --copy' due gtkdocize not installed
 * Running libtoolize --install --copy --force --automake ...
 [ ok ]
 * Running aclocal ...
 [ ok ]
 * Running autoconf --force ...
 [ ok ]
 * Running autoheader ...
 [ ok ]
 * Running automake --add-missing --copy --force-missing ...
 [ ok ]
 * Running elibtoolize in: polkit-0.118/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.3 patch ...
 * Running elibtoolize in: polkit-0.118/test/mocklibc/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.3 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-auth/polkit-0.118-r1/work/polkit-0.118 ...
 * econf: updating polkit-0.118/test/mocklibc/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating polkit-0.118/test/mocklibc/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating polkit-0.118/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating polkit-0.118/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-gentoo-linux-musl --host=x86_64-gentoo-linux-musl --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/polkit-0.118-r1 --htmldir=/usr/share/doc/polkit-0.118-r1/html --with-sysroot=/ --libdir=/usr/lib --localstatedir=/var --disable-static --enable-man-pages --disable-gtk-doc --disable-examples --without-duktape --enable-libelogind --enable-introspection --enable-nls --with-pam-module-dir=/lib/security --with-authfw=pam --disable-libsystemd-login --with-systemdsystemunitdir=/lib/systemd/system --disable-test --with-os-type=gentoo
checking for a BSD-compatible install... install-xattr: setxattr() failed: Operation not permitted
/usr/bin/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 to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... (cached) yes
checking whether make supports the include directive... yes (GNU style)
checking for x86_64-gentoo-linux-musl-gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
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 wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for library containing strerror... none required
checking for x86_64-gentoo-linux-musl-gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) none
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking build system type... x86_64-gentoo-linux-musl
checking host system type... x86_64-gentoo-linux-musl
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... ld.bfd
checking if the linker (ld.bfd) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... gcc-nm
checking the name lister (gcc-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 98304
checking how to convert x86_64-gentoo-linux-musl file names to x86_64-gentoo-linux-musl format... func_convert_file_noop
checking how to convert x86_64-gentoo-linux-musl file names to toolchain format... func_convert_file_noop
checking for ld.bfd option to reload object files... -r
checking for x86_64-gentoo-linux-musl-objdump... x86_64-gentoo-linux-musl-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-gentoo-linux-musl-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-gentoo-linux-musl-ar... gcc-ar
checking for archiver @FILE support... @
checking for x86_64-gentoo-linux-musl-strip... x86_64-gentoo-linux-musl-strip
checking for x86_64-gentoo-linux-musl-ranlib... gcc-ranlib
checking command to parse gcc-nm output from gcc object... ok
checking for sysroot... /
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for x86_64-gentoo-linux-musl-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (ld.bfd -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 make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking dependency style of g++... none
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... ld.bfd -m elf_x86_64
checking if the linker (ld.bfd -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (ld.bfd -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (ld.bfd -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 whether g++ supports C++17 features with -std=gnu++17... yes
checking for xsltproc... /usr/bin/xsltproc
checking for x86_64-gentoo-linux-musl-pkg-config... /usr/bin/x86_64-gentoo-linux-musl-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gtk-doc... no
configure: WARNING:
  You will not be able to create source packages with 'make dist'
  because gtk-doc >= 1.3 is not found.
checking for gtkdoc-check... no
checking for gtkdoc-check... no
checking for gtkdoc-rebase... no
checking for gtkdoc-mkpdf... no
checking whether to build gtk-doc documentation... no
checking for GTKDOC_DEPS... yes
checking if gcc supports flag -pipe in envvar CFLAGS... yes
checking if gcc supports flag -Wall in envvar CFLAGS... yes
checking if gcc supports flag -Werror=empty-body in envvar CFLAGS... yes
checking if gcc supports flag -Werror=strict-prototypes in envvar CFLAGS... yes
checking if gcc supports flag -Werror=missing-prototypes in envvar CFLAGS... yes
checking if gcc supports flag -Werror=implicit-function-declaration in envvar CFLAGS... yes
checking if gcc supports flag -Werror=format=2 -Werror=format-security -Werror=format-nonliteral in envvar CFLAGS... yes
checking if gcc supports flag -Werror=pointer-arith in envvar CFLAGS... yes
checking if gcc supports flag -Werror=init-self in envvar CFLAGS... yes
checking if gcc supports flag -Werror=missing-declarations in envvar CFLAGS... yes
checking if gcc supports flag -Werror=return-type in envvar CFLAGS... yes
checking if gcc supports flag -Werror=overflow in envvar CFLAGS... yes
checking if gcc supports flag -Werror=int-conversion in envvar CFLAGS... yes
checking if gcc supports flag -Werror=parenthesis in envvar CFLAGS... no
checking if gcc supports flag -Werror=incompatible-pointer-types in envvar CFLAGS... yes
checking if gcc supports flag -Werror=misleading-indentation in envvar CFLAGS... yes
checking if gcc supports flag -Werror=missing-include-dirs in envvar CFLAGS... yes
checking if gcc supports flag -Werror=aggregate-return in envvar CFLAGS... yes
checking if gcc supports flag -Werror=declaration-after-statement in envvar CFLAGS... yes
checking for GLIB... yes
checking for LIBJS... no
configure: error: Package requirements (duktape >= 2.0.0 ) were not met:

Package 'duktape', required by 'virtual:world', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBJS_CFLAGS
and LIBJS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-auth/polkit-0.118-r1/work/polkit-0.118/config.log
 * ERROR: sys-auth/polkit-0.118-r1::musl failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  125:  Called src_configure
 *             environment, line 2221:  Called econf '--localstatedir=/var' '--disable-static' '--enable-man-pages' '--disable-gtk-doc' '--disable-examples' '--without-duktape' '--enable-libelogind' '--enable-introspection' '--enable-nls' '--with-pam-module-dir=/lib/security' '--with-authfw=pam' '--disable-libsystemd-login' '--with-systemdsystemunitdir=/lib/systemd/system' '--disable-test' '--with-os-type=gentoo'
 *        phase-helpers.sh, line  680:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *          die "$@"
 * 
 * If you need support, post the output of `emerge --info '=sys-auth/polkit-0.118-r1::musl'`,
 * the complete build log and the output of `emerge -pqv '=sys-auth/polkit-0.118-r1::musl'`.
 * The complete build log is located at '/var/log/portage/sys-auth:polkit-0.118-r1:20210312-172350.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-auth/polkit-0.118-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-auth/polkit-0.118-r1/work/polkit-0.118'
 * S: '/var/tmp/portage/sys-auth/polkit-0.118-r1/work/polkit-0.118'

The build will sucseed if dev-lang/duktape is installed regardless of the useflag

anarchpenguin commented 3 years ago

Please post config.log so I can review it please.

yemouu commented 3 years ago
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by polkit configure 0.118, which was
generated by GNU Autoconf 2.71.  Invocation command line was

  $ ./configure --prefix=/usr --build=x86_64-gentoo-linux-musl --host=x86_64-gentoo-linux-musl --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/polkit-0.118-r1 --htmldir=/usr/share/doc/polkit-0.118-r1/html --with-sysroot=/ --libdir=/usr/lib --localstatedir=/var --disable-static --enable-man-pages --disable-gtk-doc --disable-examples --without-duktape --enable-libelogind --enable-introspection --enable-nls --with-pam-module-dir=/lib/security --with-authfw=pam --disable-libsystemd-login --with-systemdsystemunitdir=/lib/systemd/system --disable-test --with-os-type=gentoo

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

hostname = yemou
uname -m = x86_64
uname -r = 5.11.6-gentoo-mou
uname -s = Linux
uname -v = #1 SMP Thu Mar 11 19:55:06 UTC 2021

/usr/bin/uname -p = Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz
/bin/uname -X     = unknown

/bin/arch              = unknown
/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/lib/ccache/bin/
PATH: /usr/lib/portage/python3.8/ebuild-helpers/xattr/
PATH: /usr/lib/portage/python3.8/ebuild-helpers/
PATH: /usr/local/sbin/
PATH: /usr/local/bin/
PATH: /usr/sbin/
PATH: /usr/bin/
PATH: /sbin/
PATH: /bin/
PATH: /opt/bin/
PATH: /usr/lib/llvm/11/bin/

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

configure:2962: looking for aux files: config.guess config.sub ltmain.sh compile missing install-sh
configure:2975:  trying ./
configure:3004:   ./config.guess found
configure:3004:   ./config.sub found
configure:3004:   ./ltmain.sh found
configure:3004:   ./compile found
configure:3004:   ./missing found
configure:2986:   ./install-sh found
configure:3133: checking for a BSD-compatible install
configure:3206: result: /usr/bin/install -c
configure:3217: checking whether build environment is sane
configure:3272: result: yes
configure:3431: checking for a race-free mkdir -p
configure:3475: result: /bin/mkdir -p
configure:3482: checking for gawk
configure:3503: found /usr/bin/gawk
configure:3514: result: gawk
configure:3525: checking whether make sets $(MAKE)
configure:3548: result: yes
configure:3578: checking whether make supports nested variables
configure:3596: result: yes
configure:3790: checking whether to enable maintainer-specific portions of Makefiles
configure:3800: result: no
configure:3826: checking whether make supports nested variables
configure:3844: result: yes
configure:3886: checking whether make supports the include directive
configure:3901: make -f confmf.GNU && cat confinc.out
this is the am__doit target
configure:3904: $? = 0
configure:3923: result: yes (GNU style)
configure:3954: checking for x86_64-gentoo-linux-musl-gcc
configure:3986: result: gcc
configure:4384: checking for C compiler version
configure:4393: gcc --version >&5
gcc (Gentoo 10.2.0-r5 p6) 10.2.0
Copyright (C) 2020 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:4404: $? = 0
configure:4393: gcc -v >&5
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-gentoo-linux-musl/10.2.0/lto-wrapper
Target: x86_64-gentoo-linux-musl
Configured with: /var/tmp/portage/sys-devel/gcc-10.2.0-r5/work/gcc-10.2.0/configure --host=x86_64-gentoo-linux-musl --build=x86_64-gentoo-linux-musl --prefix=/usr --bindir=/usr/x86_64-gentoo-linux-musl/gcc-bin/10.2.0 --includedir=/usr/lib/gcc/x86_64-gentoo-linux-musl/10.2.0/include --datadir=/usr/share/gcc-data/x86_64-gentoo-linux-musl/10.2.0 --mandir=/usr/share/gcc-data/x86_64-gentoo-linux-musl/10.2.0/man --infodir=/usr/share/gcc-data/x86_64-gentoo-linux-musl/10.2.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-gentoo-linux-musl/10.2.0/include/g++-v10 --with-python-dir=/share/gcc-data/x86_64-gentoo-linux-musl/10.2.0/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --disable-nls --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 10.2.0-r5 p6' --disable-esp --enable-libstdcxx-time --with-build-config=bootstrap-lto --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-multilib --with-multilib-list=m64 --disable-fixed-point --enable-targets=all --enable-libgomp --disable-libssp --disable-libada --disable-systemtap --disable-vtable-verify --disable-libvtv --without-zstd --enable-lto --without-isl --disable-libsanitizer --enable-default-pie --enable-default-ssp
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 10.2.0 (Gentoo 10.2.0-r5 p6) 
configure:4404: $? = 0
configure:4393: gcc -V >&5
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:4404: $? = 1
configure:4393: gcc -qversion >&5
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:4404: $? = 1
configure:4393: gcc -version >&5
gcc: error: unrecognized command-line option '-version'
gcc: fatal error: no input files
compilation terminated.
configure:4404: $? = 1
configure:4424: checking whether the C compiler works
configure:4446: gcc -march=native -O2 -pipe -falign-functions=32  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:4450: $? = 0
configure:4500: result: yes
configure:4503: checking for C compiler default output file name
configure:4505: result: a.out
configure:4511: checking for suffix of executables
configure:4518: gcc -o conftest -march=native -O2 -pipe -falign-functions=32  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:4522: $? = 0
configure:4545: result: 
configure:4567: checking whether we are cross compiling
configure:4575: gcc -o conftest -march=native -O2 -pipe -falign-functions=32  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:4579: $? = 0
configure:4586: ./conftest
configure:4590: $? = 0
configure:4605: result: no
configure:4610: checking for suffix of object files
configure:4633: gcc -c -march=native -O2 -pipe -falign-functions=32  conftest.c >&5
configure:4637: $? = 0
configure:4659: result: o
configure:4663: checking whether the compiler supports GNU C
configure:4683: gcc -c -march=native -O2 -pipe -falign-functions=32  conftest.c >&5
configure:4683: $? = 0
configure:4693: result: yes
configure:4704: checking whether gcc accepts -g
configure:4725: gcc -c -g  conftest.c >&5
configure:4725: $? = 0
configure:4769: result: yes
configure:4789: checking for gcc option to enable C11 features
configure:4804: gcc  -c -march=native -O2 -pipe -falign-functions=32  conftest.c >&5
configure:4804: $? = 0
configure:4822: result: none needed
configure:4938: checking whether gcc understands -c and -o together
configure:4961: gcc -c conftest.c -o conftest2.o
configure:4964: $? = 0
configure:4961: gcc -c conftest.c -o conftest2.o
configure:4964: $? = 0
configure:4976: result: yes
configure:4995: checking dependency style of gcc
configure:5107: result: none
configure:5127: checking for stdio.h
configure:5127: gcc -c -march=native -O2 -pipe -falign-functions=32  conftest.c >&5
configure:5127: $? = 0
configure:5127: result: yes
configure:5127: checking for stdlib.h
configure:5127: gcc -c -march=native -O2 -pipe -falign-functions=32  conftest.c >&5
configure:5127: $? = 0
configure:5127: result: yes
configure:5127: checking for string.h
configure:5127: gcc -c -march=native -O2 -pipe -falign-functions=32  conftest.c >&5
configure:5127: $? = 0
configure:5127: result: yes
configure:5127: checking for inttypes.h
configure:5127: gcc -c -march=native -O2 -pipe -falign-functions=32  conftest.c >&5
configure:5127: $? = 0
configure:5127: result: yes
configure:5127: checking for stdint.h
configure:5127: gcc -c -march=native -O2 -pipe -falign-functions=32  conftest.c >&5
configure:5127: $? = 0
configure:5127: result: yes
configure:5127: checking for strings.h
configure:5127: gcc -c -march=native -O2 -pipe -falign-functions=32  conftest.c >&5
configure:5127: $? = 0
configure:5127: result: yes
configure:5127: checking for sys/stat.h
configure:5127: gcc -c -march=native -O2 -pipe -falign-functions=32  conftest.c >&5
configure:5127: $? = 0
configure:5127: result: yes
configure:5127: checking for sys/types.h
configure:5127: gcc -c -march=native -O2 -pipe -falign-functions=32  conftest.c >&5
configure:5127: $? = 0
configure:5127: result: yes
configure:5127: checking for unistd.h
configure:5127: gcc -c -march=native -O2 -pipe -falign-functions=32  conftest.c >&5
configure:5127: $? = 0
configure:5127: result: yes
configure:5127: checking for wchar.h
configure:5127: gcc -c -march=native -O2 -pipe -falign-functions=32  conftest.c >&5
configure:5127: $? = 0
configure:5127: result: yes
configure:5127: checking for minix/config.h
configure:5127: gcc -c -march=native -O2 -pipe -falign-functions=32  conftest.c >&5
conftest.c:49:10: fatal error: minix/config.h: No such file or directory
   49 | #include <minix/config.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
configure:5127: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "polkit"
| #define PACKAGE_TARNAME "polkit"
| #define PACKAGE_VERSION "0.118"
| #define PACKAGE_STRING "polkit 0.118"
| #define PACKAGE_BUGREPORT "http://lists.freedesktop.org/mailman/listinfo/polkit-devel"
| #define PACKAGE_URL "http://www.freedesktop.org/wiki/Software/polkit"
| #define PACKAGE "polkit"
| #define VERSION "0.118"
| #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 HAVE_WCHAR_H 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 <minix/config.h>
configure:5127: result: no
configure:5158: checking whether it is safe to define __EXTENSIONS__
configure:5177: gcc -c -march=native -O2 -pipe -falign-functions=32  conftest.c >&5
configure:5177: $? = 0
configure:5185: result: yes
configure:5188: checking whether _XOPEN_SOURCE should be defined
configure:5210: gcc -c -march=native -O2 -pipe -falign-functions=32  conftest.c >&5
configure:5210: $? = 0
configure:5237: result: no
configure:5293: checking for library containing strerror
configure:5323: gcc -o conftest -march=native -O2 -pipe -falign-functions=32  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:5323: $? = 0
configure:5343: result: none required
configure:5360: checking for x86_64-gentoo-linux-musl-gcc
configure:5392: result: gcc
configure:5790: checking for C compiler version
configure:5799: gcc --version >&5
gcc (Gentoo 10.2.0-r5 p6) 10.2.0
Copyright (C) 2020 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:5810: $? = 0
configure:5799: gcc -v >&5
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-gentoo-linux-musl/10.2.0/lto-wrapper
Target: x86_64-gentoo-linux-musl
Configured with: /var/tmp/portage/sys-devel/gcc-10.2.0-r5/work/gcc-10.2.0/configure --host=x86_64-gentoo-linux-musl --build=x86_64-gentoo-linux-musl --prefix=/usr --bindir=/usr/x86_64-gentoo-linux-musl/gcc-bin/10.2.0 --includedir=/usr/lib/gcc/x86_64-gentoo-linux-musl/10.2.0/include --datadir=/usr/share/gcc-data/x86_64-gentoo-linux-musl/10.2.0 --mandir=/usr/share/gcc-data/x86_64-gentoo-linux-musl/10.2.0/man --infodir=/usr/share/gcc-data/x86_64-gentoo-linux-musl/10.2.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-gentoo-linux-musl/10.2.0/include/g++-v10 --with-python-dir=/share/gcc-data/x86_64-gentoo-linux-musl/10.2.0/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --disable-nls --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 10.2.0-r5 p6' --disable-esp --enable-libstdcxx-time --with-build-config=bootstrap-lto --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-multilib --with-multilib-list=m64 --disable-fixed-point --enable-targets=all --enable-libgomp --disable-libssp --disable-libada --disable-systemtap --disable-vtable-verify --disable-libvtv --without-zstd --enable-lto --without-isl --disable-libsanitizer --enable-default-pie --enable-default-ssp
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 10.2.0 (Gentoo 10.2.0-r5 p6) 
configure:5810: $? = 0
configure:5799: gcc -V >&5
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:5810: $? = 1
configure:5799: gcc -qversion >&5
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:5810: $? = 1
configure:5799: gcc -version >&5
gcc: error: unrecognized command-line option '-version'
gcc: fatal error: no input files
compilation terminated.
configure:5810: $? = 1
configure:5814: checking whether the compiler supports GNU C
configure:5844: result: yes
configure:5855: checking whether gcc accepts -g
configure:5920: result: yes
configure:5940: checking for gcc option to enable C11 features
configure:5973: result: none needed
configure:6089: checking whether gcc understands -c and -o together
configure:6127: result: yes
configure:6146: checking dependency style of gcc
configure:6258: result: none
configure:6273: checking for grep that handles long lines and -e
configure:6337: result: /bin/grep
configure:6345: checking for egrep
configure:6413: result: /bin/grep -E
configure:6451: checking build system type
configure:6466: result: x86_64-gentoo-linux-musl
configure:6486: checking host system type
configure:6500: result: x86_64-gentoo-linux-musl
configure:6541: checking how to print strings
configure:6568: result: printf
configure:6589: checking for a sed that does not truncate output
configure:6659: result: /bin/sed
configure:6677: checking for fgrep
configure:6745: result: /bin/grep -F
configure:6781: checking for ld used by gcc
configure:6849: result: ld.bfd
configure:6856: checking if the linker (ld.bfd) is GNU ld
configure:6872: result: yes
configure:6884: checking for BSD- or MS-compatible name lister (nm)
configure:6939: result: gcc-nm
configure:7079: checking the name lister (gcc-nm) interface
configure:7087: gcc -c -march=native -O2 -pipe -falign-functions=32  conftest.c >&5
configure:7090: gcc-nm "conftest.o"
configure:7093: output
0000000000000000 B some_variable
configure:7100: result: BSD nm
configure:7103: checking whether ln -s works
configure:7107: result: yes
configure:7115: checking the maximum length of command line arguments
configure:7252: result: 98304
configure:7300: checking how to convert x86_64-gentoo-linux-musl file names to x86_64-gentoo-linux-musl format
configure:7341: result: func_convert_file_noop
configure:7348: checking how to convert x86_64-gentoo-linux-musl file names to toolchain format
configure:7369: result: func_convert_file_noop
configure:7376: checking for ld.bfd option to reload object files
configure:7384: result: -r
configure:7418: checking for x86_64-gentoo-linux-musl-objdump
configure:7439: found /usr/bin/x86_64-gentoo-linux-musl-objdump
configure:7450: result: x86_64-gentoo-linux-musl-objdump
configure:7527: checking how to recognize dependent libraries
configure:7728: result: pass_all
configure:7773: checking for x86_64-gentoo-linux-musl-dlltool
configure:7808: result: no
configure:7818: checking for dlltool
configure:7853: result: no
configure:7883: checking how to associate runtime and link libraries
configure:7911: result: printf %s\n
configure:7927: checking for x86_64-gentoo-linux-musl-ar
configure:7959: result: gcc-ar
configure:8045: checking for archiver @FILE support
configure:8063: gcc -c -march=native -O2 -pipe -falign-functions=32  conftest.c >&5
configure:8063: $? = 0
configure:8067: gcc-ar cru libconftest.a @conftest.lst >&5
configure:8070: $? = 0
configure:8075: gcc-ar cru libconftest.a @conftest.lst >&5
/usr/lib/gcc/x86_64-gentoo-linux-musl/10.2.0/../../../../x86_64-gentoo-linux-musl/bin/ar: conftest.o: No such file or directory
configure:8078: $? = 1
configure:8090: result: @
configure:8108: checking for x86_64-gentoo-linux-musl-strip
configure:8129: found /usr/bin/x86_64-gentoo-linux-musl-strip
configure:8140: result: x86_64-gentoo-linux-musl-strip
configure:8217: checking for x86_64-gentoo-linux-musl-ranlib
configure:8249: result: gcc-ranlib
configure:8396: checking command to parse gcc-nm output from gcc object
configure:8550: gcc -c -march=native -O2 -pipe -falign-functions=32  conftest.c >&5
configure:8553: $? = 0
configure:8557: gcc-nm conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/  /p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:8560: $? = 0
configure:8626: gcc -o conftest -march=native -O2 -pipe -falign-functions=32  -Wl,-O1 -Wl,--as-needed conftest.c conftstm.o >&5
configure:8629: $? = 0
configure:8667: result: ok
configure:8714: checking for sysroot
configure:8745: result: /
configure:8752: checking for a working dd
configure:8796: result: /bin/dd
configure:8800: checking how to truncate binary pipes
configure:8816: result: /bin/dd bs=4096 count=1
configure:8953: gcc -c -march=native -O2 -pipe -falign-functions=32  conftest.c >&5
configure:8956: $? = 0
configure:9108: checking for x86_64-gentoo-linux-musl-mt
configure:9143: result: no
configure:9153: checking for mt
configure:9188: result: no
configure:9208: checking if : is a manifest tool
configure:9215: : '-?'
configure:9223: result: no
configure:9949: checking for dlfcn.h
configure:9949: gcc -c -march=native -O2 -pipe -falign-functions=32  conftest.c >&5
configure:9949: $? = 0
configure:9949: result: yes
configure:10208: checking for objdir
configure:10224: result: .libs
configure:10488: checking if gcc supports -fno-rtti -fno-exceptions
configure:10507: gcc -c -march=native -O2 -pipe -falign-functions=32  -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:10511: $? = 0
configure:10524: result: no
configure:10882: checking for gcc option to produce PIC
configure:10890: result: -fPIC -DPIC
configure:10898: checking if gcc PIC flag -fPIC -DPIC works
configure:10917: gcc -c -march=native -O2 -pipe -falign-functions=32  -fPIC -DPIC -DPIC conftest.c >&5
configure:10921: $? = 0
configure:10934: result: yes
configure:10963: checking if gcc static flag -static works
configure:10992: result: yes
configure:11007: checking if gcc supports -c -o file.o
configure:11029: gcc -c -march=native -O2 -pipe -falign-functions=32  -o out/conftest2.o conftest.c >&5
configure:11033: $? = 0
configure:11055: result: yes
configure:11063: checking if gcc supports -c -o file.o
configure:11111: result: yes
configure:11144: checking whether the gcc linker (ld.bfd -m elf_x86_64) supports shared libraries
configure:12410: result: yes
configure:12447: checking whether -lc should be explicitly linked in
configure:12456: gcc -c -march=native -O2 -pipe -falign-functions=32  conftest.c >&5
configure:12459: $? = 0
configure:12474: gcc -shared  -fPIC -DPIC conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep  -lc  \>/dev/null 2\>\&1
configure:12477: $? = 0
configure:12491: result: no
configure:12651: checking dynamic linker characteristics
configure:13246: gcc -o conftest -march=native -O2 -pipe -falign-functions=32  -Wl,-O1 -Wl,--as-needed -Wl,-rpath -Wl,/foo conftest.c  >&5
configure:13246: $? = 0
configure:13485: result: GNU/Linux ld.so
configure:13607: checking how to hardcode library paths into programs
configure:13632: result: immediate
configure:14184: checking whether stripping libraries is possible
configure:14189: result: yes
configure:14224: checking if libtool supports shared libraries
configure:14226: result: yes
configure:14229: checking whether to build shared libraries
configure:14254: result: yes
configure:14257: checking whether to build static libraries
configure:14261: result: no
configure:14298: checking whether make sets $(MAKE)
configure:14321: result: yes
configure:14330: checking whether ln -s works
configure:14334: result: yes
configure:14349: checking for special C compiler options needed for large files
configure:14397: result: no
configure:14403: checking for _FILE_OFFSET_BITS value needed for large files
configure:14429: gcc -c -march=native -O2 -pipe -falign-functions=32  conftest.c >&5
configure:14429: $? = 0
configure:14463: result: no
configure:14674: checking for C++ compiler version
configure:14683: g++ --version >&5
g++ (Gentoo 10.2.0-r5 p6) 10.2.0
Copyright (C) 2020 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:14694: $? = 0
configure:14683: g++ -v >&5
Using built-in specs.
COLLECT_GCC=/usr/bin/g++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-gentoo-linux-musl/10.2.0/lto-wrapper
Target: x86_64-gentoo-linux-musl
Configured with: /var/tmp/portage/sys-devel/gcc-10.2.0-r5/work/gcc-10.2.0/configure --host=x86_64-gentoo-linux-musl --build=x86_64-gentoo-linux-musl --prefix=/usr --bindir=/usr/x86_64-gentoo-linux-musl/gcc-bin/10.2.0 --includedir=/usr/lib/gcc/x86_64-gentoo-linux-musl/10.2.0/include --datadir=/usr/share/gcc-data/x86_64-gentoo-linux-musl/10.2.0 --mandir=/usr/share/gcc-data/x86_64-gentoo-linux-musl/10.2.0/man --infodir=/usr/share/gcc-data/x86_64-gentoo-linux-musl/10.2.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-gentoo-linux-musl/10.2.0/include/g++-v10 --with-python-dir=/share/gcc-data/x86_64-gentoo-linux-musl/10.2.0/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --disable-nls --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 10.2.0-r5 p6' --disable-esp --enable-libstdcxx-time --with-build-config=bootstrap-lto --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-multilib --with-multilib-list=m64 --disable-fixed-point --enable-targets=all --enable-libgomp --disable-libssp --disable-libada --disable-systemtap --disable-vtable-verify --disable-libvtv --without-zstd --enable-lto --without-isl --disable-libsanitizer --enable-default-pie --enable-default-ssp
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 10.2.0 (Gentoo 10.2.0-r5 p6) 
configure:14694: $? = 0
configure:14683: g++ -V >&5
g++: error: unrecognized command-line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:14694: $? = 1
configure:14683: g++ -qversion >&5
g++: error: unrecognized command-line option '-qversion'; did you mean '--version'?
g++: fatal error: no input files
compilation terminated.
configure:14694: $? = 1
configure:14698: checking whether the compiler supports GNU C++
configure:14718: g++ -c -march=native -O2 -pipe -falign-functions=32  conftest.cpp >&5
configure:14718: $? = 0
configure:14728: result: yes
configure:14739: checking whether g++ accepts -g
configure:14760: g++ -c -g  conftest.cpp >&5
configure:14760: $? = 0
configure:14804: result: yes
configure:14824: checking for g++ option to enable C++11 features
configure:14839: g++  -c -march=native -O2 -pipe -falign-functions=32  conftest.cpp >&5
configure:14839: $? = 0
configure:14857: result: none needed
configure:14923: checking dependency style of g++
configure:15035: result: none
configure:15068: checking how to run the C++ preprocessor
configure:15090: g++ -E  conftest.cpp
configure:15090: $? = 0
configure:15105: g++ -E  conftest.cpp
conftest.cpp:40:10: fatal error: ac_nonexistent.h: No such file or directory
   40 | #include <ac_nonexistent.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:15105: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "polkit"
| #define PACKAGE_TARNAME "polkit"
| #define PACKAGE_VERSION "0.118"
| #define PACKAGE_STRING "polkit 0.118"
| #define PACKAGE_BUGREPORT "http://lists.freedesktop.org/mailman/listinfo/polkit-devel"
| #define PACKAGE_URL "http://www.freedesktop.org/wiki/Software/polkit"
| #define PACKAGE "polkit"
| #define VERSION "0.118"
| #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 HAVE_WCHAR_H 1
| #define STDC_HEADERS 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:15132: result: g++ -E
configure:15146: g++ -E  conftest.cpp
configure:15146: $? = 0
configure:15161: g++ -E  conftest.cpp
conftest.cpp:40:10: fatal error: ac_nonexistent.h: No such file or directory
   40 | #include <ac_nonexistent.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:15161: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "polkit"
| #define PACKAGE_TARNAME "polkit"
| #define PACKAGE_VERSION "0.118"
| #define PACKAGE_STRING "polkit 0.118"
| #define PACKAGE_BUGREPORT "http://lists.freedesktop.org/mailman/listinfo/polkit-devel"
| #define PACKAGE_URL "http://www.freedesktop.org/wiki/Software/polkit"
| #define PACKAGE "polkit"
| #define VERSION "0.118"
| #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 HAVE_WCHAR_H 1
| #define STDC_HEADERS 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:15326: checking for ld used by g++
configure:15394: result: ld.bfd -m elf_x86_64
configure:15401: checking if the linker (ld.bfd -m elf_x86_64) is GNU ld
configure:15417: result: yes
configure:15472: checking whether the g++ linker (ld.bfd -m elf_x86_64) supports shared libraries
configure:16549: result: yes
configure:16585: g++ -c -march=native -O2 -pipe -falign-functions=32  conftest.cpp >&5
configure:16588: $? = 0
configure:17069: checking for g++ option to produce PIC
configure:17077: result: -fPIC -DPIC
configure:17085: checking if g++ PIC flag -fPIC -DPIC works
configure:17104: g++ -c -march=native -O2 -pipe -falign-functions=32  -fPIC -DPIC -DPIC conftest.cpp >&5
configure:17108: $? = 0
configure:17121: result: yes
configure:17144: checking if g++ static flag -static works
configure:17173: result: yes
configure:17185: checking if g++ supports -c -o file.o
configure:17207: g++ -c -march=native -O2 -pipe -falign-functions=32  -o out/conftest2.o conftest.cpp >&5
configure:17211: $? = 0
configure:17233: result: yes
configure:17238: checking if g++ supports -c -o file.o
configure:17286: result: yes
configure:17316: checking whether the g++ linker (ld.bfd -m elf_x86_64) supports shared libraries
configure:17356: result: yes
configure:17498: checking dynamic linker characteristics
configure:18259: result: GNU/Linux ld.so
configure:18324: checking how to hardcode library paths into programs
configure:18349: result: immediate
configure:18401: checking whether g++ supports C++17 features with -std=gnu++17
configure:19196: g++ -std=gnu++17 -c -march=native -O2 -pipe -falign-functions=32  conftest.cpp >&5
configure:19196: $? = 0
configure:19206: result: yes
configure:20089: checking for xsltproc
configure:20112: found /usr/bin/xsltproc
configure:20124: result: /usr/bin/xsltproc
configure:20156: checking for x86_64-gentoo-linux-musl-pkg-config
configure:20179: found /usr/bin/x86_64-gentoo-linux-musl-pkg-config
configure:20191: result: /usr/bin/x86_64-gentoo-linux-musl-pkg-config
configure:20264: checking pkg-config is at least version 0.9.0
configure:20267: result: yes
configure:20279: checking for gtk-doc
configure:20282: $PKG_CONFIG --exists --print-errors "$gtk_doc_requires"
Package gtk-doc was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk-doc.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gtk-doc', required by 'virtual:world', not found
configure:20285: $? = 1
configure:20291: result: no
configure:20295: WARNING:
  You will not be able to create source packages with 'make dist'
  because gtk-doc >= 1.3 is not found.
configure:20305: checking for gtkdoc-check
configure:20340: result: no
configure:20347: checking for gtkdoc-check
configure:20385: result: no
configure:20394: checking for gtkdoc-rebase
configure:20432: result: no
configure:20443: checking for gtkdoc-mkpdf
configure:20481: result: no
configure:20508: checking whether to build gtk-doc documentation
configure:20510: result: no
configure:20523: checking for GTKDOC_DEPS
configure:20530: $PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0"
configure:20533: $? = 0
configure:20547: $PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0"
configure:20550: $? = 0
configure:20588: result: yes
configure:20693: checking if gcc supports flag -pipe in envvar CFLAGS
configure:20705: gcc -o conftest -march=native -O2 -pipe -falign-functions=32 -Werror -pipe  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:20705: $? = 0
configure:20716: result: yes
configure:20693: checking if gcc supports flag -Wall in envvar CFLAGS
configure:20705: gcc -o conftest -march=native -O2 -pipe -falign-functions=32 -Werror -Wall  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:20705: $? = 0
configure:20716: result: yes
configure:20693: checking if gcc supports flag -Werror=empty-body in envvar CFLAGS
configure:20705: gcc -o conftest -march=native -O2 -pipe -falign-functions=32 -Werror -Werror=empty-body  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:20705: $? = 0
configure:20716: result: yes
configure:20693: checking if gcc supports flag -Werror=strict-prototypes in envvar CFLAGS
configure:20705: gcc -o conftest -march=native -O2 -pipe -falign-functions=32 -Werror -Werror=strict-prototypes  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:20705: $? = 0
configure:20716: result: yes
configure:20693: checking if gcc supports flag -Werror=missing-prototypes in envvar CFLAGS
configure:20705: gcc -o conftest -march=native -O2 -pipe -falign-functions=32 -Werror -Werror=missing-prototypes  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:20705: $? = 0
configure:20716: result: yes
configure:20693: checking if gcc supports flag -Werror=implicit-function-declaration in envvar CFLAGS
configure:20705: gcc -o conftest -march=native -O2 -pipe -falign-functions=32 -Werror -Werror=implicit-function-declaration  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:20705: $? = 0
configure:20716: result: yes
configure:20693: checking if gcc supports flag -Werror=format=2 -Werror=format-security -Werror=format-nonliteral in envvar CFLAGS
configure:20705: gcc -o conftest -march=native -O2 -pipe -falign-functions=32 -Werror -Werror=format=2 -Werror=format-security -Werror=format-nonliteral  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:20705: $? = 0
configure:20716: result: yes
configure:20693: checking if gcc supports flag -Werror=pointer-arith in envvar CFLAGS
configure:20705: gcc -o conftest -march=native -O2 -pipe -falign-functions=32 -Werror -Werror=pointer-arith  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:20705: $? = 0
configure:20716: result: yes
configure:20693: checking if gcc supports flag -Werror=init-self in envvar CFLAGS
configure:20705: gcc -o conftest -march=native -O2 -pipe -falign-functions=32 -Werror -Werror=init-self  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:20705: $? = 0
configure:20716: result: yes
configure:20693: checking if gcc supports flag -Werror=missing-declarations in envvar CFLAGS
configure:20705: gcc -o conftest -march=native -O2 -pipe -falign-functions=32 -Werror -Werror=missing-declarations  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:20705: $? = 0
configure:20716: result: yes
configure:20693: checking if gcc supports flag -Werror=return-type in envvar CFLAGS
configure:20705: gcc -o conftest -march=native -O2 -pipe -falign-functions=32 -Werror -Werror=return-type  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:20705: $? = 0
configure:20716: result: yes
configure:20693: checking if gcc supports flag -Werror=overflow in envvar CFLAGS
configure:20705: gcc -o conftest -march=native -O2 -pipe -falign-functions=32 -Werror -Werror=overflow  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:20705: $? = 0
configure:20716: result: yes
configure:20693: checking if gcc supports flag -Werror=int-conversion in envvar CFLAGS
configure:20705: gcc -o conftest -march=native -O2 -pipe -falign-functions=32 -Werror -Werror=int-conversion  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:20705: $? = 0
configure:20716: result: yes
configure:20693: checking if gcc supports flag -Werror=parenthesis in envvar CFLAGS
configure:20705: gcc -o conftest -march=native -O2 -pipe -falign-functions=32 -Werror -Werror=parenthesis  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
cc1: error: '-Werror=parenthesis': no option '-Wparenthesis'; did you mean '-Wparentheses'?
configure:20705: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "polkit"
| #define PACKAGE_TARNAME "polkit"
| #define PACKAGE_VERSION "0.118"
| #define PACKAGE_STRING "polkit 0.118"
| #define PACKAGE_BUGREPORT "http://lists.freedesktop.org/mailman/listinfo/polkit-devel"
| #define PACKAGE_URL "http://www.freedesktop.org/wiki/Software/polkit"
| #define PACKAGE "polkit"
| #define VERSION "0.118"
| #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 HAVE_WCHAR_H 1
| #define STDC_HEADERS 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_CXX17 1
| /* end confdefs.h.  */
| int main(void) { return 0; }
configure:20716: result: no
configure:20693: checking if gcc supports flag -Werror=incompatible-pointer-types in envvar CFLAGS
configure:20705: gcc -o conftest -march=native -O2 -pipe -falign-functions=32 -Werror -Werror=incompatible-pointer-types  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:20705: $? = 0
configure:20716: result: yes
configure:20693: checking if gcc supports flag -Werror=misleading-indentation in envvar CFLAGS
configure:20705: gcc -o conftest -march=native -O2 -pipe -falign-functions=32 -Werror -Werror=misleading-indentation  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:20705: $? = 0
configure:20716: result: yes
configure:20693: checking if gcc supports flag -Werror=missing-include-dirs in envvar CFLAGS
configure:20705: gcc -o conftest -march=native -O2 -pipe -falign-functions=32 -Werror -Werror=missing-include-dirs  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:20705: $? = 0
configure:20716: result: yes
configure:20693: checking if gcc supports flag -Werror=aggregate-return in envvar CFLAGS
configure:20705: gcc -o conftest -march=native -O2 -pipe -falign-functions=32 -Werror -Werror=aggregate-return  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:20705: $? = 0
configure:20716: result: yes
configure:20693: checking if gcc supports flag -Werror=declaration-after-statement in envvar CFLAGS
configure:20705: gcc -o conftest -march=native -O2 -pipe -falign-functions=32 -Werror -Werror=declaration-after-statement  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:20705: $? = 0
configure:20716: result: yes
configure:20730: checking for GLIB
configure:20737: $PKG_CONFIG --exists --print-errors "gmodule-2.0 gio-unix-2.0 >= 2.30.0"
configure:20740: $? = 0
configure:20754: $PKG_CONFIG --exists --print-errors "gmodule-2.0 gio-unix-2.0 >= 2.30.0"
configure:20757: $? = 0
configure:20815: result: yes
configure:20836: checking for LIBJS
configure:20843: $PKG_CONFIG --exists --print-errors "duktape >= 2.0.0 "
Package duktape was not found in the pkg-config search path.
Perhaps you should add the directory containing `duktape.pc'
to the PKG_CONFIG_PATH environment variable
Package 'duktape', required by 'virtual:world', not found
configure:20846: $? = 1
configure:20860: $PKG_CONFIG --exists --print-errors "duktape >= 2.0.0 "
Package duktape was not found in the pkg-config search path.
Perhaps you should add the directory containing `duktape.pc'
to the PKG_CONFIG_PATH environment variable
Package 'duktape', required by 'virtual:world', not found
configure:20863: $? = 1
configure:20877: result: no
Package 'duktape', required by 'virtual:world', not found
configure:20893: error: Package requirements (duktape >= 2.0.0 ) were not met:

Package 'duktape', required by 'virtual:world', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBJS_CFLAGS
and LIBJS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

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

ac_cv_build='x86_64-gentoo-linux-musl'
ac_cv_c_compiler_gnu='yes'
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='gcc'
ac_cv_env_CFLAGS_set='set'
ac_cv_env_CFLAGS_value='-march=native -O2 -pipe -falign-functions=32'
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='-march=native -O2 -pipe -falign-functions=32'
ac_cv_env_CXX_set='set'
ac_cv_env_CXX_value='g++'
ac_cv_env_GLIB_CFLAGS_set=''
ac_cv_env_GLIB_CFLAGS_value=''
ac_cv_env_GLIB_LIBS_set=''
ac_cv_env_GLIB_LIBS_value=''
ac_cv_env_GTKDOC_DEPS_CFLAGS_set=''
ac_cv_env_GTKDOC_DEPS_CFLAGS_value=''
ac_cv_env_GTKDOC_DEPS_LIBS_set=''
ac_cv_env_GTKDOC_DEPS_LIBS_value=''
ac_cv_env_LDFLAGS_set='set'
ac_cv_env_LDFLAGS_value='-Wl,-O1 -Wl,--as-needed'
ac_cv_env_LIBELOGIND_CFLAGS_set=''
ac_cv_env_LIBELOGIND_CFLAGS_value=''
ac_cv_env_LIBELOGIND_LIBS_set=''
ac_cv_env_LIBELOGIND_LIBS_value=''
ac_cv_env_LIBJS_CFLAGS_set=''
ac_cv_env_LIBJS_CFLAGS_value=''
ac_cv_env_LIBJS_LIBS_set=''
ac_cv_env_LIBJS_LIBS_value=''
ac_cv_env_LIBSYSTEMD_CFLAGS_set=''
ac_cv_env_LIBSYSTEMD_CFLAGS_value=''
ac_cv_env_LIBSYSTEMD_LIBS_set=''
ac_cv_env_LIBSYSTEMD_LIBS_value=''
ac_cv_env_LIBSYSTEMD_LOGIN_CFLAGS_set=''
ac_cv_env_LIBSYSTEMD_LOGIN_CFLAGS_value=''
ac_cv_env_LIBSYSTEMD_LOGIN_LIBS_set=''
ac_cv_env_LIBSYSTEMD_LOGIN_LIBS_value=''
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=''
ac_cv_env_PKG_CONFIG_PATH_value=''
ac_cv_env_PKG_CONFIG_set=''
ac_cv_env_PKG_CONFIG_value=''
ac_cv_env_SUID_CFLAGS_set=''
ac_cv_env_SUID_CFLAGS_value=''
ac_cv_env_SUID_LDFLAGS_set=''
ac_cv_env_SUID_LDFLAGS_value=''
ac_cv_env_build_alias_set='set'
ac_cv_env_build_alias_value='x86_64-gentoo-linux-musl'
ac_cv_env_host_alias_set='set'
ac_cv_env_host_alias_value='x86_64-gentoo-linux-musl'
ac_cv_env_target_alias_set=''
ac_cv_env_target_alias_value=''
ac_cv_header_dlfcn_h='yes'
ac_cv_header_inttypes_h='yes'
ac_cv_header_minix_config_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_header_wchar_h='yes'
ac_cv_host='x86_64-gentoo-linux-musl'
ac_cv_objext='o'
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_FGREP='/bin/grep -F'
ac_cv_path_GREP='/bin/grep'
ac_cv_path_PKG_CONFIG='/usr/bin/x86_64-gentoo-linux-musl-pkg-config'
ac_cv_path_SED='/bin/sed'
ac_cv_path_XSLTPROC='/usr/bin/xsltproc'
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_lt_DD='/bin/dd'
ac_cv_path_mkdir='/bin/mkdir'
ac_cv_prog_AR='gcc-ar'
ac_cv_prog_AWK='gawk'
ac_cv_prog_CC='gcc'
ac_cv_prog_CXXCPP='g++ -E'
ac_cv_prog_OBJDUMP='x86_64-gentoo-linux-musl-objdump'
ac_cv_prog_RANLIB='gcc-ranlib'
ac_cv_prog_STRIP='x86_64-gentoo-linux-musl-strip'
ac_cv_prog_cc_c11=''
ac_cv_prog_cc_g='yes'
ac_cv_prog_cc_stdc=''
ac_cv_prog_cxx_11='no'
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_safe_to_define___extensions__='yes'
ac_cv_search_strerror='none required'
ac_cv_should_define__xopen_source='no'
ac_cv_sys_file_offset_bits='no'
ac_cv_sys_largefile_CC='no'
am_cv_CC_dependencies_compiler_type='none'
am_cv_CXX_dependencies_compiler_type='none'
am_cv_make_support_nested_variables='yes'
am_cv_prog_cc_c_o='yes'
ax_cv_cxx_compile_cxx17__std_gnupp17='yes'
cc_cv_CFLAGS__Wall='yes'
cc_cv_CFLAGS__Werror_aggregate_return='yes'
cc_cv_CFLAGS__Werror_declaration_after_statement='yes'
cc_cv_CFLAGS__Werror_empty_body='yes'
cc_cv_CFLAGS__Werror_format_2__Werror_format_security__Werror_format_nonliteral='yes'
cc_cv_CFLAGS__Werror_implicit_function_declaration='yes'
cc_cv_CFLAGS__Werror_incompatible_pointer_types='yes'
cc_cv_CFLAGS__Werror_init_self='yes'
cc_cv_CFLAGS__Werror_int_conversion='yes'
cc_cv_CFLAGS__Werror_misleading_indentation='yes'
cc_cv_CFLAGS__Werror_missing_declarations='yes'
cc_cv_CFLAGS__Werror_missing_include_dirs='yes'
cc_cv_CFLAGS__Werror_missing_prototypes='yes'
cc_cv_CFLAGS__Werror_overflow='yes'
cc_cv_CFLAGS__Werror_parenthesis='no'
cc_cv_CFLAGS__Werror_pointer_arith='yes'
cc_cv_CFLAGS__Werror_return_type='yes'
cc_cv_CFLAGS__Werror_strict_prototypes='yes'
cc_cv_CFLAGS__pipe='yes'
lt_cv_ar_at_file='@'
lt_cv_archive_cmds_need_lc='no'
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='ld.bfd'
lt_cv_path_LDCXX='ld.bfd -m elf_x86_64'
lt_cv_path_NM='gcc-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_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='sed -n -e '"'"'s/^.*[  ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[     ][  ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'"'"' | sed '"'"'/ __gnu_lto/d'"'"
lt_cv_sys_global_symbol_to_c_name_address='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='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='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='98304'
lt_cv_to_host_file_cmd='func_convert_file_noop'
lt_cv_to_tool_file_cmd='func_convert_file_noop'
lt_cv_truncate_bin='/bin/dd bs=4096 count=1'
pkg_cv_GLIB_CFLAGS='-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/lib/libffi/include -pthread -I/usr/include/libmount -I/usr/include/blkid '
pkg_cv_GLIB_LIBS='-Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 '
pkg_cv_GTKDOC_DEPS_CFLAGS='-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi/include '
pkg_cv_GTKDOC_DEPS_LIBS='-lgobject-2.0 -lglib-2.0 '

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

ACLOCAL='${SHELL} '\''/var/tmp/portage/sys-auth/polkit-0.118-r1/work/polkit-0.118/missing'\'' aclocal-1.16'
ALL_LINGUAS=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE='#'
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR='gcc-ar'
AUTH_LIBS=''
AUTOCONF='${SHELL} '\''/var/tmp/portage/sys-auth/polkit-0.118-r1/work/polkit-0.118/missing'\'' autoconf'
AUTOHEADER='${SHELL} '\''/var/tmp/portage/sys-auth/polkit-0.118-r1/work/polkit-0.118/missing'\'' autoheader'
AUTOMAKE='${SHELL} '\''/var/tmp/portage/sys-auth/polkit-0.118-r1/work/polkit-0.118/missing'\'' automake-1.16'
AWK='gawk'
BUILD_EXAMPLES_FALSE=''
BUILD_EXAMPLES_TRUE=''
BUILD_TEST_FALSE=''
BUILD_TEST_TRUE=''
CATALOGS=''
CATOBJEXT=''
CC='gcc'
CCDEPMODE='depmode=none'
CFLAGS='-march=native -O2 -pipe -falign-functions=32'
CPPFLAGS=''
CXX='g++ -std=gnu++17'
CXXCPP='g++ -E -std=gnu++17'
CXXDEPMODE='depmode=none'
CXXFLAGS='-march=native -O2 -pipe -falign-functions=32'
CYGPATH_W='echo'
DATADIRNAME=''
DEFS=''
DEPDIR='.deps'
DLLTOOL='false'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
ENABLE_GTK_DOC_FALSE=''
ENABLE_GTK_DOC_TRUE='#'
EXEEXT=''
EXPAT_LIBS=''
FGREP='/bin/grep -F'
GETTEXT_PACKAGE=''
GLIB_CFLAGS='-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/lib/libffi/include -pthread -I/usr/include/libmount -I/usr/include/blkid '
GLIB_LIBS='-Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 '
GMOFILES=''
GMSGFMT=''
GREP='/bin/grep'
GTKDOC_CHECK=''
GTKDOC_CHECK_PATH=''
GTKDOC_DEPS_CFLAGS='-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi/include '
GTKDOC_DEPS_LIBS='-lgobject-2.0 -lglib-2.0 '
GTKDOC_MKPDF=''
GTKDOC_REBASE='true'
GTK_DOC_BUILD_HTML_FALSE='#'
GTK_DOC_BUILD_HTML_TRUE=''
GTK_DOC_BUILD_PDF_FALSE=''
GTK_DOC_BUILD_PDF_TRUE='#'
GTK_DOC_USE_LIBTOOL_FALSE='#'
GTK_DOC_USE_LIBTOOL_TRUE=''
GTK_DOC_USE_REBASE_FALSE='#'
GTK_DOC_USE_REBASE_TRUE=''
HAVE_CXX17='1'
HAVE_GTK_DOC_FALSE=''
HAVE_GTK_DOC_TRUE='#'
HAVE_INTROSPECTION_FALSE=''
HAVE_INTROSPECTION_TRUE=''
HAVE_LIBSYSTEMD_FALSE=''
HAVE_LIBSYSTEMD_TRUE=''
HAVE_PAM=''
HAVE_PAM_FALSE=''
HAVE_PAM_TRUE=''
HAVE_SYSTEMD_FALSE=''
HAVE_SYSTEMD_TRUE=''
HTML_DIR='${datadir}/gtk-doc/html'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INSTOBJEXT=''
INTLLIBS=''
INTLTOOL_CAVES_RULE=''
INTLTOOL_DESKTOP_RULE=''
INTLTOOL_DIRECTORY_RULE=''
INTLTOOL_EXTRACT=''
INTLTOOL_KBD_RULE=''
INTLTOOL_KEYS_RULE=''
INTLTOOL_MERGE=''
INTLTOOL_OAF_RULE=''
INTLTOOL_PERL=''
INTLTOOL_POLICY_RULE=''
INTLTOOL_PONG_RULE=''
INTLTOOL_PROP_RULE=''
INTLTOOL_SCHEMAS_RULE=''
INTLTOOL_SERVER_RULE=''
INTLTOOL_SERVICE_RULE=''
INTLTOOL_SHEET_RULE=''
INTLTOOL_SOUNDLIST_RULE=''
INTLTOOL_THEME_RULE=''
INTLTOOL_UI_RULE=''
INTLTOOL_UPDATE=''
INTLTOOL_V_MERGE=''
INTLTOOL_V_MERGE_OPTIONS=''
INTLTOOL_XAM_RULE=''
INTLTOOL_XML_NOMERGE_RULE=''
INTLTOOL_XML_RULE=''
INTLTOOL__v_MERGE_0=''
INTLTOOL__v_MERGE_=''
INTL_MACOSX_LIBS=''
INTROSPECTION_CFLAGS=''
INTROSPECTION_COMPILER=''
INTROSPECTION_GENERATE=''
INTROSPECTION_GIRDIR=''
INTROSPECTION_LIBS=''
INTROSPECTION_MAKEFILE=''
INTROSPECTION_SCANNER=''
INTROSPECTION_TYPELIBDIR=''
LD='ld.bfd -m elf_x86_64'
LDFLAGS='-Wl,-O1 -Wl,--as-needed'
LIBELOGIND_CFLAGS=''
LIBELOGIND_LIBS=''
LIBJS_CFLAGS=''
LIBJS_CXXFLAGS=''
LIBJS_LIBS=''
LIBOBJS=''
LIBS=''
LIBSYSTEMD_CFLAGS=''
LIBSYSTEMD_LIBS=''
LIBSYSTEMD_LOGIN_CFLAGS=''
LIBSYSTEMD_LOGIN_LIBS=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
LT_AGE='0'
LT_CURRENT='0'
LT_REVISION='0'
LT_SYS_LIBRARY_PATH=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} '\''/var/tmp/portage/sys-auth/polkit-0.118-r1/work/polkit-0.118/missing'\'' makeinfo'
MANIFEST_TOOL=':'
MAN_PAGES_ENABLED_FALSE='#'
MAN_PAGES_ENABLED_TRUE=''
MKDIR_P='/bin/mkdir -p'
MKINSTALLDIRS=''
MSGFMT=''
MSGFMT_OPTS=''
MSGMERGE=''
NM='gcc-nm'
NMEDIT=''
OBJDUMP='x86_64-gentoo-linux-musl-objdump'
OBJEXT='o'
OS_TYPE_FREEBSD_FALSE=''
OS_TYPE_FREEBSD_TRUE=''
OS_TYPE_GENTOO_FALSE=''
OS_TYPE_GENTOO_TRUE=''
OS_TYPE_PARDUS_FALSE=''
OS_TYPE_PARDUS_TRUE=''
OS_TYPE_RED_HAT_FALSE=''
OS_TYPE_RED_HAT_TRUE=''
OS_TYPE_SOLARIS_FALSE=''
OS_TYPE_SOLARIS_TRUE=''
OS_TYPE_SUSE_FALSE=''
OS_TYPE_SUSE_TRUE=''
OS_TYPE_UNKNOWN_FALSE=''
OS_TYPE_UNKNOWN_TRUE=''
OTOOL64=''
OTOOL=''
PACKAGE='polkit'
PACKAGE_BUGREPORT='http://lists.freedesktop.org/mailman/listinfo/polkit-devel'
PACKAGE_NAME='polkit'
PACKAGE_STRING='polkit 0.118'
PACKAGE_TARNAME='polkit'
PACKAGE_URL='http://www.freedesktop.org/wiki/Software/polkit'
PACKAGE_VERSION='0.118'
PAM_FILE_INCLUDE_ACCOUNT=''
PAM_FILE_INCLUDE_AUTH=''
PAM_FILE_INCLUDE_PASSWORD=''
PAM_FILE_INCLUDE_SESSION=''
PAM_MODULE_DIR=''
PAM_PREFIX=''
PATH_SEPARATOR=':'
PKG_CONFIG='/usr/bin/x86_64-gentoo-linux-musl-pkg-config'
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
POFILES=''
POLKITD_USER=''
POLKIT_AUTHFW=''
POLKIT_AUTHFW_BSDAUTH_FALSE=''
POLKIT_AUTHFW_BSDAUTH_TRUE=''
POLKIT_AUTHFW_NONE_FALSE=''
POLKIT_AUTHFW_NONE_TRUE=''
POLKIT_AUTHFW_PAM_FALSE=''
POLKIT_AUTHFW_PAM_TRUE=''
POLKIT_AUTHFW_SHADOW_FALSE=''
POLKIT_AUTHFW_SHADOW_TRUE=''
POSUB=''
PO_IN_DATADIR_FALSE=''
PO_IN_DATADIR_TRUE=''
RANLIB='gcc-ranlib'
SED='/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='x86_64-gentoo-linux-musl-strip'
SUID_CFLAGS=''
SUID_LDFLAGS=''
USE_DUKTAPE_FALSE=''
USE_DUKTAPE_TRUE=''
USE_NLS=''
VERSION='0.118'
WARN_CFLAGS=' -pipe -Wall -Werror=empty-body -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=format=2 -Werror=format-security -Werror=format-nonliteral -Werror=pointer-arith -Werror=init-self -Werror=missing-declarations -Werror=return-type -Werror=overflow -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=misleading-indentation -Werror=missing-include-dirs -Werror=aggregate-return -Werror=declaration-after-statement'
XGETTEXT=''
XSLTPROC='/usr/bin/xsltproc'
_GI_EXP_DATADIR=''
_GI_EXP_LIBDIR=''
ac_ct_AR=''
ac_ct_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=''
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-gentoo-linux-musl'
build_alias='x86_64-gentoo-linux-musl'
build_cpu='x86_64'
build_os='linux-musl'
build_vendor='gentoo'
datadir='/usr/share'
datarootdir='${prefix}/share'
docdir='/usr/share/doc/polkit-0.118-r1'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-gentoo-linux-musl'
host_alias='x86_64-gentoo-linux-musl'
host_cpu='x86_64'
host_os='linux-musl'
host_vendor='gentoo'
htmldir='/usr/share/doc/polkit-0.118-r1/html'
includedir='${prefix}/include'
infodir='/usr/share/info'
install_sh='${SHELL} /var/tmp/portage/sys-auth/polkit-0.118-r1/work/polkit-0.118/install-sh'
intltool__v_merge_options_0=''
intltool__v_merge_options_=''
libdir='/usr/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var'
mandir='/usr/share/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=' test/mocklibc'
sysconfdir='/etc'
systemdsystemunitdir=''
target_alias=''

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

/* confdefs.h */
#define PACKAGE_NAME "polkit"
#define PACKAGE_TARNAME "polkit"
#define PACKAGE_VERSION "0.118"
#define PACKAGE_STRING "polkit 0.118"
#define PACKAGE_BUGREPORT "http://lists.freedesktop.org/mailman/listinfo/polkit-devel"
#define PACKAGE_URL "http://www.freedesktop.org/wiki/Software/polkit"
#define PACKAGE "polkit"
#define VERSION "0.118"
#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 HAVE_WCHAR_H 1
#define STDC_HEADERS 1
#define _ALL_SOURCE 1
#define _DARWIN_C_SOURCE 1
#define _GNU_SOURCE 1
#define _HPUX_ALT_XOPEN_SOCKET_API 1
#define _NETBSD_SOURCE 1
#define _OPENBSD_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
#define __STDC_WANT_IEC_60559_BFP_EXT__ 1
#define __STDC_WANT_IEC_60559_DFP_EXT__ 1
#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
#define __STDC_WANT_LIB_EXT2__ 1
#define __STDC_WANT_MATH_SPEC_FUNCS__ 1
#define _TANDEM_SOURCE 1
#define __EXTENSIONS__ 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_CXX17 1

configure: exit 1
sebsu commented 3 years ago

I have the same issue, so I checked the diff between polkit-0.118.ebuild and polkit-0.118-r1.ebuild. One part that was added was

96a98
>               $(use_with duktape)

This works as expected, since we can see in the printouts provided by yemouu that the flag --without-duktape exist. I modified my local polkit-0.118-r1.ebuild by removing $(use_with duktape), and everything compiled fine. This leads me to believe that the flag --without-duktape is not handled correctly somewhere or that it's an incorrect flag. I do not know enough about the build system to continue the investigation from here.