Date: Sun, 24 Feb 2019 13:35:24 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 235996] graphics/mupdf upgrade to 1.14 build error Message-ID: <bug-235996-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235996 Bug ID: 235996 Summary: graphics/mupdf upgrade to 1.14 build error Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: mbeis@xs4all.nl CC: uzsolt@uzsolt.hu Flags: maintainer-feedback?(uzsolt@uzsolt.hu) CC: uzsolt@uzsolt.hu Upgrading graphics/mupdf from 1.13 to 1.14 fails after too much errors: [...] mkdir -p build/release/source/fitz/ ; cc -O2 -pipe -march=3Dnocona=20 -fstack-protector -fno-strict-aliasing -ffunction-sections -fdata-sections -DNDEBUG -fomit-frame-pointer -I/usr/ports/graphics/mupdf/work/mupdf-1.14.0-source/include/mupdf -fPIC -Iinclude -MMD -MP -o build/release/source/fitz/load-png.o -c source/fitz/load-png.c -Wall -Wdeclaration-after-statement -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include -DSHARE_JPEG -Ithirdparty/lcms2/include -Ithirdparty/mujs=20=20 -I/usr/local/include/openjpeg-2.3=20 source/fitz/load-jpx.c:491:2: error: unknown type name 'OPJ_SIZE_T' OPJ_SIZE_T size; ^ source/fitz/load-jpx.c:492:2: error: unknown type name 'OPJ_SIZE_T' OPJ_SIZE_T pos; ^ source/fitz/load-jpx.c:641:8: error: unknown type name 'OPJ_SIZE_T' static OPJ_SIZE_T fz_opj_stream_read(void * p_buffer, OPJ_SIZE_T p_nb_by... ^ source/fitz/load-jpx.c:641:55: error: unknown type name 'OPJ_SIZE_T' static OPJ_SIZE_T fz_opj_stream_read(void * p_buffer, OPJ_SIZE_T p_nb_by... ^ source/fitz/load-jpx.c:644:2: error: use of undeclared identifier 'OPJ_SIZE= _T' OPJ_SIZE_T len; ^ source/fitz/load-jpx.c:646:2: error: use of undeclared identifier 'len' len =3D sb->size - sb->pos; ^ source/fitz/load-jpx.c:647:6: error: use of undeclared identifier 'len' if (len =3D=3D 0) ^ source/fitz/load-jpx.c:648:11: error: use of undeclared identifier 'OPJ_SIZ= E_T' return (OPJ_SIZE_T)-1; /* End of file! */ ^ source/fitz/load-jpx.c:649:6: error: use of undeclared identifier 'len' if (len > p_nb_bytes) ^ source/fitz/load-jpx.c:650:3: error: use of undeclared identifier 'len' len =3D p_nb_bytes; ^ source/fitz/load-jpx.c:651:39: error: use of undeclared identifier 'len' memcpy(p_buffer, sb->data + sb->pos, len); ^ source/fitz/load-jpx.c:652:13: error: use of undeclared identifier 'len' sb->pos +=3D len; ^ source/fitz/load-jpx.c:653:9: error: use of undeclared identifier 'len' return len; ^ source/fitz/load-jpx.c:656:8: error: unknown type name 'OPJ_OFF_T' static OPJ_OFF_T fz_opj_stream_skip(OPJ_OFF_T skip, void * p_user_data) ^ source/fitz/load-jpx.c:656:37: error: unknown type name 'OPJ_OFF_T' static OPJ_OFF_T fz_opj_stream_skip(OPJ_OFF_T skip, void * p_user_data) source/fitz/load-jpx.c:660:14: error: use of undecla= red identifier 'OPJ_OFF_T' if (skip > (OPJ_OFF_T)(sb->size - sb->pos)) ^ source/fitz/load-jpx.c:661:11: error: use of undeclared identifier 'OPJ_OFF= _T' skip =3D (OPJ_OFF_T)(sb->size - sb->pos); ^ source/fitz/load-jpx.c:666:8: error: unknown type name 'OPJ_BOOL' static OPJ_BOOL fz_opj_stream_seek(OPJ_OFF_T seek_pos, void * p_user_data) ^ source/fitz/load-jpx.c:666:36: error: unknown type name 'OPJ_OFF_T' static OPJ_BOOL fz_opj_stream_seek(OPJ_OFF_T seek_pos, void * p_user_data) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=3D] 20 errors generated. gmake[2]: *** [Makefile:101: build/release/source/fitz/load-jpx.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Leaving directory '/usr/ports/graphics/mupdf/work/mupdf-1.14.0-source' =3D=3D=3D> Compilation failed unexpectedly. [...] My uname -a: FreeBSD yokozuna 12.0-STABLE FreeBSD 12.0-STABLE r343805 YOKOZ= UNA=20 amd64 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-235996-7788>