On 01/04/2018 10:31 AM, Personal wrote: > Hi list. > > I can't install polari and gnome-documents using portage. Using > ./configure by myself there is no problem. I post the polari output: > >>>> Emerging (1 of 1) net-irc/polari-3.22.2::gentoo > * polari-3.22.2.tar.xz BLAKE2B SHA512 size ;-) > ... > [ ok ] >>>> Unpacking source... >>>> Unpacking polari-3.22.2.tar.xz to /var/tmp/portage/net-irc/polari- > 3.22.2/work >>>> Source unpacked in /var/tmp/portage/net-irc/polari-3.22.2/work >>>> Preparing source in /var/tmp/portage/net-irc/polari- > 3.22.2/work/polari-3.22.2 ... > * Disabling deprecation warnings > ... > [ ok ] > * Running elibtoolize in: polari-3.22.2/ > * Applying ppc64le/2.4.4 patch ... > * Running elibtoolize in: polari-3.22.2/build-aux/ > * 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/net-irc/polari- > 3.22.2/work/polari-3.22.2 ... > * econf: updating polari-3.22.2/build-aux/config.sub with > /usr/share/gnuconfig/config.sub > * econf: updating polari-3.22.2/build-aux/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/polari-3.22.2 --htmldir=/usr/share/doc/polari- > 3.22.2/html --libdir=/usr/lib64 --disable-maintainer-mode --disable- > schemas-compile --enable-compile-warnings=minimum > checking for a BSD-compatible install... > /usr/lib/portage/python2.7/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 whether make supports nested variables... yes > checking whether UID '250' is supported by ustar format... yes > checking whether GID '250' is supported by ustar format... yes > checking how to create a ustar tar archive... gnutar > checking whether make supports nested variables... (cached) yes > checking whether to enable maintainer-specific portions of Makefiles... > no > 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 gobject-introspection... yes > checking whether to enable debugging... no > checking for style of include used by make... GNU > checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 we are using the GNU C compiler... yes > checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes > checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none > needed > checking whether x86_64-pc-linux-gnu-gcc understands -c and -o > together... yes > checking dependency style of x86_64-pc-linux-gnu-gcc... none > checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E > checking for grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/grep -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 minix/config.h usability... no > checking minix/config.h presence... no > checking for minix/config.h... no > checking whether it is safe to define __EXTENSIONS__... yes > checking for a sed that does not truncate output... /bin/sed > checking whether C compiler accepts -Werror=unknown-warning-option... > no > checking whether C compiler accepts -fno-strict-aliasing... yes > checking whether C compiler accepts -Wall... yes > checking whether C compiler accepts -Wextra... yes > checking whether C compiler accepts -Wundef... yes > checking whether C compiler accepts -Wnested-externs... yes > checking whether C compiler accepts -Wwrite-strings... yes > checking whether C compiler accepts -Wpointer-arith... yes > checking whether C compiler accepts -Wmissing-declarations... yes > checking whether C compiler accepts -Wmissing-prototypes... yes > checking whether C compiler accepts -Wstrict-prototypes... yes > checking whether C compiler accepts -Wredundant-decls... yes > checking whether C compiler accepts -Wno-unused-parameter... yes > checking whether C compiler accepts -Wno-missing-field-initializers... > yes > checking whether C compiler accepts -Wdeclaration-after-statement... > yes > checking whether C compiler accepts -Wformat=2... yes > checking whether C compiler accepts -Wold-style-definition... yes > checking whether C compiler accepts -Wcast-align... yes > checking whether C compiler accepts -Wformat-nonliteral... yes > checking whether C compiler accepts -Wformat-security... yes > checking whether C compiler accepts -Wsign-compare... yes > checking whether C compiler accepts -Wstrict-aliasing... yes > checking whether C compiler accepts -Wshadow... yes > checking whether C compiler accepts -Winline... yes > checking whether C compiler accepts -Wpacked... yes > checking whether C compiler accepts -Wmissing-format-attribute... yes > checking whether C compiler accepts -Wmissing-noreturn... yes > checking whether C compiler accepts -Winit-self... yes > checking whether C compiler accepts -Wredundant-decls... (cached) yes > checking whether C compiler accepts -Wmissing-include-dirs... yes > checking whether C compiler accepts -Wunused-but-set-variable... yes > checking whether C compiler accepts -Warray-bounds... yes > checking whether C compiler accepts -Wimplicit-function-declaration... > yes > checking whether C compiler accepts -Wreturn-type... yes > checking whether C compiler accepts -Wswitch-enum... yes > checking whether C compiler accepts -Wswitch-default... yes > checking whether C compiler accepts -Wno-error=unused-parameter... yes > checking whether C compiler accepts -Wno-error=missing-field- > initializers... yes > checking whether C compiler accepts -Werror=unknown-warning-option... > (cached) no > checking whether the linker accepts -Wl,--no-as-needed... yes > checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu- > gcc > checking whether we are using the GNU C compiler... (cached) yes > checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes > checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... > (cached) none needed > checking whether x86_64-pc-linux-gnu-gcc understands -c and -o > together... (cached) yes > checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none > checking whether NLS is requested... yes > checking for msgfmt... /usr/bin/msgfmt > checking for gmsgfmt... /usr/bin/gmsgfmt > checking for xgettext... /usr/bin/xgettext > checking for msgmerge... /usr/bin/msgmerge > checking build system type... x86_64-pc-linux-gnu > checking host system type... x86_64-pc-linux-gnu > checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc- > linux-gnu/bin/ld > checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... > yes > checking for shared library run path origin... done > checking for CFPreferencesCopyAppValue... no > checking for CFLocaleCopyCurrent... no > checking for GNU gettext in libc... yes > checking whether to use NLS... yes > checking where the gettext function comes from... libc > checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar > checking the archiver (x86_64-pc-linux-gnu-ar) interface... ar > checking how to print strings... printf > checking for a sed that does not truncate output... (cached) /bin/sed > checking for fgrep... /bin/grep -F > checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc- > linux-gnu/bin/ld > checking if the linker (/usr/x86_64-pc-linux-gnu/bin/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/x86_64-pc-linux-gnu/bin/ld option to reload object > files... -r > 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... (cached) 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 x86_64-pc-linux-gnu-gcc 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... no > checking if : is a manifest tool... no > checking for dlfcn.h... yes > checking for objdir... .libs > checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno- > exceptions... no > checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC > -DPIC > checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes > checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes > checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes > checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) > yes > checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc- > linux-gnu/bin/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 x86_64-pc-linux-gnu-pkg-config... (cached) > /usr/bin/x86_64-pc-linux-gnu-pkg-config > checking pkg-config is at least version 0.16... yes > checking for POLARI... yes > checking for strcasestr... yes > checking for GJS... (pkg-config) /usr/bin/gjs-console > checking for version 3.0 of Gdk... ./configure: line 17012: 26150 > Segmentation fault (core dumped) $GJS conftest.js >> config.log > 2>&1 > no > configure: error: You do not have API version 3.0 of the GObject > Introspection bindings for the Gdk library. > Build a version from source, or find out what package to > install with one of these commands, depending on your system: > apt-file search Gdk-3.0.typelib > dnf provides \*/Gdk-3.0.typelib > > > !!! Please attach the following file when seeking support: > !!! /var/tmp/portage/net-irc/polari-3.22.2/work/polari- > 3.22.2/config.log > * ERROR: net-irc/polari-3.22.2::gentoo failed (configure phase): > * econf failed > * > * Call stack: > * ebuild.sh, line 124: Called src_configure > * environment, line 2672: Called gnome2_src_configure > * environment, line 1853: Called econf '--disable- > maintainer-mode' '--disable-schemas-compile' '--enable-compile- > warnings=minimum' > * phase-helpers.sh, line 665: Called __helpers_die 'econf > failed' > * isolated-functions.sh, line 117: Called die > * The specific snippet of code: > * die "$@" > * > * If you need support, post the output of `emerge --info '=net- > irc/polari-3.22.2::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net- > irc/polari-3.22.2::gentoo'`. > * The complete build log is located at '/var/tmp/portage/net- > irc/polari-3.22.2/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net- > irc/polari-3.22.2/temp/environment'. > * Working directory: '/var/tmp/portage/net-irc/polari- > 3.22.2/work/polari-3.22.2' > * S: '/var/tmp/portage/net-irc/polari-3.22.2/work/polari-3.22.2' > >>>> Failed to emerge net-irc/polari-3.22.2, Log file: >>>> '/var/tmp/portage/net-irc/polari-3.22.2/temp/build.log' > * Messages for package net-irc/polari-3.22.2: > > * ERROR: net-irc/polari-3.22.2::gentoo failed (configure phase): > * econf failed > * > * Call stack: > * ebuild.sh, line 124: Called src_configure > * environment, line 2672: Called gnome2_src_configure > * environment, line 1853: Called econf '--disable- > maintainer-mode' '--disable-schemas-compile' '--enable-compile- > warnings=minimum' > * phase-helpers.sh, line 665: Called __helpers_die 'econf > failed' > * isolated-functions.sh, line 117: Called die > * The specific snippet of code: > * die "$@" > * > * If you need support, post the output of `emerge --info '=net- > irc/polari-3.22.2::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net- > irc/polari-3.22.2::gentoo'`. > * The complete build log is located at '/var/tmp/portage/net- > irc/polari-3.22.2/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net- > irc/polari-3.22.2/temp/environment'. > * Working directory: '/var/tmp/portage/net-irc/polari- > 3.22.2/work/polari-3.22.2' > * S: '/var/tmp/portage/net-irc/polari-3.22.2/work/polari-3.22.2' > > I tested changing the PYTHON_TARGETS and PYTHON_SINGLE_TARGETS vars > with no success. > I think is something with gjs, python or meson but in the end I can't > determinate and solve the problem. > The problem started after the change to 17 profile. > I asked on the web and the IRC channel with no success. > > Thank you in advance. > > -- > Will <will...@disroot.org> >
This may be a stupid question .... If Profile 17 is the cause ... have you tried disabling both PIE / PIC for a test emerge? ( Both PIE / PIC gcc switches are enforced by Profile 17 ) Corbin