[racket-dev] racket 5.1 build failure on debian/kfreebsd
Hi All;
I'm trying to build 5.1 on debian/kfreebsd, and I'm having problems with
src/racket/src/port.c
The main problems stem from MZ_FLUSH_* not being defined. This in turn
seems to be because MZ_FDS is not defined at line 259. At that point I
got stuck, I couldn't see what controlled this definition.
The full build log is
https://buildd.debian.org/status/fetch.php?pkg=racket&arch=kfreebsd-amd64&ver=5.1%2Bdfsg1-1&stamp=1303128559
The relevant seeming part is as follows:
gcc -I./.. -I/build/buildd-racket_5.1+dfsg1-1-kfreebsd-amd64-wZ0aXZ/racket-5.1+dfsg1/src/racket/src/../include -g -Wall -c /build/buildd-racket_5.1+dfsg1-1-kfreebsd-amd64-wZ0aXZ/racket-5.1+dfsg1/src/racket/src/port.c -o port.o
/build/buildd-racket_5.1+dfsg1-1-kfreebsd-amd64-wZ0aXZ/racket-5.1+dfsg1/src/racket/src/port.c: In function 'scheme_file_buffer':
/build/buildd-racket_5.1+dfsg1-1-kfreebsd-amd64-wZ0aXZ/racket-5.1+dfsg1/src/racket/src/port.c:4649:12: error: 'MZ_FLUSH_NEVER' undeclared (first use in this function)
/build/buildd-racket_5.1+dfsg1-1-kfreebsd-amd64-wZ0aXZ/racket-5.1+dfsg1/src/racket/src/port.c:4649:12: note: each undeclared identifier is reported only once for each function it appears in
/build/buildd-racket_5.1+dfsg1-1-kfreebsd-amd64-wZ0aXZ/racket-5.1+dfsg1/src/racket/src/port.c:4651:12: error: 'MZ_FLUSH_BY_LINE' undeclared (first use in this function)
/build/buildd-racket_5.1+dfsg1-1-kfreebsd-amd64-wZ0aXZ/racket-5.1+dfsg1/src/racket/src/port.c:4653:12: error: 'MZ_FLUSH_ALWAYS' undeclared (first use in this function)
/build/buildd-racket_5.1+dfsg1-1-kfreebsd-amd64-wZ0aXZ/racket-5.1+dfsg1/src/racket/src/port.c: In function 'file_buffer_mode':
/build/buildd-racket_5.1+dfsg1-1-kfreebsd-amd64-wZ0aXZ/racket-5.1+dfsg1/src/racket/src/port.c:4902:15: error: 'MZ_FLUSH_NEVER' undeclared (first use in this function)
/build/buildd-racket_5.1+dfsg1-1-kfreebsd-amd64-wZ0aXZ/racket-5.1+dfsg1/src/racket/src/port.c:4904:20: error: 'MZ_FLUSH_BY_LINE' undeclared (first use in this function)