Building clockspeed-0.62_5.txz (origin /buildshare/ports/355755/sysutils/clockspeed) for powerpc-10-0 on XXX slot1: created x distfiles/ x distfiles/clockspeed-0.62.tar.gz x packages/ x packages/pkg-1.2.7_2.txz x packages/libtai-0.60_4.txz ELF ldconfig path: /lib /usr/lib /usr/lib/compat Make depends ===> clockspeed-0.62_5 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /buildshare/ports/355755/ports-mgmt/pkg ===> Installing existing package /packages/pkg-1.2.7_2.txz Installing pkg-1.2.7_2... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of clockspeed-0.62_5 ===> clockspeed-0.62_5 depends on shared library: tai.1 - not found ===> Verifying install for tai.1 in /buildshare/ports/355755/devel/libtai ===> Installing existing package /packages/libtai-0.60_4.txz Installing libtai-0.60_4... done ===> Returning to build of clockspeed-0.62_5 Make install ===> clockspeed-0.62_5 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by clockspeed-0.62_5 for building ===> Extracting for clockspeed-0.62_5 => SHA256 Checksum OK for clockspeed-0.62.tar.gz. ===> Patching for clockspeed-0.62_5 ===> Applying FreeBSD patches for clockspeed-0.62_5 ===> clockspeed-0.62_5 depends on shared library: tai.1 - found ===> Configuring for clockspeed-0.62_5 ===> Building for clockspeed-0.62_5 nroff -man sntpclock.1 > sntpclock.0 nroff -man taiclock.1 > taiclock.0 nroff -man taiclockd.1 > taiclockd.0 nroff -man clockspeed.1 > clockspeed.0 nroff -man clockadd.1 > clockadd.0 nroff -man clockview.1 > clockview.0 ( cat warn-auto.sh; echo CC=\'`head -1 conf-cc`\'; echo LD=\'`head -1 conf-ld`\' ) > auto-ccld.sh cat auto-ccld.sh make-load.sh > make-load chmod 755 make-load cat auto-ccld.sh find-systype.sh > find-systype chmod 755 find-systype ./find-systype > systype ( cat warn-auto.sh; ./make-load "`cat systype`" ) > load chmod 755 load cat auto-ccld.sh make-compile.sh > make-compile chmod 755 make-compile ( cat warn-auto.sh; ./make-compile "`cat systype`" ) > compile chmod 755 compile ( ./compile trysysel.c >/dev/null 2>&1 && cat select.h2 || cat select.h1 ) > select.h rm -f trysysel.o trysysel ( ( ./compile tryulong64.c && ./load tryulong64 && ./tryulong64 ) >/dev/null 2>&1 && cat uint64.h1 || cat uint64.h2 ) > uint64.h rm -f tryulong64.o tryulong64 ./compile sntpclock.c sntpclock.c: In function 'main': sntpclock.c:238: warning: incompatible implicit declaration of built-in function '_exit' sntpclock.c:123: warning: return type of 'main' is not 'int' ./compile ip.c cat auto-ccld.sh make-makelib.sh > make-makelib chmod 755 make-makelib ( cat warn-auto.sh; ./make-makelib "`cat systype`" ) > makelib chmod 755 makelib ./compile strerr_sys.c ./compile strerr_die.c ./makelib strerr.a strerr_sys.o strerr_die.o ./compile substdio.c ./compile substdi.c ./compile substdo.c ./compile subfderr.c ./compile substdio_copy.c ./makelib substdio.a substdio.o substdi.o substdo.o subfderr.o substdio_copy.o ./compile error.c ./compile error_str.c ./makelib error.a error.o error_str.o ./compile str_len.c ./compile str_diff.c ./compile byte_diff.c ./compile byte_chr.c ./compile byte_copy.c ./compile byte_cr.c ./compile byte_zero.c ./makelib str.a str_len.o str_diff.o byte_diff.o byte_chr.o byte_copy.o byte_cr.o byte_zero.o ./compile fmt_str.c ./compile fmt_uint.c ./compile fmt_uint0.c ./compile fmt_ulong.c ./compile scan_ulong.c ./makelib fs.a fmt_str.o fmt_uint.o fmt_uint0.o fmt_ulong.o scan_ulong.o ( ( ./compile trylsock.c && ./load trylsock -lsocket -lnsl ) >/dev/null 2>&1 && echo -lsocket -lnsl || exit 0 ) > socket.lib rm -f trylsock.o trylsock ./load sntpclock ip.o strerr.a substdio.a error.a str.a fs.a `cat socket.lib` -ltai ./compile taiclock.c taiclock.c: In function 'main': taiclock.c:156: warning: incompatible implicit declaration of built-in function '_exit' taiclock.c:57: warning: return type of 'main' is not 'int' ./load taiclock ip.o strerr.a substdio.a error.a str.a fs.a `cat socket.lib` -ltai ./compile taiclockd.c taiclockd.c: In function 'main': taiclockd.c:21: warning: return type of 'main' is not 'int' ./load taiclockd strerr.a substdio.a error.a str.a `cat socket.lib` -ltai ( ( ./compile tryclock_gettime.c && ./load tryclock_gettime ) >/dev/null 2>&1 && echo \#define HASCLOCK_GETTIME 1 || exit 0 ) > hasclock_gettime.h rm -f tryclock_gettime.o ( ( ./compile tryrdtsc.c && ./load tryrdtsc && ./tryrdtsc ) >/dev/null 2>&1 && echo \#define HASRDTSC 1 || exit 0 ) > hasrdtsc.h rm -f tryrdtsc.o tryrdtsc ( ( ./compile trygethr.c && ./load trygethr ) >/dev/null 2>&1 && echo \#define HASGETHRTIME 1 || exit 0 ) > hasgethr.h rm -f trygethr.o ./compile clockspeed.c clockspeed.c: In function 'main': clockspeed.c:128: warning: return type of 'main' is not 'int' ./compile auto-str.c auto-str.c:9: warning: conflicting types for built-in function 'puts' auto-str.c: In function 'main': auto-str.c:17: warning: return type of 'main' is not 'int' ./load auto-str substdio.a error.a str.a ./auto-str auto_home `head -1 conf-home` > auto_home.c ./compile auto_home.c ( ( ./compile trymkffo.c && ./load trymkffo ) >/dev/null 2>&1 && echo \#define HASMKFIFO 1 || exit 0 ) > hasmkffo.h rm -f trymkffo.o trymkffo ./compile fifo.c ./compile open_read.c ./compile open_trunc.c ./compile open_write.c ./makelib open.a open_read.o open_trunc.o open_write.o ./load clockspeed auto_home.o fifo.o open.a error.a str.a fs.a ./compile clockadd.c clockadd.c: In function 'main': clockadd.c:15: warning: return type of 'main' is not 'int' ./load clockadd strerr.a substdio.a error.a str.a ./compile clockview.c clockview.c: In function 'main': clockview.c:46: warning: return type of 'main' is not 'int' ./load clockview strerr.a substdio.a error.a str.a fs.a ./compile install.c install.c: In function 'main': install.c:141: warning: return type of 'main' is not 'int' ./compile hier.c ./load install hier.o auto_home.o strerr.a substdio.a open.a error.a str.a ./compile instcheck.c instcheck.c: In function 'main': instcheck.c:105: warning: return type of 'main' is not 'int' ./load instcheck hier.o auto_home.o strerr.a substdio.a error.a str.a ===> Installing for clockspeed-0.62_5 ===> Generating temporary packing list ===> Checking if sysutils/clockspeed already installed ./install ./instcheck ATTENTIONATTENTION: Please make sure that you read /usr/local/share/doc/clockspeed/INSTALL. It contains important information about testing and configuring clockspeed, and finally installing it in your system. Clockspeed uses the libtai library, check /usr/ports/devel/libtai for more details. TAI time measure is off 22 seconds from UTC time measure. Therefore, your system time will show a 22 secs difference from your time source after you've installed this port. To fix this, you could follow this simple recipe created with PR ports/27617. 1) killall clockspeed (you can't have it running) 2) sntpclock IP.OF.NTP.SERVER | clockadd 3) enable/start clockspeed : % cp /usr/local/etc/rc.d/clockspeed.sh.sample \ /usr/local/etc/rc.d/clockspeed.sh # enable clockspeed to automagically start next # time you reboot. do this after testing everything % /usr/local/etc/rc.d/clockspeed.sh start # start clockspeed now 4) sntpclock IP.OF.NTP.SERVER > /usr/local/etc/clockspeed/adjust 5) cd /usr/src/share/zoneinfo 6) make -DLEAPSECONDS clean all install ; make clean Step 5 and 6 build support in your system for leapseconds handling. Take a note about this since you might forget later to disable it if you remove this port. To disable it, simply re-do step 6 without -DLEAPSECONDS. Step 6 should not break anything but you can disable it anytime as per last paragraph if you think something unusual has happened to your system. 7) /stand/sysinstall -> configure -> time zone (choose the correct time zone for your system) 8) sntpclock IP.OF.NTP.SERVER | clockview Check how close is your clock before and after now. Should be within milliseconds. Do not forget to add a cron(8) job with step 4 to periodically adjust clockspeed's drift rate. Once a week should be more than adequate. A port to non-i386 platforms was done using the clock_gettime(2) function. Since this is somewhat experimental, there might be some tiny precision differences from the i386 platform versions. You have been warned! ===> Compressing manual pages for clockspeed-0.62_5 ===> Registering installation for clockspeed-0.62_5 Installing clockspeed-0.62_5... done ===> SECURITY REPORT: This port has installed the following files which may act as network servers and may therefore pose a remote security risk to the system. /usr/local/bin/taiclockd This port has installed the following startup scripts which may cause these network services to be started at boot time. /usr/local/etc/rc.d/clockspeed.sh.sample If there are vulnerabilities in these programs there may be a security risk to the system. FreeBSD makes no guarantee about the security of ports included in the Ports Collection. Please type 'make deinstall' to deinstall the port if this is a concern. For more information, and contact details about the security status of this software, see the following webpage: http://cr.yp.to/clockspeed.html Make package ===> Building package for clockspeed-0.62_5 Creating package for clockspeed-0.62_5 slot1: removed