pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/52994: print/mupdf build breaks on netbsd-7



>Number:         52994
>Category:       pkg
>Synopsis:       print/mupdf build breaks on netbsd-7
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 09 15:20:00 +0000 2018
>Originator:     Hauke Fath
>Release:        NetBSD 7.1_STABLE
>Organization:
Technische Universitaet Darmstadt
>Environment:
	
	
System: NetBSD Hochstuhl 7.1_STABLE NetBSD 7.1_STABLE (MONOLITHIC) #0: Fri Dec 22 14:16:05 CET 2017 hf@Hochstuhl:/var/obj/netbsd-builds/7/amd64/sys/arch/amd64/compile/MONOLITHIC amd64
Architecture: x86_64
Machine: amd64
>Description:

	Package build on netbsd-7 fails with

[...]
    CC build/release/source/fitz/compress.lo
libtool: compile:  gcc -O2 -DJBIG_NO_MEMENTO -D_FORTIFY_SOURCE=2 -I/var/obj/pkgsrc/print/mupdf/work/.buildlink/include -I/var/obj/pkgsrc/print/mupdf/work/.buildlink/include/glib/glib-2.0 -I/var/obj/pkgsrc/print/mupdf/work/.buildlink/include/glib/gio-unix-2.0 -I/var/obj/pkgsrc/print/mupdf/work/.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-buildlink/include -Wall -Wdeclaration-after-statement -ffunction-sections -fdata-sections -pipe -O2 -DNDEBUG -fomit-frame-pointer -O2 -DJBIG_NO_MEMENTO -D_FORTIFY_SOURCE=2 -Iinclude -I/var/obj/pkgsrc/print/mupdf/work/.buildlink/include/harfbuzz -DNO_ICC -DSHARE_JPEG -Ithirdparty/mujs -I/var/obj/pkgsrc/print/mupdf/work/.buildlink/include/openjpeg-2.3 -c source/fitz/compress.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 = (z_const Bytef *)source;
                    ^
source/fitz/compress.c:39:20: note: each undeclared identifier is reported only once for each function it appears in
source/fitz/compress.c:39:28: error: expected ')' before 'Bytef'
  stream.next_in = (z_const Bytef *)source;
                            ^
source/fitz/compress.c:39:36: error: expected ';' before 'source'
  stream.next_in = (z_const Bytef *)source;
                                    ^
source/fitz/compress.c:44:30: error: 'UINT_MAX' undeclared (first use in this function)
    stream.avail_out = 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.

	
>How-To-Repeat:

	Build print/mupdf on netbsd-7.

	
>Fix:

	No idea.

	

>Unformatted:
 Cc; Hauke Fath <hf%spg.tu-darmstadt.de@localhost>
 X-send-pr-version: 3.95
 
 
 	
 	


Home | Main Index | Thread Index | Old Index