=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for ntp-4.2.4p8nb4 Compiling with GCC now generates lots of new warnings. Don't be concerned. They're just warnings. Don't send bug reports about the warnings, either. Feel free to send patches that fix these warnings, though. (bk version) >/dev/null 2>&1 && cd . && x=`bk -R prs -hr+ -nd:I: ChangeSet` && y=`cat version 2>/dev/null` || true && case "$x" in ''|$y) ;; *) echo $x > version ;; esac /usr/pkg/bin/bmake all-recursive Making all in libopts /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -Wno-error -march=i586 -I/usr/pkg/include -I/usr/include -Wall -Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wshadow -Wno-strict-prototypes -Winit-self -MT libopts_la-libopts.lo -MD -MP -MF .deps/libopts_la-libopts.Tpo -c -o libopts_la-libopts.lo `test -f 'libopts.c' || echo './'`libopts.c libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/ntp4/work/.buildlink/include -Wno-error -march=i586 -Wall -Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wshadow -Wno-strict-prototypes -Winit-self -MT libopts_la-libopts.lo -MD -MP -MF .deps/libopts_la-libopts.Tpo -c libopts.c -o libopts_la-libopts.o In file included from libopts.c:9: autoopts.c: In function 'handleOption': autoopts.c:154: warning: cast discards qualifiers from pointer target type autoopts.c:193: warning: cast discards qualifiers from pointer target type In file included from libopts.c:10: boolean.c: In function 'optionBooleanVal': boolean.c:95: warning: cast discards qualifiers from pointer target type In file included from libopts.c:11: configfile.c: In function 'optionFindValue': configfile.c:213: warning: cast discards qualifiers from pointer target type configfile.c: In function 'optionFindNextValue': configfile.c:290: warning: cast discards qualifiers from pointer target type configfile.c: In function 'optionGetValue': configfile.c:353: warning: cast discards qualifiers from pointer target type configfile.c: In function 'optionNextValue': configfile.c:414: warning: cast discards qualifiers from pointer target type In file included from libopts.c:13: enumeration.c: In function 'findName': enumeration.c:182: warning: cast discards qualifiers from pointer target type enumeration.c:189: warning: cast discards qualifiers from pointer target type enumeration.c:189: warning: cast discards qualifiers from pointer target type enumeration.c: In function 'optionEnumerationVal': enumeration.c:315: warning: cast discards qualifiers from pointer target type In file included from libopts.c:16: load.c: In function 'insertProgramPath': load.c:248: warning: cast discards qualifiers from pointer target type load.c:280: warning: cast discards qualifiers from pointer target type In file included from libopts.c:17: makeshell.c: In function 'textToVariable': makeshell.c:549: warning: cast discards qualifiers from pointer target type In file included from libopts.c:18: nested.c: In function 'scanXmlEntry': nested.c:433: warning: cast discards qualifiers from pointer target type nested.c: In function 'unloadNestedArglist': nested.c:549: warning: cast discards qualifiers from pointer target type nested.c: In function 'optionUnloadNested': nested.c:580: warning: cast discards qualifiers from pointer target type nested.c: In function 'sortNestedList': nested.c:601: warning: cast discards qualifiers from pointer target type nested.c:602: warning: cast discards qualifiers from pointer target type nested.c:611: warning: cast discards qualifiers from pointer target type In file included from libopts.c:19: numeric.c: In function 'optionNumericVal': numeric.c:81: warning: cast discards qualifiers from pointer target type In file included from libopts.c:21: putshell.c: In function 'optionPutShell': putshell.c:207: warning: cast discards qualifiers from pointer target type In file included from libopts.c:22: restore.c: In function 'optionFree': restore.c:208: warning: cast discards qualifiers from pointer target type In file included from libopts.c:23: save.c: In function 'findFileName': save.c:206: warning: cast discards qualifiers from pointer target type save.c:225: warning: cast discards qualifiers from pointer target type save.c:239: warning: cast discards qualifiers from pointer target type save.c:258: warning: cast discards qualifiers from pointer target type save.c: In function 'optionSaveFile': save.c:373: warning: cast discards qualifiers from pointer target type save.c:378: warning: cast discards qualifiers from pointer target type save.c:489: warning: cast discards qualifiers from pointer target type save.c:496: warning: cast discards qualifiers from pointer target type In file included from libopts.c:25: stack.c: In function 'optionUnstackArg': stack.c:116: warning: cast discards qualifiers from pointer target type In file included from libopts.c:27: text_mmap.c: In function 'text_mmap': text_mmap.c:117: error: 'MAP_SHARED' undeclared (first use in this function) text_mmap.c:117: error: (Each undeclared identifier is reported only once text_mmap.c:117: error: for each function it appears in.) text_mmap.c: In function 'text_munmap': text_mmap.c:343: error: 'MAP_SHARED' undeclared (first use in this function) In file included from libopts.c:28: tokenize.c: In function 'copy_cooked': tokenize.c:51: warning: cast discards qualifiers from pointer target type *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/ntp4/work/ntp-4.2.4p8/libopts *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/ntp4/work/ntp-4.2.4p8 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/ntp4/work/ntp-4.2.4p8 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/ntp4 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/ntp4