Gentoo Archives: gentoo-user

From: Personal <willecg@×××××××.org>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Fail to configure polari and gnome-documents with portage.
Date: Thu, 04 Jan 2018 16:32:27
Message-Id: 1515083517.28856.8.camel@disroot.org
1 Hi list.
2
3 I can't install polari and gnome-documents using portage. Using
4 ./configure by myself there is no problem. I post the polari output:
5
6 >>> Emerging (1 of 1) net-irc/polari-3.22.2::gentoo
7  * polari-3.22.2.tar.xz BLAKE2B SHA512 size ;-)
8 ...                                                                    
9                                                   [ ok ]
10 >>> Unpacking source...
11 >>> Unpacking polari-3.22.2.tar.xz to /var/tmp/portage/net-irc/polari-
12 3.22.2/work
13 >>> Source unpacked in /var/tmp/portage/net-irc/polari-3.22.2/work
14 >>> Preparing source in /var/tmp/portage/net-irc/polari-
15 3.22.2/work/polari-3.22.2 ...
16  * Disabling deprecation warnings
17 ...                                                                    
18                                                                 [ ok ]
19  * Running elibtoolize in: polari-3.22.2/
20  *   Applying ppc64le/2.4.4 patch ...
21  * Running elibtoolize in: polari-3.22.2/build-aux/
22  *   Applying portage/1.2.0 patch ...
23  *   Applying sed/1.5.6 patch ...
24  *   Applying as-needed/2.4.3 patch ...
25 >>> Source prepared.
26 >>> Configuring source in /var/tmp/portage/net-irc/polari-
27 3.22.2/work/polari-3.22.2 ...
28  * econf: updating polari-3.22.2/build-aux/config.sub with
29 /usr/share/gnuconfig/config.sub
30  * econf: updating polari-3.22.2/build-aux/config.guess with
31 /usr/share/gnuconfig/config.guess
32 ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-
33 linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --
34 datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --
35 disable-dependency-tracking --disable-silent-rules --
36 docdir=/usr/share/doc/polari-3.22.2 --htmldir=/usr/share/doc/polari-
37 3.22.2/html --libdir=/usr/lib64 --disable-maintainer-mode --disable-
38 schemas-compile --enable-compile-warnings=minimum
39 checking for a BSD-compatible install...
40 /usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c
41 checking whether build environment is sane... yes
42 checking for a thread-safe mkdir -p... /bin/mkdir -p
43 checking for gawk... gawk
44 checking whether make sets $(MAKE)... yes
45 checking whether make supports nested variables... yes
46 checking whether UID '250' is supported by ustar format... yes
47 checking whether GID '250' is supported by ustar format... yes
48 checking how to create a ustar tar archive... gnutar
49 checking whether make supports nested variables... (cached) yes
50 checking whether to enable maintainer-specific portions of Makefiles...
51 no
52 checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-
53 linux-gnu-pkg-config
54 checking pkg-config is at least version 0.9.0... yes
55 checking for gobject-introspection... yes
56 checking whether to enable debugging... no
57 checking for style of include used by make... GNU
58 checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
59 checking whether the C compiler works... yes
60 checking for C compiler default output file name... a.out
61 checking for suffix of executables... 
62 checking whether we are cross compiling... no
63 checking for suffix of object files... o
64 checking whether we are using the GNU C compiler... yes
65 checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
66 checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none
67 needed
68 checking whether x86_64-pc-linux-gnu-gcc understands -c and -o
69 together... yes
70 checking dependency style of x86_64-pc-linux-gnu-gcc... none
71 checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
72 checking for grep that handles long lines and -e... /bin/grep
73 checking for egrep... /bin/grep -E
74 checking for ANSI C header files... yes
75 checking for sys/types.h... yes
76 checking for sys/stat.h... yes
77 checking for stdlib.h... yes
78 checking for string.h... yes
79 checking for memory.h... yes
80 checking for strings.h... yes
81 checking for inttypes.h... yes
82 checking for stdint.h... yes
83 checking for unistd.h... yes
84 checking minix/config.h usability... no
85 checking minix/config.h presence... no
86 checking for minix/config.h... no
87 checking whether it is safe to define __EXTENSIONS__... yes
88 checking for a sed that does not truncate output... /bin/sed
89 checking whether C compiler accepts -Werror=unknown-warning-option...
90 no
91 checking whether C compiler accepts -fno-strict-aliasing... yes
92 checking whether C compiler accepts -Wall... yes
93 checking whether C compiler accepts -Wextra... yes
94 checking whether C compiler accepts -Wundef... yes
95 checking whether C compiler accepts -Wnested-externs... yes
96 checking whether C compiler accepts -Wwrite-strings... yes
97 checking whether C compiler accepts -Wpointer-arith... yes
98 checking whether C compiler accepts -Wmissing-declarations... yes
99 checking whether C compiler accepts -Wmissing-prototypes... yes
100 checking whether C compiler accepts -Wstrict-prototypes... yes
101 checking whether C compiler accepts -Wredundant-decls... yes
102 checking whether C compiler accepts -Wno-unused-parameter... yes
103 checking whether C compiler accepts -Wno-missing-field-initializers...
104 yes
105 checking whether C compiler accepts -Wdeclaration-after-statement...
106 yes
107 checking whether C compiler accepts -Wformat=2... yes
108 checking whether C compiler accepts -Wold-style-definition... yes
109 checking whether C compiler accepts -Wcast-align... yes
110 checking whether C compiler accepts -Wformat-nonliteral... yes
111 checking whether C compiler accepts -Wformat-security... yes
112 checking whether C compiler accepts -Wsign-compare... yes
113 checking whether C compiler accepts -Wstrict-aliasing... yes
114 checking whether C compiler accepts -Wshadow... yes
115 checking whether C compiler accepts -Winline... yes
116 checking whether C compiler accepts -Wpacked... yes
117 checking whether C compiler accepts -Wmissing-format-attribute... yes
118 checking whether C compiler accepts -Wmissing-noreturn... yes
119 checking whether C compiler accepts -Winit-self... yes
120 checking whether C compiler accepts -Wredundant-decls... (cached) yes
121 checking whether C compiler accepts -Wmissing-include-dirs... yes
122 checking whether C compiler accepts -Wunused-but-set-variable... yes
123 checking whether C compiler accepts -Warray-bounds... yes
124 checking whether C compiler accepts -Wimplicit-function-declaration...
125 yes
126 checking whether C compiler accepts -Wreturn-type... yes
127 checking whether C compiler accepts -Wswitch-enum... yes
128 checking whether C compiler accepts -Wswitch-default... yes
129 checking whether C compiler accepts -Wno-error=unused-parameter... yes
130 checking whether C compiler accepts -Wno-error=missing-field-
131 initializers... yes
132 checking whether C compiler accepts -Werror=unknown-warning-option...
133 (cached) no
134 checking whether the linker accepts -Wl,--no-as-needed... yes
135 checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-
136 gcc
137 checking whether we are using the GNU C compiler... (cached) yes
138 checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes
139 checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89...
140 (cached) none needed
141 checking whether x86_64-pc-linux-gnu-gcc understands -c and -o
142 together... (cached) yes
143 checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none
144 checking whether NLS is requested... yes
145 checking for msgfmt... /usr/bin/msgfmt
146 checking for gmsgfmt... /usr/bin/gmsgfmt
147 checking for xgettext... /usr/bin/xgettext
148 checking for msgmerge... /usr/bin/msgmerge
149 checking build system type... x86_64-pc-linux-gnu
150 checking host system type... x86_64-pc-linux-gnu
151 checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-
152 linux-gnu/bin/ld
153 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld...
154 yes
155 checking for shared library run path origin... done
156 checking for CFPreferencesCopyAppValue... no
157 checking for CFLocaleCopyCurrent... no
158 checking for GNU gettext in libc... yes
159 checking whether to use NLS... yes
160 checking where the gettext function comes from... libc
161 checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
162 checking the archiver (x86_64-pc-linux-gnu-ar) interface... ar
163 checking how to print strings... printf
164 checking for a sed that does not truncate output... (cached) /bin/sed
165 checking for fgrep... /bin/grep -F
166 checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-
167 linux-gnu/bin/ld
168 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld...
169 yes
170 checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-
171 pc-linux-gnu-nm -B
172 checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B)
173 interface... BSD nm
174 checking whether ln -s works... yes
175 checking the maximum length of command line arguments... 1572864
176 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-
177 linux-gnu format... func_convert_file_noop
178 checking how to convert x86_64-pc-linux-gnu file names to toolchain
179 format... func_convert_file_noop
180 checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object
181 files... -r
182 checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
183 checking how to recognize dependent libraries... pass_all
184 checking for x86_64-pc-linux-gnu-dlltool... no
185 checking for dlltool... no
186 checking how to associate runtime and link libraries... printf %s\n
187 checking for x86_64-pc-linux-gnu-ar... (cached) x86_64-pc-linux-gnu-ar
188 checking for archiver @FILE support... @
189 checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
190 checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
191 checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output
192 from x86_64-pc-linux-gnu-gcc object... ok
193 checking for sysroot... no
194 checking for a working dd... /bin/dd
195 checking how to truncate binary pipes... /bin/dd bs=4096 count=1
196 checking for x86_64-pc-linux-gnu-mt... no
197 checking for mt... no
198 checking if : is a manifest tool... no
199 checking for dlfcn.h... yes
200 checking for objdir... .libs
201 checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-
202 exceptions... no
203 checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC
204 -DPIC
205 checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
206 checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
207 checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
208 checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached)
209 yes
210 checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-
211 linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
212 checking whether -lc should be explicitly linked in... no
213 checking dynamic linker characteristics... GNU/Linux ld.so
214 checking how to hardcode library paths into programs... immediate
215 checking whether stripping libraries is possible... yes
216 checking if libtool supports shared libraries... yes
217 checking whether to build shared libraries... yes
218 checking whether to build static libraries... no
219 checking for x86_64-pc-linux-gnu-pkg-config... (cached)
220 /usr/bin/x86_64-pc-linux-gnu-pkg-config
221 checking pkg-config is at least version 0.16... yes
222 checking for POLARI... yes
223 checking for strcasestr... yes
224 checking for GJS... (pkg-config) /usr/bin/gjs-console
225 checking for version 3.0 of Gdk... ./configure: line 17012: 26150
226 Segmentation fault      (core dumped) $GJS conftest.js >> config.log
227 2>&1
228 no
229 configure: error: You do not have API version 3.0 of the GObject
230 Introspection bindings for the Gdk library.
231 Build a version from source, or find out what package to
232 install with one of these commands, depending on your system:
233   apt-file search Gdk-3.0.typelib
234   dnf provides \*/Gdk-3.0.typelib
235
236
237 !!! Please attach the following file when seeking support:
238 !!! /var/tmp/portage/net-irc/polari-3.22.2/work/polari-
239 3.22.2/config.log
240  * ERROR: net-irc/polari-3.22.2::gentoo failed (configure phase):
241  *   econf failed
242  * 
243  * Call stack:
244  *               ebuild.sh, line  124:  Called src_configure
245  *             environment, line 2672:  Called gnome2_src_configure
246  *             environment, line 1853:  Called econf '--disable-
247 maintainer-mode' '--disable-schemas-compile' '--enable-compile-
248 warnings=minimum'
249  *        phase-helpers.sh, line  665:  Called __helpers_die 'econf
250 failed'
251  *   isolated-functions.sh, line  117:  Called die
252  * The specific snippet of code:
253  *              die "$@"
254  * 
255  * If you need support, post the output of `emerge --info '=net-
256 irc/polari-3.22.2::gentoo'`,
257  * the complete build log and the output of `emerge -pqv '=net-
258 irc/polari-3.22.2::gentoo'`.
259  * The complete build log is located at '/var/tmp/portage/net-
260 irc/polari-3.22.2/temp/build.log'.
261  * The ebuild environment file is located at '/var/tmp/portage/net-
262 irc/polari-3.22.2/temp/environment'.
263  * Working directory: '/var/tmp/portage/net-irc/polari-
264 3.22.2/work/polari-3.22.2'
265  * S: '/var/tmp/portage/net-irc/polari-3.22.2/work/polari-3.22.2'
266
267 >>> Failed to emerge net-irc/polari-3.22.2, Log file:
268
269 >>>  '/var/tmp/portage/net-irc/polari-3.22.2/temp/build.log'
270
271  * Messages for package net-irc/polari-3.22.2:
272
273  * ERROR: net-irc/polari-3.22.2::gentoo failed (configure phase):
274  *   econf failed
275  * 
276  * Call stack:
277  *               ebuild.sh, line  124:  Called src_configure
278  *             environment, line 2672:  Called gnome2_src_configure
279  *             environment, line 1853:  Called econf '--disable-
280 maintainer-mode' '--disable-schemas-compile' '--enable-compile-
281 warnings=minimum'
282  *        phase-helpers.sh, line  665:  Called __helpers_die 'econf
283 failed'
284  *   isolated-functions.sh, line  117:  Called die
285  * The specific snippet of code:
286  *              die "$@"
287  * 
288  * If you need support, post the output of `emerge --info '=net-
289 irc/polari-3.22.2::gentoo'`,
290  * the complete build log and the output of `emerge -pqv '=net-
291 irc/polari-3.22.2::gentoo'`.
292  * The complete build log is located at '/var/tmp/portage/net-
293 irc/polari-3.22.2/temp/build.log'.
294  * The ebuild environment file is located at '/var/tmp/portage/net-
295 irc/polari-3.22.2/temp/environment'.
296  * Working directory: '/var/tmp/portage/net-irc/polari-
297 3.22.2/work/polari-3.22.2'
298  * S: '/var/tmp/portage/net-irc/polari-3.22.2/work/polari-3.22.2'
299
300 I tested changing the PYTHON_TARGETS and PYTHON_SINGLE_TARGETS vars
301 with no success.
302 I think is something with gjs, python or meson but in the end I can't
303 determinate and solve the problem.
304 The problem started after the change to 17 profile.
305 I asked on the web and the IRC channel with no success.
306
307 Thank you in advance.
308
309 -- 
310 Will <willecg@×××××××.org>

Replies

Subject Author
Re: [gentoo-user] Fail to configure polari and gnome-documents with portage. Corbin Bird <corbinbird@×××××××.net>