printf ' ' | fink --no-use-binary-dist --yes --build-as-nobody rebuild bmon 2>&1 The package 'bmon' will be built without being installed. Reading build dependency for bmon-2.0.1-1012... Reading dependency for bmon-2.0.1-1012... Reading build conflict for bmon-2.0.1-1012... The package 'libncurses5' will be installed. Reading dependency for libncurses5-5.9-20110507-1... Reading runtime dependency for libncurses5-5.9-20110507-1... The following package will be rebuilt: bmon The following additional package will be installed: libncurses5 Do you want to continue? [Y/n] (assuming default) curl --connect-timeout 30 -f -L -A 'fink/0.37.0' -O http://distfiles.master.finkmirrors.net/distfiles/bmon-2.0.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 107k 100 107k 0 0 187k 0 --:--:-- --:--:-- --:--:-- 187k Reading buildlock packages... All buildlocks accounted for. /sw/bin/dpkg-lockwait -i /sw/fink/dists/stable/main/binary-darwin-x86_64/base/libncurses5_5.9-20110507-1_darwin-x86_64.deb Selecting previously deselected package libncurses5. (Reading database ... 7384 files and directories currently installed.) Unpacking libncurses5 (from .../libncurses5_5.9-20110507-1_darwin-x86_64.deb) ... Setting up libncurses5 (5.9-20110507-1) ... Setting runtime build-lock... dpkg-deb -b /sw/build.build/root-fink-buildlock-bmon-2.0.1-1012 /sw/build.build dpkg-deb: building package `fink-buildlock-bmon-2.0.1-1012' in `/sw/build.build/fink-buildlock-bmon-2.0.1-1012_2014.07.30-04.35.57_darwin-x86_64.deb'. Installing build-lock package... /sw/bin/dpkg-lockwait -i /sw/build.build/fink-buildlock-bmon-2.0.1-1012_2014.07.30-04.35.57_darwin-x86_64.deb Selecting previously deselected package fink-buildlock-bmon-2.0.1-1012. (Reading database ... 7433 files and directories currently installed.) Unpacking fink-buildlock-bmon-2.0.1-1012 (from .../fink-buildlock-bmon-2.0.1-1012_2014.07.30-04.35.57_darwin-x86_64.deb) ... Setting up fink-buildlock-bmon-2.0.1-1012 (2014.07.30-04.35.57) ... sudo -u fink-bld [ENV] sh -c /tmp/fink.hRsiX env LANG=C LC_ALL=C /sw/bin/tar --no-same-owner --no-same-permissions -xvf /sw/src/bmon-2.0.1.tar.gz bmon-2.0.1/ bmon-2.0.1/include/ bmon-2.0.1/include/bmon/ bmon-2.0.1/include/bmon/bindings.h bmon-2.0.1/include/bmon/bmon.h bmon-2.0.1/include/bmon/signal.h bmon-2.0.1/include/bmon/distribution.h bmon-2.0.1/include/bmon/input.h bmon-2.0.1/include/bmon/output.h bmon-2.0.1/include/bmon/intf.h bmon-2.0.1/include/bmon/utils.h bmon-2.0.1/include/bmon/graph.h bmon-2.0.1/include/bmon/compile-fixes.h bmon-2.0.1/include/bmon/node.h bmon-2.0.1/include/bmon/config.h bmon-2.0.1/include/bmon/conf.h bmon-2.0.1/include/bmon/defs.h.in bmon-2.0.1/BUGS bmon-2.0.1/Makefile.opts.in bmon-2.0.1/configure bmon-2.0.1/TODO bmon-2.0.1/Makefile.rules bmon-2.0.1/configure.in bmon-2.0.1/src/ bmon-2.0.1/src/in_null.c bmon-2.0.1/src/input.c bmon-2.0.1/src/output.c bmon-2.0.1/src/utils.c bmon-2.0.1/src/intf.c bmon-2.0.1/src/.deps/ bmon-2.0.1/src/out_null.c bmon-2.0.1/src/graph.c bmon-2.0.1/src/GNUmakefile bmon-2.0.1/src/in_distribution.c bmon-2.0.1/src/in_sysctl.c bmon-2.0.1/src/out_distribution.c bmon-2.0.1/src/in_netstat.c bmon-2.0.1/src/in_kstat.c bmon-2.0.1/src/signal.c bmon-2.0.1/src/out_ascii.c bmon-2.0.1/src/in_dummy.c bmon-2.0.1/src/node.c bmon-2.0.1/src/conf.c bmon-2.0.1/src/in_proc.c bmon-2.0.1/src/in_netlink.c bmon-2.0.1/src/out_curses.c bmon-2.0.1/src/bmon.c bmon-2.0.1/src/out_html.c bmon-2.0.1/src/in_sysfs.c bmon-2.0.1/src/bindings.c bmon-2.0.1/man/ bmon-2.0.1/man/bmon.1 bmon-2.0.1/GNUmakefile bmon-2.0.1/etc/ bmon-2.0.1/etc/bmon.conf bmon-2.0.1/config.guess bmon-2.0.1/config.sub bmon-2.0.1/install-sh bmon-2.0.1/ChangeLog bmon-2.0.1/in_netlink.c sudo -u fink-bld [ENV] sh -c /tmp/fink.0h2s2 ./configure --prefix=/sw --mandir=/sw/share/man checking build system type... i386-apple-darwin13.3.0 checking host system type... i386-apple-darwin13.3.0 checking target system type... i386-apple-darwin13.3.0 checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /usr/bin/install -c checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking return type of signal handlers... void checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking ncurses/ncurses.h usability... no checking ncurses/ncurses.h presence... no checking for ncurses/ncurses.h... no checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking sys/sockio.h usability... yes checking sys/sockio.h presence... yes checking for sys/sockio.h... yes checking netinet6/in6.h usability... no checking netinet6/in6.h presence... no checking for netinet6/in6.h... no checking for suseconds_t... yes checking for connect... yes checking for gethostbyname... yes checking for inet_aton... yes checking for initscr in -lncurses... yes checking for redrawwin in -lncurses... yes checking for use_default_colors in -lncurses... yes checking for kstat_open in -lkstat... no checking for nl_connect in -lnl... no configure: creating ./config.status config.status: creating Makefile.opts config.status: creating include/bmon/defs.h ---------------------------------------------------------------------- SUMMARY: OS: darwin13.3.0 Included in Compilation: bmon: Yes -lncurses Dependencies: bmon: lib(n)curses Yes (suggested) ---------------------------------------------------------------------- WARNING: Please do not install the bmon executable as SUID root. This software package was written with portability and configurability in mind and will never fulfill the requirements to be installed as SUID root executable. If you do please be aware that every user will be able to run arbitary commands as root via the key bind interface or by providing a malicious netstat binary. In fact there is no reason to do so, all supported input modules will work fine without superuser privileges. There is probably a good reason if your operating system requires special privileges which is that a normal user is not supposed to read the statistics which should not be worked around using the SUID bit. Thanks. make Entering src DEP out_distribution.c DEP out_html.c DEP out_curses.c DEP out_ascii.c DEP out_null.c DEP in_netstat.c DEP in_distribution.c DEP in_sysctl.c DEP in_sysfs.c DEP in_kstat.c DEP in_netlink.c DEP in_proc.c DEP in_dummy.c DEP in_null.c DEP bindings.c DEP signal.c DEP graph.c DEP intf.c DEP node.c DEP conf.c DEP output.c DEP input.c DEP utils.c DEP bmon.c CC bmon.c CC utils.c CC input.c CC output.c CC conf.c CC node.c CC intf.c CC graph.c In file included from graph.c:In file included from output.c:28: In file included from ../include/bmon/output.h:31: 29: ../include/bmon/conf.hIn file included from :104../include/bmon/input.h:31In file included from :bmon.c19: warning:: 28: inline function 'get_signal_output' is not defined [-Wundefined-inline]../include/bmon/conf.h :90:20: warning: inline function 'set_configfile' is not defined [-Wundefined-inline] : ../include/bmon/conf.h:94:24: warning: inline function 'get_y_unit' is not defined [-Wundefined-inline] extern inline int get_signal_output(void); ^ extern inline void set_configfile(const char *file); ^ output.c:132:6: note: used here extern inline y_unit_t get_y_unit(void);bmon.c:151 if (get_signal_output()) ^:5 : ^In file included from graph.cutils.c note:38:10:: used herenote : used here :28: switch (get_y_unit()) { set_configfile(optarg); ^ ^../include/bmon/conf.h: 94:24 In file included from graph.c:29: In file included from ../include/bmon/input.h:In file included from bmon.cwarning:: 31:28: inline function 'get_y_unit' is not defined [-Wundefined-inline]../include/bmon/conf.h :96:20: warning: inline function 'get_fg_char' is not defined [-Wundefined-inline] : ../include/bmon/conf.h:87:20: extern inline char get_fg_char(void); ^ graph.c:extern inline y_unit_t get_y_unit(void);92 ^ warning: inline function 'set_read_interval' is not defined [-Wundefined-inline] utils.c:145:10: note: used here :27: note: used here switch (get_y_unit()) { ^extern inline void set_read_interval(const char *i); ^ bmon.c:159: *(D_AT_ROW(col, i)) = get_fg_char(); ^ In file included from graph.c:5: note: used here 29: In file included from ../include/bmon/input.h:31: ../include/bmon/conf.h set_read_interval(optarg); ^ In file included from bmon.c::98:20: warning: inline function 'get_bg_char' is not defined [-Wundefined-inline] 28: ../include/bmon/conf.h:101:20: warning: inline function 'set_sleep_time' is not defined [-Wundefined-inline] extern inline char get_bg_char(void); ^ extern inline void set_sleep_time(const char *s); ^ graph.c:bmon.c108::16320::5 :note : noteused here: used here set_sleep_time(optarg); ^ memset(t->t_data, get_bg_char(), dsize); ^ /usr/include/secure/_string.h:77:33: note: expanded from macro 'memset' In file included from bmon.c:28: ../include/bmon/conf.h:103 :20: warning: inline function 'set_signal_output' is not defined [-Wundefined-inline] __builtin___memset_chk (dest, val, len, __darwin_obsz0 (dest)) ^ In file included from extern inline void set_signal_output(int i); ^ bmon.c:171:5: note: used here graph.c:29: set_signal_output(1);In file included from ../include/bmon/input.h:31: ../include/bmon/conf.h:92:24 ^ In file included from bmon.c:28: warning: ../include/bmon/conf.h:105:20: warning: : inline function 'get_x_unit' is not defined [-Wundefined-inline] inline function 'set_show_only_running' is not defined [-Wundefined-inline] extern inline x_unit_t get_x_unit(void); ^ graph.c:164:10: extern inline void set_show_only_running(int i); ^ bmon.c:175:5: note: used here note: used here set_show_only_running(0); ^ switch (get_x_unit()) { ^ In file included from bmon.c:33: ../include/bmon/utils.h:In file included from graph.c:29: In file included from ../include/bmon/input.h:31: ../include/bmon/conf.h:88:21: warning: inline function 'get_read_interval' is not defined [-Wundefined-inline] 49:21: warning: extern inline float get_read_interval(void);inline function 'ts_to_float' is not defined [-Wundefined-inline] ^ graph.c:170:8: note: used here extern inline float ts_to_float(timestamp_t *src); ^ bmon.c:197:13: note if (get_read_interval() != 1.0f) { ^ : used here float v = (ts_to_float(c) / ts_to_float(ri)) * 100.0f; ^ In file included from bmon.c:28: ../include/bmon/conf.h:102:29: warning: inline function 'get_sleep_time' is not defined [-Wundefined-inline] extern inline unsigned long get_sleep_time(void); ^ bmon.c:218:17: note: used here c_sleep_time = get_sleep_time(); ^ In file included from bmon.c:28: ../include/bmon/conf.h:88:21: warning: inline function 'get_read_interval' is not defined [-Wundefined-inline] extern inline float get_read_interval(void); ^ bmon.c:219:18: note: used here read_interval = get_read_interval(); ^ In file included from bmon.c:28: ../include/bmon/conf.h:89:20: warning: inline function 'get_read_interval_as_ts' is not defined [-Wundefined-inline] extern inline void get_read_interval_as_ts(timestamp_t *ts); ^ bmon.c:236:3: note: used here get_read_interval_as_ts(&ri); ^ In file included from bmon.c:33: ../include/bmon/utils.h:55:20: warning: inline function 'update_ts' is not defined [-Wundefined-inline] extern inline void update_ts(timestamp_t *dst); ^ bmon.c:241:3: note: used here update_ts(&e); ^ In file included from bmon.c:33: ../include/bmon/utils.h:54:19: warning: inline function 'ts_le' is not defined [-Wundefined-inline] extern inline int ts_le(timestamp_t *a, timestamp_t *b); ^ bmon.c:259:8: note: used here if (ts_le(&rtiming.rt_next_read, &e)) { ^ In file included from bmon.c:33: ../include/bmon/utils.h:53:20: warning: inline function 'ts_sub' is not defined [-Wundefined-inline] extern inline void ts_sub(timestamp_t *dst, timestamp_t *src1, timestamp_t *src2); ^ bmon.c:265:5: note: used here ts_sub(&c, &rtiming.rt_next_read, &e); ^ In file included from bmon.c:33: ../include/bmon/utils.h:52:20: warning: inline function 'ts_add' is not defined [-Wundefined-inline] extern inline void ts_add(timestamp_t *dst, timestamp_t *src1, timestamp_t *src2); ^ bmon.c:277:5: note: used here ts_add(&rtiming.rt_next_read, &e, &ri); ^ In file included from conf.c:32: ../include/bmon/utils.h:50:20: warning: inline function 'float_to_ts' is not defined [-Wundefined-inline] extern inline void float_to_ts(timestamp_t *dst, float src); ^ conf.c:421:2: note: used here float_to_ts(ts, read_interval); ^ In file included from intf.c:32: ../include/bmon/utils.h:55:20: warning: inline function 'update_ts' is not defined [-Wundefined-inline] extern inline void update_ts(timestamp_t *dst); ^ intf.c:69:4: note: used here update_ts(&a->a_updated); /* XXX: use read ts */ ^ In file included from intf.c:29: ../include/bmon/conf.h:88:21: warning: inline function 'get_read_interval' is not defined [-Wundefined-inline] extern inline float get_read_interval(void); ^ intf.c:414:29: note: used here } else if (diff >= unit || get_read_interval() == unit) { ^ 1 warning generated. CC signal.c 13 warnings generated. CC in_null.c CC bindings.c 1 warning generated. CC in_dummy.c 2 warnings generated. 1 warning generated. CC in_proc.c CC in_kstat.c CC in_netlink.c 5 warnings generated. CC in_sysfs.c bindings.c:48:30: warning: for loop has empty body [-Wempty-body] for (i = 1; b->args[i]; i++); ^ bindings.c:48:30: note: put the semicolon on a separate line to silence this warning CC in_sysctl.c 1 warning generated. CC in_distribution.c CC in_netstat.c CC out_null.c CC out_ascii.c CC out_curses.c CC out_html.c CC out_distribution.c in_netstat.c:66:50: warning: for loop has empty body [-Wempty-body] for (p = &buf[0]; *p == ' ' || *p == '\t'; p++); ^ in_netstat.c:66:50: note: put the semicolon on a separate line to silence this warning In file included from out_ascii.c:29: ../include/bmon/conf.h:95:20: warning: inline function 'set_fg_char' is not defined [-Wundefined-inline] extern inline void set_fg_char(char c); ^ out_ascii.c:266:4: note: used here set_fg_char(attrs->value[0]); ^ In file included from out_ascii.c:29: ../include/bmon/conf.h:97:20: warning: inline function 'set_bg_char' is not defined [-Wundefined-inline] extern inline void set_bg_char(char c); ^ out_ascii.c:268:4: note: used here set_bg_char(attrs->value[0]); ^ In file included from out_ascii.c:29: ../include/bmon/conf.h:100:20: warning: inline function 'set_noise_char' is not defined [-Wundefined-inline] extern inline void set_noise_char(char c); ^ out_ascii.c:270:4: note: used here set_noise_char(attrs->value[0]); ^ In file included from out_ascii.c:29: ../include/bmon/conf.h:91:20: warning: inline function 'set_x_unit' is not defined [-Wundefined-inline] extern inline void set_x_unit(const char *x, int force); ^ out_ascii.c:272:4: note: used here set_x_unit(attrs->value, 1); ^ In file included from out_ascii.c:29: ../include/bmon/conf.h:93:20: warning: inline function 'set_y_unit' is not defined [-Wundefined-inline] extern inline void set_y_unit(const char *y); ^ out_ascii.c:274:4: note: used here set_y_unit(attrs->value); ^ In file included from out_html.c:29: In file included from ../include/bmon/output.h:31: ../include/bmon/conf.h:88:21: warning: inline function 'get_read_interval' is not defined [-Wundefined-inline] extern inline float get_read_interval(void); ^ out_html.c:334:6: note: used here if (get_read_interval() != 1.0f) ^ In file included from out_curses.c:29: ../include/bmon/conf.h:91:20: warning: inline function 'set_x_unit' is not defined [-Wundefined-inline] extern inline void set_x_unit(const char *x, int force); ^ out_curses.c:705:4: note: used here set_x_unit("s", 1); ^ In file included from out_curses.c:29: ../include/bmon/conf.h:95:20: warning: inline function 'set_fg_char' is not defined [-Wundefined-inline] extern inline void set_fg_char(char c); ^ out_curses.c:824:4: note: used here set_fg_char(attrs->value[0]); ^ In file included from out_curses.c:29: ../include/bmon/conf.h:97:20: warning: inline function 'set_bg_char' is not defined [-Wundefined-inline] extern inline void set_bg_char(char c); ^ out_curses.c:826:4: note: used here set_bg_char(attrs->value[0]); ^ In file included from out_curses.c:29: ../include/bmon/conf.h:100:20: warning: inline function 'set_noise_char' is not defined [-Wundefined-inline] extern inline void set_noise_char(char c); ^ out_curses.c:828:4: note: used here set_noise_char(attrs->value[0]); ^ In file included from out_curses.c:29: ../include/bmon/conf.h:93:20: warning: inline function 'set_y_unit' is not defined [-Wundefined-inline] extern inline void set_y_unit(const char *y); ^ out_curses.c:832:4: note: used here set_y_unit(attrs->value); ^ in_sysctl.c:55:43: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] fprintf(stderr, "sysctl 1-pass n=%d\n", n); ~~ ^ %zu in_distribution.c:253:38: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] intf->i_optslen, intf->i_namelen, sizeof(*intf)); ^~~~~~~~~~~~~ in_sysctl.c:63:43: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] fprintf(stderr, "sysctl 2-pass n=%d\n", n); ~~ ^ %zu 1 warning generated. In file included from in_sysctl.c:28: In file included from ../include/bmon/input.h:31: ../include/bmon/conf.h:106:19: warning: inline function 'get_show_only_running' is not defined [-Wundefined-inline] extern inline int get_show_only_running(void); ^ in_sysctl.c:87:7: note: used here if (get_show_only_running() && !(ifm->ifm_flags & IFF_UP)) ^ 3 warnings generated. 5 warnings generated. 1 warning generated. 1 warning generated. 5 warnings generated. LD bmon /bin/rm -rf /sw/build.build/root-bmon-2.0.1-1012 /bin/mkdir -p /sw/build.build/root-bmon-2.0.1-1012/sw /bin/mkdir -p /sw/build.build/root-bmon-2.0.1-1012/DEBIAN /usr/sbin/chown -R fink-bld:fink-bld /sw/build.build/root-bmon-2.0.1-1012 sudo -u fink-bld [ENV] sh -c /tmp/fink.k0hjG make install DESTDIR=/sw/build.build/root-bmon-2.0.1-1012 ./install-sh -d -m 0755 /sw/build.build/root-bmon-2.0.1-1012/sw/bin ./install-sh -d -m 0755 /sw/build.build/root-bmon-2.0.1-1012/sw/share/man/man1 ./install-sh -c -s -m 0755 src/bmon /sw/build.build/root-bmon-2.0.1-1012/sw/bin ./install-sh -c -m 0644 man/bmon.1 /sw/build.build/root-bmon-2.0.1-1012/sw/share/man/man1 head -n 24 include/bmon/distribution.h | tail -n +5 | sed -e 's/*//g' > LICENSE sudo -u fink-bld [ENV] sh -c /tmp/fink.r_LuA /usr/bin/install -d -m 700 /sw/build.build/root-bmon-2.0.1-1012/sw/share/doc/bmon /bin/cp -r ChangeLog /sw/build.build/root-bmon-2.0.1-1012/sw/share/doc/bmon/ /bin/cp -r etc/bmon.conf /sw/build.build/root-bmon-2.0.1-1012/sw/share/doc/bmon/ /bin/cp -r include/bmon/distribution.h /sw/build.build/root-bmon-2.0.1-1012/sw/share/doc/bmon/ /bin/cp -r LICENSE /sw/build.build/root-bmon-2.0.1-1012/sw/share/doc/bmon/ /bin/chmod -R go=u-w /sw/build.build/root-bmon-2.0.1-1012/sw/share/doc/bmon /bin/rm -f /sw/build.build/root-bmon-2.0.1-1012/sw/info/dir /sw/build.build/root-bmon-2.0.1-1012/sw/info/dir.old /sw/build.build/root-bmon-2.0.1-1012/sw/share/info/dir /sw/build.build/root-bmon-2.0.1-1012/sw/share/info/dir.old Reverting ownership of install dir to root Writing control file... Writing md5sums file... env LANG=C LC_ALL=C dpkg-deb -b root-bmon-2.0.1-1012 /sw/fink/10.9/stable/main/binary-darwin-x86_64/net dpkg-deb: building package `bmon' in `/sw/fink/10.9/stable/main/binary-darwin-x86_64/net/bmon_2.0.1-1012_darwin-x86_64.deb'. Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-bmon-2.0.1-1012 (Reading database ... 7434 files and directories currently installed.) Removing fink-buildlock-bmon-2.0.1-1012 ...