=> Building net/ruby-icmp Started : Wednesday, 11 JAN 2017 at 21:35:18 UTC Platform: 4.7-DEVELOPMENT DragonFly v4.7.0.1123.g75979-DEVELOPMENT #13: Sun Jan 8 20:55:10 PST 2017 marino@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=4.7-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 4.7-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin TERM=dumb LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> 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 -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- RB_USER_INSTALL=yes XDG_DATA_HOME=/construction/net/ruby-icmp XDG_CONFIG_HOME=/construction/net/ruby-icmp HOME=/construction/net/ruby-icmp TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --with-opt-dir="/usr/local" -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/net/ruby-icmp XDG_CONFIG_HOME=/construction/net/ruby-icmp HOME=/construction/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" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/net/ruby-icmp/stage -------------------------------------------------- -- 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.6" 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" -------------------------------------------------- -- 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 -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- USE_PACKAGE_DEPENDS=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=400704 OSVERSION=9999999 OSREL=4.7 _OSRELEASE=4.7-SYNTH -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Upstream no longer active. It is scheduled to be removed on or after 2017-01-28. -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> ruby22-icmp-0.2.1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.9.4_1.txz Installing pkg-1.9.4_1... Extracting pkg-1.9.4_1: .......... done ===> ruby22-icmp-0.2.1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ruby22-icmp-0.2.1 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Upstream no longer active. It is scheduled to be removed on or after 2017-01-28. ===> Fetching all distfiles required by ruby22-icmp-0.2.1 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Upstream no longer active. It is scheduled to be removed on or after 2017-01-28. ===> Fetching all distfiles required by ruby22-icmp-0.2.1 for building => SHA256 Checksum OK for ruby/icmp-0.2.1.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- ===> ruby22-icmp-0.2.1 depends on file: /usr/local/bin/ruby22 - not found ===> Installing existing package /packages/All/ruby-2.2.6_1,1.txz Installing ruby-2.2.6_1,1... `-- Installing libedit-3.1.20150325_2,1... | `-- Installing ncurses-6.0_3... | `-- Extracting ncurses-6.0_3: .......... 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.6... | `-- Extracting indexinfo-0.2.6: .... done `-- Extracting libffi-3.2.1: .......... done `-- Installing libressl-2.4.4... `-- Extracting libressl-2.4.4: .......... done Extracting ruby-2.2.6_1,1: .......... done Message from ncurses-6.0_3: ===> 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.6_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 -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Upstream no longer active. It is scheduled to be removed on or after 2017-01-28. ===> 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. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- ===> ruby22-icmp-0.2.1 depends on file: /usr/local/bin/ruby22 - found -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for ruby22-icmp-0.2.1 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> ruby22-icmp-0.2.1 depends on file: /usr/local/bin/ruby22 - found -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for ruby22-icmp-0.2.1 ===> Running extconf.rb to configure creating Makefile -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> 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 -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> ruby22-icmp-0.2.1 depends on file: /usr/local/bin/ruby22 - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for ruby22-icmp-0.2.1 ===> Generating temporary packing list /usr/bin/install -c -m 0755 icmpmodule.so /construction/net/ruby-icmp/stage/usr/local/lib/ruby/site_ruby/2.2/x86_64-dragonfly4 installing default icmpmodule libraries /bin/mkdir -p /construction/net/ruby-icmp/stage/usr/local/share/examples/ruby22/icmp install -m 0644 /construction/net/ruby-icmp/icmp-0.2.1/sample/* /construction/net/ruby-icmp/stage/usr/local/share/examples/ruby22/icmp/ ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for ruby22-icmp-0.2.1 file sizes/checksums [4]: . done packing files [4]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Wednesday, 11 JAN 2017 at 21:35:38 UTC Duration: 00:00:19