=> Building graphics/tinyows Started : Thursday, 19 APR 2018 at 20:00:10 UTC Platform: 5.3-DEVELOPMENT DragonFly v5.3.0.81.g32506c-DEVELOPMENT #29: Tue Apr 10 08:49:52 PDT 2018 marino@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.0-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.0-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for tinyows-1.1.0_1: FASTCGI=on: FastCGI protocol support ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/graphics/tinyows XDG_CONFIG_HOME=/construction/graphics/tinyows HOME=/construction/graphics/tinyows TMPDIR="/tmp" PATH=/construction/graphics/tinyows/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --with-fastcgi=/usr/local --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/graphics/tinyows XDG_CONFIG_HOME=/construction/graphics/tinyows HOME=/construction/graphics/tinyows TMPDIR="/tmp" PATH=/construction/graphics/tinyows/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin 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 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/graphics/tinyows/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/tinyows" EXAMPLESDIR="share/examples/tinyows" DATADIR="share/tinyows" WWWDIR="www/tinyows" ETCDIR="etc/tinyows" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/tinyows DOCSDIR=/usr/local/share/doc/tinyows EXAMPLESDIR=/usr/local/share/examples/tinyows WWWDIR=/usr/local/www/tinyows ETCDIR=/usr/local/etc/tinyows -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.0 USE_PACKAGE_DEPENDS_ONLY=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 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500000 OSVERSION=9999999 OSREL=5.0 _OSRELEASE=5.0-SYNTH -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> tinyows-1.1.0_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5.txz Installing pkg-1.10.5... Extracting pkg-1.10.5: .......... done ===> tinyows-1.1.0_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of tinyows-1.1.0_1 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> Fetching all distfiles required by tinyows-1.1.0_1 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by tinyows-1.1.0_1 for building => SHA256 Checksum OK for tinyows-1.1.0.tar.bz2. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by tinyows-1.1.0_1 for building ===> Extracting for tinyows-1.1.0_1 => SHA256 Checksum OK for tinyows-1.1.0.tar.bz2. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for tinyows-1.1.0_1 ===> Applying ports patches for tinyows-1.1.0_1 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> tinyows-1.1.0_1 depends on file: /usr/local/lib/postgresql/postgis-2.1.so - not found ===> Installing existing package /packages/All/postgis21-2.1.8_1.txz Installing postgis21-2.1.8_1... `-- Installing geos-3.6.2... `-- Extracting geos-3.6.2: .......... done `-- Installing json-c-0.13... `-- Extracting json-c-0.13: .......... done `-- Installing libiconv-1.14_11... `-- Extracting libiconv-1.14_11: .......... done `-- Installing libxml2-2.9.7... `-- Extracting libxml2-2.9.7: .......... done `-- Installing postgresql95-client-9.5.12... | `-- Installing gettext-runtime-0.19.8.1_1... | | `-- Installing indexinfo-0.3.1... | | `-- Extracting indexinfo-0.3.1: .... done | `-- Extracting gettext-runtime-0.19.8.1_1: .......... done | `-- Installing libressl-2.6.4... | `-- Extracting libressl-2.6.4: .......... done | `-- Installing perl5-5.26.1... | `-- Extracting perl5-5.26.1: .......... done | `-- Installing readline-7.0.3_1... | | `-- Installing ncurses-6.0.0s20171223_1... | | `-- Extracting ncurses-6.0.0s20171223_1: .......... done | `-- Extracting readline-7.0.3_1: .......... done `-- Extracting postgresql95-client-9.5.12: .......... done `-- Installing postgresql95-server-9.5.12... ===> Creating groups. Creating group 'pgsql' with gid '150'. ===> Creating users Creating user 'pgsql' with uid '150'. =========== BACKUP YOUR DATA! ============= As always, backup your data before upgrading. If the upgrade leads to a higher minor revision (e.g. 8.3.x -> 8.4), a dump and restore of all databases is required. This is *NOT* done by the port! Press ctrl-C *now* if you need to pg_dump. =========================================== `-- Extracting postgresql95-server-9.5.12: .......... done `-- Installing proj-4.9.3... `-- Extracting proj-4.9.3: .......... done ======================= GEOS Support Notice ======================== In order to use the GEOS support, you may need to specially compile your version of PostgreSQL to link the C++ runtime library. To do this, invoke the PostgreSQL Makefile script this way: on csh shell: setenv LDFLAGS -lstdc++ make on sh or bash shell: export LDFLAGS=-lstdc++ make The initial LDFLAGS variable is passed through to the Makefile and adds the C++ library to the linking stage. ==================================================================== Extracting postgis21-2.1.8_1: .......... done Message from perl5-5.26.1: The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. Message from postgresql95-client-9.5.12: The PostgreSQL port has a collection of "side orders": postgresql-docs For all of the html documentation p5-Pg A perl5 API for client access to PostgreSQL databases. postgresql-tcltk If you want tcl/tk client support. postgresql-jdbc For Java JDBC support. postgresql-odbc For client access from unix applications using ODBC as access method. Not needed to access unix PostgreSQL servers from Win32 using ODBC. See below. ruby-postgres, py-psycopg2 For client access to PostgreSQL databases using the ruby & python languages. postgresql-plperl, postgresql-pltcl & postgresql-plruby For using perl5, tcl & ruby as procedural languages. postgresql-contrib Lots of contributed utilities, postgresql functions and datatypes. There you find pg_standby, pgcrypto and many other cool things. etc... Message from postgresql95-server-9.5.12: For procedural languages and postgresql functions, please note that you might have to update them when updating the server. If you have many tables and many clients running, consider raising kern.maxfiles using sysctl(8), or reconfigure your kernel appropriately. The port is set up to use autovacuum for new databases, but you might also want to vacuum and perhaps backup your database regularly. There is a periodic script, /usr/local/etc/periodic/daily/502.pgsql, that you may find useful. You can use it to backup and perform vacuum on all databases nightly. Per default, it performs `vacuum analyze'. See the script for instructions. For autovacuum settings, please review ~pgsql/data/postgresql.conf. If you plan to access your PostgreSQL server using ODBC, please consider running the SQL script /usr/local/share/postgresql/odbc.sql to get the functions required for ODBC compliance. Please note that if you use the rc script, /usr/local/etc/rc.d/postgresql, to initialize the database, unicode (UTF-8) will be used to store character data by default. Set postgresql_initdb_flags or use login.conf settings described below to alter this behaviour. See the start rc script for more info. To set limits, environment stuff like locale and collation and other things, you can set up a class in /etc/login.conf before initializing the database. Add something similar to this to /etc/login.conf: --- postgres:\ :lang=en_US.UTF-8:\ :setenv=LC_COLLATE=C:\ :tc=default: --- and run `cap_mkdb /etc/login.conf'. Then add 'postgresql_class="postgres"' to /etc/rc.conf. ====================================================================== To initialize the database, run /usr/local/etc/rc.d/postgresql initdb You can then start PostgreSQL by running: /usr/local/etc/rc.d/postgresql start For postmaster settings, see ~pgsql/data/postgresql.conf NB. FreeBSD's PostgreSQL port logs to syslog by default See ~pgsql/data/postgresql.conf for more info NB. If you're not using a checksumming filesystem like ZFS, you might wish to enable data checksumming. It can only be enabled during the initdb phase, by adding the "--data-checksums" flag to the postgres_initdb_flags rcvar. Check the initdb(1) manpage for more info and make sure you understand the performance implications. ====================================================================== To run PostgreSQL at startup, add 'postgresql_enable="YES"' to /etc/rc.conf ===> tinyows-1.1.0_1 depends on file: /usr/local/lib/postgresql/postgis-2.1.so - found ===> Returning to build of tinyows-1.1.0_1 ===> tinyows-1.1.0_1 depends on file: /usr/local/bin/cgi-fcgi - not found ===> Installing existing package /packages/All/fcgi-devkit-2.4.0_5.txz Installing fcgi-devkit-2.4.0_5... Extracting fcgi-devkit-2.4.0_5: .......... done Message from fcgi-devkit-2.4.0_5: ===> NOTICE: The fcgi-devkit 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 ===> tinyows-1.1.0_1 depends on file: /usr/local/bin/cgi-fcgi - found ===> Returning to build of tinyows-1.1.0_1 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> tinyows-1.1.0_1 depends on shared library: libxml2.so - found (/usr/local/lib/libxml2.so) -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for tinyows-1.1.0_1 configure: loading site script /xports/Templates/config.site checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 for X... no checking for $CC... no checking for -c... no checking for $CFLAGS... no checking for $CPPFLAGS... no checking for conftest.$ac_ext... no checking for >&5... no checking for xml2-config... /usr/local/bin/xml2-config checking for libxml2 version... 2.9.7 checking for git... no checking for pg_config... /usr/local/bin/pg_config checking for PostgreSQL version... PostgreSQL 9.5.12 checking for shp2pgsql... /usr/local/bin/shp2pgsql checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking user-specified fast-cgi location: /usr/local checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for FCGI_Accept in -lfcgi... no checking now FCGI in alternate fastcgi include dir checking for FCGI_Accept in -lfcgi... (cached) no configure: WARNING: \n\nNo FastCGI support. Performances will be strongly reduced !\n configure: creating ./config.status config.status: creating Makefile config.status: creating src/ows_define.h config.status: creating demo/tinyows.xml config.status: creating demo/install.sh config.status: creating test/wfs_100/config_wfs_100.xml config.status: creating test/wfs_110/config_wfs_110.xml config.status: creating test/wfs_100/install_wfs_100.sh config.status: creating test/wfs_110/install_wfs_110.sh ------------------------ NOTA: This TinyOWS version will need at least PostGIS 1.5.x ------------------------ -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for tinyows-1.1.0_1 --- all --- cc -o tinyows src/fe/fe_comparison_ops.c src/fe/fe_error.c src/fe/fe_filter.c src/fe/fe_filter_capabilities.c src/fe/fe_function.c src/fe/fe_logical_ops.c src/fe/fe_spatial_ops.c src/mapfile/mapfile.c src/ows/ows_bbox.c src/ows/ows.c src/ows/ows_config.c src/ows/ows_error.c src/ows/ows_geobbox.c src/ows/ows_get_capabilities.c src/ows/ows_layer.c src/ows/ows_metadata.c src/ows/ows_psql.c src/ows/ows_request.c src/ows/ows_srs.c src/ows/ows_storage.c src/ows/ows_version.c src/struct/alist.c src/struct/array.c src/struct/buffer.c src/struct/cgi_request.c src/struct/list.c src/struct/mlist.c src/struct/regexp.c src/wfs/wfs_describe.c src/wfs/wfs_error.c src/wfs/wfs_get_capabilities.c src/wfs/wfs_get_feature.c src/wfs/wfs_request.c src/wfs/wfs_transaction.c src/ows/ows_libxml.c -I/usr/local/include/libxml2 -I/usr/include -L/usr/local/lib -lxml2 -lz -L/usr/lib -llzma -L/usr/lib -lm -pipe -O2 -fno-strict-aliasing -std=c99 -pedantic -Wall -I/usr/local/include -L/usr/local/lib -lpq -I/usr/local/include/fastcgi -L/usr/local/lib -lfl src/ows/ows_error.c: In function 'ows_error_code_string': src/ows/ows_error.c:65:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ src/ows/ows_geobbox.c: In function 'ows_geobbox_copy': src/ows/ows_geobbox.c:62:29: warning: argument to 'sizeof' in 'memcpy' call is the same pointer type 'ows_geobbox * {aka struct Ows_geobbox *}' as the destination; expected 'ows_geobbox {aka struct Ows_geobbox}' or an explicit length [-Wsizeof-pointer-memaccess] return memcpy(c, g, sizeof(g)); ^ src/struct/cgi_request.c: In function 'cgi_getback_query': src/struct/cgi_request.c:72:10: warning: variable 's' set but not used [-Wunused-but-set-variable] size_t s; ^ src/wfs/wfs_error.c: In function 'wfs_error_code_string': src/wfs/wfs_error.c:60:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ src/wfs/wfs_transaction.c: In function 'wfs_insert_xml': src/wfs/wfs_transaction.c:319:42: warning: variable 'layer_ns_prefix' set but not used [-Wunused-but-set-variable] buffer *values, *column, *layer_name, *layer_ns_prefix, *result, *sql, *gml; ^ -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for tinyows-1.1.0_1 ===> Generating temporary packing list ----- TinyOWS Schema install dir in /construction/graphics/tinyows/stage/usr/local/share/tinyows/schema mkdir -p /construction/graphics/tinyows/stage/usr/local/share/tinyows rm -rf /construction/graphics/tinyows/stage/usr/local/share/tinyows/schema cp -rf schema /construction/graphics/tinyows/stage/usr/local/share/tinyows/ ----- Now: 1) copy 'tinyows' binary to cgi-bin directory 2) - put a workable tinyows.xml file in /etc dir - OR launch 'make install-demo' as a superuser /bin/mkdir -p /construction/graphics/tinyows/stage/usr/local/www/tinyows/cgi-bin/ install -s -m 555 /construction/graphics/tinyows/tinyows-1.1.0/tinyows /construction/graphics/tinyows/stage/usr/local/www/tinyows/cgi-bin/tinyows ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for tinyows-1.1.0_1 file sizes/checksums [60]: . done packing files [60]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 19 APR 2018 at 20:00:57 UTC Duration: 00:00:47