making all ports in /usr/ports on FreeBSD 8.1

Norm Larkin norml1231 at yahoo.com
Sat Dec 11 11:15:46 UTC 2010


Hello,

I was idly trying to experiment and decided I wanted to see how long it took, 
how much disk space was involved, how hard it was on a system, and so on, to 
build the entire ports tree.  I loaded up a fresh system with FreeBSD 8.1R on 
i386, used all defaults for the installer options, had it install all sources 
and the ports tree, went into /usr/ports, set BATCH to yes, and did "make 
install".  It bombed within about an hour.  Figuring my ports were out of date, 
I repeated this after wiping all of /usr/local, /var/db/pkg, /usr/ports, and 
then using portsnap to fetch and install.  Same result.  I then tried loading 
the amd64 version.  Same thing.

What am I doing dumb here (other than possibly trying to build all ports).  It 
seems to always get messed up on libxml2.

Typescript follows, but I only did a script after it had already failed, so all 
the intermediate stuff is not there.


Script started on Sat Dec 11 02:41:10 2010
freebsd-81r-i386# cd /usr/ports
freebsd-81r-i386# setenv BATCH yes
freebsd-81r-i386# make install
===> accessibility
===> accessibility/accerciser
===>   accerciser-1.10.1_1 depends on file: /usr/local/bin/python2.6 - found
===>   accerciser-1.10.1_1 depends on executable: gmake - found
===>   accerciser-1.10.1_1 depends on executable: Xvfb - not found
===>    Verifying install for Xvfb in /usr/ports/x11-servers/xorg-vfbserver
[...]
Enabled Schematron support
Enabled Schemas/Relax-NG support
Disabling code coverage for GCC
configure: creating ./config.status
Done configuring
/bin/sh ./config.status
config.status: creating libxml2.spec
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating include/libxml/Makefile
config.status: creating doc/Makefile
config.status: creating doc/examples/Makefile
config.status: creating doc/devhelp/Makefile
config.status: creating example/Makefile
config.status: creating python/Makefile
config.status: creating python/tests/Makefile
config.status: creating xstc/Makefile
config.status: creating include/libxml/xmlversion.h
config.status: creating xml2-config
config.status: creating libxml-2.0.pc
config.status: creating libxml-2.0-uninstalled.pc
config.status: creating python/setup.py
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
gmake[3]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.7.7'
gmake[3]: Entering directory `/usr/ports/textproc/libxml2/work/libxml2-2.7.7'
gmake[3]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.7.7'
cd .. && gmake  am--refresh
gmake[3]: Entering directory `/usr/ports/textproc/libxml2/work/libxml2-2.7.7'
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh 
/usr/ports/textproc/libxml2/work/libxml2-2.7.7/missing --run aclocal-1.11 -I m4
aclocal-1.11: not found
gmake[3]: Entering directory `/usr/ports/textproc/libxml2/work/libxml2-2.7.7'
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh 
/usr/ports/textproc/libxml2/work/libxml2-2.7.7/missing --run aclocal-1.11 -I m4
WARNING: `aclocal-1.11' is missing on your system.  You should only need it if
         you modified `acinclude.m4' or `configure.in'.  You might want
         to install the `Automake' and `Perl' packages.  Grab them from
         any GNU archive site.
aclocal-1.11: not found
cd . && /bin/sh /usr/ports/textproc/libxml2/work/libxml2-2.7.7/missing --run 
automake-1.11 --gnu
automake-1.11: not found
WARNING: `aclocal-1.11' is missing on your system.  You should only need it if
         you modified `acinclude.m4' or `configure.in'.  You might want
         to install the `Automake' and `Perl' packages.  Grab them from
         any GNU archive site.
cd . && /bin/sh /usr/ports/textproc/libxml2/work/libxml2-2.7.7/missing --run 
automake-1.11 --gnu
WARNING: `automake-1.11' is missing on your system.  You should only need it if
         you modified `Makefile.am', `acinclude.m4' or `configure.in'.
         You might want to install the `Automake' and `Perl' packages.
         Grab them from any GNU archive site.
