=> Building devel/poslib Started : Thursday, 7 MAR 2019 at 03:35:14 UTC Platform: 5.5-DEVELOPMENT DragonFly v5.5.0.192.g15ae7f0-DEVELOPMENT #34: Tue Feb 19 09:07:07 PST 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.5-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.5-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 poslib-1.0.6_2: DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/devel/poslib XDG_CONFIG_HOME=/construction/devel/poslib HOME=/construction/devel/poslib TMPDIR="/tmp" PATH=/construction/devel/poslib/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/devel/poslib XDG_CONFIG_HOME=/construction/devel/poslib HOME=/construction/devel/poslib TMPDIR="/tmp" PATH=/construction/devel/poslib/.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=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local 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/devel/poslib/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- VERSION="1.0.6" PORTDOCS="" PORTEXAMPLES="" OSREL=5.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/poslib" EXAMPLESDIR="share/examples/poslib" DATADIR="share/poslib" WWWDIR="www/poslib" ETCDIR="etc/poslib" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/poslib DOCSDIR=/usr/local/share/doc/poslib EXAMPLESDIR=/usr/local/share/examples/poslib WWWDIR=/usr/local/www/poslib ETCDIR=/usr/local/etc/poslib -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-BE 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 _PERL5_FROM_BIN=5.26.2 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500500 OSVERSION=9999999 OSREL=5.5 _OSRELEASE=5.5-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> NOTICE: The poslib 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 ===> License GPLv2+ accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> poslib-1.0.6_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_5.txz Installing pkg-1.10.5_5... Extracting pkg-1.10.5_5: .......... done ===> poslib-1.0.6_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of poslib-1.0.6_2 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> NOTICE: The poslib 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 ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by poslib-1.0.6_2 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> NOTICE: The poslib 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 ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by poslib-1.0.6_2 for building => SHA256 Checksum OK for poslib-1.0.6.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> NOTICE: The poslib 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 ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by poslib-1.0.6_2 for building ===> Extracting for poslib-1.0.6_2 => SHA256 Checksum OK for poslib-1.0.6.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for poslib-1.0.6_2 ===> Applying ports patches for poslib-1.0.6_2 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for poslib-1.0.6_2 configure: loading site script /xports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes 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 c++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of c++... gcc3 checking for ranlib... ranlib checking build system type... x86_64-portbld-dragonfly5.5 checking host system type... x86_64-portbld-dragonfly5.5 checking for gcc... cc checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking dependency style of cc... gcc3 checking for a sed that does not truncate output... /usr/bin/sed checking for egrep... grep -E checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... cpp 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 dlfcn.h... (cached) yes checking how to run the C++ preprocessor... c++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... (cached) 262144 checking command to parse /usr/bin/nm -B output from cc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... (cached) ranlib checking for strip... strip checking if cc static flag works... yes checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yes checking if cc supports -c -o file.o... 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... dragonfly5.5 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 configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by c++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking for c++ option to produce PIC... -fPIC checking if c++ PIC flag -fPIC works... yes checking if c++ supports -c -o file.o... yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... dragonfly5.5 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking for strip... (cached) strip checking for ANSI C header files... (cached) yes checking for poll.h... (cached) yes checking for sys/poll.h... (cached) yes checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking for fcntl.h... (cached) yes checking for limits.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/select.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking slist usability... no checking slist presence... no checking for slist... no checking ext/slist usability... yes checking ext/slist presence... yes checking for ext/slist... yes checking for select... (cached) yes checking for socket... yes checking for inet_aton... (cached) yes checking for gethostname... (cached) yes checking for gethostbyname... (cached) yes checking for vsnprintf... yes checking for gettimeofday... yes checking for struct sockaddr_in6... yes checking whether struct sockaddr_in6 has a sin6_len field... yes checking whether struct sockaddr_storage has a __ss_family field... no checking for struct sockaddr_storage... yes checking whether struct sockaddr_in has a sin_len field... yes checking for socklen_t... yes checking for -lstdc++... yes checking whether threads work with -pthread... yes configure: creating ./config.status config.status: creating Makefile config.status: creating docs/doxygen.conf config.status: creating poslib/Makefile config.status: creating poslib/server/Makefile config.status: creating tools/Makefile config.status: creating tools/sqldns/Makefile config.status: creating poslib-config config.status: creating poslib-config.h config.status: executing depfiles commands -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for poslib-1.0.6_2 --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in poslib --- all-recursive --- Making all in server --- configuration.lo --- --- handlequery.lo --- --- log.lo --- --- pending.lo --- --- posthreads.lo --- --- configuration.lo --- if /bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT configuration.lo -MD -MP -MF ".deps/configuration.Tpo" -c -o configuration.lo configuration.cpp; then mv -f ".deps/configuration.Tpo" ".deps/configuration.Plo"; else rm -f ".deps/configuration.Tpo"; exit 1; fi --- handlequery.lo --- if /bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT handlequery.lo -MD -MP -MF ".deps/handlequery.Tpo" -c -o handlequery.lo handlequery.cpp; then mv -f ".deps/handlequery.Tpo" ".deps/handlequery.Plo"; else rm -f ".deps/handlequery.Tpo"; exit 1; fi --- log.lo --- if /bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT log.lo -MD -MP -MF ".deps/log.Tpo" -c -o log.lo log.cpp; then mv -f ".deps/log.Tpo" ".deps/log.Plo"; else rm -f ".deps/log.Tpo"; exit 1; fi --- pending.lo --- if /bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT pending.lo -MD -MP -MF ".deps/pending.Tpo" -c -o pending.lo pending.cpp; then mv -f ".deps/pending.Tpo" ".deps/pending.Plo"; else rm -f ".deps/pending.Tpo"; exit 1; fi --- posthreads.lo --- if /bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT posthreads.lo -MD -MP -MF ".deps/posthreads.Tpo" -c -o posthreads.lo posthreads.cpp; then mv -f ".deps/posthreads.Tpo" ".deps/posthreads.Plo"; else rm -f ".deps/posthreads.Tpo"; exit 1; fi --- configuration.lo --- mkdir .libs c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT configuration.lo -MD -MP -MF .deps/configuration.Tpo -c configuration.cpp -fPIC -DPIC -o .libs/configuration.o --- log.lo --- c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT log.lo -MD -MP -MF .deps/log.Tpo -c log.cpp -fPIC -DPIC -o .libs/log.o --- configuration.lo --- c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT configuration.lo -MD -MP -MF .deps/configuration.Tpo -c configuration.cpp -o configuration.o >/dev/null 2>&1 --- handlequery.lo --- c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT handlequery.lo -MD -MP -MF .deps/handlequery.Tpo -c handlequery.cpp -fPIC -DPIC -o .libs/handlequery.o --- log.lo --- c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT log.lo -MD -MP -MF .deps/log.Tpo -c log.cpp -o log.o >/dev/null 2>&1 --- requestid.lo --- if /bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT requestid.lo -MD -MP -MF ".deps/requestid.Tpo" -c -o requestid.lo requestid.cpp; then mv -f ".deps/requestid.Tpo" ".deps/requestid.Plo"; else rm -f ".deps/requestid.Tpo"; exit 1; fi --- srvresolver.lo --- if /bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT srvresolver.lo -MD -MP -MF ".deps/srvresolver.Tpo" -c -o srvresolver.lo srvresolver.cpp; then mv -f ".deps/srvresolver.Tpo" ".deps/srvresolver.Plo"; else rm -f ".deps/srvresolver.Tpo"; exit 1; fi --- posthreads.lo --- c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT posthreads.lo -MD -MP -MF .deps/posthreads.Tpo -c posthreads.cpp -fPIC -DPIC -o .libs/posthreads.o --- pending.lo --- c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT pending.lo -MD -MP -MF .deps/pending.Tpo -c pending.cpp -fPIC -DPIC -o .libs/pending.o --- srvresolver.lo --- c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT srvresolver.lo -MD -MP -MF .deps/srvresolver.Tpo -c srvresolver.cpp -fPIC -DPIC -o .libs/srvresolver.o --- requestid.lo --- c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT requestid.lo -MD -MP -MF .deps/requestid.Tpo -c requestid.cpp -fPIC -DPIC -o .libs/requestid.o --- pending.lo --- In file included from ../../poslib/dnsmessage.h:29, from pending.h:24, from pending.cpp:21: ../../poslib/domainfn.h:96:55: warning: ISO C++ forbids converting a string constant to '_domain' {aka 'char*'} [-Wwrite-strings] domainname(const char *text, const _domain origin = ""); ^~ --- posthreads.lo --- posthreads.cpp: In function 'void posthread_create(pthread**, void* (*)(void*), void*)': posthreads.cpp:160:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw PException("Could not create new thread"); ^ posthreads.cpp: In function 'void posthreads_finish()': posthreads.cpp:209:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] pos_log(context_threads, log_info, "Waiting for threads to finish..."); ^ posthreads.cpp:221:111: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] pos_log(context_threads, log_error, "Some threads did not respond to close down signal: forcing shutdown!"); ^ posthreads.cpp:224:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] pos_log(context_threads, log_info, "All threads closed down"); ^ --- pending.lo --- c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT pending.lo -MD -MP -MF .deps/pending.Tpo -c pending.cpp -o pending.o >/dev/null 2>&1 --- handlequery.lo --- In file included from ../../poslib/dnsmessage.h:29, from handlequery.h:24, from handlequery.cpp:21: ../../poslib/domainfn.h:96:55: warning: ISO C++ forbids converting a string constant to '_domain' {aka 'char*'} [-Wwrite-strings] domainname(const char *text, const _domain origin = ""); ^~ --- posthreads.lo --- c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT posthreads.lo -MD -MP -MF .deps/posthreads.Tpo -c posthreads.cpp -o posthreads.o >/dev/null 2>&1 --- handlequery.lo --- c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT handlequery.lo -MD -MP -MF .deps/handlequery.Tpo -c handlequery.cpp -o handlequery.o >/dev/null 2>&1 --- srvresolver.lo --- In file included from ../../poslib/dnsmessage.h:29, from srvresolver.h:26, from srvresolver.cpp:30: ../../poslib/domainfn.h:96:55: warning: ISO C++ forbids converting a string constant to '_domain' {aka 'char*'} [-Wwrite-strings] domainname(const char *text, const _domain origin = ""); ^~ srvresolver.cpp: In member function 'virtual void pos_srvresolver::query(DnsMessage*, DnsMessage*&, __gnu_cxx::slist&, int)': srvresolver.cpp:47:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (servers.empty()) throw PException("Empty servers list for query"); ^ srvresolver.cpp:75:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw PException("Failed to retry using TCP: ", p); ^ srvresolver.cpp:87:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (s2 == servers.end()) throw PException("Resolving failed: ", p); ^ srvresolver.cpp:93:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw PException("No server could be reached!"); ^ srvresolver.cpp: In member function 'virtual void pos_srvresolver::sendmessage(DnsMessage*, _addr*, int)': srvresolver.cpp:98:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (sockid == -1) throw PException("No suitable client socket found!"); ^ c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT srvresolver.lo -MD -MP -MF .deps/srvresolver.Tpo -c srvresolver.cpp -o srvresolver.o >/dev/null 2>&1 --- requestid.lo --- requestid.cpp: In function 'u_int16 get_request_id()': requestid.cpp:74:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (id2 == id1) throw PException("get_request_id(): No free request IDs left!"); ^ --- serverthread.lo --- if /bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT serverthread.lo -MD -MP -MF ".deps/serverthread.Tpo" -c -o serverthread.lo serverthread.cpp; then mv -f ".deps/serverthread.Tpo" ".deps/serverthread.Plo"; else rm -f ".deps/serverthread.Tpo"; exit 1; fi --- requestid.lo --- c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT requestid.lo -MD -MP -MF .deps/requestid.Tpo -c requestid.cpp -o requestid.o >/dev/null 2>&1 --- serverthread.lo --- c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT serverthread.lo -MD -MP -MF .deps/serverthread.Tpo -c serverthread.cpp -fPIC -DPIC -o .libs/serverthread.o In file included from ../../poslib/dnsmessage.h:29, from pending.h:24, from serverthread.h:30, from serverthread.cpp:27: ../../poslib/domainfn.h:96:55: warning: ISO C++ forbids converting a string constant to '_domain' {aka 'char*'} [-Wwrite-strings] domainname(const char *text, const _domain origin = ""); ^~ serverthread.cpp: In function 'void udpsock_handledata(int)': serverthread.cpp:213:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw PException("Question has QR bit set"); ^ serverthread.cpp: In function 'void* tcp_server_thread(void*)': serverthread.cpp:291:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (pend->message->QR) throw PException("Query has the QR bit set!"); ^ serverthread.cpp: In function 'void posserver_init_srvresolver()': serverthread.cpp:440:92: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] pos_log(context_socket, log_error, "Could not create IPv4 client socket: %s", p.message); ^ serverthread.cpp:449:92: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] pos_log(context_socket, log_error, "Could not create IPv6 client socket: %s", p.message); ^ c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT serverthread.lo -MD -MP -MF .deps/serverthread.Tpo -c serverthread.cpp -o serverthread.o >/dev/null 2>&1 --- libposserver.la --- /bin/sh ../../libtool --mode=link c++ -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -pthread -o libposserver.la -rpath /usr/local/lib configuration.lo handlequery.lo log.lo pending.lo posthreads.lo requestid.lo srvresolver.lo serverthread.lo c++ -shared -nostdlib /usr/lib/crti.o /usr/lib/gcc80/crtbeginS.o .libs/configuration.o .libs/handlequery.o .libs/log.o .libs/pending.o .libs/posthreads.o .libs/requestid.o .libs/srvresolver.o .libs/serverthread.o -pthread -L/usr/lib/gcc80 -lstdc++ -lm -lc -lgcc -lgcc_pic /usr/lib/gcc80/crtendS.o /usr/lib/crtn.o -Wl,-soname -Wl,libposserver.so.0 -o .libs/libposserver.so.0.0.0 (cd .libs && rm -f libposserver.so.0 && ln -s libposserver.so.0.0.0 libposserver.so.0) (cd .libs && rm -f libposserver.so && ln -s libposserver.so.0.0.0 libposserver.so) ar cru .libs/libposserver.a configuration.o handlequery.o log.o pending.o posthreads.o requestid.o srvresolver.o serverthread.o /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') ranlib .libs/libposserver.a creating libposserver.la (cd .libs && rm -f libposserver.la && ln -s ../libposserver.la libposserver.la) --- dnsmessage.lo --- --- domainfn.lo --- --- exception.lo --- --- lexfn.lo --- --- masterfile.lo --- --- dnsmessage.lo --- if /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT dnsmessage.lo -MD -MP -MF ".deps/dnsmessage.Tpo" -c -o dnsmessage.lo dnsmessage.cpp; then mv -f ".deps/dnsmessage.Tpo" ".deps/dnsmessage.Plo"; else rm -f ".deps/dnsmessage.Tpo"; exit 1; fi --- domainfn.lo --- if /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT domainfn.lo -MD -MP -MF ".deps/domainfn.Tpo" -c -o domainfn.lo domainfn.cpp; then mv -f ".deps/domainfn.Tpo" ".deps/domainfn.Plo"; else rm -f ".deps/domainfn.Tpo"; exit 1; fi --- exception.lo --- if /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT exception.lo -MD -MP -MF ".deps/exception.Tpo" -c -o exception.lo exception.cpp; then mv -f ".deps/exception.Tpo" ".deps/exception.Plo"; else rm -f ".deps/exception.Tpo"; exit 1; fi --- lexfn.lo --- if /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT lexfn.lo -MD -MP -MF ".deps/lexfn.Tpo" -c -o lexfn.lo lexfn.cpp; then mv -f ".deps/lexfn.Tpo" ".deps/lexfn.Plo"; else rm -f ".deps/lexfn.Tpo"; exit 1; fi --- masterfile.lo --- if /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT masterfile.lo -MD -MP -MF ".deps/masterfile.Tpo" -c -o masterfile.lo masterfile.cpp; then mv -f ".deps/masterfile.Tpo" ".deps/masterfile.Plo"; else rm -f ".deps/masterfile.Tpo"; exit 1; fi --- lexfn.lo --- mkdir .libs c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT lexfn.lo -MD -MP -MF .deps/lexfn.Tpo -c lexfn.cpp -fPIC -DPIC -o .libs/lexfn.o --- masterfile.lo --- c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT masterfile.lo -MD -MP -MF .deps/masterfile.Tpo -c masterfile.cpp -fPIC -DPIC -o .libs/masterfile.o --- exception.lo --- c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT exception.lo -MD -MP -MF .deps/exception.Tpo -c exception.cpp -fPIC -DPIC -o .libs/exception.o --- domainfn.lo --- c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT domainfn.lo -MD -MP -MF .deps/domainfn.Tpo -c domainfn.cpp -fPIC -DPIC -o .libs/domainfn.o --- dnsmessage.lo --- c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT dnsmessage.lo -MD -MP -MF .deps/dnsmessage.Tpo -c dnsmessage.cpp -fPIC -DPIC -o .libs/dnsmessage.o --- exception.lo --- c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT exception.lo -MD -MP -MF .deps/exception.Tpo -c exception.cpp -o exception.o >/dev/null 2>&1 --- postime.lo --- if /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT postime.lo -MD -MP -MF ".deps/postime.Tpo" -c -o postime.lo postime.cpp; then mv -f ".deps/postime.Tpo" ".deps/postime.Plo"; else rm -f ".deps/postime.Tpo"; exit 1; fi --- masterfile.lo --- In file included from dnsmessage.h:29, from masterfile.h:25, from masterfile.cpp:21: domainfn.h:96:55: warning: ISO C++ forbids converting a string constant to '_domain' {aka 'char*'} [-Wwrite-strings] domainname(const char *text, const _domain origin = ""); ^~ In file included from masterfile.cpp:23: rr.h:251:79: warning: ISO C++ forbids converting a string constant to '_domain' {aka 'char*'} [-Wwrite-strings] stl_string rr_fromstring(u_int16 RRTYPE, const char *data, _domain origin = ""); ^ masterfile.cpp: In function 'domainname guess_zone_name(const char*)': masterfile.cpp:74:18: warning: ISO C++ forbids converting a string constant to '_domain' {aka 'char*'} [-Wwrite-strings] return ptr + 3; ^ --- postime.lo --- c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT postime.lo -MD -MP -MF .deps/postime.Tpo -c postime.cpp -fPIC -DPIC -o .libs/postime.o --- lexfn.lo --- In file included from dnsmessage.h:29, from lexfn.cpp:23: domainfn.h:96:55: warning: ISO C++ forbids converting a string constant to '_domain' {aka 'char*'} [-Wwrite-strings] domainname(const char *text, const _domain origin = ""); ^~ In file included from lexfn.cpp:26: rr.h:251:79: warning: ISO C++ forbids converting a string constant to '_domain' {aka 'char*'} [-Wwrite-strings] stl_string rr_fromstring(u_int16 RRTYPE, const char *data, _domain origin = ""); ^ lexfn.cpp: In function 'bool txt_to_bool(const char*)': lexfn.cpp:55:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw PException(true, "Unknown boolean value %s", buff); ^ lexfn.cpp: In function 'int txt_to_int_internal(const char*, bool)': lexfn.cpp:65:93: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!support_negative) throw PException(true, "Negative number not supported: %s", _buff); ^ lexfn.cpp:75:84: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!have_digit) throw PException(true, "Incorrect numeric value %s", _buff); ^ lexfn.cpp:87:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else throw PException(true, "Incorrect numeric value %s", _buff); ^ lexfn.cpp: In function 'int txt_to_ip(char*, const char*, bool)': lexfn.cpp:122:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (node > 255) throw PException("IP node value exceeds 255"); ^ lexfn.cpp:132:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw PException("Expecting some value after dot"); ^ lexfn.cpp:134:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (tmp >= 3) throw PException("More than three dots in IP number"); ^ lexfn.cpp:137:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] } else throw PException("Unknown character in IP number"); ^ lexfn.cpp:142:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (tmp != 4 && !do_portion) throw PException("Not enough nodes in IP number"); ^ lexfn.cpp: In function 'void txt_to_iprange(char*, const char*)': lexfn.cpp:168:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (x > 128) throw PException("IPv6 mask value too long"); ^ lexfn.cpp:172:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ((ptr - val) >= (signed)sizeof(buff)) throw PException("Ip number too long"); ^ lexfn.cpp: In function 'int txt_to_ipv6(char*, const char*, bool)': lexfn.cpp:214:85: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (node + 2 > 8) throw PException("No room for embedded IPv4 in IPv6 address"); ^ lexfn.cpp:216:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] catch(PException p) { throw PException("Error in embedded IPv4 number: ", p); } ^ lexfn.cpp:225:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (nodeval == -1) throw PException("IPv6 address has empty node value"); ^ lexfn.cpp:229:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (buff[pos + 1] != ':') throw PException("IPv6 address should have ::"); ^ lexfn.cpp:238:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (node > 7) throw PException("IPv6 address has too much nodes"); ^ lexfn.cpp:245:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (chval < 0) throw PException("Incorrect hex in IPv6 address"); ^ lexfn.cpp:250:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (nodeval > 65535) throw PException("IPv6 node val too large"); ^ lexfn.cpp:258:101: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (buff[pos - 1] == ':' && buff[pos - 2] != ':') throw PException("Expected :: in IPv6 address"); ^ lexfn.cpp:266:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (node < 7) throw PException("Too less nodes in IPv6 address"); ^ lexfn.cpp: In function 'void txt_to_ip6range(char*, const char*)': lexfn.cpp:292:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (x > 128) throw PException("IPv6 mask value too long"); ^ lexfn.cpp:296:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ((ptr - val) >= (signed)sizeof(buff)) throw PException("Ip number too long"); ^ lexfn.cpp: In function 'void txt_to_email(char*, const char*, _domain)': lexfn.cpp:401:92: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (src[0] == '@') throw PException("Incorrect email adress/domain name: begins with @"); ^ lexfn.cpp: In function 'void txt_to_dname(char*, const char*, _domain)': lexfn.cpp:439:91: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (domlen(target) + 42 >= DOM_LEN) throw PException("IPv6 domainname doesn't fit"); ^ lexfn.cpp:447:36: warning: ISO C++ forbids converting a string constant to '_domain' {aka 'char*'} [-Wwrite-strings] domcat(target, "\3ip6\3int"); ^ lexfn.cpp:451:91: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (domlen(target) + 14 >= DOM_LEN) throw PException("IPv6 domainname doesn't fit"); ^ lexfn.cpp:457:41: warning: ISO C++ forbids converting a string constant to '_domain' {aka 'char*'} [-Wwrite-strings] domcat(target, "\7in-addr\4arpa"); ^ lexfn.cpp:464:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (ptr == src) throw PException("Zero length label"); ^ lexfn.cpp: In function 'void txt_to_addr(_addr*, const char*, int, bool)': lexfn.cpp:483:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ((unsigned)(ptr - addr) > (unsigned)sizeof(taddr)) throw PException("Address too long"); ^ lexfn.cpp: In function 'u_int32 poslib_degstr(char*&, char, char)': lexfn.cpp:514:91: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw PException(true, "Malformed LOC RR: invalid angle seconds %s", tmp.c_str()); ^ lexfn.cpp:525:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else throw PException(true, "Malformed LOC RR: expected '%c' or '%c', got %s", pre, post, tmp.c_str()); ^ lexfn.cpp: In function 'char poslib_loc_precision(const char*)': lexfn.cpp:533:93: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (sscanf(str, "%d.%dm", &x, &y) < 1) throw PException(true, "Invalid precision: %s", str); ^ lexfn.cpp: In function 'void txt_to_loc(char*, char*&)': lexfn.cpp:557:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (sscanf(tmp.c_str(), "%d.%dm", &x, &y) <= 0) throw PException("Invalid altitude"); ^ --- masterfile.lo --- masterfile.cpp:76:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (strlen(ptr) - 4 >= 256) throw PException("File name too long!"); ^ masterfile.cpp:79:33: warning: ISO C++ forbids converting a string constant to '_domain' {aka 'char*'} [-Wwrite-strings] return domainname((char*)tmp); ^ masterfile.cpp:80:17: warning: ISO C++ forbids converting a string constant to '_domain' {aka 'char*'} [-Wwrite-strings] } else return ptr; ^~~ masterfile.cpp: In function 'void read_master_file(const char*, domainname&, void*, error_callback, rr_callback, rr_literal_callback, comment_callback, int)': masterfile.cpp:120:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!f) throw PException(true, "Could not open %s", file); ^ masterfile.cpp:167:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] PException(true, "Unknown directive %s", buff).message); ^ masterfile.cpp:198:97: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] err(userdat, file, linenum2, PException(true, "Invalid TTL/RR type %s!", str.c_str()).message); ^ masterfile.cpp:241:131: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] err(userdat, file, linenum2, PException(true, "Ignoring domain name %s outside of zone %s!", nam.tocstr(), znroot.tocstr()).message); ^ --- postime.lo --- c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT postime.lo -MD -MP -MF .deps/postime.Tpo -c postime.cpp -o postime.o >/dev/null 2>&1 --- domainfn.lo --- In file included from dnsmessage.h:29, from domainfn.cpp:21: domainfn.h:96:55: warning: ISO C++ forbids converting a string constant to '_domain' {aka 'char*'} [-Wwrite-strings] domainname(const char *text, const _domain origin = ""); ^~ domainfn.cpp: In function 'int dom_comprlen(message_buff&, int)': domainfn.cpp:42:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (ptr >= end) throw PException("Domain name exceeds message borders"); ^ domainfn.cpp:49:88: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (ptr + 1 >= end) throw PException("Compression offset exceeds message borders"); ^ domainfn.cpp:53:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (x != 0) throw PException("Unknown domain label type"); ^ domainfn.cpp:56:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (len >= 255) throw PException("Domain name too long"); ^ domainfn.cpp: In function 'char* dom_uncompress(message_buff&, int)': domainfn.cpp:66:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (ptr >= end) throw PException("Domain name exceeds message borders"); ^ domainfn.cpp:75:89: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (++reclevel >= DOM_RECLEVEL) throw PException("Max dom recursion level reached"); ^ domainfn.cpp:76:88: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (ptr + 1 >= end) throw PException("Compression offset exceeds message borders"); ^ domainfn.cpp:78:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (val >= (ptr - buff.msg)) throw PException("Bad compression offset"); ^ domainfn.cpp:83:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ((*ptr & 192) != 0) throw PException("Unknown domain label type"); ^ domainfn.cpp:84:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (len + *ptr + 1 >= 255) throw PException("Domain name too long"); ^ domainfn.cpp:85:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (ptr + *ptr + 1 >= end) throw PException("Domain name exceeds message borders"); ^ domainfn.cpp: In function 'char* domfrom(_domain, int)': domainfn.cpp:150:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (*dom == 0) throw PException("Domain label index out of bounds"); ^ domainfn.cpp: In function 'int domlen(_domain)': domainfn.cpp:167:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (*dom > 63) throw PException(true, "Unknown domain nibble %d", *dom); ^ domainfn.cpp:170:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (len > 255) throw PException("Length too long"); ^ domainfn.cpp: In member function 'domainname& domainname::operator=(const char*)': domainfn.cpp:258:29: warning: ISO C++ forbids converting a string constant to '_domain' {aka 'char*'} [-Wwrite-strings] txt_to_dname(tmp, buff, ""); ^ domainfn.cpp: In member function 'domainname& domainname::operator+=(const domainname&)': domainfn.cpp:276:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (lenres + lensrc - 1 > DOM_LEN) throw PException("Domain name too long"); ^ domainfn.cpp: In member function 'char* domainname::c_str()': domainfn.cpp:297:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (domain == NULL) throw PException("Domain name is empty"); ^ domainfn.cpp: In member function 'domainname domainname::from(int)': domainfn.cpp:321:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (*dom == 0) throw PException("Domain label index out of bounds"); ^ domainfn.cpp: In function 'void domcat(_domain, _domain)': domainfn.cpp:351:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (lenres + lensrc - 1 > DOM_LEN) throw PException("Domain name too long"); ^ domainfn.cpp: In function 'void domfromlabel(_domain, const char*, int)': domainfn.cpp:361:88: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (len > DOMLABEL_LEN) throw PException(true, "Domain name label %s too long", label); ^ domainfn.cpp: In function 'char* const dom_plabel(_domain, int)': domainfn.cpp:392:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (label < 0) throw PException("Negative label accessed"); ^ domainfn.cpp:394:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (*ret == 0) throw PException("Label not in domain name"); ^ --- random.lo --- if /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT random.lo -MD -MP -MF ".deps/random.Tpo" -c -o random.lo random.cpp; then mv -f ".deps/random.Tpo" ".deps/random.Plo"; else rm -f ".deps/random.Tpo"; exit 1; fi c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT random.lo -MD -MP -MF .deps/random.Tpo -c random.cpp -fPIC -DPIC -o .libs/random.o c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT random.lo -MD -MP -MF .deps/random.Tpo -c random.cpp -o random.o >/dev/null 2>&1 --- resolver.lo --- if /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT resolver.lo -MD -MP -MF ".deps/resolver.Tpo" -c -o resolver.lo resolver.cpp; then mv -f ".deps/resolver.Tpo" ".deps/resolver.Plo"; else rm -f ".deps/resolver.Tpo"; exit 1; fi c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT resolver.lo -MD -MP -MF .deps/resolver.Tpo -c resolver.cpp -fPIC -DPIC -o .libs/resolver.o --- masterfile.lo --- c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT masterfile.lo -MD -MP -MF .deps/masterfile.Tpo -c masterfile.cpp -o masterfile.o >/dev/null 2>&1 --- dnsmessage.lo --- In file included from dnsmessage.h:29, from dnsmessage.cpp:23: domainfn.h:96:55: warning: ISO C++ forbids converting a string constant to '_domain' {aka 'char*'} [-Wwrite-strings] domainname(const char *text, const _domain origin = ""); ^~ In file included from dnsmessage.cpp:26: rr.h:251:79: warning: ISO C++ forbids converting a string constant to '_domain' {aka 'char*'} [-Wwrite-strings] stl_string rr_fromstring(u_int16 RRTYPE, const char *data, _domain origin = ""); ^ dnsmessage.cpp: In member function 'void DnsMessage::read_section(std::__cxx11::list&, int, message_buff&, int&)': dnsmessage.cpp:182:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (pos >= buff.len) throw PException("Message too small for RR"); ^ dnsmessage.cpp:184:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (pos + x + 10 > buff.len) throw PException("Message too small for RR"); ^ dnsmessage.cpp: In member function 'void DnsMessage::read_from_data(char*, int)': dnsmessage.cpp:204:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (len < 12) throw PException("Not enough space for DNS header"); ^ dnsmessage.cpp:225:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (pos >= len) throw PException("Message too small for question item!"); ^ dnsmessage.cpp:227:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (pos + x + 4> len) throw PException("Message too small for question item !"); ^ dnsmessage.cpp: In member function 'message_buff DnsMessage::compile(int)': dnsmessage.cpp:336:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw PException("Dns Message creation failed: ", p); ^ --- resolver.lo --- In file included from dnsmessage.h:29, from resolver.h:27, from resolver.cpp:26: domainfn.h:96:55: warning: ISO C++ forbids converting a string constant to '_domain' {aka 'char*'} [-Wwrite-strings] domainname(const char *text, const _domain origin = ""); ^~ resolver.cpp: In member function 'virtual void pos_resolver::tcpquery(DnsMessage*, DnsMessage*&, int)': resolver.cpp:76:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw PException("Answer ID does not match question ID!"); ^ resolver.cpp: In member function 'virtual void pos_cliresolver::query(DnsMessage*, DnsMessage*&, __gnu_cxx::slist&, int)': resolver.cpp:178:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (servers.empty()) throw PException("Empty servers list for query"); ^ resolver.cpp:205:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] } else throw PException("Unknown address family"); ^ resolver.cpp:220:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw PException("Failed to retry using TCP: ", p); ^ resolver.cpp:228:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (tmpit != sbegin) throw PException("Answer has error RCODE"); ^ resolver.cpp:231:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (ipv6sock) udpclose(ipv6sock); ipv6sock = 0; ^~ resolver.cpp:231:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (ipv6sock) udpclose(ipv6sock); ipv6sock = 0; ^~~~~~~~ resolver.cpp:233:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (ipv4sock) udpclose(ipv4sock); ipv4sock = 0; ^~ resolver.cpp:233:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (ipv4sock) udpclose(ipv4sock); ipv4sock = 0; ^~~~~~~~ resolver.cpp:235:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] } else if (quit_flag) throw PException("Interrupted"); ^ resolver.cpp:238:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (ipv6sock) udpclose(ipv6sock); ipv6sock = 0; ^~ resolver.cpp:238:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (ipv6sock) udpclose(ipv6sock); ipv6sock = 0; ^~~~~~~~ resolver.cpp:240:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (ipv4sock) udpclose(ipv4sock); ipv4sock = 0; ^~ resolver.cpp:240:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (ipv4sock) udpclose(ipv4sock); ipv4sock = 0; ^~~~~~~~ resolver.cpp:243:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (s2 == sbegin) throw PException("Resolving failed: ", p); ^ resolver.cpp:250:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (ipv6sock) udpclose(ipv6sock); ipv6sock = 0; ^~ resolver.cpp:250:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (ipv6sock) udpclose(ipv6sock); ipv6sock = 0; ^~~~~~~~ resolver.cpp:252:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (ipv4sock) udpclose(ipv4sock); ipv4sock = 0; ^~ resolver.cpp:252:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (ipv4sock) udpclose(ipv4sock); ipv4sock = 0; ^~~~~~~~ resolver.cpp:253:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw PException("No server could be reached!"); ^ resolver.cpp: In member function 'virtual bool pos_cliresolver::waitanswer(DnsMessage*&, __gnu_cxx::slist&, int, __gnu_cxx::slist::iterator&, int)': resolver.cpp:311:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw PException("Got answer from unexpected server!"); ^ --- dnsmessage.lo --- dnsmessage.cpp: In function 'std::__cxx11::list i_get_records(DnsMessage*, bool, bool, int, domainname&, uint16_t, std::__cxx11::list*)': dnsmessage.cpp:453:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (reclevel < 0) throw PException("CNAME recursion level reached"); ^ dnsmessage.cpp:467:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (fail_if_none && ret.begin() == ret.end()) throw PException("No such data available"); ^ dnsmessage.cpp: In function 'std::__cxx11::list get_records(DnsMessage*, bool, bool, std::__cxx11::list*)': dnsmessage.cpp:472:114: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (a->RCODE != RCODE_NOERROR) throw PException(true, "Query returned error: %s\n", str_rcode(a->RCODE).c_str()); ^ dnsmessage.cpp:473:97: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (a->questions.begin() == a->questions.end()) throw PException("No question item in message"); ^ --- resolver.lo --- c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT resolver.lo -MD -MP -MF .deps/resolver.Tpo -c resolver.cpp -o resolver.o >/dev/null 2>&1 --- lexfn.lo --- c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT lexfn.lo -MD -MP -MF .deps/lexfn.Tpo -c lexfn.cpp -o lexfn.o >/dev/null 2>&1 --- domainfn.lo --- c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT domainfn.lo -MD -MP -MF .deps/domainfn.Tpo -c domainfn.cpp -o domainfn.o >/dev/null 2>&1 --- dnsmessage.lo --- c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT dnsmessage.lo -MD -MP -MF .deps/dnsmessage.Tpo -c dnsmessage.cpp -o dnsmessage.o >/dev/null 2>&1 --- rr.lo --- if /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT rr.lo -MD -MP -MF ".deps/rr.Tpo" -c -o rr.lo rr.cpp; then mv -f ".deps/rr.Tpo" ".deps/rr.Plo"; else rm -f ".deps/rr.Tpo"; exit 1; fi c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT rr.lo -MD -MP -MF .deps/rr.Tpo -c rr.cpp -fPIC -DPIC -o .libs/rr.o --- socket.lo --- if /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT socket.lo -MD -MP -MF ".deps/socket.Tpo" -c -o socket.lo socket.cpp; then mv -f ".deps/socket.Tpo" ".deps/socket.Plo"; else rm -f ".deps/socket.Tpo"; exit 1; fi --- vsnprintf.lo --- if /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT vsnprintf.lo -MD -MP -MF ".deps/vsnprintf.Tpo" -c -o vsnprintf.lo vsnprintf.cpp; then mv -f ".deps/vsnprintf.Tpo" ".deps/vsnprintf.Plo"; else rm -f ".deps/vsnprintf.Tpo"; exit 1; fi --- socket.lo --- c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT socket.lo -MD -MP -MF .deps/socket.Tpo -c socket.cpp -fPIC -DPIC -o .libs/socket.o --- vsnprintf.lo --- c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT vsnprintf.lo -MD -MP -MF .deps/vsnprintf.Tpo -c vsnprintf.cpp -fPIC -DPIC -o .libs/vsnprintf.o c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT vsnprintf.lo -MD -MP -MF .deps/vsnprintf.Tpo -c vsnprintf.cpp -o vsnprintf.o >/dev/null 2>&1 --- rr.lo --- In file included from dnsmessage.h:29, from rr.cpp:21: domainfn.h:96:55: warning: ISO C++ forbids converting a string constant to '_domain' {aka 'char*'} [-Wwrite-strings] domainname(const char *text, const _domain origin = ""); ^~ In file included from rr.cpp:28: rr.h:251:79: warning: ISO C++ forbids converting a string constant to '_domain' {aka 'char*'} [-Wwrite-strings] stl_string rr_fromstring(u_int16 RRTYPE, const char *data, _domain origin = ""); ^ rr.cpp: In function 'uint16_t qtype_getcode(const char*)': rr.cpp:92:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!t) throw PException(true, "Qtype %s not supported", name); ^ rr.cpp: In function 'int rr_len(char, message_buff&, int, int)': rr.cpp:129:91: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (ptr != buff.msg + ix + len) throw PException("Character strings too long for RR"); ^ rr.cpp:134:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (len < 5) throw PException("WKS RR too long for RR"); ^ rr.cpp:140:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (ix + x + 1 >= len) throw PException("A6 too long for RR"); ^ rr.cpp:146:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (buff.msg[ix] != 0) throw PException("Unsupported LOC version"); ^ rr.cpp:149:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw PException(true, "Unknown RR item type %c", prop); ^ rr.cpp: In function 'void rr_read(u_int16, char*&, uint16_t&, message_buff&, int, int)': rr.cpp:159:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (ix + len > buff.len) throw PException("RR doesn't fit in DNS message"); ^ rr.cpp:167:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (x > len) throw PException("RR item too long!"); ^ rr.cpp:182:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (len != 0) throw PException("extra data in RR"); ^ rr.cpp:184:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw PException("Parsing RR failed: ", p); ^ rr.cpp:186:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (len != 0) throw PException("RR length too long"); ^ rr.cpp: In function 'void read_line(char*, FILE*, int*, int*, int)': rr.cpp:333:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (pos > buffsz - 2) throw PException("Line too long"); ^ rr.cpp:339:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (pos > buffsz - 3) throw PException("Line too long"); ^ rr.cpp:340:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (feof(f)) throw PException("EOF in quotes"); ^ --- w32poll.lo --- --- rr.lo --- rr.cpp:363:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (pos > buffsz - 2) throw PException("Line too long"); ^ rr.cpp: In function 'std::__cxx11::string read_entry(char*&)': rr.cpp:379:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (*tmp == 0) throw PException("Unexpected end-of-line"); ^ rr.cpp:385:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (len >= sizeof(buff) - 1) throw PException("Data too long!"); ^ --- w32poll.lo --- if /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT w32poll.lo -MD -MP -MF ".deps/w32poll.Tpo" -c -o w32poll.lo w32poll.cpp; then mv -f ".deps/w32poll.Tpo" ".deps/w32poll.Plo"; else rm -f ".deps/w32poll.Tpo"; exit 1; fi --- rr.lo --- rr.cpp: In function 'std::__cxx11::string rr_fromstring(u_int16, const char*, _domain)': rr.cpp:411:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!info) throw PException("Unknown RR type"); ^ rr.cpp:444:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (tmp.size() > 63) throw PException("Character string too long"); ^ rr.cpp:452:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (tmp.size() > 63) throw PException("Character string too long"); ^ rr.cpp:468:102: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (val >= (signed)sizeof(buff) * 8) throw PException(true, "Port number %d too large", val); ^ rr.cpp:478:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw PException("Unknown RR property type"); ^ rr.cpp:482:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (*data) throw PException("Extra data on RR line"); ^ rr.cpp: In function 'void rr_goto(char*&, u_int16, int)': rr.cpp:492:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!info) throw PException("Unknown RR type"); ^ rr.cpp:499:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (ptr[x] == '\0') throw PException("RR does not contain that property"); ^ --- w32poll.lo --- c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT w32poll.lo -MD -MP -MF .deps/w32poll.Tpo -c w32poll.cpp -fPIC -DPIC -o .libs/w32poll.o c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT w32poll.lo -MD -MP -MF .deps/w32poll.Tpo -c w32poll.cpp -o w32poll.o >/dev/null 2>&1 --- socket.lo --- socket.cpp: In function 'void setnonblock(int)': socket.cpp:78:125: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (fcntl(sockid, F_SETFL, O_NONBLOCK) < 0) { closesocket(sockid); throw PException("Could not set socket to non-blocking"); } ^ socket.cpp: In function 'int udpcreateserver(_addr*)': socket.cpp:86:125: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ((sockid = socket(struct_pf(socketaddr), SOCK_DGRAM, IPPROTO_UDP)) < 0) throw PException("Could not create UDP socket!"); ^ socket.cpp:87:142: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (bind(sockid, (sockaddr *)(socketaddr), struct_len(socketaddr)) < 0) { closesocket(sockid); throw PException("Could not bind to socket!"); } ^ socket.cpp: In function 'int udpread(int, char*, int, _addr*)': socket.cpp:101:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (ret <= 0) throw PException("Could not receive data from UDP socket"); ^ socket.cpp: In function 'void udpsend(int, char*, int, _addr*)': socket.cpp:107:87: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw PException(true, "Could not send UDP packet: sock %d, err %d", sockid, errno); ^ socket.cpp: In function 'int tcpcreateserver(_addr*)': socket.cpp:114:125: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ((sockid = socket(struct_pf(socketaddr), SOCK_STREAM, IPPROTO_TCP)) < 0) throw PException("Could not create TCP socket"); ^ socket.cpp:115:140: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (bind(sockid, (sockaddr *)socketaddr, struct_len(socketaddr)) < 0) { closesocket(sockid); throw PException("Could not bind TCP socket"); } ^ socket.cpp:118:102: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (listen(sockid, 5) < 0) { closesocket(sockid); throw PException("Could not listen to TCP socket"); } ^ socket.cpp: In function 'int tcpopen(_addr*)': socket.cpp:125:119: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ((sockid = socket(struct_pf(addr), SOCK_STREAM, IPPROTO_TCP)) < 0) throw PException("Could not create TCP socket"); ^ socket.cpp:126:134: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (connect(sockid, (sockaddr *)addr, struct_len(addr)) < 0) { closesocket(sockid); throw PException("Could not connect TCP socket"); } ^ socket.cpp: In function 'int tcpaccept(int, _addr*)': socket.cpp:138:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (ret < 0) throw PException("Could not accept TCP connection"); ^ socket.cpp: In function 'int tcpsend(int, char*, int)': socket.cpp:145:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (ret < 0 && errno != EAGAIN) throw PException("Could not send TCP message"); ^ socket.cpp: In function 'int tcpread(int, char*, int)': socket.cpp:153:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw PException(true, "Could not read TCP message"); ^ socket.cpp: In function 'void tcpsendall(int, char*, int, int)': socket.cpp:175:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!set.canwrite(0)) throw PException("Could not send buffer"); ^ socket.cpp: In function 'void tcpreadall(int, char*, int, int)': socket.cpp:202:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw PException("Could not read TCP message: no data"); ^ socket.cpp:205:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (ret == 0) throw PException("TCP client hung up!"); ^ socket.cpp: In member function 'void smallset_t::runpoll(int)': socket.cpp:415:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw PException(true, "Error during poll: %d->%d", ret, errno); ^ socket.cpp: In function 'int getprotocolbyname(const char*)': socket.cpp:469:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ((protocol = getprotobyname(name)) == NULL) throw PException(true, "Unknown protocol %s", name); ^ socket.cpp: In function 'int getserviceportbyname(const char*)': socket.cpp:479:103: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ((service = getservbyname(name, NULL)) == NULL) throw PException(true, "Unknown service %s", name); ^ c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT socket.lo -MD -MP -MF .deps/socket.Tpo -c socket.cpp -o socket.o >/dev/null 2>&1 --- rr.lo --- c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT rr.lo -MD -MP -MF .deps/rr.Tpo -c rr.cpp -o rr.o >/dev/null 2>&1 --- libposlib.la --- /bin/sh ../libtool --mode=link c++ -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -pthread -o libposlib.la -rpath /usr/local/lib dnsmessage.lo domainfn.lo exception.lo lexfn.lo masterfile.lo postime.lo random.lo resolver.lo rr.lo socket.lo vsnprintf.lo w32poll.lo c++ -shared -nostdlib /usr/lib/crti.o /usr/lib/gcc80/crtbeginS.o .libs/dnsmessage.o .libs/domainfn.o .libs/exception.o .libs/lexfn.o .libs/masterfile.o .libs/postime.o .libs/random.o .libs/resolver.o .libs/rr.o .libs/socket.o .libs/vsnprintf.o .libs/w32poll.o -pthread -L/usr/lib/gcc80 -lstdc++ -lm -lc -lgcc -lgcc_pic /usr/lib/gcc80/crtendS.o /usr/lib/crtn.o -Wl,-soname -Wl,libposlib.so.0 -o .libs/libposlib.so.0.0.0 (cd .libs && rm -f libposlib.so.0 && ln -s libposlib.so.0.0.0 libposlib.so.0) (cd .libs && rm -f libposlib.so && ln -s libposlib.so.0.0.0 libposlib.so) ar cru .libs/libposlib.a dnsmessage.o domainfn.o exception.o lexfn.o masterfile.o postime.o random.o resolver.o rr.o socket.o vsnprintf.o w32poll.o /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') ranlib .libs/libposlib.a creating libposlib.la (cd .libs && rm -f libposlib.la && ln -s ../libposlib.la libposlib.la) Making all in tools --- all-recursive --- Making all in sqldns --- posask.o --- --- nslist.o --- --- fileserver.o --- --- fileclient.o --- --- tunneld.o --- --- posask.o --- if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT posask.o -MD -MP -MF ".deps/posask.Tpo" -c -o posask.o posask.cpp; then mv -f ".deps/posask.Tpo" ".deps/posask.Po"; else rm -f ".deps/posask.Tpo"; exit 1; fi --- nslist.o --- if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT nslist.o -MD -MP -MF ".deps/nslist.Tpo" -c -o nslist.o nslist.cpp; then mv -f ".deps/nslist.Tpo" ".deps/nslist.Po"; else rm -f ".deps/nslist.Tpo"; exit 1; fi --- fileserver.o --- if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT fileserver.o -MD -MP -MF ".deps/fileserver.Tpo" -c -o fileserver.o fileserver.cpp; then mv -f ".deps/fileserver.Tpo" ".deps/fileserver.Po"; else rm -f ".deps/fileserver.Tpo"; exit 1; fi --- fileclient.o --- if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT fileclient.o -MD -MP -MF ".deps/fileclient.Tpo" -c -o fileclient.o fileclient.cpp; then mv -f ".deps/fileclient.Tpo" ".deps/fileclient.Po"; else rm -f ".deps/fileclient.Tpo"; exit 1; fi --- tunneld.o --- if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -MT tunneld.o -MD -MP -MF ".deps/tunneld.Tpo" -c -o tunneld.o tunneld.cpp; then mv -f ".deps/tunneld.Tpo" ".deps/tunneld.Po"; else rm -f ".deps/tunneld.Tpo"; exit 1; fi In file included from ../poslib/server/../dnsmessage.h:29, from ../poslib/server/../poslib.h:115, from ../poslib/server/server.h:90, from tunneld.cpp:25: ../poslib/server/../domainfn.h:96:55: warning: ISO C++ forbids converting a string constant to '_domain' {aka 'char*'} [-Wwrite-strings] domainname(const char *text, const _domain origin = ""); ^~ --- fileclient.o --- In file included from ../poslib/dnsmessage.h:29, from ../poslib/poslib.h:115, from fileclient.cpp:21: ../poslib/domainfn.h:96:55: warning: ISO C++ forbids converting a string constant to '_domain' {aka 'char*'} [-Wwrite-strings] domainname(const char *text, const _domain origin = ""); ^~ In file included from ../poslib/poslib.h:123, from fileclient.cpp:21: ../poslib/rr.h:251:79: warning: ISO C++ forbids converting a string constant to '_domain' {aka 'char*'} [-Wwrite-strings] stl_string rr_fromstring(u_int16 RRTYPE, const char *data, _domain origin = ""); ^ fileclient.cpp: In function 'int main(int, char**)': fileclient.cpp:27:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char q3[PATH_MAX], *q2 = "", *query = q3, *ptr, *ptr2; ^~ fileclient.cpp:29:20: warning: ISO C++ forbids converting a string constant to '_domain' {aka 'char*'} [-Wwrite-strings] domainname dom = "", label; ^~ --- nslist.o --- In file included from ../poslib/dnsmessage.h:29, from ../poslib/poslib.h:115, from nslist.cpp:21: ../poslib/domainfn.h:96:55: warning: ISO C++ forbids converting a string constant to '_domain' {aka 'char*'} [-Wwrite-strings] domainname(const char *text, const _domain origin = ""); ^~ --- fileclient.o --- fileclient.cpp:56:29: warning: ISO C++ forbids converting a string constant to '_domain' {aka 'char*'} [-Wwrite-strings] dom = domainname(query); ^ --- nslist.o --- In file included from ../poslib/poslib.h:123, from nslist.cpp:21: ../poslib/rr.h:251:79: warning: ISO C++ forbids converting a string constant to '_domain' {aka 'char*'} [-Wwrite-strings] stl_string rr_fromstring(u_int16 RRTYPE, const char *data, _domain origin = ""); ^ nslist.cpp: In function 'int main(int, char**)': nslist.cpp:46:69: warning: ISO C++ forbids converting a string constant to '_domain' {aka 'char*'} [-Wwrite-strings] q->questions.push_front(DnsQuestion(query, DNS_TYPE_NS, CLASS_IN)); ^ --- posask.o --- In file included from ../poslib/dnsmessage.h:29, from ../poslib/poslib.h:115, from posask.cpp:23: ../poslib/domainfn.h:96:55: warning: ISO C++ forbids converting a string constant to '_domain' {aka 'char*'} [-Wwrite-strings] domainname(const char *text, const _domain origin = ""); ^~ In file included from ../poslib/poslib.h:123, from posask.cpp:23: ../poslib/rr.h:251:79: warning: ISO C++ forbids converting a string constant to '_domain' {aka 'char*'} [-Wwrite-strings] stl_string rr_fromstring(u_int16 RRTYPE, const char *data, _domain origin = ""); ^ posask.cpp:26:20: warning: ISO C++ forbids converting a string constant to '_domain' {aka 'char*'} [-Wwrite-strings] domainname dname = "."; ^~~ posask.cpp:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ posask.cpp:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] posask.cpp:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] posask.cpp:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] posask.cpp:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] posask.cpp:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] posask.cpp:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] posask.cpp:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] posask.cpp:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] posask.cpp:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] posask.cpp:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] posask.cpp:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] posask.cpp:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] posask.cpp:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] posask.cpp:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] posask.cpp:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] posask.cpp:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] posask.cpp:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] posask.cpp:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] posask.cpp:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] posask.cpp:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] posask.cpp:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] posask.cpp:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] posask.cpp:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] posask.cpp:92:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char* settings[] = { "server", "dname", "qtype", "rd", "use_tcp", "timeout" }; ^ posask.cpp:92:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] posask.cpp:92:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] posask.cpp:92:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] posask.cpp:92:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] posask.cpp:92:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] posask.cpp: In function 'int cmd_server(char*)': posask.cpp:132:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] line = "127.0.0.1"; ^~~~~~~~~~~ posask.cpp: In function 'int cmd_query(char*)': posask.cpp:298:7: warning: format '%u' expects argument of type 'unsigned int', but argument 10 has type 'std::__cxx11::list::size_type' {aka 'long unsigned int'} [-Wformat=] "; Answer ID: %d QR: %d OPCODE: %s AA: %d TC: %d RD: %d\n" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "; RA: %d RCODE: %s qc %u an %u au %u ad %u\n", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ posask.cpp:301:50: a->RD, a->RA, str_rcode(a->RCODE).c_str(), a->questions.size(), ~~~~~~~~~~~~~~~~~~~ posask.cpp:298:7: warning: format '%u' expects argument of type 'unsigned int', but argument 11 has type 'std::__cxx11::list::size_type' {aka 'long unsigned int'} [-Wformat=] posask.cpp:298:7: warning: format '%u' expects argument of type 'unsigned int', but argument 12 has type 'std::__cxx11::list::size_type' {aka 'long unsigned int'} [-Wformat=] posask.cpp:298:7: warning: format '%u' expects argument of type 'unsigned int', but argument 13 has type 'std::__cxx11::list::size_type' {aka 'long unsigned int'} [-Wformat=] posask.cpp: In function 'int main(int, char**)': posask.cpp:552:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cmd_query(""); ^ --- tunneld.o --- In file included from ../poslib/server/../poslib.h:123, from ../poslib/server/server.h:90, from tunneld.cpp:25: ../poslib/server/../rr.h:251:79: warning: ISO C++ forbids converting a string constant to '_domain' {aka 'char*'} [-Wwrite-strings] stl_string rr_fromstring(u_int16 RRTYPE, const char *data, _domain origin = ""); ^ In file included from ../poslib/server/server.h:93, from tunneld.cpp:25: ../poslib/server/log.h: In function 'void l_pos_log(log_context, log_severity, char*, ...)': ../poslib/server/log.h:176:7: warning: variable 'pos' set but not used [-Wunused-but-set-variable] int pos; ^~~ tunneld.cpp: In function 'int main(int, char**)': tunneld.cpp:66:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] pos_log(context_none, log_info, "Posadis tunneld starting up..."); ^ tunneld.cpp: In function 'DnsMessage* my_handle_query(pending_query*)': tunneld.cpp:96:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] pos_log(context_server, log_info, "TCP tunneling failed: %s", p.message); ^ tunneld.cpp:108:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] pos_log(context_server, log_info, "UDP tunneling failed: %s", p.message); ^ --- fileclient --- /bin/sh ../libtool --mode=link c++ -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -pthread -o fileclient fileclient.o ../poslib/libposlib.la -pthread mkdir .libs c++ -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -o .libs/fileclient fileclient.o ../poslib/.libs/libposlib.so -pthread -Wl,--rpath -Wl,/usr/local/lib --- nslist --- /bin/sh ../libtool --mode=link c++ -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -pthread -o nslist nslist.o ../poslib/libposlib.la -pthread --- fileclient --- creating fileclient --- fileserver.o --- In file included from ../poslib/server/../dnsmessage.h:29, from ../poslib/server/../poslib.h:115, from ../poslib/server/server.h:90, from fileserver.cpp:26: ../poslib/server/../domainfn.h:96:55: warning: ISO C++ forbids converting a string constant to '_domain' {aka 'char*'} [-Wwrite-strings] domainname(const char *text, const _domain origin = ""); ^~ --- nslist --- c++ -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -o .libs/nslist nslist.o ../poslib/.libs/libposlib.so -pthread -Wl,--rpath -Wl,/usr/local/lib creating nslist --- fileserver.o --- In file included from ../poslib/server/../poslib.h:123, from ../poslib/server/server.h:90, from fileserver.cpp:26: ../poslib/server/../rr.h:251:79: warning: ISO C++ forbids converting a string constant to '_domain' {aka 'char*'} [-Wwrite-strings] stl_string rr_fromstring(u_int16 RRTYPE, const char *data, _domain origin = ""); ^ In file included from ../poslib/server/server.h:93, from fileserver.cpp:26: ../poslib/server/log.h: In function 'void l_pos_log(log_context, log_severity, char*, ...)': ../poslib/server/log.h:176:7: warning: variable 'pos' set but not used [-Wunused-but-set-variable] int pos; ^~~ fileserver.cpp: In function 'int main(int, char**)': fileserver.cpp:53:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] path = "."; ^~~ fileserver.cpp:66:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] path = "."; /* current directory */ ^~~ fileserver.cpp:79:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] pos_log(context_none, log_info, "Posadis fileserver [%s] starting up...", path); ^ --- posask --- /bin/sh ../libtool --mode=link c++ -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -pthread -o posask posask.o ../poslib/libposlib.la -pthread c++ -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -o .libs/posask posask.o ../poslib/.libs/libposlib.so -pthread -Wl,--rpath -Wl,/usr/local/lib creating posask --- fileserver --- /bin/sh ../libtool --mode=link c++ -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -pthread -o fileserver fileserver.o ../poslib/server/libposserver.la ../poslib/libposlib.la -pthread --- tunneld --- /bin/sh ../libtool --mode=link c++ -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -pthread -o tunneld tunneld.o ../poslib/server/libposserver.la ../poslib/libposlib.la -pthread --- fileserver --- c++ -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -o .libs/fileserver fileserver.o ../poslib/server/.libs/libposserver.so ../poslib/.libs/libposlib.so -pthread -Wl,--rpath -Wl,/usr/local/lib creating fileserver --- tunneld --- c++ -pipe -O2 -fno-strict-aliasing -Wall -funsigned-char -D_REENTRANT -o .libs/tunneld tunneld.o ../poslib/server/.libs/libposserver.so ../poslib/.libs/libposlib.so -pthread -Wl,--rpath -Wl,/usr/local/lib creating tunneld -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for poslib-1.0.6_2 ===> Generating temporary packing list /usr/bin/make INSTALL_PROGRAM="/bin/sh /construction/devel/poslib/poslib-1.0.6/install-sh -c -s" install_sh_PROGRAM="/bin/sh /construction/devel/poslib/poslib-1.0.6/install-sh -c -s" INSTALL_STRIP_FLAG=-s `test -z 'strip' || echo "INSTALL_PROGRAM_ENV=STRIPPROG='strip'"` install Making install in poslib Making install in server test -z "/usr/local/lib" || /construction/devel/poslib/poslib-1.0.6/install-sh -d "/construction/devel/poslib/stage/usr/local/lib" /bin/sh ../../libtool --mode=install /usr/bin/install -c -s 'libposserver.la' '/construction/devel/poslib/stage/usr/local/lib/libposserver.la' /usr/bin/install -c .libs/libposserver.so.0.0.0 /construction/devel/poslib/stage/usr/local/lib/libposserver.so.0.0.0 strip --strip-unneeded /construction/devel/poslib/stage/usr/local/lib/libposserver.so.0.0.0 (cd /construction/devel/poslib/stage/usr/local/lib && rm -f libposserver.so.0 && ln -s libposserver.so.0.0.0 libposserver.so.0) (cd /construction/devel/poslib/stage/usr/local/lib && rm -f libposserver.so && ln -s libposserver.so.0.0.0 libposserver.so) /usr/bin/install -c .libs/libposserver.lai /construction/devel/poslib/stage/usr/local/lib/libposserver.la /usr/bin/install -c .libs/libposserver.a /construction/devel/poslib/stage/usr/local/lib/libposserver.a strip --strip-debug /construction/devel/poslib/stage/usr/local/lib/libposserver.a ranlib /construction/devel/poslib/stage/usr/local/lib/libposserver.a chmod 644 /construction/devel/poslib/stage/usr/local/lib/libposserver.a libtool: install: warning: remember to run `libtool --finish /usr/local/lib' test -z "/usr/local/include/poslib-1.0.6/poslib/server" || /construction/devel/poslib/poslib-1.0.6/install-sh -d "/construction/devel/poslib/stage/usr/local/include/poslib-1.0.6/poslib/server" install -m 0644 'configuration.h' '/construction/devel/poslib/stage/usr/local/include/poslib-1.0.6/poslib/server/configuration.h' install -m 0644 'handlequery.h' '/construction/devel/poslib/stage/usr/local/include/poslib-1.0.6/poslib/server/handlequery.h' install -m 0644 'log.h' '/construction/devel/poslib/stage/usr/local/include/poslib-1.0.6/poslib/server/log.h' install -m 0644 'pending.h' '/construction/devel/poslib/stage/usr/local/include/poslib-1.0.6/poslib/server/pending.h' install -m 0644 'posthreads.h' '/construction/devel/poslib/stage/usr/local/include/poslib-1.0.6/poslib/server/posthreads.h' install -m 0644 'requestid.h' '/construction/devel/poslib/stage/usr/local/include/poslib-1.0.6/poslib/server/requestid.h' install -m 0644 'srvresolver.h' '/construction/devel/poslib/stage/usr/local/include/poslib-1.0.6/poslib/server/srvresolver.h' install -m 0644 'server.h' '/construction/devel/poslib/stage/usr/local/include/poslib-1.0.6/poslib/server/server.h' install -m 0644 'serverthread.h' '/construction/devel/poslib/stage/usr/local/include/poslib-1.0.6/poslib/server/serverthread.h' test -z "/usr/local/lib" || /construction/devel/poslib/poslib-1.0.6/install-sh -d "/construction/devel/poslib/stage/usr/local/lib" /bin/sh ../libtool --mode=install /usr/bin/install -c -s 'libposlib.la' '/construction/devel/poslib/stage/usr/local/lib/libposlib.la' /usr/bin/install -c .libs/libposlib.so.0.0.0 /construction/devel/poslib/stage/usr/local/lib/libposlib.so.0.0.0 strip --strip-unneeded /construction/devel/poslib/stage/usr/local/lib/libposlib.so.0.0.0 (cd /construction/devel/poslib/stage/usr/local/lib && rm -f libposlib.so.0 && ln -s libposlib.so.0.0.0 libposlib.so.0) (cd /construction/devel/poslib/stage/usr/local/lib && rm -f libposlib.so && ln -s libposlib.so.0.0.0 libposlib.so) /usr/bin/install -c .libs/libposlib.lai /construction/devel/poslib/stage/usr/local/lib/libposlib.la /usr/bin/install -c .libs/libposlib.a /construction/devel/poslib/stage/usr/local/lib/libposlib.a strip --strip-debug /construction/devel/poslib/stage/usr/local/lib/libposlib.a ranlib /construction/devel/poslib/stage/usr/local/lib/libposlib.a chmod 644 /construction/devel/poslib/stage/usr/local/lib/libposlib.a libtool: install: warning: remember to run `libtool --finish /usr/local/lib' test -z "/usr/local/include/poslib-1.0.6/poslib" || /construction/devel/poslib/poslib-1.0.6/install-sh -d "/construction/devel/poslib/stage/usr/local/include/poslib-1.0.6/poslib" install -m 0644 'bits.h' '/construction/devel/poslib/stage/usr/local/include/poslib-1.0.6/poslib/bits.h' install -m 0644 'dnsmessage.h' '/construction/devel/poslib/stage/usr/local/include/poslib-1.0.6/poslib/dnsmessage.h' install -m 0644 'dnsdefs.h' '/construction/devel/poslib/stage/usr/local/include/poslib-1.0.6/poslib/dnsdefs.h' install -m 0644 'domainfn.h' '/construction/devel/poslib/stage/usr/local/include/poslib-1.0.6/poslib/domainfn.h' install -m 0644 'exception.h' '/construction/devel/poslib/stage/usr/local/include/poslib-1.0.6/poslib/exception.h' install -m 0644 'lexfn.h' '/construction/devel/poslib/stage/usr/local/include/poslib-1.0.6/poslib/lexfn.h' install -m 0644 'masterfile.h' '/construction/devel/poslib/stage/usr/local/include/poslib-1.0.6/poslib/masterfile.h' install -m 0644 'poslib.h' '/construction/devel/poslib/stage/usr/local/include/poslib-1.0.6/poslib/poslib.h' install -m 0644 'postime.h' '/construction/devel/poslib/stage/usr/local/include/poslib-1.0.6/poslib/postime.h' install -m 0644 'random.h' '/construction/devel/poslib/stage/usr/local/include/poslib-1.0.6/poslib/random.h' install -m 0644 'resolver.h' '/construction/devel/poslib/stage/usr/local/include/poslib-1.0.6/poslib/resolver.h' install -m 0644 'rr.h' '/construction/devel/poslib/stage/usr/local/include/poslib-1.0.6/poslib/rr.h' install -m 0644 'socket.h' '/construction/devel/poslib/stage/usr/local/include/poslib-1.0.6/poslib/socket.h' install -m 0644 'syssocket.h' '/construction/devel/poslib/stage/usr/local/include/poslib-1.0.6/poslib/syssocket.h' install -m 0644 'sysstl.h' '/construction/devel/poslib/stage/usr/local/include/poslib-1.0.6/poslib/sysstl.h' install -m 0644 'sysstring.h' '/construction/devel/poslib/stage/usr/local/include/poslib-1.0.6/poslib/sysstring.h' install -m 0644 'syssocket.h' '/construction/devel/poslib/stage/usr/local/include/poslib-1.0.6/poslib/syssocket.h' install -m 0644 'types.h' '/construction/devel/poslib/stage/usr/local/include/poslib-1.0.6/poslib/types.h' install -m 0644 'vsnprintf.h' '/construction/devel/poslib/stage/usr/local/include/poslib-1.0.6/poslib/vsnprintf.h' install -m 0644 'w32poll.h' '/construction/devel/poslib/stage/usr/local/include/poslib-1.0.6/poslib/w32poll.h' Making install in tools Making install in sqldns test -z "/usr/local/bin" || /construction/devel/poslib/poslib-1.0.6/install-sh -d "/construction/devel/poslib/stage/usr/local/bin" test -z "/usr/local/bin" || /construction/devel/poslib/poslib-1.0.6/install-sh -d "/construction/devel/poslib/stage/usr/local/bin" install -m 555 'poslib-config' '/construction/devel/poslib/stage/usr/local/bin/poslib-config' test -z "/usr/local/lib/poslib-1.0.6/include" || /construction/devel/poslib/poslib-1.0.6/install-sh -d "/construction/devel/poslib/stage/usr/local/lib/poslib-1.0.6/include" install -m 0644 'poslib-config.h' '/construction/devel/poslib/stage/usr/local/lib/poslib-1.0.6/include/poslib-config.h' (cd /construction/devel/poslib/poslib-1.0.6 && install -m 0644 AUTHORS /construction/devel/poslib/stage/usr/local/share/doc/poslib) (cd /construction/devel/poslib/poslib-1.0.6 && install -m 0644 ChangeLog /construction/devel/poslib/stage/usr/local/share/doc/poslib) (cd /construction/devel/poslib/poslib-1.0.6 && install -m 0644 NEWS /construction/devel/poslib/stage/usr/local/share/doc/poslib) (cd /construction/devel/poslib/poslib-1.0.6 && install -m 0644 README /construction/devel/poslib/stage/usr/local/share/doc/poslib) (cd /construction/devel/poslib/poslib-1.0.6 && install -m 0644 TODO /construction/devel/poslib/stage/usr/local/share/doc/poslib) (cd /construction/devel/poslib/poslib-1.0.6/examples && install -m 0644 *.cpp /construction/devel/poslib/stage/usr/local/share/examples/poslib) ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for poslib-1.0.6_2 file sizes/checksums [49]: . done packing files [49]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 7 MAR 2019 at 03:35:48 UTC Duration: 00:00:33