I was updating my ebuilds and app-text/mupdf-1.10a-r2 was a dependency to some other ebuild, but it failed to compile with the following errors: In file included from include/mupdf/pdf.h:11:0, from source/tools/murun.c:2: include/mupdf/pdf/object.h:4:1: error: expected identifier before ‘typedef’ typedef struct pdf_document_s pdf_document; ^ make: *** [Makefile:180: build/debug/tools/murun.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from include/mupdf/pdf.h:11:0, from source/tools/mudraw.c:6: include/mupdf/pdf/object.h:4:1: error: expected identifier before ‘typedef’ typedef struct pdf_document_s pdf_document; ^ make: *** [Makefile:180: build/debug/tools/mudraw.o] Error 1 * ERROR: app-text/mupdf-1.10a-r2::gentoo failed (compile phase): * emake failed
Created attachment 466554 [details] build.log of app-text/mupdf-1.10a-r2 compile fail
Created attachment 466556 [details] emerge info of app-text/mupdf-1.10a-r2 compile failure
root@cubicle:~ # emerge -pqv '=app-text/mupdf-1.10a-r2::gentoo' [ebuild U ] app-text/mupdf-1.10a-r2 [1.10a-r1] USE="X curl opengl openssl -javascript (-libressl) -static -static-libs -vanilla"
Thanks for the report, I try to reproduce this error with an amd64 stable box, need to find one first.
Sorry, I could not reproduce the bug, exact same FLAGS, compiler version. Have you tried rerunning the emerge? Is your system up-to-date? like a recent emerge -avuD --changed-use @world run? The include hierarchy an the typedef looks rather unsuspicious.
yes, very strange. I've synced the portage tree again today and re-emerged and mupdf was compiling just fine. Whatever caused this, it's not a problem for me any more. I'll close this bug.