automake-1.11: not found
WARNING: `automake-1.11' is missing on your system.  You should only need it if
         you modified `Makefile.am', `acinclude.m4' or `configure.in'.
         You might want to install the `Automake' and `Perl' packages.
         Grab them from any GNU archive site.
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh 
/usr/ports/textproc/libxml2/work/libxml2-2.7.7/missing --run autoconf
autoconf: not found
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh 
/usr/ports/textproc/libxml2/work/libxml2-2.7.7/missing --run autoconf
WARNING: `autoconf' is missing on your system.  You should only need it if
         you modified `configure.in'.  You might want to install the
         `Autoconf' and `GNU m4' packages.  Grab them from any GNU
         archive site.
autoconf: not found
/bin/sh ./config.status --recheck
WARNING: `autoconf' is missing on your system.  You should only need it if
         you modified `configure.in'.  You might want to install the
         `Autoconf' and `GNU m4' packages.  Grab them from any GNU
         archive site.
/bin/sh ./config.status --recheck
running CONFIG_SHELL=/bin/sh /bin/sh ./configure --with-iconv=/usr/local 
--with-html-dir=/usr/local/share/doc --with-html-subdir=libxml2 --without-python 

--prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/ 
--build=i386-portbld-freebsd8.1 build_alias=i386-portbld-freebsd8.1 CC=cc 
CFLAGS=-O2 -pipe -fno-strict-aliasing LDFLAGS=-L/usr/local/lib 
CPPFLAGS=-I/usr/local/include --no-create --no-recursion
running CONFIG_SHELL=/bin/sh /bin/sh ./configure --with-iconv=/usr/local 
--with-html-dir=/usr/local/share/doc --with-html-subdir=libxml2 --without-python 

--prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/ 
--build=i386-portbld-freebsd8.1 build_alias=i386-portbld-freebsd8.1 CC=cc 
CFLAGS=-O2 -pipe -fno-strict-aliasing LDFLAGS=-L/usr/local/lib 
CPPFLAGS=-I/usr/local/include --no-create --no-recursion
checking build system type... i386-portbld-freebsd8.1
checking host system type... i386-portbld-freebsd8.1
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... checking build system type... 
i386-portbld-freebsd8.1
checking host system type... i386-portbld-freebsd8.1
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for gcc... cc
checking for C compiler default output file name... a.out
yes
checking whether the C compiler works... checking for a thread-safe mkdir -p... 
yes
./install-sh -c -d
checking for gawk... checking whether we are cross compiling... no
no
checking for suffix of executables... checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes

