Summary: | app-office/libreoffice-6.0.2.1 compilation error with sys-devel/gcc-7.3.0 : missing stdlib.h | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Gentoo Linux | Reporter: | CapSel <capsel+bugzillagentoo> | ||||||||
Component: | Stabilization | Assignee: | Gentoo Toolchain Maintainers <toolchain> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | normal | CC: | floppym, office | ||||||||
Priority: | Normal | ||||||||||
Version: | unspecified | ||||||||||
Hardware: | AMD64 | ||||||||||
OS: | Linux | ||||||||||
URL: | https://gitlab.kitware.com/cmake/cmake/issues/16291 | ||||||||||
See Also: |
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129 https://bugs.gentoo.org/show_bug.cgi?id=649264 |
||||||||||
Whiteboard: | |||||||||||
Package list: | Runtime testing required: | --- | |||||||||
Bug Depends on: | 649290 | ||||||||||
Bug Blocks: | |||||||||||
Attachments: |
|
Description
CapSel
2018-03-01 19:31:26 UTC
What's the output of equery files gcc|grep stdlib.h ?! Created attachment 521752 [details]
emerge--infolibreofice
equery files gcc|grep stdlib.h /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/stdlib.h /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/tr1/stdlib.h I have the same problem with libreoffice-6.0.2.1 and libreoffice-6.0.1.1 which I had previously built (15:19:18 10/02/2018 )without problem but now got same error if I try to rebuild Created attachment 521754 [details]
libreoffice 6.0.1.1 log
Created attachment 521756 [details]
libreoffice-6.0.2.1 log
[CXX] libreofficekit/source/gtk/tilebuffer.cxx S=/var/tmp/notmpfs/portage/app-office/libreoffice-6.0.1.1/work/libreoffice-6.0.1.1 && I=$S/instdir && W=$S/workdir && mkdir -p $W/CxxObject/libreofficekit/source/gtk/ $W/D ep/CxxObject/libreofficekit/source/gtk/ && cd /var/tmp/notmpfs/portage/app-office/libreoffice-6.0.1.1/work/libreoffice-6.0.1.1 && x86_64-pc-linux-gnu-g++ -DBOOST_ERROR_C ODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED -DCPPU_ENV=gcc3 -DLINUX -DNDEBUG -DOSL_DEBUG_LEVEL=0 -DUNIX -DUNX -DX86_64 -D_PTHREADS -D_REENTRANT -DLOK_PATH="\"/usr/lib64/ libreoffice/program\"" -fvisibility=hidden -Wall -Wno-missing-braces -Wnon-virtual-dtor -Wendif-labels -Wextra -Wundef -Wunreachable-code -Wunused-macros -finput-chars et=UTF-8 -fmessage-length=0 -fno-common -pipe -Wduplicated-cond -Wlogical-op -Wshift-overflow=2 -Wunused-const-variable=1 -fvisibility-inlines-hidden -fstack-protector-str ong -fPIC -Wshadow -Woverloaded-virtual -std=gnu++14 -DEXCEPTIONS_ON -fexceptions -fno-enforce-eh-specs -march=native -O2 -pipe -fno-delete-null-pointer-checks -pthread -isystem /usr/include/gtk-3.0/unix-print -isystem /usr/include/gtk-3.0 -isystem /usr/include/at-spi2-atk/2.0 -isystem /usr/include/at-spi-2.0 -isystem /usr/include/dbus-1. 0 -isystem /usr/lib64/dbus-1.0/include -isystem /usr/include/gtk-3.0 -isystem /usr/include/gio-unix-2.0/ -isystem /usr/include/cairo -isystem /usr/include/pango-1.0 -isyste m /usr/include/harfbuzz -isystem /usr/include/pango-1.0 -isystem /usr/include/atk-1.0 -isystem /usr/include/cairo -isystem /usr/include/gdk-pixbuf-2.0 -isystem /usr/include /libpng16 -isystem /usr/include/cairo -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/pixman-1 -isystem /usr/include/freetype2 -is ystem /usr/include/libdrm -isystem /usr/include/libpng16 -isystem /usr/include/ -DLIBO_INTERNAL_ONLY -c $S/libreofficekit/source/gtk/tilebuffer.cxx -o $W/CxxObject/libre officekit/source/gtk/tilebuffer.o -I$S/include -I/opt/oracle-jdk-bin-1.8.0.162/include -I/opt/oracle-jdk-bin-1.8.0.162/include/linux -I$S/config_host -I$W/UnoApiHeadersT arget/udkapi/normal -I$W/UnoApiHeadersTarget/offapi/normal -I/usr/include In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ext/string_conversions.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/basic_string.h:6349, from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/string:52, from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/stdexcept:39, from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/array:39, from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/tuple:39, from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/unique_ptr.h:37, from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/memory:80, from /var/tmp/notmpfs/portage/app-office/libreoffice-6.0.1.1/work/libreoffice-6.0.1.1/libreofficekit/source/gtk/lokdocview.cxx:13: /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/cstdlib:75:15: fatal error: stdlib.h: No such file or directory #include_next <stdlib.h> ^~~~~~~~~~ compilation terminated. ^^^ note the "-isystem /usr/include/" gold isn't relevant what's the output of the following command: grep '/usr/include/$' /usr/lib64/pkgconfig/* (In reply to Andreas K. Hüttel from comment #9) > what's the output of the following command: > > grep '/usr/include/$' /usr/lib64/pkgconfig/* grep '/usr/include/$' /usr/lib64/pkgconfig/* /usr/lib64/pkgconfig/xshmfence.pc:Cflags: -I${includedir} -I/usr/include/ @jms: After upgrading to meson-0.44.1, rebuild xorg-proto and then libxshmfence afterwards. (In reply to Andreas Sturmlechner from comment #11) > @jms: After upgrading to meson-0.44.1, rebuild xorg-proto and then > libxshmfence afterwards. ok.now [U]dev-util/meson-0.44.1 [U]x11-base/xorg-proto-2018.4 [R]x11-libs/libxshmfence-1.2 grep '/usr/include/$' /usr/lib64/pkgconfig/* return nothing (In reply to Andreas Sturmlechner from comment #11) > @jms: After upgrading to meson-0.44.1, rebuild xorg-proto and then > libxshmfence afterwards. so far seems to do the trick. libreoffice is currently happily compiling past previous error point. fingers crossed.. So the only thing left for me is to confirm last comment - it went past last error yes! compile fine now dev-util/meson-0.44.1 has been stable on the relevant arches for some time, we can close this. |