{"action":"created","issue":{"url":"https://api.github.com/repos/NagiosEnterprises/nagioscore/issues/473","repository_url":"https://api.github.com/repos/NagiosEnterprises/nagioscore","labels_url":"https://api.github.com/repos/NagiosEnterprises/nagioscore/issues/473/labels{/name}","comments_url":"https://api.github.com/repos/NagiosEnterprises/nagioscore/issues/473/comments","events_url":"https://api.github.com/repos/NagiosEnterprises/nagioscore/issues/473/events","html_url":"https://github.com/NagiosEnterprises/nagioscore/issues/473","id":292647345,"number":473,"title":"Solaris 11 - Core 4.4.0 pre-release fails \"gmake all\" ","user":{"login":"box293","id":8356113,"avatar_url":"https://avatars0.githubusercontent.com/u/8356113?v=4","gravatar_id":"","url":"https://api.github.com/users/box293","html_url":"https://github.com/box293","followers_url":"https://api.github.com/users/box293/followers","following_url":"https://api.github.com/users/box293/following{/other_user}","gists_url":"https://api.github.com/users/box293/gists{/gist_id}","starred_url":"https://api.github.com/users/box293/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/box293/subscriptions","organizations_url":"https://api.github.com/users/box293/orgs","repos_url":"https://api.github.com/users/box293/repos","events_url":"https://api.github.com/users/box293/events{/privacy}","received_events_url":"https://api.github.com/users/box293/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-01-30T04:11:51Z","updated_at":"2018-02-02T17:40:20Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"```\r\nOracle Corporation      SunOS 5.11      11.2    June 2014\r\nroot@core-041:~# cd /tmp\r\nroot@core-041:/tmp# tar xzf nagioscore_4.4.0.tar.gz \r\nroot@core-041:/tmp# cd nagioscore\r\nroot@core-041:/tmp/nagioscore# ./configure --with-httpd-conf=/etc/apache2/2.2/conf.d --with-gd-inc=/usr/include/gd2\r\nchecking for a BSD-compatible install... /usr/bin/ginstall -c\r\nchecking build system type... i386-pc-solaris2.11\r\nchecking host system type... i386-pc-solaris2.11\r\nchecking for gcc... gcc\r\nchecking whether the C compiler works... yes\r\nchecking for C compiler default output file name... a.out\r\nchecking for suffix of executables... \r\nchecking whether we are cross compiling... no\r\nchecking for suffix of object files... o\r\nchecking whether we are using the GNU C compiler... yes\r\nchecking whether gcc accepts -g... yes\r\nchecking for gcc option to accept ISO C89... none needed\r\nchecking whether make sets $(MAKE)... yes\r\nchecking whether ln -s works... yes\r\nchecking for strip... /usr/bin/strip\r\nchecking how to run the C preprocessor... gcc -E\r\nchecking for grep that handles long lines and -e... /usr/bin/ggrep\r\nchecking for egrep... /usr/bin/ggrep -E\r\nchecking for ANSI C header files... yes\r\nchecking whether time.h and sys/time.h may both be included... yes\r\nchecking for sys/wait.h that is POSIX.1 compatible... yes\r\nchecking for sys/types.h... yes\r\nchecking for sys/stat.h... yes\r\nchecking for stdlib.h... yes\r\nchecking for string.h... yes\r\nchecking for memory.h... yes\r\nchecking for strings.h... yes\r\nchecking for inttypes.h... yes\r\nchecking for stdint.h... yes\r\nchecking for unistd.h... yes\r\nchecking arpa/inet.h usability... yes\r\nchecking arpa/inet.h presence... yes\r\nchecking for arpa/inet.h... yes\r\nchecking ctype.h usability... yes\r\nchecking ctype.h presence... yes\r\nchecking for ctype.h... yes\r\nchecking dirent.h usability... yes\r\nchecking dirent.h presence... yes\r\nchecking for dirent.h... yes\r\nchecking errno.h usability... yes\r\nchecking errno.h presence... yes\r\nchecking for errno.h... yes\r\nchecking fcntl.h usability... yes\r\nchecking fcntl.h presence... yes\r\nchecking for fcntl.h... yes\r\nchecking getopt.h usability... yes\r\nchecking getopt.h presence... yes\r\nchecking for getopt.h... yes\r\nchecking grp.h usability... yes\r\nchecking grp.h presence... yes\r\nchecking for grp.h... yes\r\nchecking libgen.h usability... yes\r\nchecking libgen.h presence... yes\r\nchecking for libgen.h... yes\r\nchecking limits.h usability... yes\r\nchecking limits.h presence... yes\r\nchecking for limits.h... yes\r\nchecking math.h usability... yes\r\nchecking math.h presence... yes\r\nchecking for math.h... yes\r\nchecking netdb.h usability... yes\r\nchecking netdb.h presence... yes\r\nchecking for netdb.h... yes\r\nchecking netinet/in.h usability... yes\r\nchecking netinet/in.h presence... yes\r\nchecking for netinet/in.h... yes\r\nchecking pwd.h usability... yes\r\nchecking pwd.h presence... yes\r\nchecking for pwd.h... yes\r\nchecking regex.h usability... yes\r\nchecking regex.h presence... yes\r\nchecking for regex.h... yes\r\nchecking signal.h usability... yes\r\nchecking signal.h presence... yes\r\nchecking for signal.h... yes\r\nchecking socket.h usability... no\r\nchecking socket.h presence... no\r\nchecking for socket.h... no\r\nchecking stdarg.h usability... yes\r\nchecking stdarg.h presence... yes\r\nchecking for stdarg.h... yes\r\nchecking for string.h... (cached) yes\r\nchecking for strings.h... (cached) yes\r\nchecking sys/loadavg.h usability... yes\r\nchecking sys/loadavg.h presence... yes\r\nchecking for sys/loadavg.h... yes\r\nchecking sys/mman.h usability... yes\r\nchecking sys/mman.h presence... yes\r\nchecking for sys/mman.h... yes\r\nchecking for sys/types.h... (cached) yes\r\nchecking sys/time.h usability... yes\r\nchecking sys/time.h presence... yes\r\nchecking for sys/time.h... yes\r\nchecking sys/resource.h usability... yes\r\nchecking sys/resource.h presence... yes\r\nchecking for sys/resource.h... yes\r\nchecking for sys/wait.h... (cached) yes\r\nchecking sys/socket.h usability... yes\r\nchecking sys/socket.h presence... yes\r\nchecking for sys/socket.h... yes\r\nchecking for sys/stat.h... (cached) yes\r\nchecking sys/timeb.h usability... yes\r\nchecking sys/timeb.h presence... yes\r\nchecking for sys/timeb.h... yes\r\nchecking sys/un.h usability... yes\r\nchecking sys/un.h presence... yes\r\nchecking for sys/un.h... yes\r\nchecking sys/ipc.h usability... yes\r\nchecking sys/ipc.h presence... yes\r\nchecking for sys/ipc.h... yes\r\nchecking sys/msg.h usability... yes\r\nchecking sys/msg.h presence... yes\r\nchecking for sys/msg.h... yes\r\nchecking sys/poll.h usability... yes\r\nchecking sys/poll.h presence... yes\r\nchecking for sys/poll.h... yes\r\nchecking syslog.h usability... yes\r\nchecking syslog.h presence... yes\r\nchecking for syslog.h... yes\r\nchecking uio.h usability... no\r\nchecking uio.h presence... no\r\nchecking for uio.h... no\r\nchecking for unistd.h... (cached) yes\r\nchecking locale.h usability... yes\r\nchecking locale.h presence... yes\r\nchecking for locale.h... yes\r\nchecking wchar.h usability... yes\r\nchecking wchar.h presence... yes\r\nchecking for wchar.h... yes\r\nchecking sys/prctl.h usability... no\r\nchecking sys/prctl.h presence... no\r\nchecking for sys/prctl.h... no\r\nchecking for an ANSI C-conforming const... yes\r\nchecking whether struct tm is in sys/time.h or time.h... time.h\r\nchecking for struct tm.tm_zone... no\r\nchecking whether tzname is declared... yes\r\nchecking for tzname... yes\r\nchecking for mode_t... yes\r\nchecking for pid_t... yes\r\nchecking for size_t... yes\r\nchecking return type of signal handlers... void\r\nchecking for uid_t in sys/types.h... yes\r\nchecking type of array argument to getgroups... gid_t\r\nchecking what the operating system is ... solaris\r\nchecking what the distribution type is ... solaris\r\nchecking what init system is being used ... smf11\r\nchecking what inetd is being used ... smf11\r\nchecking for which paths to use ... default\r\nchecking for which init file to use ... solaris-init.xml\r\nchecking for which inetd files to use ... solaris-inetd.xml\r\nchecking for va_copy... yes\r\nchecking for vsnprintf... yes\r\nchecking for snprintf... yes\r\nchecking for asprintf... yes\r\nchecking for vasprintf... yes\r\nchecking for sigaction... yes\r\nchecking for C99 vsnprintf... yes\r\nchecking for library containing getservbyname... no\r\nchecking for library containing connect... -lsocket\r\nchecking for initgroups... yes\r\nchecking for setenv... yes\r\nchecking for strdup... yes\r\nchecking for strstr... yes\r\nchecking for strtoul... yes\r\nchecking for unsetenv... yes\r\nchecking for type of socket size... size_t\r\nchecking for library containing nanosleep... none required\r\nchecking for mail... /usr/bin/mail\r\nchecking sys/select.h usability... yes\r\nchecking sys/select.h presence... yes\r\nchecking for sys/select.h... yes\r\n./configure[6397]: test: 1: unknown operator\r\nchecking for main in -liconv... no\r\nchecking for gdImagePng in -lgd (order 1)... no\r\nchecking for gdImagePng in -lgd (order 2)... yes\r\nGD library was found!\r\nchecking for gdImageCreateTrueColor in -lgd... yes\r\nchecking ltdl.h usability... no\r\nchecking ltdl.h presence... no\r\nchecking for ltdl.h... no\r\nchecking dlfcn.h usability... yes\r\nchecking dlfcn.h presence... yes\r\nchecking for dlfcn.h... yes\r\nchecking for dlopen in -ldl... yes\r\nchecking for extra flags needed to export symbols... none\r\nchecking for linker flags for loadable modules... -G\r\nchecking for traceroute... /usr/sbin/traceroute\r\nchecking for type va_list... yes\r\nchecking for perl... /usr/bin/perl\r\nchecking for unzip... /usr/bin/unzip\r\nconfigure: creating ./config.status\r\nconfig.status: creating html/index.php\r\nconfig.status: creating Makefile\r\nconfig.status: creating lib/Makefile\r\nconfig.status: creating base/Makefile\r\nconfig.status: creating common/Makefile\r\nconfig.status: creating contrib/Makefile\r\nconfig.status: creating cgi/Makefile\r\nconfig.status: creating html/Makefile\r\nconfig.status: creating module/Makefile\r\nconfig.status: creating worker/Makefile\r\nconfig.status: creating worker/ping/Makefile\r\nconfig.status: creating xdata/Makefile\r\nconfig.status: creating subst\r\nconfig.status: creating pkginfo\r\nconfig.status: creating startup/openrc-init\r\nconfig.status: creating startup/default-init\r\nconfig.status: creating startup/default-service\r\nconfig.status: creating startup/upstart-init\r\nconfig.status: creating t/Makefile\r\nconfig.status: creating t-tap/Makefile\r\nconfig.status: creating include/config.h\r\nconfig.status: creating lib/snprintf.h\r\nconfig.status: creating lib/iobroker.h\r\n\r\nCreating sample config files in sample-config/ ...\r\n\r\n\r\n*** Configuration summary for nagios 4.4.0 2018-01-22 ***:\r\n\r\n General Options:\r\n -------------------------\r\n        Nagios executable:  nagios\r\n        Nagios user/group:  nagios,nagios\r\n       Command user/group:  nagios,nagios\r\n             Event Broker:  yes\r\n        Install ${prefix}:  /usr/local/nagios\r\n    Install ${includedir}:  /usr/local/nagios/include/nagios\r\n                Lock file:  /var/run/nagios\r\n   Check result directory:  /usr/local/nagios/var/spool/checkresults\r\n           Init directory:  /etc/init.d\r\n  Apache conf.d directory:  /etc/apache2/2.2/conf.d\r\n             Mail program:  /usr/bin/mail\r\n                  Host OS:  solaris2.11\r\n          IOBroker Method:  poll\r\n\r\n Web Interface Options:\r\n ------------------------\r\n                 HTML URL:  http://localhost/nagios/\r\n                  CGI URL:  http://localhost/nagios/cgi-bin/\r\n Traceroute (used by WAP):  /usr/sbin/traceroute\r\n\r\n\r\nReview the options above for accuracy.  If they look okay,\r\ntype 'make all' to compile the main program and CGIs.\r\n\r\nroot@core-041:/tmp/nagioscore# gmake all\r\ncd ./base && gmake\r\ngmake[1]: Entering directory `/tmp/nagioscore/base'\r\ngcc -Wall -I.. -g -O2 -I/usr/include/gd2 -DHAVE_CONFIG_H -DNSCORE -c -o nagios.o nagios.c\r\nnagios.c: In function ‘main’:\r\nnagios.c:905:6: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘pid_t’\r\ngcc -Wall -I.. -g -O2 -I/usr/include/gd2 -DHAVE_CONFIG_H -DNSCORE   -c -o broker.o broker.c\r\ngcc -Wall -I.. -g -O2 -I/usr/include/gd2 -DHAVE_CONFIG_H -DNSCORE   -c -o nebmods.o nebmods.c\r\ngcc -Wall -I.. -g -O2 -I/usr/include/gd2 -DHAVE_CONFIG_H -DNSCORE -c -o ../common/shared.o ../common/shared.c\r\ngcc -Wall -I.. -g -O2 -I/usr/include/gd2 -DHAVE_CONFIG_H -DNSCORE   -c -o query-handler.o query-handler.c\r\ngcc -Wall -I.. -g -O2 -I/usr/include/gd2 -DHAVE_CONFIG_H -DNSCORE -c -o workers.o workers.c\r\nworkers.c: In function ‘wproc_run_job’:\r\nworkers.c:1034:6: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 7 has type ‘ssize_t’\r\nworkers.c:996:6: warning: unused variable ‘i’\r\ngcc -Wall -I.. -g -O2 -I/usr/include/gd2 -DHAVE_CONFIG_H -DNSCORE   -c -o checks.o checks.c\r\nchecks.c: In function ‘service_fresh_check’:\r\nchecks.c:740:4: warning: ‘return’ with a value, in function returning void\r\nchecks.c: In function ‘host_fresh_check’:\r\nchecks.c:759:4: warning: ‘return’ with a value, in function returning void\r\nchecks.c: In function ‘host_state_or_hard_state_type_change’:\r\nchecks.c:944:3: warning: passing argument 1 of ‘delete_service_acknowledgement_comments’ from incompatible pointer type\r\n../include/comments.h:92:5: note: expected ‘struct service *’ but argument is of type ‘struct host *’\r\nchecks.c: In function ‘handle_async_service_check_result’:\r\nchecks.c:1137:4: warning: suggest explicit braces to avoid ambiguous ‘else’\r\nchecks.c: In function ‘handle_async_host_check_result’:\r\nchecks.c:2746:5: warning: suggest explicit braces to avoid ambiguous ‘else’\r\nchecks.c:2798:3: warning: suggest parentheses around assignment used as truth value\r\ngcc -Wall -I.. -g -O2 -I/usr/include/gd2 -DHAVE_CONFIG_H -DNSCORE   -c -o config.o config.c\r\ngcc -Wall -I.. -g -O2 -I/usr/include/gd2 -DHAVE_CONFIG_H -DNSCORE   -c -o commands.o commands.c\r\ngcc -Wall -I.. -g -O2 -I/usr/include/gd2 -DHAVE_CONFIG_H -DNSCORE   -c -o events.o events.c\r\ngcc -Wall -I.. -g -O2 -I/usr/include/gd2 -DHAVE_CONFIG_H -DNSCORE   -c -o flapping.o flapping.c\r\ngcc -Wall -I.. -g -O2 -I/usr/include/gd2 -DHAVE_CONFIG_H -DNSCORE   -c -o logging.o logging.c\r\ngcc -Wall -I.. -g -O2 -I/usr/include/gd2 -DHAVE_CONFIG_H -DNSCORE -c -o macros-base.o ../common/macros.c\r\n../common/macros.c: In function ‘process_macros_r’:\r\n../common/macros.c:142:3: warning: suggest parentheses around assignment used as truth value\r\n../common/macros.c: In function ‘grab_standard_host_macro_r’:\r\n../common/macros.c:1844:12: warning: assignment discards qualifiers from pointer target type\r\n../common/macros.c: In function ‘grab_standard_service_macro_r’:\r\n../common/macros.c:2191:12: warning: assignment discards qualifiers from pointer target type\r\ngcc -Wall -I.. -g -O2 -I/usr/include/gd2 -DHAVE_CONFIG_H -DNSCORE   -c -o netutils.o netutils.c\r\ngcc -Wall -I.. -g -O2 -I/usr/include/gd2 -DHAVE_CONFIG_H -DNSCORE   -c -o notifications.o notifications.c\r\ngcc -Wall -I.. -g -O2 -I/usr/include/gd2 -DHAVE_CONFIG_H -DNSCORE   -c -o sehandlers.o sehandlers.c\r\ngcc -Wall -I.. -g -O2 -I/usr/include/gd2 -DHAVE_CONFIG_H -DNSCORE   -c -o utils.o utils.c\r\nutils.c: In function ‘daemon_init’:\r\nutils.c:1940:3: warning: implicit declaration of function ‘cleanup_performance_data’\r\nutils.c:1941:3: warning: implicit declaration of function ‘cleanup_downtime_data’\r\nutils.c: In function ‘process_check_result_file’:\r\nutils.c:2346:6: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘time_t’\r\nutils.c: In function ‘cleanup’:\r\nutils.c:3372:2: warning: implicit declaration of function ‘xodtemplate_free_memory’\r\nutils.c: In function ‘rlimit_problem_detection’:\r\nutils.c:3615:19: error: ‘RLIMIT_NPROC’ undeclared (first use in this function)\r\nutils.c:3615:19: note: each undeclared identifier is reported only once for each function it appears in\r\nutils.c:3697:4: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘rlim_t’\r\nutils.c:3702:4: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘rlim_t’\r\ngmake[1]: *** [utils.o] Error 1\r\ngmake[1]: Leaving directory `/tmp/nagioscore/base'\r\ngmake: *** [all] Error 2\r\nroot@core-041:/tmp/nagioscore# \r\n```"},"comment":{"url":"https://api.github.com/repos/NagiosEnterprises/nagioscore/issues/comments/362653328","html_url":"https://github.com/NagiosEnterprises/nagioscore/issues/473#issuecomment-362653328","issue_url":"https://api.github.com/repos/NagiosEnterprises/nagioscore/issues/473","id":362653328,"user":{"login":"albertw","id":1286135,"avatar_url":"https://avatars3.githubusercontent.com/u/1286135?v=4","gravatar_id":"","url":"https://api.github.com/users/albertw","html_url":"https://github.com/albertw","followers_url":"https://api.github.com/users/albertw/followers","following_url":"https://api.github.com/users/albertw/following{/other_user}","gists_url":"https://api.github.com/users/albertw/gists{/gist_id}","starred_url":"https://api.github.com/users/albertw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albertw/subscriptions","organizations_url":"https://api.github.com/users/albertw/orgs","repos_url":"https://api.github.com/users/albertw/repos","events_url":"https://api.github.com/users/albertw/events{/privacy}","received_events_url":"https://api.github.com/users/albertw/received_events","type":"User","site_admin":false},"created_at":"2018-02-02T17:40:20Z","updated_at":"2018-02-02T17:40:20Z","author_association":"NONE","body":"We don't have RLIMIT_NPROC in Solaris. An \"#ifdef RLIMIT_NPROC\" around the check in utils.c will get nagios to compile, but you'll get runtime errors like\r\n\r\nWARNING: RLIMIT_NPROC is 0, total max estimated processes is 396! You should increase your limits (ulimit -u, or limits.conf)\r\n"}}
{"actor":{"display_login":"albertw"}}