Date: Thu, 8 May 2014 01:59:04 GMT From: Chen Xie <xiechen96@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/189453: hdf5-1.8.12 build error on FreeBSD-10.0-p2-amd64 Message-ID: <201405080159.s481x4CO002261@cgiserv.freebsd.org> Resent-Message-ID: <201405080200.s48200p3002086@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 189453 >Category: ports >Synopsis: hdf5-1.8.12 build error on FreeBSD-10.0-p2-amd64 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 08 02:00:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Chen Xie >Release: FreeBSD-10.0-p2-amd64 >Organization: USTC >Environment: FreeBSD print 10.0-RELEASE-p2 FreeBSD 10.0-RELEASE-p2 #0: Wed May 7 16:07:50 CST 2014 root@print:/usr/obj/usr/src/sys/CLIENT amd64 >Description: after portsnaping the latest ports tree #cd /usr/ports/science/hdf5 #make ===> License BSD4CLAUSE accepted by the user ===> Found saved configuration for hdf5-1.8.12 ===> hdf5-1.8.12 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by hdf5-1.8.12 for building ===> Extracting for hdf5-1.8.12 => SHA256 Checksum OK for hdf5-1.8.12.tar.bz2. ===> Patching for hdf5-1.8.12 ===> Configuring for hdf5-1.8.12 ===> FreeBSD 10 autotools fix applied to /usr/ports/science/hdf5/work/hdf5-1.8.12/configure ===> FreeBSD 10 autotools fix applied to /usr/ports/science/hdf5/work/hdf5-1.8.12/aclocal.m4 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 to enable maintainer-specific portions of Makefiles... no checking build system type... amd64-portbld-freebsd10.0 checking host system type... amd64-portbld-freebsd10.0 checking shell variables initial values... done checking if basename works... yes checking if xargs works... yes checking for cached host... none checking for config amd64-portbld-freebsd10.0... no checking for config amd64-portbld-freebsd... no checking for config portbld-freebsd10.0... no checking for config portbld-freebsd... no checking for config amd64-freebsd10.0... no checking for config amd64-freebsd... no checking for config amd64-portbld... no checking for config freebsd10.0... no checking for config freebsd... found checking for config ./config/site-specific/host-print... no 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 for style of include used by make... GNU checking dependency style of cc... gcc3 checking if unsupported combinations of configure options are allowed... no checking if Fortran interface enabled... no checking if Fortran 2003 interface enabled... yes checking whether we are using the GNU C++ compiler... no checking whether c++ accepts -g... no checking dependency style of c++... gcc3 checking how to run the C++ preprocessor... /lib/cpp configure: error: in `/usr/ports/science/hdf5/work/hdf5-1.8.12': configure: error: C++ preprocessor "/lib/cpp" fails sanity check See `config.log' for more details ===> Script "configure" failed unexpectedly. Please report the problem to sunpoet@FreeBSD.org [maintainer] and attach the "/usr/ports/science/hdf5/work/hdf5-1.8.12/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 Stop. make[1]: stopped in /usr/ports/science/hdf5 *** Error code 1 Stop. make: stopped in /usr/ports/science/hdf "/usr/ports/science/hdf5/work/hdf5-1.8.12/config.log" mentioned that: configure:7149: /lib/cpp conftest.cpp eval: /lib/cpp: not found configure:7149: /lib/cpp conftest.cpp eval: /lib/cpp: not found configure:7188: result: /lib/cpp configure:7208: /lib/cpp conftest.cpp eval: /lib/cpp: not found configure:7208: /lib/cpp conftest.cpp eval: /lib/cpp: not found configure:7241: error: C++ preprocessor "/lib/cpp" fails sanity check ac_cv_prog_CXXCPP=/lib/cpp CXXCPP='/lib/cpp' >How-To-Repeat: #cd /usr/ports/science/hdf5 #make >Fix: #cd /usr/ports/science/hdf5 #make >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405080159.s481x4CO002261>