Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jul 2014 15:21:21 -0700
From:      Craig Rodrigues <rodrigc@FreeBSD.org>
To:        ports <freebsd-ports@freebsd.org>
Subject:   pkg 1.3.3 has a dependency on autoconf to build?
Message-ID:  <CAG=rPVctCgk-MnUc2HF8Fqdg8_AiC4SVEf42NbRrTL3tvLT=mw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

I downloaded a FreeBSD-CURRENT VMDK file from
ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/VM-IMAGES/11.0-CURRENT/amd64/20140714/

and booted it in a brand new VirtualBox VM.

I then did:

portsnap fetch
portsnap extract
cd /usr/ports/ports-mgmt/pkg
make

I got this:

make: stopped in /usr/ports/ports-mgmt/pkg
root@:/usr/ports/ports-mgmt/pkg # make clean
===>  Cleaning for pkg-1.3.3
root@:/usr/ports/ports-mgmt/pkg # make
===>  License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by pkg-1.3.3 for building
===>  Extracting for pkg-1.3.3
===>  License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by pkg-1.3.3 for building
=> SHA256 Checksum OK for pkg-1.3.3.tar.xz.
===>  Patching for pkg-1.3.3
===>  Configuring for pkg-1.3.3
===>   FreeBSD 10 autotools fix applied to
/usr/ports/ports-mgmt/pkg/work/pkg-1.3.3/aclocal.m4
===>   FreeBSD 10 autotools fix applied to
/usr/ports/ports-mgmt/pkg/work/pkg-1.3.3/m4/libtool.m4
===>   FreeBSD 10 autotools fix applied to
/usr/ports/ports-mgmt/pkg/work/pkg-1.3.3/configure
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c -o root -g
wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking dependency style of cc... gcc3
checking for cc option to accept ISO C99... none needed
checking build system type... amd64-portbld-freebsd11.0
checking host system type... amd64-portbld-freebsd11.0
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... (cached) /usr/bin/fgrep
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 how to convert amd64-portbld-freebsd11.0 file names to
amd64-portbld-freebsd11.0 format... func_convert_file_noop
checking how to convert amd64-portbld-freebsd11.0 file names to toolchain
format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
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 for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... yes
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... freebsd11.0 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 CFLAGS for maximum warnings... -Wall -Wno-unused-function
checking for an ANSI C-conforming const... yes
checking for size_t... (cached) yes
checking for memmove... (cached) yes
checking for bcopy... (cached) yes
checking whether ln -s works... yes
checking for fcntl.h... (cached) yes
checking for unistd.h... (cached) yes
checking for elf-hints.h... yes
checking for stdlib.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for machine/endian.h... yes
checking for endian.h... no
checking for sys/endian.h... yes
checking for dlfcn.h... (cached) yes
checking for memory.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for string.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for sys/mman.h... (cached) yes
checking for sys/elf_common.h... yes
checking for link.h... yes
checking for stddef.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for stdbool.h... (cached) yes
checking for stdint.h... (cached) yes
checking for ctype.h... (cached) yes
checking for errno.h... (cached) yes
checking for limits.h... (cached) yes
checking for libgen.h... (cached) yes
checking for stdio.h... (cached) yes
checking for float.h... (cached) yes
checking for math.h... (cached) yes
checking for osreldate.h... yes
checking for off_t... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for GCC atomic builtins... yes
checking for regex.h... yes
checking for posix_fallocate... yes
checking for usleep... (cached) yes
checking for localtime_r... yes
checking for gmtime_r... yes
checking for strerror_r... (cached) yes
checking for pkg-config... no
checking for git... no

checking for library containing lzma_version_string... -llzma
checking for library containing BZ2_bzReadOpen... -lbz2
checking for library containing zlibVersion... -lz
checking for library containing archive_read_open... -larchive
checking archive.h usability... yes
checking archive.h presence... yes
checking for archive.h... yes
checking for library containing jail_getid... -ljail
checking gelf.h usability... yes
checking gelf.h presence... yes
checking for gelf.h... yes
checking for Elf_Note... yes
checking for gelf_getehdr in -lelf... yes
checking libelf.h usability... yes
checking libelf.h presence... yes
checking for libelf.h... yes
checking for Elf_Note... (cached) yes
checking for gelf_getehdr in -lelf... (cached) yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for backtrace in -lexecinfo... yes
checking atf-c.h usability... no
checking atf-c.h presence... no
checking for atf-c.h... no
checking sys/capability.h usability... yes
checking sys/capability.h presence... yes
checking for sys/capability.h... yes
checking for cap_sandboxed in -lc... yes
checking for arc4random_uniform... (cached) yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating external/Makefile
config.status: creating scripts/Makefile
config.status: creating docs/Makefile
config.status: creating tests/Makefile
config.status: creating libpkg/Makefile
config.status: creating libpkg/repo/Makefile
config.status: creating libpkg/pkg.h
config.status: creating libpkg/pkg.pc
config.status: creating scripts/periodic/400.status-pkg
config.status: creating scripts/periodic/410.pkg-audit
config.status: creating scripts/periodic/411.pkg-backup
config.status: creating scripts/periodic/460.pkg-checksum
config.status: creating scripts/periodic/490.status-pkg-changes
config.status: creating scripts/sbin/pkg2ng
config.status: creating scripts/completion/_pkg.bash
config.status: creating scripts/completion/_pkg
config.status: creating libpkg/repo/binary/Makefile
config.status: creating pkg_config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing pkg_repos.h commands
===>  Building for pkg-1.3.3
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh
/usr/ports/ports-mgmt/pkg/work/pkg-1.3.3/missing autoconf
/usr/ports/ports-mgmt/pkg/work/pkg-1.3.3/missing: autoconf: not found
WARNING: 'autoconf' is missing on your system.
         You should only need it if you modified 'configure.ac',
         or m4 files included by it.
         The 'autoconf' program is part of the GNU Autoconf package:
         <http://www.gnu.org/software/autoconf/>;
         It also requires GNU m4 and Perl in order to run:
         <http://www.gnu.org/software/m4/>;
         <http://www.perl.org/>;
*** [./configure] Error code 127

make[2]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.3.3
1 error

make[2]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.3.3
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/ports-mgmt/pkg
*** Error code 1

Stop.
make: stopped in /usr/ports/ports-mgmt/pkg
root@:/usr/ports/ports-mgmt/pkg #


Any ideas?

--
Craig



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG=rPVctCgk-MnUc2HF8Fqdg8_AiC4SVEf42NbRrTL3tvLT=mw>