* [gentoo-user] cant find stdlib.h
@ 2018-03-28 12:18 Bill Kenworthy
2018-03-28 14:11 ` Pengcheng Xu
2018-03-29 17:48 ` P Levine
0 siblings, 2 replies; 7+ messages in thread
From: Bill Kenworthy @ 2018-03-28 12:18 UTC (permalink / raw
To: gentoo-user
I have a compile problem qtgui I cant figure out:
compilation terminated.
make: *** [Makefile:12443: .obj/qaccessible.o] Error 1
make: *** [Makefile:12612: .obj/qaccessiblecache.o] Error 1
In file included from
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/stl_algo.h:59:0,
from
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/algorithm:62,
from
../../include/QtCore/../../src/corelib/global/qglobal.h:109,
from ../../include/QtCore/qglobal.h:1,
from
../../include/QtGui/../../src/gui/kernel/qtguiglobal.h:43,
from ../../include/QtGui/qtguiglobal.h:1,
from ../../include/QtGui/../../src/gui/image/qimage.h:43,
from ../../include/QtGui/qimage.h:1,
from image/qimage_sse4.cpp:40:
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/cstdlib:75:25:
fatal error: stdlib.h: No such file or directory
#include_next <stdlib.h>
and of course /usr/include/stdlib.h exists
The actual code in
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/cstdlib is:
// Need to ensure this finds the C library's <stdlib.h> not a libstdc++
// wrapper that might already be installed later in the include search path.
#define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
#include_next <stdlib.h>
#undef _GLIBCXX_INCLUDE_NEXT_C_HEADERS
Hints welcome!
BillK
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] cant find stdlib.h
2018-03-28 12:18 [gentoo-user] cant find stdlib.h Bill Kenworthy
@ 2018-03-28 14:11 ` Pengcheng Xu
2018-03-29 17:48 ` P Levine
1 sibling, 0 replies; 7+ messages in thread
From: Pengcheng Xu @ 2018-03-28 14:11 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1.1: Type: text/plain, Size: 1783 bytes --]
I had ran into this before (but on Gentoo FreeBSD); maybe the compile command line
had stray -isystem in it, thus disturbing the include search path.
Pengcheng Xu
i@jsteward.moe
> H30/03/28 20:18、Bill Kenworthy <billk@iinet.net.au>のメール:
>
> I have a compile problem qtgui I cant figure out:
>
> compilation terminated.
> make: *** [Makefile:12443: .obj/qaccessible.o] Error 1
> make: *** [Makefile:12612: .obj/qaccessiblecache.o] Error 1
> In file included from
> /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/stl_algo.h:59:0,
> from
> /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/algorithm:62,
> from
> ../../include/QtCore/../../src/corelib/global/qglobal.h:109,
> from ../../include/QtCore/qglobal.h:1,
> from
> ../../include/QtGui/../../src/gui/kernel/qtguiglobal.h:43,
> from ../../include/QtGui/qtguiglobal.h:1,
> from ../../include/QtGui/../../src/gui/image/qimage.h:43,
> from ../../include/QtGui/qimage.h:1,
> from image/qimage_sse4.cpp:40:
> /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/cstdlib:75:25:
> fatal error: stdlib.h: No such file or directory
> #include_next <stdlib.h>
>
>
> and of course /usr/include/stdlib.h exists
>
>
> The actual code in
> /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/cstdlib is:
>
> // Need to ensure this finds the C library's <stdlib.h> not a libstdc++
> // wrapper that might already be installed later in the include search path.
> #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
> #include_next <stdlib.h>
> #undef _GLIBCXX_INCLUDE_NEXT_C_HEADERS
>
> Hints welcome!
>
>
> BillK
>
>
>
[-- Attachment #1.2: Type: text/html, Size: 4516 bytes --]
[-- Attachment #2: Message signed with OpenPGP --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] cant find stdlib.h
2018-03-28 12:18 [gentoo-user] cant find stdlib.h Bill Kenworthy
2018-03-28 14:11 ` Pengcheng Xu
@ 2018-03-29 17:48 ` P Levine
2018-03-29 22:42 ` Bill Kenworthy
1 sibling, 1 reply; 7+ messages in thread
From: P Levine @ 2018-03-29 17:48 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1806 bytes --]
On Wed, Mar 28, 2018 at 8:18 AM, Bill Kenworthy <billk@iinet.net.au> wrote:
> I have a compile problem qtgui I cant figure out:
>
> compilation terminated.
> make: *** [Makefile:12443: .obj/qaccessible.o] Error 1
> make: *** [Makefile:12612: .obj/qaccessiblecache.o] Error 1
> In file included from
> /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/
> stl_algo.h:59:0,
> from
> /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/algorithm:62,
> from
> ../../include/QtCore/../../src/corelib/global/qglobal.h:109,
> from ../../include/QtCore/qglobal.h:1,
> from
> ../../include/QtGui/../../src/gui/kernel/qtguiglobal.h:43,
> from ../../include/QtGui/qtguiglobal.h:1,
> from ../../include/QtGui/../../src/gui/image/qimage.h:43,
> from ../../include/QtGui/qimage.h:1,
> from image/qimage_sse4.cpp:40:
> /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/cstdlib:75:25:
> fatal error: stdlib.h: No such file or directory
> #include_next <stdlib.h>
>
>
> and of course /usr/include/stdlib.h exists
>
>
> The actual code in
> /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/cstdlib is:
>
> // Need to ensure this finds the C library's <stdlib.h> not a libstdc++
> // wrapper that might already be installed later in the include search
> path.
> #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
> #include_next <stdlib.h>
> #undef _GLIBCXX_INCLUDE_NEXT_C_HEADERS
>
> Hints welcome!
>
>
> BillK
>
This was a common error from when I ran into when fixing GCC-6 bugs.
It's usually related to the fact that GCC-6 doesn't support '-isystem
/usr/include'. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129.
[-- Attachment #2: Type: text/html, Size: 2888 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] cant find stdlib.h
2018-03-29 17:48 ` P Levine
@ 2018-03-29 22:42 ` Bill Kenworthy
2018-03-29 23:49 ` Bill Kenworthy
2018-03-30 2:25 ` P Levine
0 siblings, 2 replies; 7+ messages in thread
From: Bill Kenworthy @ 2018-03-29 22:42 UTC (permalink / raw
To: gentoo-user
On 30/03/18 01:48, P Levine wrote:
> On Wed, Mar 28, 2018 at 8:18 AM, Bill Kenworthy <billk@iinet.net.au
> <mailto:billk@iinet.net.au>>wrote:
>
> I have a compile problem qtgui I cant figure out:
>
> compilation terminated.
> make: *** [Makefile:12443: .obj/qaccessible.o] Error 1
> make: *** [Makefile:12612: .obj/qaccessiblecache.o] Error 1
> In file included from
> /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/stl_algo.h:59:0,
> from
> /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/algorithm:62,
> from
> ../../include/QtCore/../../src/corelib/global/qglobal.h:109,
> from ../../include/QtCore/qglobal.h:1,
> from
> ../../include/QtGui/../../src/gui/kernel/qtguiglobal.h:43,
> from ../../include/QtGui/qtguiglobal.h:1,
> from
> ../../include/QtGui/../../src/gui/image/qimage.h:43,
> from ../../include/QtGui/qimage.h:1,
> from image/qimage_sse4.cpp:40:
> /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/cstdlib:75:25:
> fatal error: stdlib.h: No such file or directory
> #include_next <stdlib.h>
>
>
> and of course /usr/include/stdlib.h exists
>
>
> The actual code in
> /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/cstdlib is:
>
> // Need to ensure this finds the C library's <stdlib.h> not a
> libstdc++
> // wrapper that might already be installed later in the include
> search path.
> #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
> #include_next <stdlib.h>
> #undef _GLIBCXX_INCLUDE_NEXT_C_HEADERS
>
> Hints welcome!
>
>
> BillK
>
>
> This was a common error from when I ran into when fixing GCC-6
> bugs. It's usually related to the fact that GCC-6 doesn't support
> '-isystem /usr/include'.
> See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129.
>
>
Thankyou for the references - I will have another go at fixing it
today. What is confusing me is why its not killing everyones KDE/QT
builds, not just one of mine?
BillK
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] cant find stdlib.h
2018-03-29 22:42 ` Bill Kenworthy
@ 2018-03-29 23:49 ` Bill Kenworthy
2018-03-30 2:25 ` P Levine
1 sibling, 0 replies; 7+ messages in thread
From: Bill Kenworthy @ 2018-03-29 23:49 UTC (permalink / raw
To: gentoo-user
On 30/03/18 06:42, Bill Kenworthy wrote:
> On 30/03/18 01:48, P Levine wrote:
>> On Wed, Mar 28, 2018 at 8:18 AM, Bill Kenworthy <billk@iinet.net.au
>> <mailto:billk@iinet.net.au>>wrote:
>>
>> I have a compile problem qtgui I cant figure out:
>>
>> compilation terminated.
>> make: *** [Makefile:12443: .obj/qaccessible.o] Error 1
>> make: *** [Makefile:12612: .obj/qaccessiblecache.o] Error 1
>> In file included from
>> /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/stl_algo.h:59:0,
>> from
>> /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/algorithm:62,
>> from
>> ../../include/QtCore/../../src/corelib/global/qglobal.h:109,
>> from ../../include/QtCore/qglobal.h:1,
>> from
>> ../../include/QtGui/../../src/gui/kernel/qtguiglobal.h:43,
>> from ../../include/QtGui/qtguiglobal.h:1,
>> from
>> ../../include/QtGui/../../src/gui/image/qimage.h:43,
>> from ../../include/QtGui/qimage.h:1,
>> from image/qimage_sse4.cpp:40:
>> /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/cstdlib:75:25:
>> fatal error: stdlib.h: No such file or directory
>> #include_next <stdlib.h>
>>
>>
>> and of course /usr/include/stdlib.h exists
>>
>>
>> The actual code in
>> /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/cstdlib is:
>>
>> // Need to ensure this finds the C library's <stdlib.h> not a
>> libstdc++
>> // wrapper that might already be installed later in the include
>> search path.
>> #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
>> #include_next <stdlib.h>
>> #undef _GLIBCXX_INCLUDE_NEXT_C_HEADERS
>>
>> Hints welcome!
>>
>>
>> BillK
>>
>>
>> This was a common error from when I ran into when fixing GCC-6
>> bugs. It's usually related to the fact that GCC-6 doesn't support
>> '-isystem /usr/include'.
>> See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129.
>>
>>
> Thankyou for the references - I will have another go at fixing it
> today. What is confusing me is why its not killing everyones KDE/QT
> builds, not just one of mine?
>
>
> BillK
>
>
>
>
and I should have asked, is there an easy way to fix it? ... and should
I raise a bug or is it a one off on just this system?
BillK
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] cant find stdlib.h
2018-03-29 22:42 ` Bill Kenworthy
2018-03-29 23:49 ` Bill Kenworthy
@ 2018-03-30 2:25 ` P Levine
2018-03-30 6:28 ` Bill Kenworthy
1 sibling, 1 reply; 7+ messages in thread
From: P Levine @ 2018-03-30 2:25 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2812 bytes --]
On Thu, Mar 29, 2018 at 6:42 PM, Bill Kenworthy <billk@iinet.net.au> wrote:
> On 30/03/18 01:48, P Levine wrote:
> > On Wed, Mar 28, 2018 at 8:18 AM, Bill Kenworthy <billk@iinet.net.au
> > <mailto:billk@iinet.net.au>>wrote:
> >
> > I have a compile problem qtgui I cant figure out:
> >
> > compilation terminated.
> > make: *** [Makefile:12443: .obj/qaccessible.o] Error 1
> > make: *** [Makefile:12612: .obj/qaccessiblecache.o] Error 1
> > In file included from
> > /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/
> stl_algo.h:59:0,
> > from
> > /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/algorithm:62,
> > from
> > ../../include/QtCore/../../src/corelib/global/qglobal.h:109,
> > from ../../include/QtCore/qglobal.h:1,
> > from
> > ../../include/QtGui/../../src/gui/kernel/qtguiglobal.h:43,
> > from ../../include/QtGui/qtguiglobal.h:1,
> > from
> > ../../include/QtGui/../../src/gui/image/qimage.h:43,
> > from ../../include/QtGui/qimage.h:1,
> > from image/qimage_sse4.cpp:40:
> > /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/cstdlib:75:25:
> > fatal error: stdlib.h: No such file or directory
> > #include_next <stdlib.h>
> >
> >
> > and of course /usr/include/stdlib.h exists
> >
> >
> > The actual code in
> > /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/cstdlib is:
> >
> > // Need to ensure this finds the C library's <stdlib.h> not a
> > libstdc++
> > // wrapper that might already be installed later in the include
> > search path.
> > #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
> > #include_next <stdlib.h>
> > #undef _GLIBCXX_INCLUDE_NEXT_C_HEADERS
> >
> > Hints welcome!
> >
> >
> > BillK
> >
> >
> > This was a common error from when I ran into when fixing GCC-6
> > bugs. It's usually related to the fact that GCC-6 doesn't support
> > '-isystem /usr/include'.
> > See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129.
> >
> >
> Thankyou for the references - I will have another go at fixing it
> today. What is confusing me is why its not killing everyones KDE/QT
> builds, not just one of mine?
>
>
> BillK
>
Idk. Those bugs were fixed a while ago. Are you sure you're you're using
an updated ebuild from the main Gentoo repo? If you're using stable
keyworded QT, try keyword unmasking unstable qt packages and see if that
helps. If so, you might want to file a bug.
and I should have asked, is there an easy way to fix it?
It depends. Usually it requires editing qmake .pro file(s).
[-- Attachment #2: Type: text/html, Size: 4963 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] cant find stdlib.h
2018-03-30 2:25 ` P Levine
@ 2018-03-30 6:28 ` Bill Kenworthy
0 siblings, 0 replies; 7+ messages in thread
From: Bill Kenworthy @ 2018-03-30 6:28 UTC (permalink / raw
To: gentoo-user
On 30/03/18 10:25, P Levine wrote:
>
>
> On Thu, Mar 29, 2018 at 6:42 PM, Bill Kenworthy <billk@iinet.net.au
> <mailto:billk@iinet.net.au>> wrote:
>
> On 30/03/18 01:48, P Levine wrote:
> > On Wed, Mar 28, 2018 at 8:18 AM, Bill Kenworthy
> <billk@iinet.net.au <mailto:billk@iinet.net.au>
> > <mailto:billk@iinet.net.au <mailto:billk@iinet.net.au>>>wrote:
> >
> > I have a compile problem qtgui I cant figure out:
> >
> > compilation terminated.
> > make: *** [Makefile:12443: .obj/qaccessible.o] Error 1
> > make: *** [Makefile:12612: .obj/qaccessiblecache.o] Error 1
> > In file included from
> >
> /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/stl_algo.h:59:0,
> > from
> >
> /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/algorithm:62,
> > from
> > ../../include/QtCore/../../src/corelib/global/qglobal.h:109,
> > from ../../include/QtCore/qglobal.h:1,
> > from
> > ../../include/QtGui/../../src/gui/kernel/qtguiglobal.h:43,
> > from ../../include/QtGui/qtguiglobal.h:1,
> > from
> > ../../include/QtGui/../../src/gui/image/qimage.h:43,
> > from ../../include/QtGui/qimage.h:1,
> > from image/qimage_sse4.cpp:40:
> >
> /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/cstdlib:75:25:
> > fatal error: stdlib.h: No such file or directory
> > #include_next <stdlib.h>
> >
> >
> > and of course /usr/include/stdlib.h exists
> >
> >
> > The actual code in
> >
> /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/cstdlib is:
> >
> > // Need to ensure this finds the C library's <stdlib.h> not a
> > libstdc++
> > // wrapper that might already be installed later in the include
> > search path.
> > #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
> > #include_next <stdlib.h>
> > #undef _GLIBCXX_INCLUDE_NEXT_C_HEADERS
> >
> > Hints welcome!
> >
> >
> > BillK
> >
> >
> > This was a common error from when I ran into when fixing GCC-6
> > bugs. It's usually related to the fact that GCC-6 doesn't support
> > '-isystem /usr/include'.
> > See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129
> <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129>.
> >
> >
> Thankyou for the references - I will have another go at fixing it
> today. What is confusing me is why its not killing everyones KDE/QT
> builds, not just one of mine?
>
>
> BillK
>
>
> Idk. Those bugs were fixed a while ago. Are you sure you're you're
> using an updated ebuild from the main Gentoo repo? If you're using
> stable keyworded QT, try keyword unmasking unstable qt packages and
> see if that helps. If so, you might want to file a bug.
>
> and I should have asked, is there an easy way to fix it?
>
>
> It depends. Usually it requires editing qmake .pro file(s).
I found the bug against gcc for it (not qtgui which is why I couldnt
find any info on the problem). Seems that its one of the source packages
polutes the build environment at some point in the past so I have to go
back and fix those first.
BillK
'
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2018-03-30 6:35 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-28 12:18 [gentoo-user] cant find stdlib.h Bill Kenworthy
2018-03-28 14:11 ` Pengcheng Xu
2018-03-29 17:48 ` P Levine
2018-03-29 22:42 ` Bill Kenworthy
2018-03-29 23:49 ` Bill Kenworthy
2018-03-30 2:25 ` P Levine
2018-03-30 6:28 ` Bill Kenworthy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox