Error building LO on local system

Huzaifa Iftikhar huzaifa3196 at gmail.com
Mon Dec 26 15:56:03 UTC 2016


Hi,
I updated my master branch today with the command ./g pull -r and after
that when I tried to build LibreOffice with the make command it doesn't
build anymore and shows the following error

/home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/include/epoxy/egl_generated.h:10:29:
fatal error: EGL/eglplatform.h: No such file or directory
 #include "EGL/eglplatform.h"

Earlier the master used to build successfully and I always create a
separate branch for patches and don't make changes on Branch master itself.


I have pasted the logs of my terminal below and also attached a txt file of
the same.


huzaifa at HP-Pavilion-g6-Notebook-PC:~$ cd libreoffice/
huzaifa at HP-Pavilion-g6-Notebook-PC:~/libreoffice$ ./g pull -r
Current branch master is up to date.
huzaifa at HP-Pavilion-g6-Notebook-PC:~/libreoffice$ make
mkdir -p /home/huzaifa/libreoffice/instdir
/home/huzaifa/libreoffice/solenv/bin/install-gdb-printers -a
/home/huzaifa/libreoffice/instdir -c
make -j 4  -rs -f /home/huzaifa/libreoffice/Makefile.gbuild    all
[build DEP] LNK:Executable/bestreversemap
[build DEP] LNK:Library/libstorelo.so
[build DEP] LNK:Library/libuno_salhelpergcc3.so.3
[build DEP] LNK:Library/libsal_textenclo.so
[build DEP] LNK:Library/libuno_sal.so.3
[build DEP] LNK:Library/libreglo.so
[build DEP] LNK:StaticLibrary/libcodemaker_cpp.a
[build DEP] LNK:StaticLibrary/libcodemaker.a
[build DEP] LNK:Library/libuno_sal.so.3
[build LNK] Library/libuno_sal.so.3
[build DEP] LNK:StaticLibrary/libcodemaker_cpp.a
[build LNK] StaticLibrary/libcodemaker_cpp.a
[build DEP] LNK:StaticLibrary/libcodemaker.a
[build LNK] StaticLibrary/libcodemaker.a
[build C  ] UnpackedTarball/epoxy/src/dispatch_common.c
[build C  ] UnpackedTarball/epoxy/src/gl_generated_dispatch.c
[build C  ] UnpackedTarball/epoxy/src/dispatch_glx.c
[build C  ] UnpackedTarball/epoxy/src/glx_generated_dispatch.c
[build C  ] UnpackedTarball/epoxy/src/dispatch_egl.c
In file included from
/home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/include/epoxy/egl.h:46:0,
                 from
/home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/src/dispatch_common.h:53,
                 from
/home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/src/dispatch_glx.c:28:
/home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/include/epoxy/egl_generated.h:10:29:
fatal error: EGL/eglplatform.h: No such file or directory
 #include "EGL/eglplatform.h"
                             ^
compilation terminated.
In file included from
/home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/include/epoxy/egl.h:46:0,
                 from
/home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/src/dispatch_common.h:53,
                 from
/home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/src/gl_generated_dispatch.c:31:
/home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/include/epoxy/egl_generated.h:10:29:
fatal error: EGL/eglplatform.h: No such file or directory
 #include "EGL/eglplatform.h"
                             ^
compilation terminated.
In file included from
/home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/include/epoxy/egl.h:46:0,
                 from
/home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/src/dispatch_common.h:53,
                 from
/home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/src/dispatch_common.c:103:
/home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/include/epoxy/egl_generated.h:10:29:
fatal error: EGL/eglplatform.h: No such file or directory
 #include "EGL/eglplatform.h"
                             ^
compilation terminated.
In file included from
/home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/include/epoxy/egl.h:46:0,
                 from
/home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/src/dispatch_common.h:53,
                 from
/home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/src/glx_generated_dispatch.c:9:
/home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/include/epoxy/egl_generated.h:10:29:
fatal error: EGL/eglplatform.h: No such file or directory
 #include "EGL/eglplatform.h"
                             ^
compilation terminated.
make[1]: ***
[/home/huzaifa/libreoffice/workdir/GenCObject/UnpackedTarball/epoxy/src/dispatch_glx.o]
Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: ***
[/home/huzaifa/libreoffice/workdir/GenCObject/UnpackedTarball/epoxy/src/glx_generated_dispatch.o]
Error 1
make[1]: ***
[/home/huzaifa/libreoffice/workdir/GenCObject/UnpackedTarball/epoxy/src/gl_generated_dispatch.o]
Error 1
make[1]: ***
[/home/huzaifa/libreoffice/workdir/GenCObject/UnpackedTarball/epoxy/src/dispatch_common.o]
Error 1
make: *** [build] Error 2
huzaifa at HP-Pavilion-g6-Notebook-PC:~/libreoffice$




