On 10/11/18 9:57 PM, Michael Shell via blfs-support wrote:

On Thu, 11 Oct 2018 17:58:44 -0500
rhubarbpieguy via blfs-support <[email protected]> wrote:

I see two batches of Error 2 errors.  I hope this is what you want:
We want to see not just the error message, but the actual g++ command
line that caused the error.

When you build via:

make VERBOSE=1

you should be able to see all the gcc/g++ commands as they are being
executed, long lines like:

/usr/bin/c++  -DUSE_OPENJPEG2 -Dpoppler_EXPORTS -I....

Do you see all that? The one that tries to compile gtk-test.cc
just before the error message is the one we are interested in.


   Cheers,

   Mike


That's clearer; I hope this is what you want.  I earlier referred to two batches of Error 2 errors, but I included the make install output by accident.


[ 89%] Building CXX object test/CMakeFiles/gtk-test.dir/gtk-test.cc.o
cd /sources/poppler-0.67.0/build/test && /usr/bin/c++ -DUSE_OPENJPEG2 -I/sources/poppler-0.67.0 -I/sources/poppler-0.67.0/fofi -I/sources/poppler-0.67.0/goo -I/sources/poppler-0.67.0/poppler -I/sources/poppler-0.67.0/build -I/sources/poppler-0.67.0/build/poppler -I/sources/poppler-0.67.0/glib -I/sources/poppler-0.67.0/build/glib -I/usr/include/openjpeg-2.3 -isystem /usr/include/freetype2 -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/lib/dbus-1.0/include -isystem /usr/include/gio-unix-2.0 -isystem /usr/include/cairo -isystem /usr/include/libdrm -isystem /usr/include/pango-1.0 -isystem /usr/include/fribidi -isystem /usr/include/atk-1.0 -isystem /usr/include/pixman-1 -isystem /usr/include/uuid -isystem /usr/include/harfbuzz -isystem /usr/include/libpng16 -isystem /usr/include/gdk-pixbuf-2.0 -isystem /usr/include/glib-2.0 -isystem /usr/lib/glib-2.0/include -isystem //usr/include  -Wall -Wextra -Wpedantic -Wno-unused-parameter -Wcast-align -Wformat-security -Wframe-larger-than=65536 -Wlogical-op -Wmissing-format-attribute -Wnon-virtual-dtor -Woverloaded-virtual -Wmissing-declarations -Wundef -Wzero-as-null-pointer-constant -Wsuggest-override -fno-exceptions -fno-check-new -fno-common -D_DEFAULT_SOURCE -O2 -DNDEBUG -I/usr/include/nss -I/usr/include/nspr -pthread -std=c++11 -o CMakeFiles/gtk-test.dir/gtk-test.cc.o -c /sources/poppler-0.67.0/test/gtk-test.cc
In file included from /usr/include/c++/8.2.0/ext/string_conversions.h:41,
                 from /usr/include/c++/8.2.0/bits/basic_string.h:6391,
                 from /usr/include/c++/8.2.0/string:52,
                 from /sources/poppler-0.67.0/goo/GooString.h:42,
                 from /sources/poppler-0.67.0/poppler/Object.h:45,
                 from /sources/poppler-0.67.0/poppler/GfxState.h:43,
                 from /sources/poppler-0.67.0/splash/SplashBitmap.h:39,
                 from /sources/poppler-0.67.0/test/gtk-test.cc:9:
/usr/include/c++/8.2.0/cstdlib:75:15: fatal error: stdlib.h: No such file or directory
 #include_next <stdlib.h>
               ^~~~~~~~~~
compilation terminated.
make[2]: *** [test/CMakeFiles/gtk-test.dir/build.make:63: test/CMakeFiles/gtk-test.dir/gtk-test.cc.o] Error 1
make[2]: Leaving directory '/sources/poppler-0.67.0/build'
make[1]: *** [CMakeFiles/Makefile2:803: test/CMakeFiles/gtk-test.dir/all] Error 2
make[1]: Leaving directory '/sources/poppler-0.67.0/build'
make: *** [Makefile:141: all] Error 2


The first occurrence I see of Dpoppler prior to the error is as follows:

[ 79%] Building CXX object glib/CMakeFiles/poppler-glib.dir/__/poppler/CairoRescaleBox.cc.o cd /sources/poppler-0.67.0/build/glib && /usr/bin/c++ -DG_LOG_DOMAIN=\"Poppler\" -DUSE_OPENJPEG2 -Dpoppler_glib_EXPORTS -I/sources/poppler-0.67.0 -I/sources/poppler-0.67.0/fofi -I/sources/poppler-0.67.0/goo -I/sources/poppler-0.67.0/poppler -I/sources/poppler-0.67.0/build -I/sources/poppler-0.67.0/build/poppler -I/sources/poppler-0.67.0/glib -I/sources/poppler-0.67.0/build/glib -I/usr/include/freetype2 -I/usr/include/openjpeg-2.3 -isystem /usr/include/glib-2.0 -isystem /usr/lib/glib-2.0/include -isystem /usr/include/cairo -Wall -Wextra -Wpedantic -Wno-unused-parameter -Wcast-align -Wformat-security -Wframe-larger-than=65536 -Wlogical-op -Wmissing-format-attribute -Wnon-virtual-dtor -Woverloaded-virtual -Wmissing-declarations -Wundef -Wzero-as-null-pointer-constant -Wsuggest-override -fno-exceptions -fno-check-new -fno-common -D_DEFAULT_SOURCE -O2 -DNDEBUG  -fPIC   -I/usr/include/nss -I/usr/include/nspr -pthread  -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -pthread -std=c++11 -o CMakeFiles/poppler-glib.dir/__/poppler/CairoRescaleBox.cc.o -c /sources/poppler-0.67.0/poppler/CairoRescaleBox.cc

--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to