cvs commit: ports/dns Makefile ports/dns/autotrust Makefile distinfo pkg-descr

Sergey A. Osokin osa at FreeBSD.org
Wed Jan 13 08:28:21 UTC 2010


Could you remove pre-installed packages ldns, unbound, etc., cause
you need clear environment for test, and then run test again.

Also, could you respect CC/CFLAGS as described at
http://www.freebsd.org/doc/en/books/porters-handbook/dads-cc.html
http://www.freebsd.org/doc/en/books/porters-handbook/dads-cflags.html

Thank you.

-- 
Sergey A. Osokin
osa at FreeBSD.ORG

On Wed, Jan 13, 2010 at 03:39:23PM +0800, Tong Liu wrote:
> sudo port test
> ===> Validating port with portlint
> WARN: Makefile: only one MASTER_SITE configured.  Consider adding
> additional mirrors.
> 0 fatal errors and 1 warning found.
> ===> flags: PREFIX=/tmp/autotrust-0.3.1 NO_DEPENDS=yes
> PKG_DBDIR=/tmp/pkg_db.YB1dOkbL --
> ===> Cleaning workspace before port test
> ===>  Cleaning for ldns-1.6.3
> ===>  Cleaning for unbound-1.4.1
> ===>  Cleaning for autotrust-0.3.1
> ===>  Vulnerability check disabled, database not found
> ===>  Extracting for autotrust-0.3.1
> => MD5 Checksum OK for autotrust-0.3.1.tar.gz.
> => SHA256 Checksum OK for autotrust-0.3.1.tar.gz.
> ===>  Patching for autotrust-0.3.1
> ===>  Configuring for autotrust-0.3.1
> checking for gcc... cc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether cc accepts -g... yes
> checking for cc option to accept ISO C89... none needed
> checking how to run the C preprocessor... cc -E
> checking for grep that handles long lines and -e... /usr/bin/grep
> checking for egrep... /usr/bin/grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking minix/config.h usability... no
> checking minix/config.h presence... no
> checking for minix/config.h... no
> checking whether it is safe to define __EXTENSIONS__... yes
> checking whether cc supports -g... yes
> checking whether cc supports -O2... yes
> checking whether cc supports -W... yes
> checking whether cc supports -Wall... yes
> checking whether cc supports -Wextra... yes
> checking whether cc supports -Wwrite-strings... yes
> checking whether cc supports -xO4... no
> checking whether cc supports -xtarget=generic... no
> checking whether cc supports -Wdeclaration-after-statement... yes
> checking for gcc... (cached) cc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether cc accepts -g... (cached) yes
> checking for cc option to accept ISO C89... (cached) none needed
> checking for glibtool... no
> checking for libtool15... no
> checking for libtool... libtool
> checking whether make sets $(MAKE)... yes
> checking for main in -lm... yes
> checking for ANSI C header files... (cached) yes
> checking for errno.h... yes
> checking for getopt.h... yes
> checking for signal.h... yes
> checking for stdarg.h... yes
> checking for stdlib.h... (cached) yes
> checking for string.h... (cached) yes
> checking for syslog.h... yes
> checking for sys/types.h... (cached) yes
> checking for time.h... yes
> checking for unistd.h... (cached) yes
> checking for an ANSI C-conforming const... yes
> checking for size_t... yes
> checking for stdlib.h... (cached) yes
> checking for GNU libc compatible malloc... yes
> checking for stdlib.h... (cached) yes
> checking for GNU libc compatible realloc... yes
> checking for vprintf... yes
> checking for _doprnt... no
> checking for memmove... yes
> checking for memset... yes
> checking for an ANSI C-conforming const... (cached) yes
> checking whether cc supports -g... (cached) yes
> checking whether cc supports -O2... (cached) yes
> checking build system type... amd64-portbld-freebsd7.2
> checking host system type... amd64-portbld-freebsd7.2
> checking for a sed that does not truncate output... /usr/bin/sed
> checking for fgrep... /usr/bin/grep -F
> checking for ld used by cc... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
> checking the name lister (/usr/bin/nm -B) interface... BSD nm
> checking whether ln -s works... yes
> checking the maximum length of command line arguments... (cached) 262144
> checking whether the shell understands some XSI constructs... yes
> checking whether the shell understands "+="... no
> checking for /usr/bin/ld option to reload object files... -r
> checking how to recognize dependent libraries... pass_all
> checking for ar... ar
> checking for strip... strip
> checking for ranlib... ranlib
> checking command to parse /usr/bin/nm -B output from cc object... ok
> checking for dlfcn.h... yes
> checking for objdir... .libs
> checking if cc supports -fno-rtti -fno-exceptions... no
> checking for cc option to produce PIC... -fPIC -DPIC
> checking if cc PIC flag -fPIC -DPIC works... yes
> checking if cc static flag -static works... yes
> checking if cc supports -c -o file.o... yes
> checking if cc supports -c -o file.o... (cached) yes
> checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
> checking whether -lc should be explicitly linked in... no
> checking dynamic linker characteristics... freebsd7.2 ld.so
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking for int8_t... yes
> checking for int16_t... yes
> checking for int32_t... yes
> checking for int64_t... yes
> checking for uint8_t... yes
> checking for uint16_t... yes
> checking for uint32_t... yes
> checking for uint64_t... yes
> checking for the pthreads library -lpthreads... no
> checking whether pthreads work without any flags... no
> checking whether pthreads work with -Kthread... no
> checking whether pthreads work with -kthread... no
> checking for the pthreads library -llthread... no
> checking whether pthreads work with -pthread... yes
> checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
> checking if more special flags are required for pthreads... -D_THREAD_SAFE
> checking for pthread_spinlock_t... yes
> checking for pthread_rwlock_t... yes
> checking whether we need -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE
> -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600
> -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE as a flag for cc... no
> checking whether we need -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE
> -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE as a flag
> for cc... no
> checking whether we need -std=c99 as a flag for cc... no
> checking whether we need -D_BSD_SOURCE as a flag for cc... no
> checking whether we need -D_GNU_SOURCE as a flag for cc... no
> checking whether we need -D_GNU_SOURCE -D_FRSRESGID as a flag for cc... no
> checking whether we need -D_POSIX_C_SOURCE=200112 as a flag for cc... no
> checking whether we need -D__EXTENSIONS__ as a flag for cc... no
> checking for ldns_buffer_copy in -lldns... yes
> checking for ldns_rr_free in -lldns... yes
> checking for ldns_b32_ntop_extended_hex... yes
> checking for ub_ctx_create in -lunbound... yes
> checking for ub_ctx_delete in -lunbound... yes
> checking for gai_strerror... yes
> checking for ldns/ldns.h... yes
> checking for unbound.h... yes
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating autotrust.8
> config.status: creating autotrust.conf.sample
> config.status: creating defaults.h
> config.status: creating config.h
> config.status: executing libtool commands
> ===>  Building for autotrust-0.3.1
> gcc -I/usr/local/include -I/usr/include -I../include -I. -O2
> -fno-strict-aliasing -pipe -g -O2 -W -Wall -Wextra -Wwrite-strings
> -Wdeclaration-after-statement -g -O2 -D_THREAD_SAFE -pthread -c
> ./autotrust.c
> gcc -I/usr/local/include -I/usr/include -I../include -I. -O2
> -fno-strict-aliasing -pipe -g -O2 -W -Wall -Wextra -Wwrite-strings
> -Wdeclaration-after-statement -g -O2 -D_THREAD_SAFE -pthread -c
> ./src/log.c
> gcc -I/usr/local/include -I/usr/include -I../include -I. -O2
> -fno-strict-aliasing -pipe -g -O2 -W -Wall -Wextra -Wwrite-strings
> -Wdeclaration-after-statement -g -O2 -D_THREAD_SAFE -pthread -c
> ./src/options.c
> ./src/options.c: In function 'load_trustedkeys_wrapper':
> ./src/options.c:844: warning: passing argument 2 of
> 'load_trustedkey_file' discards qualifiers from pointer target type
> gcc -I/usr/local/include -I/usr/include -I../include -I. -O2
> -fno-strict-aliasing -pipe -g -O2 -W -Wall -Wextra -Wwrite-strings
> -Wdeclaration-after-statement -g -O2 -D_THREAD_SAFE -pthread -c
> ./src/rbtree.c
> gcc -I/usr/local/include -I/usr/include -I../include -I. -O2
> -fno-strict-aliasing -pipe -g -O2 -W -Wall -Wextra -Wwrite-strings
> -Wdeclaration-after-statement -g -O2 -D_THREAD_SAFE -pthread -c
> ./src/resolver.c
> gcc -I/usr/local/include -I/usr/include -I../include -I. -O2
> -fno-strict-aliasing -pipe -g -O2 -W -Wall -Wextra -Wwrite-strings
> -Wdeclaration-after-statement -g -O2 -D_THREAD_SAFE -pthread -c
> ./src/trust_anchors.c
> gcc -I/usr/local/include -I/usr/include -I../include -I. -O2
> -fno-strict-aliasing -pipe -g -O2 -W -Wall -Wextra -Wwrite-strings
> -Wdeclaration-after-statement -g -O2 -D_THREAD_SAFE -pthread -c
> ./src/util.c
> ./src/util.c: In function 'bind_write_trusted_keys':
> ./src/util.c:490: warning: format '%d' expects type 'int', but
> argument 4 has type 'size_t'
> gcc -I. -O2 -fno-strict-aliasing -pipe -g -O2 -W -Wall -Wextra
> -Wwrite-strings -Wdeclaration-after-statement -g -O2 -D_THREAD_SAFE
> -pthread -L/usr/local/lib -L/usr/lib -L../lib -L .libs -o autotrust
> autotrust.o log.o options.o rbtree.o resolver.o trust_anchors.o util.o
> -lldns -lunbound
> ===>  Installing for autotrust-0.3.1
> ===>   Generating temporary packing list
> ===>  Checking if dns/autotrust already installed
> ./install-sh -c -d /tmp/autotrust-0.3.1/sbin
> ./install-sh -c -d /tmp/autotrust-0.3.1/etc/autotrust
> ./install-sh -c -d /tmp/autotrust-0.3.1/etc/autotrust
> ./install-sh -c -d /tmp/autotrust-0.3.1/etc/autotrust
> ./install-sh -c -d /tmp/autotrust-0.3.1/etc/autotrust
> ./install-sh -c -d /tmp/autotrust-0.3.1/man
> ./install-sh -c -d /tmp/autotrust-0.3.1/man/man8
> ./install-sh -c autotrust /tmp/autotrust-0.3.1/sbin/autotrust
> ./install-sh -c -m 644 autotrust.8 /tmp/autotrust-0.3.1/man/man8
> ./install-sh -c -m 644 autotrust.conf.sample
> /tmp/autotrust-0.3.1/etc/autotrust/autotrust.conf.sample
> ===>   Compressing manual pages for autotrust-0.3.1
> ===>   Registering installation for autotrust-0.3.1
> ===>  Building package for autotrust-0.3.1
> Creating package /home/nemoliu/autotrust/autotrust-0.3.1.tbz
> Registering depends:.
> Creating bzip'd tar ball in '/home/nemoliu/autotrust/autotrust-0.3.1.tbz'
> ===> Checking pkg_info
> autotrust-0.3.1     A a tool to automatically update DNSSEC trust anchors
> ===> Checking shared library dependencies
> /lib/libc.so.7
> /lib/libcrypto.so.5
> /lib/libthr.so.3
> /lib/libutil.so.7
> /usr/local/lib/libldns.so.1
> /usr/local/lib/libunbound.so.2
> ===>  Deinstalling for dns/autotrust
> ===>   Deinstalling autotrust-0.3.1
> ===> Extra files and directories check
> ===> Cleaning up after port test
> ===>  Cleaning for autotrust-0.3.1
> ===>  Removing existing /tmp/autotrust-0.3.1 dir
> ===> Done.
> 
> 
> 2010/1/13 Sergey A. Osokin <osa at freebsd.org>:
> > Did you test before commit?
> >
> > On Wed, Jan 13, 2010 at 06:33:07AM +0000, Tong LIU wrote:
> >> nemoliu     2010-01-13 06:33:07 UTC
> >>
> >>   FreeBSD ports repository
> >>
> >>   Modified files:
> >>     dns                  Makefile
> >>   Added files:
> >>     dns/autotrust        Makefile distinfo pkg-descr
> >>   Log:
> >>   Add autotrust 0.3.1, a a tool to automatically update DNSSEC trust
> >>   anchors.
> >>
> >>   PR:             ports/142523
> >>   Submitted by:   Jaap Akkerhuis <jaap at nlnetlabs.nl>
> >>
> >>   Revision  Changes    Path
> >>   1.113     +1 -0      ports/dns/Makefile
> >>   1.1       +28 -0     ports/dns/autotrust/Makefile (new)
> >>   1.1       +3 -0      ports/dns/autotrust/distinfo (new)
> >>   1.1       +5 -0      ports/dns/autotrust/pkg-descr (new)
> >


More information about the cvs-ports mailing list