Date: Fri, 14 Sep 2012 10:04:24 +0200 (CEST) From: freebsd@nagilum.org To: FreeBSD-gnats-submit@FreeBSD.org Cc: sylvio@FreeBSD.org Subject: ports/171635: databases/rrdtool-1.4.7_2 build fails Message-ID: <20120914080425.112FF67938@cakebox.homeunix.net> Resent-Message-ID: <201209140810.q8E8A9sC022605@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 171635 >Category: ports >Synopsis: databases/rrdtool-1.4.7_2 build fails >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 14 08:10:09 UTC 2012 >Closed-Date: >Last-Modified: >Originator: freebsd@nagilum.org >Release: FreeBSD 10.0-CURRENT i386 >Organization: >Environment: System: FreeBSD cakebox.tis 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Wed Aug 29 13:01:13 CEST 2012 root@cakebox.tis:/usr/obj/export/src/sys/net5501 i386 >Description: databases/rrdtool-1.4.7_2 fails to build due to Makefile related issue >How-To-Repeat: build databases/rrdtool >Fix: The wrong command being issues is this: root@cakebox /var/tmp/export/ports/databases/rrdtool/work/rrdtool-1.4.7/bindings/ruby > gcc47 -shared -o RRD.so main.o -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L../../src/.libs -L. -L/usr/local/lib -rpath=/usr/local/lib -pthread -rdynamic -Wl,-soname, -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby18 -lrrd -lcrypt -lm -L/usr/local/lib -rpath=/usr/local/lib -pthread /usr/local/lib: file not recognized: File format not recognized collect2: error: ld returned 1 exit status If I remove "-Wl,/usr/local/lib" it seems to work: root@cakebox /var/tmp/export/ports/databases/rrdtool/work/rrdtool-1.4.7/bindings/ruby > gcc47 -shared -o RRD.so main.o -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L../../src/.libs -L. -L/usr/local/lib -rpath=/usr/local/lib -pthread -rdynamic -Wl,-soname, -Wl,-R -L/usr/local/lib -lruby18 -lrrd -lcrypt -lm -L/usr/local/lib -rpath=/usr/local/lib -pthread root@cakebox /var/tmp/export/ports/databases/rrdtool/work/rrdtool-1.4.7/bindings/ruby > --- typescript begins here --- Script started on Fri Sep 14 09:42:07 2012 [root@cakebox /usr/ports/databases/rrdtool]# cat /var/db/ports/rrdtool/options # This file is auto-generated by 'make config'. # Options for rrdtool-1.4.7_2 _OPTIONS_READ=rrdtool-1.4.7_2 _FILE_COMPLETE_OPTIONS_LIST= DEJAVU JSON MMAP PERL_MODULE PYTHON_MODULE RUBY_MODULE OPTIONS_FILE_UNSET+=DEJAVU OPTIONS_FILE_SET+=JSON OPTIONS_FILE_SET+=MMAP OPTIONS_FILE_SET+=PERL_MODULE OPTIONS_FILE_SET+=PYTHON_MODULE OPTIONS_FILE_SET+=RUBY_MODULE [root@cakebox /usr/ports/databases/rrdtool]# make ===> Found saved configuration for rrdtool-1.4.7_2 ===> Extracting for rrdtool-1.4.7_2 => SHA256 Checksum OK for rrdtool-1.4.7.tar.gz. ===> rrdtool-1.4.7_2 depends on file: /usr/local/bin/ruby18 - found ===> rrdtool-1.4.7_2 depends on file: /usr/local/bin/perl5.14.2 - found ===> Patching for rrdtool-1.4.7_2 ===> rrdtool-1.4.7_2 depends on file: /usr/local/bin/ruby18 - found ===> rrdtool-1.4.7_2 depends on file: /usr/local/bin/perl5.14.2 - found ===> Applying extra patch /export/ports/databases/rrdtool/files/thirdparty-json.diff ===> Applying FreeBSD patches for rrdtool-1.4.7_2 ===> rrdtool-1.4.7_2 depends on file: /usr/local/bin/python2.7 - found ===> rrdtool-1.4.7_2 depends on file: /usr/local/bin/ruby18 - found ===> rrdtool-1.4.7_2 depends on executable: gmake - found ===> rrdtool-1.4.7_2 depends on file: /usr/local/bin/perl5.14.2 - found ===> rrdtool-1.4.7_2 depends on package: libtool>=2.4 - found ===> rrdtool-1.4.7_2 depends on file: /usr/local/bin/intltool-extract - found ===> rrdtool-1.4.7_2 depends on shared library: freetype.9 - found ===> rrdtool-1.4.7_2 depends on shared library: cairo.2 - found ===> rrdtool-1.4.7_2 depends on shared library: png15 - found ===> rrdtool-1.4.7_2 depends on shared library: xml2 - found ===> rrdtool-1.4.7_2 depends on shared library: pangocairo-1.0.0 - found ===> Configuring for rrdtool-1.4.7_2 ===> FreeBSD 10 autotools fix applied to /var/tmp/export/ports/databases/rrdtool/work/rrdtool-1.4.7/libtool ===> FreeBSD 10 autotools fix applied to /var/tmp/export/ports/databases/rrdtool/work/rrdtool-1.4.7/config.rpath ===> FreeBSD 10 autotools fix applied to /var/tmp/export/ports/databases/rrdtool/work/rrdtool-1.4.7/configure ===> FreeBSD 10 autotools fix applied to /var/tmp/export/ports/databases/rrdtool/work/rrdtool-1.4.7/aclocal.m4 ===> FreeBSD 10 autotools fix applied to /var/tmp/export/ports/databases/rrdtool/work/rrdtool-1.4.7/m4/libtool.m4 ===> FreeBSD 10 autotools fix applied to /var/tmp/export/ports/databases/rrdtool/work/rrdtool-1.4.7/m4/acinclude.m4 checking build system type... i386-portbld-freebsd10 checking host system type... i386-portbld-freebsd10 checking target system type... i386-portbld-freebsd10 checking for gcc... cc 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 cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p checking for gawk... gawk checking whether gmake sets $(MAKE)... yes checking for style of include used by gmake... GNU checking dependency style of cc... gcc3 checking whether to enable maintainer-specific portions of Makefiles... no Audit Compilation Environment checking how to run the C preprocessor... cpp checking for gcc... (cached) cc checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ISO C89... (cached) none needed checking whether cc understands -c and -o together... yes checking for a sed that does not truncate output... /usr/local/bin/gsed checking for fgrep... /usr/bin/grep -F checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... (cached) 262144 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from cc object... ok checking for dlfcn.h... yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... freebsd10 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking if gcc likes the -Werror flag... yes checking if gcc likes the -fno-strict-aliasing flag... yes checking if gcc likes the -Wall flag... yes checking if gcc likes the -std=gnu99 flag... yes checking if gcc likes the -pedantic flag... yes checking if gcc likes the -Wundef flag... yes checking if gcc likes the -Wshadow flag... yes checking if gcc likes the -Wpointer-arith flag... yes checking if gcc likes the -Wcast-align flag... yes checking if gcc likes the -Wmissing-prototypes flag... yes checking if gcc likes the -Wmissing-declarations flag... yes checking if gcc likes the -Wnested-externs flag... yes checking if gcc likes the -Winline flag... yes checking if gcc likes the -Wold-style-definition flag... yes checking if gcc likes the -W flag... yes Checking for Header Files checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking features.h usability... no checking features.h presence... no checking for features.h... no checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking fp_class.h usability... no checking fp_class.h presence... no checking for fp_class.h... no checking malloc.h usability... no checking malloc.h presence... no checking for malloc.h... no checking for unistd.h... (cached) yes checking ieeefp.h usability... yes checking ieeefp.h presence... yes checking for ieeefp.h... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking for string.h... (cached) yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking for an ANSI C-conforming const... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h Test Library Functions checking for acos... no checking for acos in -lm... yes ./configure: ./libtool: not found checking for strftime... yes checking for vprintf... yes checking for _doprnt... no checking whether byte ordering is bigendian... no checking for nl_langinfo... yes checking for tzset... yes checking for round... yes checking for rint... yes checking for fsync... yes checking for mbstowcs... yes checking for opendir... yes checking for readdir... yes checking for chdir... yes checking for chroot... yes checking for getuid... yes checking for strerror... yes checking for snprintf... yes checking for vsnprintf... yes checking for vasprintf... yes checking for fpclass... no checking for class... no checking for fp_class... no checking for isnan... yes checking for memmove... yes checking for strchr... yes checking for mktime... yes checking for getrusage... yes checking for gettimeofday... yes checking whether strerror_r is declared... yes checking for strerror_r... yes checking whether strerror_r returns char *... no Map/Fadvis/Madvise checking checking for fdatasync... no checking for fdatasync in -lrt... no checking for fsync... (cached) yes checking for socket... yes checking for getaddrinfo... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking for mmap... yes checking for munmap... yes checking for msync... yes checking whether madvise is declared... yes checking for madvise... yes checking whether posix_fadvise is declared... yes checking for posix_fadvise... yes Libintl Processing checking whether NLS is requested... yes checking for msgfmt... /usr/local/bin/msgfmt checking for gmsgfmt... /usr/local/bin/msgfmt checking for xgettext... /usr/local/bin/xgettext checking for msgmerge... /usr/local/bin/msgmerge checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... no checking for iconv... yes checking for working iconv... yes checking how to link with libiconv... /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib checking for GNU gettext in libintl... yes checking whether to use NLS... yes checking where the gettext function comes from... external libintl checking how to link with libintl... /usr/local/lib/libintl.so -L/usr/local/lib /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib IEEE Math Checks checking for fpclassify... no checking for fpclassify with <math.h>... yes checking for isinf... yes checking whether isfinite is broken... yes checking for finite... yes checking if IEEE math works out of the box... yes Resolve Portability Issues checking tm_gmtoff in struct tm... yes checking __tm_gmtoff in struct tm... no checking if msync with MS_ASYNC updates the files mtime... yes checking for _NL_TIME_WEEK_1STDAY... no checking for nl_langinfo(_NL_TIME_WEEK_1STDAY) with langinfo.h... no checking for opterr... yes checking for getopt_long... yes checking if realloc can deal with NULL... yes checking if ctime_r need special care to act posixly correct... no checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... -D_THREAD_SAFE checking for cc_r... cc checking do we need malloc/malloc.h... nope, works out of the box checking the type of time_t... checking size of time_t... 4 time_t is 32 bit Find 3rd-Party Libraries checking dbi/dbi.h usability... yes checking dbi/dbi.h presence... yes checking for dbi/dbi.h... yes checking for dbi_initialize in -ldbi... no checking tcpd.h usability... yes checking tcpd.h presence... yes checking for tcpd.h... yes checking for hosts_access... no checking for hosts_access in -lwrap... yes checking for cairo_font_options_create in -lcairo... no checking for pkg-config... pkg-config checking for cairo_font_options_create in -lcairo... yes checking cairo.h usability... yes checking cairo.h presence... yes checking for cairo.h... yes checking for cairo_svg_surface_create in -lcairo... yes checking cairo-svg.h usability... yes checking cairo-svg.h presence... yes checking for cairo-svg.h... yes checking for cairo_pdf_surface_create in -lcairo... yes checking cairo-pdf.h usability... yes checking cairo-pdf.h presence... yes checking for cairo-pdf.h... yes checking for cairo_ps_surface_create in -lcairo... yes checking cairo-ps.h usability... yes checking cairo-ps.h presence... yes checking for cairo-ps.h... yes checking for pango_cairo_context_set_font_options in -lpangocairo-1.0... yes checking pango/pango.h usability... no checking pango/pango.h presence... no checking for pango/pango.h... no checking for pkg-config... (cached) pkg-config checking for pango_cairo_context_set_font_options in -lpangocairo-1.0... yes checking pango/pango.h usability... yes checking pango/pango.h presence... yes checking for pango/pango.h... yes checking for glib_check_version in -lglib-2.0... yes checking glib.h usability... yes checking glib.h presence... yes checking for glib.h... yes checking for xmlParseFile in -lxml2... yes checking libxml/parser.h usability... no checking libxml/parser.h presence... no checking for libxml/parser.h... no checking for pkg-config... (cached) pkg-config checking for xmlParseFile in -lxml2... yes checking libxml/parser.h usability... yes checking libxml/parser.h presence... yes checking for libxml/parser.h... yes Prep for Building Language Bindings checking for perl... /usr/bin/perl checking for pod2man... /usr/local/bin/pod2man checking for pod2html... /usr/local/bin/pod2html checking for the perl version you are running... 5.14.2 checking for the C compiler perl wants to use to build its modules... gcc47 checking for gcc47... /usr/bin/gcc47 checking Perl Modules to build... perl_piped perl_shared checking for ruby... /usr/local/bin/ruby checking if ruby modules can be built... YES checking for lua... no checking whether /usr/local/bin/python2.7 version >= 2.3... yes checking for /usr/local/bin/python2.7 version... 2.7 checking for /usr/local/bin/python2.7 platform... freebsd10 checking for /usr/local/bin/python2.7 script directory... ${prefix}/lib/python2.7/site-packages checking for /usr/local/bin/python2.7 extension module directory... ${exec_prefix}/lib/python2.7/site-packages checking for headers required to compile python extensions... found checking for gnroff... no checking for nroff... /usr/bin/nroff checking for groff... /usr/bin/groff Apply Configuration Information configure: creating ./config.status config.status: creating examples/shared-demo.pl config.status: creating examples/piped-demo.pl config.status: creating examples/stripes.pl config.status: creating examples/bigtops.pl config.status: creating examples/minmax.pl config.status: creating examples/4charts.pl config.status: creating examples/perftest.pl config.status: creating examples/Makefile config.status: creating examples/rrdcached/Makefile config.status: creating doc/Makefile config.status: creating po/Makefile.in config.status: creating src/Makefile config.status: creating src/librrd.sym.in config.status: creating src/librrd.pc config.status: creating bindings/Makefile config.status: creating bindings/tcl/Makefile config.status: creating bindings/tcl/ifOctets.tcl config.status: creating Makefile config.status: creating bindings/lua/Makefile config.status: creating rrd_config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing default commands checking in... and out again ordering CD from http://tobi.oetiker.ch/wish .... just kidding ;-) ---------------------------------------------------------------- Config is DONE! With MMAP IO: yes Build rrd_getopt: no Build rrd_graph: yes Static programs: no Perl Modules: perl_piped perl_shared Perl Binary: /usr/bin/perl Perl Version: 5.14.2 Perl Options: Ruby Modules: ruby Ruby Binary: /usr/local/bin/ruby Ruby Options: sitedir=/usr/local/lib/ruby Build Lua Bindings: no Build Tcl Bindings: no Build Python Bindings: yes Build rrdcgi: yes Build librrd MT: yes Use gettext: yes With libDBI: no With libwrap: yes Libraries: -lglib-2.0 -lcairo -lcairo -lcairo -lm -lwrap -lcairo -lpng15 -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lm -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lglib-2.0 -lfreetype -lfontconfig -lxml2 Type 'make' to compile the software and use 'make install' to install everything to: /usr/local. ... that wishlist is NO JOKE. If you find RRDtool useful make me happy. Go to http://tobi.oetiker.ch/wish and place an order. -- Tobi Oetiker <tobi@oetiker.ch> ---------------------------------------------------------------- ===> Building for rrdtool-1.4.7_2 gmake all-recursive gmake[1]: Entering directory `/var/tmp/export/ports/databases/rrdtool/work/rrdtool-1.4.7' Making all in po gmake[2]: Entering directory `/var/tmp/export/ports/databases/rrdtool/work/rrdtool-1.4.7/po' gmake[2]: Leaving directory `/var/tmp/export/ports/databases/rrdtool/work/rrdtool-1.4.7/po' Making all in src gmake[2]: Entering directory `/var/tmp/export/ports/databases/rrdtool/work/rrdtool-1.4.7/src' CC rrd_create.lo CC hash_32.lo CC rrd_version.lo CC rrd_last.lo CC rrd_lastupdate.lo rrd_lastupdate.c: In function 'rrd_lastupdate': rrd_lastupdate.c:78: warning: format '%10lu' expects type 'long unsigned int', but argument 2 has type 'time_t' CC rrd_first.lo CC rrd_restore.lo CC rrd_dump.lo CC rrd_flushcached.lo CC rrd_fetch.lo CC rrd_resize.lo CC rrd_tune.lo CC rrd_graph.lo CC rrd_graph_helper.lo rrd_graph_helper.c: In function 'rrd_parse_shift': rrd_graph_helper.c:460: warning: format '%li' expects type 'long int', but argument 2 has type 'time_t' rrd_graph_helper.c: In function 'rrd_parse_PVHLAST': rrd_graph_helper.c:614: warning: format '%li' expects type 'long int', but argument 2 has type 'time_t' rrd_graph_helper.c:616: warning: format '%li' expects type 'long int', but argument 2 has type 'time_t' rrd_graph_helper.c: In function 'rrd_parse_def': rrd_graph_helper.c:1000: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'time_t' rrd_graph_helper.c:1001: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'time_t' CC rrd_xport.lo CC rrd_gfx.lo CC pngsize.lo CC rrd_parsetime.lo CC rrd_hw.lo CC rrd_hw_math.lo CC rrd_hw_update.lo CC rrd_diff.lo CC rrd_format.lo CC rrd_info.lo CC rrd_error.lo CC rrd_open.lo CC rrd_client.lo CC rrd_nan_inf.lo CC rrd_rpncalc.lo CC rrd_utils.lo CC rrd_update.lo CC rrd_not_thread_safe.lo CCLD librrdupd.la GEN librrd.sym CCLD librrd.la CC librrd_th_la-rrd_parsetime.lo CC librrd_th_la-rrd_hw.lo CC librrd_th_la-rrd_hw_math.lo CC librrd_th_la-rrd_hw_update.lo CC librrd_th_la-rrd_diff.lo CC librrd_th_la-rrd_format.lo CC librrd_th_la-rrd_info.lo CC librrd_th_la-rrd_error.lo CC librrd_th_la-rrd_open.lo CC librrd_th_la-rrd_client.lo CC librrd_th_la-rrd_nan_inf.lo CC librrd_th_la-rrd_rpncalc.lo CC librrd_th_la-rrd_utils.lo CC librrd_th_la-rrd_update.lo CC librrd_th_la-rrd_create.lo CC librrd_th_la-hash_32.lo CC librrd_th_la-rrd_version.lo CC librrd_th_la-rrd_last.lo CC librrd_th_la-rrd_lastupdate.lo rrd_lastupdate.c: In function 'rrd_lastupdate': rrd_lastupdate.c:78: warning: format '%10lu' expects type 'long unsigned int', but argument 2 has type 'time_t' CC librrd_th_la-rrd_first.lo CC librrd_th_la-rrd_restore.lo CC librrd_th_la-rrd_dump.lo CC librrd_th_la-rrd_flushcached.lo CC librrd_th_la-rrd_fetch.lo CC librrd_th_la-rrd_resize.lo CC librrd_th_la-rrd_tune.lo CC librrd_th_la-rrd_graph.lo CC librrd_th_la-rrd_graph_helper.lo rrd_graph_helper.c: In function 'rrd_parse_shift': rrd_graph_helper.c:460: warning: format '%li' expects type 'long int', but argument 2 has type 'time_t' rrd_graph_helper.c: In function 'rrd_parse_PVHLAST': rrd_graph_helper.c:614: warning: format '%li' expects type 'long int', but argument 2 has type 'time_t' rrd_graph_helper.c:616: warning: format '%li' expects type 'long int', but argument 2 has type 'time_t' rrd_graph_helper.c: In function 'rrd_parse_def': rrd_graph_helper.c:1000: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'time_t' rrd_graph_helper.c:1001: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'time_t' CC librrd_th_la-rrd_xport.lo CC librrd_th_la-rrd_gfx.lo CC librrd_th_la-pngsize.lo CC librrd_th_la-rrd_thread_safe.lo CCLD librrd_th.la CC rrd_tool.o In file included from rrd_i18n.h:18, from rrd_tool.c:21: gettext.h:176:6: warning: "__STRICT_ANSI__" is not defined gettext.h:200:5: warning: "__STRICT_ANSI__" is not defined gettext.h:215:6: warning: "__STRICT_ANSI__" is not defined gettext.h:246:5: warning: "__STRICT_ANSI__" is not defined gettext.h:261:6: warning: "__STRICT_ANSI__" is not defined rrd_tool.c: In function 'HandleInputLine': rrd_tool.c:685: warning: format '%ld' expects type 'long int', but argument 2 has type 'time_t' rrd_tool.c:689: warning: format '%ld' expects type 'long int', but argument 2 has type 'time_t' rrd_tool.c:707: warning: format '%10lu' expects type 'long unsigned int', but argument 2 has type 'time_t' rrd_tool.c:866: warning: unused variable 'i' CCLD rrdtool CC rrdupdate.o CCLD rrdupdate CC rrdcached-rrd_daemon.o CCLD rrdcached CC rrd_cgi.o CCLD rrdcgi gmake[2]: Leaving directory `/var/tmp/export/ports/databases/rrdtool/work/rrdtool-1.4.7/src' Making all in examples gmake[2]: Entering directory `/var/tmp/export/ports/databases/rrdtool/work/rrdtool-1.4.7/examples' Making all in rrdcached gmake[3]: Entering directory `/var/tmp/export/ports/databases/rrdtool/work/rrdtool-1.4.7/examples/rrdcached' gmake[3]: Nothing to be done for `all'. gmake[3]: Leaving directory `/var/tmp/export/ports/databases/rrdtool/work/rrdtool-1.4.7/examples/rrdcached' gmake[3]: Entering directory `/var/tmp/export/ports/databases/rrdtool/work/rrdtool-1.4.7/examples' sed 's,@''exec_prefix@,/usr/local,' ./cgi-demo.cgi.in > cgi-demo.cgi chmod a+x cgi-demo.cgi gmake[3]: Leaving directory `/var/tmp/export/ports/databases/rrdtool/work/rrdtool-1.4.7/examples' gmake[2]: Leaving directory `/var/tmp/export/ports/databases/rrdtool/work/rrdtool-1.4.7/examples' Making all in doc gmake[2]: Entering directory `/var/tmp/export/ports/databases/rrdtool/work/rrdtool-1.4.7/doc' GEN RRDs.pod GEN RRDp.pod gmake[2]: Leaving directory `/var/tmp/export/ports/databases/rrdtool/work/rrdtool-1.4.7/doc' Making all in bindings gmake[2]: Entering directory `/var/tmp/export/ports/databases/rrdtool/work/rrdtool-1.4.7/bindings' gmake[3]: Entering directory `/var/tmp/export/ports/databases/rrdtool/work/rrdtool-1.4.7/bindings' cd perl-piped && /usr/bin/perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for RRDp Writing MYMETA.yml cd perl-piped && gmake gmake[4]: Entering directory `/var/tmp/export/ports/databases/rrdtool/work/rrdtool-1.4.7/bindings/perl-piped' cp RRDp.pm blib/lib/RRDp.pm Manifying blib/man3/RRDp.3 gmake[4]: Leaving directory `/var/tmp/export/ports/databases/rrdtool/work/rrdtool-1.4.7/bindings/perl-piped' cd perl-shared && /usr/bin/perl Makefile.PL RPATH=/usr/local/lib Checking if your kit is complete... Looks good Writing Makefile for RRDs Writing MYMETA.yml cd perl-shared && gmake gmake[4]: Entering directory `/var/tmp/export/ports/databases/rrdtool/work/rrdtool-1.4.7/bindings/perl-shared' cp RRDs.pm blib/lib/RRDs.pm /usr/local/bin/perl /usr/local/lib/perl5/site_perl/5.14.2/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.14.2/ExtUtils/typemap RRDs.xs > RRDs.xsc && mv RRDs.xsc RRDs.c gcc47 -c -I../../src -DAPPLLIB_EXP="/usr/local/lib/perl5/5.14.2/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -Os -O3 -pipe -march=native -mtune=native -fno-strict-aliasing -DVERSION=\"1.4007\" -DXS_VERSION=\"1.4007\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.14.2/mach/CORE" -DPERLPATCHLEVEL=14 RRDs.c Running Mkbootstrap for RRDs () chmod 644 RRDs.bs rm -f blib/arch/auto/RRDs/RRDs.so gcc47 -shared -L/usr/local/lib -fstack-protector RRDs.o -L../../src/.libs/ -R/usr/local/lib -lrrd -o blib/arch/auto/RRDs/RRDs.so \ \ chmod 755 blib/arch/auto/RRDs/RRDs.so cp RRDs.bs blib/arch/auto/RRDs/RRDs.bs chmod 644 blib/arch/auto/RRDs/RRDs.bs Manifying blib/man3/RRDs.3 gmake[4]: Leaving directory `/var/tmp/export/ports/databases/rrdtool/work/rrdtool-1.4.7/bindings/perl-shared' cd ruby && /usr/local/bin/ruby extconf.rb && gmake EPREFIX=/usr/local sitedir=/usr/local/lib/ruby RUBYARCHDIR= checking for rrd_create() in -lrrd... yes creating Makefile gmake[4]: Entering directory `/var/tmp/export/ports/databases/rrdtool/work/rrdtool-1.4.7/bindings/ruby' gcc47 -I. -I. -I/usr/local/lib/ruby/1.8/i386-freebsd9 -I. -I../../src -I/usr/local/include -I/usr/local/include -fPIC -I/usr/local/include -Os -O3 -pipe -march=native -mtune=native -fno-strict-aliasing -fPIC -c main.c gcc47 -shared -o RRD.so main.o -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L../../src/.libs -L. -L/usr/local/lib -rpath=/usr/local/lib -pthread -rdynamic -Wl,-soname, -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby18 -lrrd -lcrypt -lm -L/usr/local/lib -rpath=/usr/local/lib -pthread /usr/local/lib: file not recognized: File format not recognized collect2: error: ld returned 1 exit status gmake[4]: *** [RRD.so] Error 1 gmake[4]: Leaving directory `/var/tmp/export/ports/databases/rrdtool/work/rrdtool-1.4.7/bindings/ruby' gmake[3]: *** [ruby] Error 2 gmake[3]: Leaving directory `/var/tmp/export/ports/databases/rrdtool/work/rrdtool-1.4.7/bindings' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/var/tmp/export/ports/databases/rrdtool/work/rrdtool-1.4.7/bindings' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/var/tmp/export/ports/databases/rrdtool/work/rrdtool-1.4.7' gmake: *** [all] Error 2 *** [do-build] Error code 1 Stop in /export/ports/databases/rrdtool. *** [build] Error code 1 Stop in /export/ports/databases/rrdtool. [root@cakebox /usr/ports/databases/rrdtool]# exit Script done on Fri Sep 14 09:53:00 2012 --- typescript ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120914080425.112FF67938>