1 |
On 30/03/18 10:25, P Levine wrote: |
2 |
> |
3 |
> |
4 |
> On Thu, Mar 29, 2018 at 6:42 PM, Bill Kenworthy <billk@×××××××××.au |
5 |
> <mailto:billk@×××××××××.au>> wrote: |
6 |
> |
7 |
> On 30/03/18 01:48, P Levine wrote: |
8 |
> > On Wed, Mar 28, 2018 at 8:18 AM, Bill Kenworthy |
9 |
> <billk@×××××××××.au <mailto:billk@×××××××××.au> |
10 |
> > <mailto:billk@×××××××××.au <mailto:billk@×××××××××.au>>>wrote: |
11 |
> > |
12 |
> > I have a compile problem qtgui I cant figure out: |
13 |
> > |
14 |
> > compilation terminated. |
15 |
> > make: *** [Makefile:12443: .obj/qaccessible.o] Error 1 |
16 |
> > make: *** [Makefile:12612: .obj/qaccessiblecache.o] Error 1 |
17 |
> > In file included from |
18 |
> > |
19 |
> /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/stl_algo.h:59:0, |
20 |
> > from |
21 |
> > |
22 |
> /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/algorithm:62, |
23 |
> > from |
24 |
> > ../../include/QtCore/../../src/corelib/global/qglobal.h:109, |
25 |
> > from ../../include/QtCore/qglobal.h:1, |
26 |
> > from |
27 |
> > ../../include/QtGui/../../src/gui/kernel/qtguiglobal.h:43, |
28 |
> > from ../../include/QtGui/qtguiglobal.h:1, |
29 |
> > from |
30 |
> > ../../include/QtGui/../../src/gui/image/qimage.h:43, |
31 |
> > from ../../include/QtGui/qimage.h:1, |
32 |
> > from image/qimage_sse4.cpp:40: |
33 |
> > |
34 |
> /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/cstdlib:75:25: |
35 |
> > fatal error: stdlib.h: No such file or directory |
36 |
> > #include_next <stdlib.h> |
37 |
> > |
38 |
> > |
39 |
> > and of course /usr/include/stdlib.h exists |
40 |
> > |
41 |
> > |
42 |
> > The actual code in |
43 |
> > |
44 |
> /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/cstdlib is: |
45 |
> > |
46 |
> > // Need to ensure this finds the C library's <stdlib.h> not a |
47 |
> > libstdc++ |
48 |
> > // wrapper that might already be installed later in the include |
49 |
> > search path. |
50 |
> > #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS |
51 |
> > #include_next <stdlib.h> |
52 |
> > #undef _GLIBCXX_INCLUDE_NEXT_C_HEADERS |
53 |
> > |
54 |
> > Hints welcome! |
55 |
> > |
56 |
> > |
57 |
> > BillK |
58 |
> > |
59 |
> > |
60 |
> > This was a common error from when I ran into when fixing GCC-6 |
61 |
> > bugs. It's usually related to the fact that GCC-6 doesn't support |
62 |
> > '-isystem /usr/include'. |
63 |
> > See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129 |
64 |
> <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129>. |
65 |
> > |
66 |
> > |
67 |
> Thankyou for the references - I will have another go at fixing it |
68 |
> today. What is confusing me is why its not killing everyones KDE/QT |
69 |
> builds, not just one of mine? |
70 |
> |
71 |
> |
72 |
> BillK |
73 |
> |
74 |
> |
75 |
> Idk. Those bugs were fixed a while ago. Are you sure you're you're |
76 |
> using an updated ebuild from the main Gentoo repo? If you're using |
77 |
> stable keyworded QT, try keyword unmasking unstable qt packages and |
78 |
> see if that helps. If so, you might want to file a bug. |
79 |
> |
80 |
> and I should have asked, is there an easy way to fix it? |
81 |
> |
82 |
> |
83 |
> It depends. Usually it requires editing qmake .pro file(s). |
84 |
|
85 |
I found the bug against gcc for it (not qtgui which is why I couldnt |
86 |
find any info on the problem). Seems that its one of the source packages |
87 |
polutes the build environment at some point in the past so I have to go |
88 |
back and fix those first. |
89 |
|
90 |
|
91 |
BillK |
92 |
|
93 |
' |