Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 2013 17:40:01 GMT
From:      Harold Paulson <haroldp@internal.org>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/175385: dns/fastresolve does not compile
Message-ID:  <201306271740.r5RHe1aW071050@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/175385; it has been noted by GNATS.

From: Harold Paulson <haroldp@internal.org>
To: bug-followup@FreeBSD.org,
 Felippe de Meirelles Motta <lippe@FreeBSD.org>
Cc:  
Subject: Re: ports/175385: dns/fastresolve does not compile
Date: Thu, 27 Jun 2013 10:26:39 -0700

 This is still a problem for me:
 
 
 pluto# cd /usr/ports/dns/fastresolve/
 pluto# make clean
 =3D=3D=3D>  Cleaning for fastresolve-2.10_4
 pluto# make
 =3D=3D=3D>  License GPLv2 accepted by the user
 =3D=3D=3D> Fetching all distfiles required by fastresolve-2.10_4 for =
 building
 =3D=3D=3D>  Extracting for fastresolve-2.10_4
 =3D> SHA256 Checksum OK for fastresolve-2.10.tar.bz2.
 =3D=3D=3D>   fastresolve-2.10_4 depends on file: =
 /usr/local/bin/perl5.14.2 - found
 =3D=3D=3D>  Patching for fastresolve-2.10_4
 =3D=3D=3D>   fastresolve-2.10_4 depends on file: =
 /usr/local/bin/perl5.14.2 - found
 =3D=3D=3D>  Applying FreeBSD patches for fastresolve-2.10_4
 =3D=3D=3D>   fastresolve-2.10_4 depends on file: =
 /usr/local/bin/perl5.14.2 - found
 =3D=3D=3D>   fastresolve-2.10_4 depends on file: =
 /usr/local/bin/automake-1.4 - not found
 =3D=3D=3D>    Verifying install for /usr/local/bin/automake-1.4 in =
 /usr/ports/devel/automake14
 =3D> automake-1.4-p6.tar.gz doesn't seem to exist in =
 /var/ports/distfiles/.
 =3D> Attempting to fetch =
 http://ftp.gnu.org/gnu/automake/automake-1.4-p6.tar.gz
 automake-1.4-p6.tar.gz                        100% of  366 kB  906 kBps
 =3D=3D=3D> Fetching all distfiles required by automake-1.4.6_6 for =
 building
 =3D=3D=3D>  Extracting for automake-1.4.6_6
 =3D> SHA256 Checksum OK for automake-1.4-p6.tar.gz.
 =3D=3D=3D>   automake-1.4.6_6 depends on file: /usr/local/bin/perl5.14.2 =
 - found
 =3D=3D=3D>  Patching for automake-1.4.6_6
 =3D=3D=3D>   automake-1.4.6_6 depends on file: /usr/local/bin/perl5.14.2 =
 - found
 =3D=3D=3D>  Applying FreeBSD patches for automake-1.4.6_6
 =3D=3D=3D>   automake-1.4.6_6 depends on file: /usr/local/bin/perl5.14.2 =
 - found
 =3D=3D=3D>   automake-1.4.6_6 depends on file: =
 /usr/local/bin/autoconf-2.69 - found
 =3D=3D=3D>  Configuring for automake-1.4.6_6
 loading site script /usr/ports/Templates/config.site
 creating cache ./config.cache
 checking for a BSD compatible install... /usr/bin/install -c -o root -g =
 wheel
 checking whether build environment is sane... yes
 checking whether make sets ${MAKE}... yes
 checking for working aclocal-1.4... missing
 checking for working autoconf... found
 checking for working automake-1.4... missing
 checking for working autoheader... found
 checking for working makeinfo... found
 checking for gnutar... no
 checking for gtar... no
 checking for tar... tar
 checking for perl... /usr/bin/perl
 checking whether ln works... yes
 updating cache ./config.cache
 creating ./config.status
 creating Makefile
 creating automake
 creating aclocal
 creating m4/amversion.m4
 creating m4/Makefile
 creating tests/Makefile
 =3D=3D=3D>  Building for automake-1.4.6_6
 Making all in .
 cd .  && makeinfo `echo automake-1.4.texi | sed 's,.*/,,'`
 Making all in m4
 Making all in tests
 =3D=3D=3D>  Installing for automake-1.4.6_6
 =3D=3D=3D>   automake-1.4.6_6 depends on file: =
 /usr/local/bin/autoconf-2.69 - found
 =3D=3D=3D>   automake-1.4.6_6 depends on executable: automake-wrapper - =
 found
 =3D=3D=3D>   automake-1.4.6_6 depends on file: /usr/local/bin/perl5.14.2 =
 - found
 =3D=3D=3D>   Generating temporary packing list
 =3D=3D=3D>  Checking if devel/automake14 already installed
 Making install in .
 /bin/sh ./mkinstalldirs /usr/local/bin
  install  -o root -g wheel -m 555 automake /usr/local/bin/automake-1.4
  install  -o root -g wheel -m 555 aclocal /usr/local/bin/aclocal-1.4
 make
 Making all in .
 Making all in m4
 Making all in tests
 /bin/sh ./mkinstalldirs /usr/local/info/
  install  -o root -g wheel -m 444 ./automake-1.4.info =
 /usr/local/info//automake-1.4.info
  install-info --info-dir=3D/usr/local/info/ =
 /usr/local/info//automake-1.4.info
 /bin/sh ./mkinstalldirs /usr/local/share/automake-1.4
  install  -o root -g wheel -m 444 ./COPYING =
 /usr/local/share/automake-1.4/COPYING
  install  -o root -g wheel -m 444 ./INSTALL =
 /usr/local/share/automake-1.4/INSTALL
  install  -o root -g wheel -m 444 ./texinfo.tex =
 /usr/local/share/automake-1.4/texinfo.tex
  install  -o root -g wheel -m 444 ./ansi2knr.c =
 /usr/local/share/automake-1.4/ansi2knr.c
  install  -o root -g wheel -m 444 ./ansi2knr.1 =
 /usr/local/share/automake-1.4/ansi2knr.1
  install  -o root -g wheel -m 444 ./clean-hdr.am =
 /usr/local/share/automake-1.4/clean-hdr.am
  install  -o root -g wheel -m 444 ./clean-kr.am =
 /usr/local/share/automake-1.4/clean-kr.am
  install  -o root -g wheel -m 444 ./clean.am =
 /usr/local/share/automake-1.4/clean.am
  install  -o root -g wheel -m 444 ./comp-vars.am =
 /usr/local/share/automake-1.4/comp-vars.am
  install  -o root -g wheel -m 444 ./compile.am =
 /usr/local/share/automake-1.4/compile.am
  install  -o root -g wheel -m 444 ./data-clean.am =
 /usr/local/share/automake-1.4/data-clean.am
  install  -o root -g wheel -m 444 ./data.am =
 /usr/local/share/automake-1.4/data.am
  install  -o root -g wheel -m 444 ./dejagnu.am =
 /usr/local/share/automake-1.4/dejagnu.am
  install  -o root -g wheel -m 444 ./depend.am =
 /usr/local/share/automake-1.4/depend.am
  install  -o root -g wheel -m 444 ./depend2.am =
 /usr/local/share/automake-1.4/depend2.am
  install  -o root -g wheel -m 444 ./dist-vars.am =
 /usr/local/share/automake-1.4/dist-vars.am
  install  -o root -g wheel -m 444 ./footer.am =
 /usr/local/share/automake-1.4/footer.am
  install  -o root -g wheel -m 444 ./header-vars.am =
 /usr/local/share/automake-1.4/header-vars.am
  install  -o root -g wheel -m 444 ./header.am =
 /usr/local/share/automake-1.4/header.am
  install  -o root -g wheel -m 444 ./java-clean.am =
 /usr/local/share/automake-1.4/java-clean.am
  install  -o root -g wheel -m 444 ./java.am =
 /usr/local/share/automake-1.4/java.am
  install  -o root -g wheel -m 444 ./kr-extra.am =
 /usr/local/share/automake-1.4/kr-extra.am
  install  -o root -g wheel -m 444 ./library.am =
 /usr/local/share/automake-1.4/library.am
  install  -o root -g wheel -m 444 ./libs-clean.am =
 /usr/local/share/automake-1.4/libs-clean.am
  install  -o root -g wheel -m 444 ./libs.am =
 /usr/local/share/automake-1.4/libs.am
  install  -o root -g wheel -m 444 ./libtool.am =
 /usr/local/share/automake-1.4/libtool.am
  install  -o root -g wheel -m 444 ./lisp-clean.am =
 /usr/local/share/automake-1.4/lisp-clean.am
  install  -o root -g wheel -m 444 ./lisp.am =
 /usr/local/share/automake-1.4/lisp.am
  install  -o root -g wheel -m 444 ./ltlib-clean.am =
 /usr/local/share/automake-1.4/ltlib-clean.am
  install  -o root -g wheel -m 444 ./ltlib.am =
 /usr/local/share/automake-1.4/ltlib.am
  install  -o root -g wheel -m 444 ./ltlibrary.am =
 /usr/local/share/automake-1.4/ltlibrary.am
  install  -o root -g wheel -m 444 ./mans-vars.am =
 /usr/local/share/automake-1.4/mans-vars.am
  install  -o root -g wheel -m 444 ./mans.am =
 /usr/local/share/automake-1.4/mans.am
  install  -o root -g wheel -m 444 ./multilib.am =
 /usr/local/share/automake-1.4/multilib.am
  install  -o root -g wheel -m 444 ./program.am =
 /usr/local/share/automake-1.4/program.am
  install  -o root -g wheel -m 444 ./progs-clean.am =
 /usr/local/share/automake-1.4/progs-clean.am
  install  -o root -g wheel -m 444 ./progs.am =
 /usr/local/share/automake-1.4/progs.am
  install  -o root -g wheel -m 444 ./remake-hdr.am =
 /usr/local/share/automake-1.4/remake-hdr.am
  install  -o root -g wheel -m 444 ./remake.am =
 /usr/local/share/automake-1.4/remake.am
  install  -o root -g wheel -m 444 ./scripts.am =
 /usr/local/share/automake-1.4/scripts.am
  install  -o root -g wheel -m 444 ./subdirs.am =
 /usr/local/share/automake-1.4/subdirs.am
  install  -o root -g wheel -m 444 ./tags-clean.am =
 /usr/local/share/automake-1.4/tags-clean.am
  install  -o root -g wheel -m 444 ./tags.am =
 /usr/local/share/automake-1.4/tags.am
  install  -o root -g wheel -m 444 ./texi-vers.am =
 /usr/local/share/automake-1.4/texi-vers.am
  install  -o root -g wheel -m 444 ./texinfos.am =
 /usr/local/share/automake-1.4/texinfos.am
 /bin/sh ./mkinstalldirs /usr/local/share/automake-1.4
  install  -o root -g wheel -m 444 ./config.guess =
 /usr/local/share/automake-1.4/config.guess
  install  -o root -g wheel -m 444 ./config.sub =
 /usr/local/share/automake-1.4/config.sub
  install  -o root -g wheel -m 444 ./install-sh =
 /usr/local/share/automake-1.4/install-sh
  install  -o root -g wheel -m 444 ./mdate-sh =
 /usr/local/share/automake-1.4/mdate-sh
  install  -o root -g wheel -m 444 ./missing =
 /usr/local/share/automake-1.4/missing
  install  -o root -g wheel -m 444 ./mkinstalldirs =
 /usr/local/share/automake-1.4/mkinstalldirs
  install  -o root -g wheel -m 444 ./elisp-comp =
 /usr/local/share/automake-1.4/elisp-comp
  install  -o root -g wheel -m 444 ./ylwrap =
 /usr/local/share/automake-1.4/ylwrap
  install  -o root -g wheel -m 444 ./acinstall =
 /usr/local/share/automake-1.4/acinstall
 make  install-data-hook
 Making install in m4
 /bin/sh ../mkinstalldirs /usr/local/share/aclocal-1.4
  install  -o root -g wheel -m 444 ./amversion.m4 =
 /usr/local/share/aclocal-1.4/amversion.m4
  install  -o root -g wheel -m 444 ./ccstdc.m4 =
 /usr/local/share/aclocal-1.4/ccstdc.m4
  install  -o root -g wheel -m 444 ./cond.m4 =
 /usr/local/share/aclocal-1.4/cond.m4
  install  -o root -g wheel -m 444 ./dmalloc.m4 =
 /usr/local/share/aclocal-1.4/dmalloc.m4
  install  -o root -g wheel -m 444 ./error.m4 =
 /usr/local/share/aclocal-1.4/error.m4
  install  -o root -g wheel -m 444 ./header.m4 =
 /usr/local/share/aclocal-1.4/header.m4
  install  -o root -g wheel -m 444 ./init.m4 =
 /usr/local/share/aclocal-1.4/init.m4
  install  -o root -g wheel -m 444 ./lex.m4 =
 /usr/local/share/aclocal-1.4/lex.m4
  install  -o root -g wheel -m 444 ./lispdir.m4 =
 /usr/local/share/aclocal-1.4/lispdir.m4
  install  -o root -g wheel -m 444 ./maintainer.m4 =
 /usr/local/share/aclocal-1.4/maintainer.m4
  install  -o root -g wheel -m 444 ./missing.m4 =
 /usr/local/share/aclocal-1.4/missing.m4
  install  -o root -g wheel -m 444 ./mktime.m4 =
 /usr/local/share/aclocal-1.4/mktime.m4
  install  -o root -g wheel -m 444 ./multi.m4 =
 /usr/local/share/aclocal-1.4/multi.m4
  install  -o root -g wheel -m 444 ./obstack.m4 =
 /usr/local/share/aclocal-1.4/obstack.m4
  install  -o root -g wheel -m 444 ./protos.m4 =
 /usr/local/share/aclocal-1.4/protos.m4
  install  -o root -g wheel -m 444 ./ptrdiff.m4 =
 /usr/local/share/aclocal-1.4/ptrdiff.m4
  install  -o root -g wheel -m 444 ./regex.m4 =
 /usr/local/share/aclocal-1.4/regex.m4
  install  -o root -g wheel -m 444 ./sanity.m4 =
 /usr/local/share/aclocal-1.4/sanity.m4
  install  -o root -g wheel -m 444 ./strtod.m4 =
 /usr/local/share/aclocal-1.4/strtod.m4
  install  -o root -g wheel -m 444 ./termios.m4 =
 /usr/local/share/aclocal-1.4/termios.m4
  install  -o root -g wheel -m 444 ./winsz.m4 =
 /usr/local/share/aclocal-1.4/winsz.m4
 Making install in tests
 install-info --quiet /usr/local/info/automake-1.4.info =
 /usr/local/info/dir
 =3D=3D=3D>   Registering installation for automake-1.4.6_6
 =3D=3D=3D>   Returning to build of fastresolve-2.10_4
 =3D=3D=3D>   fastresolve-2.10_4 depends on file: =
 /usr/local/bin/autoconf-2.13 - found
 =3D=3D=3D>   fastresolve-2.10_4 depends on shared library: adns.1 - =
 found
 =3D=3D=3D>   fastresolve-2.10_4 depends on shared library: db41.1 - =
 found
 =3D=3D=3D>  Configuring for fastresolve-2.10_4
 Use of "do" to call subroutines is deprecated at =
 /usr/local/bin/automake-1.4 line 986.
 Use of "do" to call subroutines is deprecated at =
 /usr/local/bin/automake-1.4 line 1147.
 loading site script /usr/ports/Templates/config.site
 creating cache ./config.cache
 checking for a BSD compatible install... /usr/bin/install -c -o root -g =
 wheel
 checking whether build environment is sane... yes
 checking whether make sets ${MAKE}... yes
 checking for working aclocal... found
 checking for working autoconf... found
 checking for working automake... found
 checking for working autoheader... found
 checking for working makeinfo... found
 checking for perl5... /usr/local/bin/perl
 checking for gcc... cc
 checking whether the C compiler (cc -O2 -pipe -fno-strict-aliasing  =
 -L/usr/local/lib) works... yes
 checking whether the C compiler (cc -O2 -pipe -fno-strict-aliasing  =
 -L/usr/local/lib) is a cross-compiler... no
 checking whether we are using GNU C... yes
 checking whether cc accepts -g... yes
 checking for c++... c++
 checking whether the C++ compiler (c++ -O2 -pipe -fno-strict-aliasing =
 -I/usr/local/include  -L/usr/local/lib) works... yes
 checking whether the C++ compiler (c++ -O2 -pipe -fno-strict-aliasing =
 -I/usr/local/include  -L/usr/local/lib) is a cross-compiler... no
 checking whether we are using GNU C++... yes
 checking whether c++ accepts -g... yes
 checking for fgetln... yes
 checking for socket... yes
 checking for inet_ntoa... yes
 checking for inet_aton... yes
 checking for gzprintf in -lz... yes
 checking for adns_submit in -ladns... yes
 checking for Db::open in -ldb41_cxx... yes
 updating cache ./config.cache
 creating ./config.status
 creating Makefile
 creating dns-terror/Makefile
 creating modules/Makefile
 creating scripts/Makefile
 creating scripts/btree-dump
 creating scripts/convert-dom-db
 creating scripts/convert-ip-db
 creating scripts/expire-ip-db
 creating scripts/getdominfo
 creating scripts/rebuild-dom-db
 creating scripts/rebuild-ip-db
 creating scripts/reresolve
 creating scripts/make-report
 =3D=3D=3D>  Building for fastresolve-2.10_4
 Making all in dns-terror
 c++ -DPACKAGE=3D\"fastresolve\" -DVERSION=3D\"2.10\" -DHAVE_FGETLN=3D1 =
 -DHAVE_LIBZ=3D1 -DHAVE_LIBADNS=3D1  -I. -I.     -O2 -pipe =
 -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/db41 -c =
 dns-terror.cc
 cc -DPACKAGE=3D\"fastresolve\" -DVERSION=3D\"2.10\" -DHAVE_FGETLN=3D1 =
 -DHAVE_LIBZ=3D1 -DHAVE_LIBADNS=3D1  -I. -I.     -O2 -pipe =
 -fno-strict-aliasing -c getline.c
 cc -DPACKAGE=3D\"fastresolve\" -DVERSION=3D\"2.10\" -DHAVE_FGETLN=3D1 =
 -DHAVE_LIBZ=3D1 -DHAVE_LIBADNS=3D1  -I. -I.     -O2 -pipe =
 -fno-strict-aliasing -c fgetln.c
 c++ -DPACKAGE=3D\"fastresolve\" -DVERSION=3D\"2.10\" -DHAVE_FGETLN=3D1 =
 -DHAVE_LIBZ=3D1 -DHAVE_LIBADNS=3D1  -I. -I.     -O2 -pipe =
 -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/db41 -c =
 DatedStringDb.cc
 getline.c:52: warning: conflicting types for built-in function 'malloc'
 dns-terror.cc: In function 'submission submit_query(adns__state*, =
 BoolStringMap&, LogEntry*)':
 dns-terror.cc:346: warning: deprecated conversion from string constant =
 to 'char*'
 dns-terror.cc: In function 'char* process_answer(adns_answer*, char*, =
 BoolStringMap&)':
 dns-terror.cc:373: warning: deprecated conversion from string constant =
 to 'char*'
 dns-terror.cc: In function 'LogEntry* read_ipaddr(FILE*, bool, int)':
 dns-terror.cc:431: warning: deprecated conversion from string constant =
 to 'char*'
 dns-terror.cc: In function 'int main(int, char* const*)':
 dns-terror.cc:581: warning: deprecated conversion from string constant =
 to 'char*'
 c++  -O2 -pipe -fno-strict-aliasing -I/usr/local/include =
 -I/usr/local/include/db41 -L/usr/local/lib -o dns-terror  dns-terror.o =
 getline.o fgetln.o DatedStringDb.o  -ladns -lz  -ldb41_cxx
 Making all in modules
 Making all in scripts
 /usr/local/bin/perl -pe "s,DATADIR,/usr/local/share,g" =
 ./make-report.1.in > make-report.1
 cd . && aclocal
 cd . && automake --gnu --include-deps Makefile
 Use of "do" to call subroutines is deprecated at =
 /usr/local/bin/automake-1.4 line 986.
 Use of "do" to call subroutines is deprecated at =
 /usr/local/bin/automake-1.4 line 1147.
 automake: configure.in: required file `./config.guess' not found
 automake: configure.in: required file `./config.sub' not found
 *** Error code 1
 1 error
 *** Error code 1
 1 error
 *** Error code 1
 
 Stop in /basejail/usr/ports/dns/fastresolve.
 pluto# uname -a
 FreeBSD pluto 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 =
 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  =
 amd64
 
 
 If I simply run 'make' again, it will compile, but dns-terror will =
 coredump frequently:
 
 pluto# make
 =3D=3D=3D>  Building for fastresolve-2.10_4
 Making all in dns-terror
 Making all in modules
 Making all in scripts
 /usr/local/bin/perl -pe "s,DATADIR,/usr/local/share,g" =
 ./make-report.1.in > make-report.1
 cd .  && CONFIG_FILES=3DMakefile CONFIG_HEADERS=3D /bin/sh =
 ./config.status
 creating Makefile
 pluto#
 
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306271740.r5RHe1aW071050>