Is this a problem with the master branch of LibreOffice or is this a
problem in my local system only ?

I hope someone will look into this.


Link to my Gerrit Profile:
https://gerrit.libreoffice.org/#/q/owner:%22Huzaifa+Iftikhar+%253Chuzaifa3196%2540gmail.com%253E%22

Regards,
Huzaifa Iftikhar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20161226/4eb48b0e/attachment.html>
-------------- next part --------------
huzaifa at HP-Pavilion-g6-Notebook-PC:~$ cd libreoffice/
huzaifa at HP-Pavilion-g6-Notebook-PC:~/libreoffice$ ./g pull -r
Current branch master is up to date.
huzaifa at HP-Pavilion-g6-Notebook-PC:~/libreoffice$ make
mkdir -p /home/huzaifa/libreoffice/instdir
/home/huzaifa/libreoffice/solenv/bin/install-gdb-printers -a /home/huzaifa/libreoffice/instdir -c
make -j 4  -rs -f /home/huzaifa/libreoffice/Makefile.gbuild    all
[build DEP] LNK:Executable/bestreversemap
[build DEP] LNK:Library/libstorelo.so
[build DEP] LNK:Library/libuno_salhelpergcc3.so.3
[build DEP] LNK:Library/libsal_textenclo.so
[build DEP] LNK:Library/libuno_sal.so.3
[build DEP] LNK:Library/libreglo.so
[build DEP] LNK:StaticLibrary/libcodemaker_cpp.a
[build DEP] LNK:StaticLibrary/libcodemaker.a
[build DEP] LNK:Library/libuno_sal.so.3
[build LNK] Library/libuno_sal.so.3
[build DEP] LNK:StaticLibrary/libcodemaker_cpp.a
[build LNK] StaticLibrary/libcodemaker_cpp.a
[build DEP] LNK:StaticLibrary/libcodemaker.a
[build LNK] StaticLibrary/libcodemaker.a
[build C  ] UnpackedTarball/epoxy/src/dispatch_common.c
[build C  ] UnpackedTarball/epoxy/src/gl_generated_dispatch.c
[build C  ] UnpackedTarball/epoxy/src/dispatch_glx.c
[build C  ] UnpackedTarball/epoxy/src/glx_generated_dispatch.c
[build C  ] UnpackedTarball/epoxy/src/dispatch_egl.c
In file included from /home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/include/epoxy/egl.h:46:0,
                 from /home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/src/dispatch_common.h:53,
                 from /home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/src/dispatch_glx.c:28:
/home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/include/epoxy/egl_generated.h:10:29: fatal error: EGL/eglplatform.h: No such file or directory
 #include "EGL/eglplatform.h"
                             ^
compilation terminated.
In file included from /home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/include/epoxy/egl.h:46:0,
                 from /home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/src/dispatch_common.h:53,
                 from /home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/src/gl_generated_dispatch.c:31:
/home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/include/epoxy/egl_generated.h:10:29: fatal error: EGL/eglplatform.h: No such file or directory
 #include "EGL/eglplatform.h"
                             ^
compilation terminated.
In file included from /home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/include/epoxy/egl.h:46:0,
                 from /home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/src/dispatch_common.h:53,
                 from /home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/src/dispatch_common.c:103:
/home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/include/epoxy/egl_generated.h:10:29: fatal error: EGL/eglplatform.h: No such file or directory
 #include "EGL/eglplatform.h"
                             ^
compilation terminated.
In file included from /home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/include/epoxy/egl.h:46:0,
                 from /home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/src/dispatch_common.h:53,
                 from /home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/src/glx_generated_dispatch.c:9:
/home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/include/epoxy/egl_generated.h:10:29: fatal error: EGL/eglplatform.h: No such file or directory
 #include "EGL/eglplatform.h"
                             ^
compilation terminated.
make[1]: *** [/home/huzaifa/libreoffice/workdir/GenCObject/UnpackedTarball/epoxy/src/dispatch_glx.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [/home/huzaifa/libreoffice/workdir/GenCObject/UnpackedTarball/epoxy/src/glx_generated_dispatch.o] Error 1
make[1]: *** [/home/huzaifa/libreoffice/workdir/GenCObject/UnpackedTarball/epoxy/src/gl_generated_dispatch.o] Error 1
make[1]: *** [/home/huzaifa/libreoffice/workdir/GenCObject/UnpackedTarball/epoxy/src/dispatch_common.o] Error 1
make: *** [build] Error 2
huzaifa at HP-Pavilion-g6-Notebook-PC:~/libreoffice$


More information about the LibreOffice mailing list