pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/52994: print/mupdf build breaks on netbsd-7
The following reply was made to PR pkg/52994; it has been noted by GNATS.
From: Leonardo Taccari <leot%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/52994: print/mupdf build breaks on netbsd-7
Date: Fri, 09 Feb 2018 16:38:10 +0100
Hello Hauke,
Hauke Fath writes:
> [...]
> CC build/release/source/fitz/compress.lo
> libtool: compile: gcc -O2 -DJBIG_NO_MEMENTO -D_FORTIFY_SOURCE=3D2 -I/va=
r/obj/pkgsrc/print/mupdf/work/.buildlink/include -I/var/obj/pkgsrc/print/m=
updf/work/.buildlink/include/glib/glib-2.0 -I/var/obj/pkgsrc/print/mupdf/w=
ork/.buildlink/include/glib/gio-unix-2.0 -I/var/obj/pkgsrc/print/mupdf/wor=
k/.buildlink/lib/glib-2.0/include -I/var/obj/pkgsrc/print/mupdf/work/.x11-=
buildlink/include/freetype2 -I/var/obj/pkgsrc/print/mupdf/work/.x11-buildl=
ink/include -Wall -Wdeclaration-after-statement -ffunction-sections -fdata=
-sections -pipe -O2 -DNDEBUG -fomit-frame-pointer -O2 -DJBIG_NO_MEMENTO -D=
_FORTIFY_SOURCE=3D2 -Iinclude -I/var/obj/pkgsrc/print/mupdf/work/.buildlin=
k/include/harfbuzz -DNO_ICC -DSHARE_JPEG -Ithirdparty/mujs -I/var/obj/pkgs=
rc/print/mupdf/work/.buildlink/include/openjpeg-2.3 -c source/fitz/compres=
s.c -fPIC -DPIC -o build/release/source/fitz/.libs/compress.o
> source/fitz/compress.c: In function 'fz_deflate':
> source/fitz/compress.c:39:20: error: 'z_const' undeclared (first use in =
this function)
> stream.next_in =3D (z_const Bytef *)source;
> ^
> source/fitz/compress.c:39:20: note: each undeclared identifier is report=
ed only once for each function it appears in
> source/fitz/compress.c:39:28: error: expected ')' before 'Bytef'
> stream.next_in =3D (z_const Bytef *)source;
> ^
> source/fitz/compress.c:39:36: error: expected ';' before 'source'
> stream.next_in =3D (z_const Bytef *)source;
> ^
> source/fitz/compress.c:44:30: error: 'UINT_MAX' undeclared (first use in=
this function)
> stream.avail_out =3D left > UINT_MAX ? UINT_MAX : (uInt)left;
> ^
> Makefile:118: recipe for target 'build/release/source/fitz/compress.lo' =
failed
> gmake: *** [build/release/source/fitz/compress.lo] Error 1
> *** Error code 2
>
> Stop.
> make[1]: stopped in /u/sources/pkgsrc/print/mupdf
> *** Error code 1
>
> - the package builds fine on netbsd-8. Supposedly, the -7 zlib
> is not up to requirements.
> [...]
Can you please try to bump `BUILDLINK_API_DEPENDS.zlib' to zlib>=3D1.2.7
(actually it's 1.2.3 and I think that wrong and I'm to blame for
that, sorry!)?
zlib-1.2.7 should be the version provided in thirdparty in mupdf-1.12.0
but we avoid everything bundled in mupdf except mujs.
If this work feel free to directly commit that and bump PKGREVISION!
Home |
Main Index |
Thread Index |
Old Index