Gentoo Archives: gentoo-user

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

Replies