=> Building net/ruby-icmp build started at Wed Oct 5 09:12:08 PDT 2016 port directory: /usr/ports/net/ruby-icmp building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: ruby@FreeBSD.org ident warning: no id keywords in /build/boomdata/data/.m/bleeding-edge-default/ref/../08//usr/ports/net/ruby-icmp/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400702 !!! Jail is newer than host. (Jail: 400702, Host: 400700) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/bleeding-edge-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=ruby22-icmp-0.2.1 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/bleeding-edge-default/ref/.p/pool MASTERNAME=bleeding-edge-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ===> The following configuration options are available for ruby22-icmp-0.2.1: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --CONFIGURE_ARGS-- --with-opt-dir="/usr/local" --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- RB_USER_INSTALL=yes XDG_DATA_HOME=/wrkdirs/net/ruby-icmp XDG_CONFIG_HOME=/wrkdirs/net/ruby-icmp HOME=/wrkdirs/net/ruby-icmp TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/net/ruby-icmp XDG_CONFIG_HOME=/wrkdirs/net/ruby-icmp HOME=/wrkdirs/net/ruby-icmp TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- RUBY_LIBDIR="lib/ruby/2.2" RUBY_ARCHLIBDIR="lib/ruby/2.2/x86_64-dragonfly4" RUBY_SITELIBDIR="lib/ruby/site_ruby/2.2" RUBY_SITEARCHLIBDIR="lib/ruby/site_ruby/2.2/x86_64-dragonfly4" RUBY_VENDORLIBDIR="lib/ruby/vendor_ruby/2.2" RUBY_VENDORARCHLIBDIR="lib/ruby/vendor_ruby/2.2/x86_64-dragonfly4" RUBY_MODDOCDIR="share/doc/ruby22/icmp" RUBY_MODEXAMPLESDIR="share/examples/ruby22/icmp" RUBY_DOCDIR="share/doc/ruby22" RUBY_EXAMPLESDIR="share/examples/ruby22" RUBY_RIDIR="share/ri/2.2/system" RUBY_SITERIDIR="share/ri/2.2/site" RUBY_VERSION="2.2.5" RUBY_VER="2.2" RUBY_SHLIBVER="22" RUBY_ARCH="x86_64-dragonfly4" RUBY_SUFFIX="22" RUBY_NAME="ruby22" RUBY_DEFAULT_SUFFIX="22" RUBY21="@comment " RUBY22="" RUBY23="@comment " OSREL=4.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/icmp" EXAMPLESDIR="share/examples/icmp" DATADIR="share/icmp" WWWDIR="www/icmp" ETCDIR="etc/icmp" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/icmp DOCSDIR=/usr/local/share/doc/icmp EXAMPLESDIR=/usr/local/share/examples/icmp WWWDIR=/usr/local/www/icmp ETCDIR=/usr/local/etc/icmp --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== =========================================================================== =================================================== ===> ruby22-icmp-0.2.1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> ruby22-icmp-0.2.1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ruby22-icmp-0.2.1 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by ruby22-icmp-0.2.1 for building =========================================================================== =================================================== ===> Fetching all distfiles required by ruby22-icmp-0.2.1 for building => SHA256 Checksum OK for ruby/icmp-0.2.1.tar.gz. =========================================================================== =================================================== ===> ruby22-icmp-0.2.1 depends on file: /usr/local/bin/ruby22 - not found ===> Installing existing package /packages/All/ruby-2.2.5_1,1.txz Installing ruby-2.2.5_1,1... `-- Installing libedit-3.1.20150325_2,1... | `-- Installing ncurses-6.0_5... | `-- Extracting ncurses-6.0_5: .......... done `-- Extracting libedit-3.1.20150325_2,1: .......... done `-- Installing libyaml-0.1.6_2... `-- Extracting libyaml-0.1.6_2: ......... done `-- Installing libffi-3.2.1... | `-- Installing indexinfo-0.2.5... | `-- Extracting indexinfo-0.2.5: .... done `-- Extracting libffi-3.2.1: .......... done `-- Installing libressl-2.4.3... `-- Extracting libressl-2.4.3: .......... done Extracting ruby-2.2.5_1,1: .......... done Message from ncurses-6.0_5: ===> NOTICE: The ncurses port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port Message from ruby-2.2.5_1,1: ==== Some of the standard commands are provided as separate ports for ease of upgrading: devel/ruby-gems: gem - RubyGems package manager devel/rubygem-rake: rake - Ruby Make And some of the standard libraries are provided as separate ports since they require extra dependencies: databases/ruby-gdbm: GDBM module Install them as occasion demands. ==== ===> ruby22-icmp-0.2.1 depends on file: /usr/local/bin/ruby22 - found ===> Returning to build of ruby22-icmp-0.2.1 =========================================================================== =================================================== ===> Fetching all distfiles required by ruby22-icmp-0.2.1 for building ===> Extracting for ruby22-icmp-0.2.1 => SHA256 Checksum OK for ruby/icmp-0.2.1.tar.gz. =========================================================================== =================================================== ===> ruby22-icmp-0.2.1 depends on file: /usr/local/bin/ruby22 - found =========================================================================== =================================================== ===> Patching for ruby22-icmp-0.2.1 =========================================================================== =================================================== ===> ruby22-icmp-0.2.1 depends on file: /usr/local/bin/ruby22 - found =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for ruby22-icmp-0.2.1 ===> Running extconf.rb to configure creating Makefile =========================================================================== =================================================== ===> Building for ruby22-icmp-0.2.1 --- icmpmodule.o --- compiling icmpmodule.c icmpmodule.c: In function 'get_ipv4_addr': icmpmodule.c:87:12: warning: implicit declaration of function 'rb_str2cstr' [-Wimplicit-function-declaration] host = rb_str2cstr(val, &len); ^ icmpmodule.c:87:10: warning: assignment makes pointer from integer without a cast [-Wint-conversion] host = rb_str2cstr(val, &len); ^ icmpmodule.c:88:18: warning: implicit declaration of function 'inet_addr' [-Wimplicit-function-declaration] if((s_addr = inet_addr(host)) == -1){ ^ icmpmodule.c: In function 'get_icmp_gwaddr': icmpmodule.c:126:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] icmp = (struct icmp*)rb_str2cstr(self, &len); ^ icmpmodule.c: In function 'set_icmp_gwaddr': icmpmodule.c:143:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] icmp = (struct icmp*)rb_str2cstr(self, &len); ^ icmpmodule.c: In function 'get_icmp_ip': icmpmodule.c:159:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] icmp = (struct icmp*)rb_str2cstr(self, &len); ^ icmpmodule.c: In function 'get_icmp_data': icmpmodule.c:197:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] icmp = (struct icmp*)rb_str2cstr(self, &len); ^ icmpmodule.c: In function 'set_icmp_data': icmpmodule.c:213:10: warning: assignment makes pointer from integer without a cast [-Wint-conversion] data = rb_str2cstr(val, &vlen); ^ icmpmodule.c:215:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] icmp = (struct icmp*)rb_str2cstr(self, &len); ^ icmpmodule.c:221:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] icmp = (struct icmp*)rb_str2cstr(self, &len); ^ icmpmodule.c: In function 'icmp_truncate': icmpmodule.c:254:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] icmp = (struct icmp*)rb_str2cstr(self, &olen); ^ icmpmodule.c: In function 'icmp_set_cksum': icmpmodule.c:302:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] icmp = (struct icmp*)rb_str2cstr(self, &len); ^ icmpmodule.c: In function 'get_icmp_type': icmpmodule.c:51:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:317:1: note: in expansion of macro 'DEFINE_GETTER' DEFINE_GETTER(struct icmp, icmp_type, ICMP_MINLEN, nop); ^ icmpmodule.c: In function 'set_icmp_type': icmpmodule.c:60:1: warning: type of 'val' defaults to 'int' [-Wimplicit-int] set_##field(self, val) \ ^ icmpmodule.c:318:1: note: in expansion of macro 'DEFINE_SETTER' DEFINE_SETTER(struct icmp, icmp_type, ICMP_MINLEN, nop); ^ icmpmodule.c:66:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:318:1: note: in expansion of macro 'DEFINE_SETTER' DEFINE_SETTER(struct icmp, icmp_type, ICMP_MINLEN, nop); ^ icmpmodule.c: In function 'get_icmp_code': icmpmodule.c:51:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:319:1: note: in expansion of macro 'DEFINE_GETTER' DEFINE_GETTER(struct icmp, icmp_code, ICMP_MINLEN, nop); ^ icmpmodule.c: In function 'set_icmp_code': icmpmodule.c:60:1: warning: type of 'val' defaults to 'int' [-Wimplicit-int] set_##field(self, val) \ ^ icmpmodule.c:320:1: note: in expansion of macro 'DEFINE_SETTER' DEFINE_SETTER(struct icmp, icmp_code, ICMP_MINLEN, nop); ^ icmpmodule.c:66:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:320:1: note: in expansion of macro 'DEFINE_SETTER' DEFINE_SETTER(struct icmp, icmp_code, ICMP_MINLEN, nop); ^ icmpmodule.c: In function 'get_icmp_cksum': icmpmodule.c:51:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:321:1: note: in expansion of macro 'DEFINE_GETTER' DEFINE_GETTER(struct icmp, icmp_cksum, ICMP_MINLEN, ntohs); ^ icmpmodule.c: In function 'set_icmp_cksum': icmpmodule.c:60:1: warning: type of 'val' defaults to 'int' [-Wimplicit-int] set_##field(self, val) \ ^ icmpmodule.c:322:1: note: in expansion of macro 'DEFINE_SETTER' DEFINE_SETTER(struct icmp, icmp_cksum, ICMP_MINLEN, htons); ^ icmpmodule.c:66:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:322:1: note: in expansion of macro 'DEFINE_SETTER' DEFINE_SETTER(struct icmp, icmp_cksum, ICMP_MINLEN, htons); ^ icmpmodule.c: In function 'get_icmp_pptr': icmpmodule.c:51:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:323:1: note: in expansion of macro 'DEFINE_GETTER' DEFINE_GETTER(struct icmp, icmp_pptr, ICMP_MINLEN, nop); ^ icmpmodule.c: In function 'set_icmp_pptr': icmpmodule.c:60:1: warning: type of 'val' defaults to 'int' [-Wimplicit-int] set_##field(self, val) \ ^ icmpmodule.c:324:1: note: in expansion of macro 'DEFINE_SETTER' DEFINE_SETTER(struct icmp, icmp_pptr, ICMP_MINLEN, nop); ^ icmpmodule.c:66:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:324:1: note: in expansion of macro 'DEFINE_SETTER' DEFINE_SETTER(struct icmp, icmp_pptr, ICMP_MINLEN, nop); ^ icmpmodule.c: In function 'get_icmp_id': icmpmodule.c:51:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:325:1: note: in expansion of macro 'DEFINE_GETTER' DEFINE_GETTER(struct icmp, icmp_id, ICMP_MINLEN, ntohs); ^ icmpmodule.c: In function 'set_icmp_id': icmpmodule.c:60:1: warning: type of 'val' defaults to 'int' [-Wimplicit-int] set_##field(self, val) \ ^ icmpmodule.c:326:1: note: in expansion of macro 'DEFINE_SETTER' DEFINE_SETTER(struct icmp, icmp_id, ICMP_MINLEN, htons); ^ icmpmodule.c:66:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:326:1: note: in expansion of macro 'DEFINE_SETTER' DEFINE_SETTER(struct icmp, icmp_id, ICMP_MINLEN, htons); ^ icmpmodule.c: In function 'get_icmp_seq': icmpmodule.c:51:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:327:1: note: in expansion of macro 'DEFINE_GETTER' DEFINE_GETTER(struct icmp, icmp_seq, ICMP_MINLEN, ntohs); ^ icmpmodule.c: In function 'set_icmp_seq': icmpmodule.c:60:1: warning: type of 'val' defaults to 'int' [-Wimplicit-int] set_##field(self, val) \ ^ icmpmodule.c:328:1: note: in expansion of macro 'DEFINE_SETTER' DEFINE_SETTER(struct icmp, icmp_seq, ICMP_MINLEN, htons); ^ icmpmodule.c:66:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:328:1: note: in expansion of macro 'DEFINE_SETTER' DEFINE_SETTER(struct icmp, icmp_seq, ICMP_MINLEN, htons); ^ icmpmodule.c: In function 'get_icmp_void': icmpmodule.c:51:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:329:1: note: in expansion of macro 'DEFINE_GETTER' DEFINE_GETTER(struct icmp, icmp_void, ICMP_MINLEN, ntohs); ^ icmpmodule.c: In function 'set_icmp_void': icmpmodule.c:60:1: warning: type of 'val' defaults to 'int' [-Wimplicit-int] set_##field(self, val) \ ^ icmpmodule.c:330:1: note: in expansion of macro 'DEFINE_SETTER' DEFINE_SETTER(struct icmp, icmp_void, ICMP_MINLEN, htons); ^ icmpmodule.c:66:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:330:1: note: in expansion of macro 'DEFINE_SETTER' DEFINE_SETTER(struct icmp, icmp_void, ICMP_MINLEN, htons); ^ icmpmodule.c: In function 'get_icmp_pmvoid': icmpmodule.c:51:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:331:1: note: in expansion of macro 'DEFINE_GETTER' DEFINE_GETTER(struct icmp, icmp_pmvoid, ICMP_MINLEN, ntohs); ^ icmpmodule.c: In function 'set_icmp_pmvoid': icmpmodule.c:60:1: warning: type of 'val' defaults to 'int' [-Wimplicit-int] set_##field(self, val) \ ^ icmpmodule.c:332:1: note: in expansion of macro 'DEFINE_SETTER' DEFINE_SETTER(struct icmp, icmp_pmvoid, ICMP_MINLEN, htons); ^ icmpmodule.c:66:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:332:1: note: in expansion of macro 'DEFINE_SETTER' DEFINE_SETTER(struct icmp, icmp_pmvoid, ICMP_MINLEN, htons); ^ icmpmodule.c: In function 'get_icmp_nextmtu': icmpmodule.c:51:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:333:1: note: in expansion of macro 'DEFINE_GETTER' DEFINE_GETTER(struct icmp, icmp_nextmtu, ICMP_MINLEN, nop); ^ icmpmodule.c: In function 'set_icmp_nextmtu': icmpmodule.c:60:1: warning: type of 'val' defaults to 'int' [-Wimplicit-int] set_##field(self, val) \ ^ icmpmodule.c:334:1: note: in expansion of macro 'DEFINE_SETTER' DEFINE_SETTER(struct icmp, icmp_nextmtu, ICMP_MINLEN, nop); ^ icmpmodule.c:66:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:334:1: note: in expansion of macro 'DEFINE_SETTER' DEFINE_SETTER(struct icmp, icmp_nextmtu, ICMP_MINLEN, nop); ^ icmpmodule.c: In function 'get_icmp_num_addrs': icmpmodule.c:51:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:335:1: note: in expansion of macro 'DEFINE_GETTER' DEFINE_GETTER(struct icmp, icmp_num_addrs, ICMP_MINLEN, nop); ^ icmpmodule.c: In function 'set_icmp_num_addrs': icmpmodule.c:60:1: warning: type of 'val' defaults to 'int' [-Wimplicit-int] set_##field(self, val) \ ^ icmpmodule.c:336:1: note: in expansion of macro 'DEFINE_SETTER' DEFINE_SETTER(struct icmp, icmp_num_addrs, ICMP_MINLEN, nop); ^ icmpmodule.c:66:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:336:1: note: in expansion of macro 'DEFINE_SETTER' DEFINE_SETTER(struct icmp, icmp_num_addrs, ICMP_MINLEN, nop); ^ icmpmodule.c: In function 'get_icmp_wpa': icmpmodule.c:51:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:337:1: note: in expansion of macro 'DEFINE_GETTER' DEFINE_GETTER(struct icmp, icmp_wpa, ICMP_MINLEN, nop); ^ icmpmodule.c: In function 'set_icmp_wpa': icmpmodule.c:60:1: warning: type of 'val' defaults to 'int' [-Wimplicit-int] set_##field(self, val) \ ^ icmpmodule.c:338:1: note: in expansion of macro 'DEFINE_SETTER' DEFINE_SETTER(struct icmp, icmp_wpa, ICMP_MINLEN, nop); ^ icmpmodule.c:66:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:338:1: note: in expansion of macro 'DEFINE_SETTER' DEFINE_SETTER(struct icmp, icmp_wpa, ICMP_MINLEN, nop); ^ icmpmodule.c: In function 'get_icmp_lifetime': icmpmodule.c:51:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:339:1: note: in expansion of macro 'DEFINE_GETTER' DEFINE_GETTER(struct icmp, icmp_lifetime, ICMP_MINLEN, ntohs); ^ icmpmodule.c: In function 'set_icmp_lifetime': icmpmodule.c:60:1: warning: type of 'val' defaults to 'int' [-Wimplicit-int] set_##field(self, val) \ ^ icmpmodule.c:340:1: note: in expansion of macro 'DEFINE_SETTER' DEFINE_SETTER(struct icmp, icmp_lifetime, ICMP_MINLEN, htons); ^ icmpmodule.c:66:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:340:1: note: in expansion of macro 'DEFINE_SETTER' DEFINE_SETTER(struct icmp, icmp_lifetime, ICMP_MINLEN, htons); ^ icmpmodule.c: In function 'get_icmp_otime': icmpmodule.c:51:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:341:1: note: in expansion of macro 'DEFINE_GETTER' DEFINE_GETTER(struct icmp, icmp_otime, ICMP_TSLEN, ntohl); ^ icmpmodule.c: In function 'set_icmp_otime': icmpmodule.c:60:1: warning: type of 'val' defaults to 'int' [-Wimplicit-int] set_##field(self, val) \ ^ icmpmodule.c:342:1: note: in expansion of macro 'DEFINE_SETTER' DEFINE_SETTER(struct icmp, icmp_otime, ICMP_TSLEN, htonl); ^ icmpmodule.c:66:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:342:1: note: in expansion of macro 'DEFINE_SETTER' DEFINE_SETTER(struct icmp, icmp_otime, ICMP_TSLEN, htonl); ^ icmpmodule.c: In function 'get_icmp_rtime': icmpmodule.c:51:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:343:1: note: in expansion of macro 'DEFINE_GETTER' DEFINE_GETTER(struct icmp, icmp_rtime, ICMP_TSLEN, ntohl); ^ icmpmodule.c: In function 'set_icmp_rtime': icmpmodule.c:60:1: warning: type of 'val' defaults to 'int' [-Wimplicit-int] set_##field(self, val) \ ^ icmpmodule.c:344:1: note: in expansion of macro 'DEFINE_SETTER' DEFINE_SETTER(struct icmp, icmp_rtime, ICMP_TSLEN, htonl); ^ icmpmodule.c:66:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:344:1: note: in expansion of macro 'DEFINE_SETTER' DEFINE_SETTER(struct icmp, icmp_rtime, ICMP_TSLEN, htonl); ^ icmpmodule.c: In function 'get_icmp_ttime': icmpmodule.c:51:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:345:1: note: in expansion of macro 'DEFINE_GETTER' DEFINE_GETTER(struct icmp, icmp_ttime, ICMP_TSLEN, ntohl); ^ icmpmodule.c: In function 'set_icmp_ttime': icmpmodule.c:60:1: warning: type of 'val' defaults to 'int' [-Wimplicit-int] set_##field(self, val) \ ^ icmpmodule.c:346:1: note: in expansion of macro 'DEFINE_SETTER' DEFINE_SETTER(struct icmp, icmp_ttime, ICMP_TSLEN, htonl); ^ icmpmodule.c:66:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:346:1: note: in expansion of macro 'DEFINE_SETTER' DEFINE_SETTER(struct icmp, icmp_ttime, ICMP_TSLEN, htonl); ^ icmpmodule.c: In function 'get_icmp_mask': icmpmodule.c:51:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:347:1: note: in expansion of macro 'DEFINE_GETTER' DEFINE_GETTER(struct icmp, icmp_mask, ICMP_MASKLEN, nop); ^ icmpmodule.c: In function 'set_icmp_mask': icmpmodule.c:60:1: warning: type of 'val' defaults to 'int' [-Wimplicit-int] set_##field(self, val) \ ^ icmpmodule.c:348:1: note: in expansion of macro 'DEFINE_SETTER' DEFINE_SETTER(struct icmp, icmp_mask, ICMP_MASKLEN, nop); ^ icmpmodule.c:66:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:348:1: note: in expansion of macro 'DEFINE_SETTER' DEFINE_SETTER(struct icmp, icmp_mask, ICMP_MASKLEN, nop); ^ icmpmodule.c: In function 'ip_new': icmpmodule.c:361:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ip = (struct ip*)rb_str2cstr(tmp, &len); ^ icmpmodule.c: In function 'get_ip_src': icmpmodule.c:384:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ip = (struct ip*)rb_str2cstr(self, &len); ^ icmpmodule.c: In function 'set_ip_src': icmpmodule.c:401:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ip = (struct ip*)rb_str2cstr(self, &len); ^ icmpmodule.c: In function 'get_ip_dst': icmpmodule.c:418:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ip = (struct ip*)rb_str2cstr(self, &len); ^ icmpmodule.c: In function 'get_ip_v': icmpmodule.c:51:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:427:1: note: in expansion of macro 'DEFINE_GETTER' DEFINE_GETTER(struct ip, ip_v, sizeof(struct ip), nop); ^ icmpmodule.c: In function 'get_ip_hl': icmpmodule.c:51:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:428:1: note: in expansion of macro 'DEFINE_GETTER' DEFINE_GETTER(struct ip, ip_hl, sizeof(struct ip), nop); ^ icmpmodule.c: In function 'get_ip_tos': icmpmodule.c:51:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:429:1: note: in expansion of macro 'DEFINE_GETTER' DEFINE_GETTER(struct ip, ip_tos, sizeof(struct ip), nop); ^ icmpmodule.c: In function 'get_ip_len': icmpmodule.c:51:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:430:1: note: in expansion of macro 'DEFINE_GETTER' DEFINE_GETTER(struct ip, ip_len, sizeof(struct ip), ntohs); ^ icmpmodule.c: In function 'get_ip_id': icmpmodule.c:51:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:431:1: note: in expansion of macro 'DEFINE_GETTER' DEFINE_GETTER(struct ip, ip_id, sizeof(struct ip), ntohs); ^ icmpmodule.c: In function 'get_ip_off': icmpmodule.c:51:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:432:1: note: in expansion of macro 'DEFINE_GETTER' DEFINE_GETTER(struct ip, ip_off, sizeof(struct ip), ntohs); ^ icmpmodule.c: In function 'get_ip_ttl': icmpmodule.c:51:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:433:1: note: in expansion of macro 'DEFINE_GETTER' DEFINE_GETTER(struct ip, ip_ttl, sizeof(struct ip), nop); ^ icmpmodule.c: In function 'get_ip_p': icmpmodule.c:51:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:434:1: note: in expansion of macro 'DEFINE_GETTER' DEFINE_GETTER(struct ip, ip_p, sizeof(struct ip), nop); ^ icmpmodule.c: In function 'get_ip_sum': icmpmodule.c:51:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pack = (type*)rb_str2cstr(self, &len); \ ^ icmpmodule.c:435:1: note: in expansion of macro 'DEFINE_GETTER' DEFINE_GETTER(struct ip, ip_sum, sizeof(struct ip), ntohs); ^ icmpmodule.c: In function 'get_ip_body': icmpmodule.c:445:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] ip = rb_str2cstr(self, &len); ^ --- icmpmodule.so --- linking shared-object icmpmodule.so =========================================================================== =================================================== ===> ruby22-icmp-0.2.1 depends on file: /usr/local/bin/ruby22 - found =========================================================================== =================================================== ===> Staging for ruby22-icmp-0.2.1 ===> Generating temporary packing list /usr/bin/install -c -m 0755 icmpmodule.so /wrkdirs/net/ruby-icmp/stage/usr/local/lib/ruby/site_ruby/2.2/x86_64-dragonfly4 installing default icmpmodule libraries /bin/mkdir -p /wrkdirs/net/ruby-icmp/stage/usr/local/share/examples/ruby22/icmp install -m 0644 /wrkdirs/net/ruby-icmp/icmp-0.2.1/sample/* /wrkdirs/net/ruby-icmp/stage/usr/local/share/examples/ruby22/icmp/ ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for ruby22-icmp-0.2.1 file sizes/checksums [4]: . done packing files [4]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for ruby22-icmp-0.2.1 build of net/ruby-icmp ended at Wed Oct 5 09:12:24 PDT 2016 build time: 00:00:16