checking for gcc... checking for suffix of object files... cc
checking for C compiler default output file name... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... 
configure: error: in `/usr/ports/textproc/libxml2/work/libxml2-2.7.7':
configure: error: C compiler cannot create executables
See `config.log' for more details.
yes
checking for cc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... cc -E
checking for rm... /bin/rm
checking for mv... /bin/mv
checking for tar... /usr/bin/tar
checking for perl... /usr/bin/perl
checking for wget... /usr/bin/wget
checking for xmllint... /usr/bin/xmllint
checking for xsltproc... /usr/bin/xsltproc
checking for function prototypes... yes
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... gmake[3]: *** [config.status] Error 77
cat: confdefs.h: gmake[3]: Leaving directory 
`/usr/ports/textproc/libxml2/work/libxml2-2.7.7'
No such file or directory
gmake[2]: *** [../configure] Error 2
gmake[2]: *** Waiting for unfinished jobs....
cat: confdefs.h: No such file or directory
cat: confdefs.h: No such file or directory
cat: confdefs.h: No such file or directory
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 for string.h... (cached) yes
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... 196608
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 for objdump... objdump
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... rm: conftest*: No such file or directory
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... rm: conftest*: No such 
file or directory
no
checking dynamic linker characteristics... freebsd8.1 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 zlib
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzread in -lz... yes
Checking headers
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking inttypes.h.h usability... no
checking inttypes.h.h presence... no
checking for inttypes.h.h... no
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking ansidecl.h usability... no
checking ansidecl.h presence... no
checking for ansidecl.h... no
checking ieeefp.h usability... yes
checking ieeefp.h presence... yes
checking for ieeefp.h... yes
checking nan.h usability... no
checking nan.h presence... no
checking for nan.h... no
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking fp_class.h usability... no
checking fp_class.h presence... no
checking for fp_class.h... no
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for stdlib.h... (cached) yes
checking for sys/socket.h... yes
checking for netinet/in.h... yes
checking for arpa/inet.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for arpa/nameser.h... yes
checking for resolv.h... yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking for dlfcn.h... (cached) yes
Checking libraries
checking for strftime... yes
checking for strdup... yes
checking for strndup... yes
checking for strerror... yes
checking for finite... no
checking for isnand... no
checking for fp_class... no
checking for class... no
checking for fpclass... no
checking for strftime... (cached) yes
checking for localtime... yes
checking for gettimeofday... yes
checking for ftime... no
checking for stat... yes
checking for _stat... yes
checking for signal... yes
checking for printf... yes
checking for sprintf... yes
checking for fprintf... yes
checking for snprintf... yes
checking for vfprintf... yes
checking for vsprintf... yes
checking for vsnprintf... yes
checking for sscanf... yes
checking for va_copy... yes
checking for library containing gethostent... none required
checking for library containing setsockopt... none required
checking for library containing connect... none required
checking for type of socket length (socklen_t)... socklen_t *
checking whether to enable IPv6... yes
checking struct sockaddr::ss_family... yes
checking for getaddrinfo... yes
checking for isnan... yes
checking for isinf... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
Checking configuration requirements
Enabling multithreaded support
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_join in -pthread... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for iconv... no
checking for iconv in -liconv... yes
checking for iconv declaration... 
    extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, 
char 

* *outbuf, size_t *outbytesleft);
Enabled Schematron support
Enabled Schemas/Relax-NG support
Disabling code coverage for GCC
configure: creating ./config.status
Done configuring
/bin/sh ./config.status
config.status: creating libxml2.spec
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating include/libxml/Makefile
config.status: creating doc/Makefile
config.status: creating doc/examples/Makefile
config.status: creating doc/devhelp/Makefile
config.status: creating example/Makefile
config.status: creating python/Makefile
config.status: creating python/tests/Makefile
config.status: creating xstc/Makefile
config.status: creating include/libxml/xmlversion.h
config.status: creating xml2-config
config.status: creating libxml-2.0.pc
config.status: creating libxml-2.0-uninstalled.pc
config.status: creating python/setup.py
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
gmake[3]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.7.7'
gmake[3]: Entering directory `/usr/ports/textproc/libxml2/work/libxml2-2.7.7'
gmake[3]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.7.7'
gmake[2]: Leaving directory 
`/usr/ports/textproc/libxml2/work/libxml2-2.7.7/include'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.7.7'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/textproc/libxml2.
*** Error code 1

Stop in /usr/ports/textproc/libxslt.
*** Error code 1

Stop in /usr/ports/x11/libxcb.
*** Error code 1

Stop in /usr/ports/x11/libX11.
*** Error code 1

Stop in /usr/ports/x11-toolkits/libXt.
*** Error code 1

Stop in /usr/ports/x11/trapproto.
*** Error code 1

Stop in /usr/ports/x11-servers/xorg-vfbserver.
*** Error code 1

Stop in /usr/ports/accessibility/accerciser.
*** Error code 1

Stop in /usr/ports/accessibility.
*** Error code 1

Stop in /usr/ports.
freebsd-81r-i386# exit
exit

Script done on Sat Dec 11 02:43:02 2010


      


More information about the freebsd-ports mailing list