From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Feb 20 13:50:04 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F04471065676 for ; Sat, 20 Feb 2010 13:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B4FBB8FC16 for ; Sat, 20 Feb 2010 13:50:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o1KDo4cg007904 for ; Sat, 20 Feb 2010 13:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o1KDo42U007903; Sat, 20 Feb 2010 13:50:04 GMT (envelope-from gnats) Resent-Date: Sat, 20 Feb 2010 13:50:04 GMT Resent-Message-Id: <201002201350.o1KDo42U007903@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, ychsiao Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5C471065676 for ; Sat, 20 Feb 2010 13:48:48 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id C59C78FC19 for ; Sat, 20 Feb 2010 13:48:48 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o1KDmm0L006712 for ; Sat, 20 Feb 2010 13:48:48 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o1KDmm60006711; Sat, 20 Feb 2010 13:48:48 GMT (envelope-from nobody) Message-Id: <201002201348.o1KDmm60006711@www.freebsd.org> Date: Sat, 20 Feb 2010 13:48:48 GMT From: ychsiao To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/144137: net-mgmts/php5-snmp make install fail X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Feb 2010 13:50:05 -0000 >Number: 144137 >Category: ports >Synopsis: net-mgmts/php5-snmp make install fail >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: Sat Feb 20 13:50:04 UTC 2010 >Closed-Date: >Last-Modified: >Originator: ychsiao >Release: FreeBSD 8.0-RELEASE-p2 i386 >Organization: >Environment: FreeBSD netflow2.stu.edu.tw 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Sat Feb 20 18:47:06 CST 2010 root@netflow2.stu.edu.tw:/usr/obj/usr/src/sys/FreeBSD6 >Description: root@netflow2 [/usr/ports/net-mgmt/php5-snmp] (21:38) make install ===> php5-snmp-5.2.12 depends on file: /usr/local/bin/phpize - found ===> php5-snmp-5.2.12 depends on file: /usr/local/bin/autoconf-2.62 - found ===> php5-snmp-5.2.12 depends on shared library: netsnmp.16 - found ===> PHPizing for php5-snmp-5.2.12 Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519 ===> Configuring for php5-snmp-5.2.12 checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a sed that does not truncate output... /usr/bin/sed 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 icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... yes checking build system type... i386-portbld-freebsd8.0 checking host system type... i386-portbld-freebsd8.0 checking target system type... i386-portbld-freebsd8.0 checking for PHP prefix... /usr/local checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/localb checking for PHP extension directory... /usr/local/lib/php/20060613 checking for PHP installed headers prefix... /usr/local/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... no checking for nawk... nawk checking if nawk is broken... no checking for SNMP support... yes, shared checking OpenSSL dir for SNMP... /usr checking whether to enable UCD SNMP hack... yes checking for snmp_parse_oid in -lnetsnmp... no checking for init_snmp in -lnetsnmp... no configure: error: SNMP sanity check failed. Please check config.log for more information. ===> Script "configure" failed unexpectedly. Please report the problem to ale@FreeBSD.org [maintainer] and attach the "/usr/ports/net-mgmt/php5-snmp/work/php-5.2.12/ext/snmp/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. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/net-mgmt/php5-snmp. config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.62. Invocation command line was $ ./configure --with-snmp=/usr/local --with-openssl-dir=/usr --enable-ucd-snmp-hack --with-php-config=/usr/local/bin/php-config --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/ --build=i386-portbld-freebsd8.0 ## --------- ## ## Platform. ## ## --------- ## hostname = netflow2.stu.edu.tw uname -m = i386 uname -r = 8.0-RELEASE-p2 uname -s = FreeBSD uname -v = FreeBSD 8.0-RELEASE-p2 #0: Sat Feb 20 18:47:06 CST 2010 root@netflow2.stu.edu.tw:/usr/obj/usr/src/sys/FreeBSD /usr/bin/uname -p = i386 /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /root/bin PATH: /root PATH: /usr/local/pgsql/bin PATH: /bin PATH: /sbin PATH: /standard PATH: /usr/bin PATH: /usr/sbin PATH: /usr/X11R6/bin PATH: /usr/local/bin PATH: /usr/local/sbin PATH: /usr/games ## ----------- ## ## Core tests. ## ## ----------- ## configure:2001: checking for grep that handles long lines and -e configure:2061: result: /usr/bin/grep configure:2066: checking for egrep configure:2130: result: /usr/bin/grep -E configure:2135: checking for a sed that does not truncate output configure:2189: result: /usr/bin/sed configure:2384: checking for C compiler version configure:2392: cc --version >&5 cc (GCC) 4.2.1 20070719 [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:2396: $? = 0 configure:2403: cc -v >&5 Using built-in specs. Target: i386-undermydesk-freebsd Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 4.2.1 20070719 [FreeBSD] configure:2407: $? = 0 configure:2414: cc -V >&5 cc: '-V' option must have argument configure:2418: $? = 1 configure:2441: checking for C compiler default output file name configure:2463: cc -O2 -pipe -fno-strict-aliasing -L/usr/lib -lcrypto -lssl -rpath=/usr/lib:/usr/local/lib conftest.c >&5 configure:2467: $? = 0 configure:2505: result: a.out configure:2522: checking whether the C compiler works configure:2532: ./a.out configure:2536: $? = 0 configure:2553: result: yes configure:2560: checking whether we are cross compiling configure:2562: result: no configure:2565: checking for suffix of executables configure:2572: cc -o conftest -O2 -pipe -fno-strict-aliasing -L/usr/lib -lcrypto -lssl -rpath=/usr/lib:/usr/local/lib conftest.c >&5 configure:2576: $? = 0 configure:2600: result: configure:2606: checking for suffix of object files configure:2632: cc -c -O2 -pipe -fno-strict-aliasing conftest.c >&5 configure:2636: $? = 0 configure:2659: result: o configure:2663: checking whether we are using the GNU C compiler configure:2692: cc -c -O2 -pipe -fno-strict-aliasing conftest.c >&5 configure:2699: $? = 0 configure:2716: result: yes configure:2725: checking whether cc accepts -g configure:2755: cc -c -g conftest.c >&5 configure:2762: $? = 0 configure:2863: result: yes configure:2880: checking for cc option to accept ISO C89 configure:2954: cc -c -O2 -pipe -fno-strict-aliasing conftest.c >&5 configure:2961: $? = 0 configure:2984: result: none needed configure:3008: checking how to run the C preprocessor configure:3048: cc -E conftest.c configure:3055: $? = 0 configure:3086: cc -E conftest.c conftest.c:8:28: error: ac_nonexistent.h: No such file or directory configure:3093: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include configure:3126: result: cc -E configure:3155: cc -E conftest.c configure:3162: $? = 0 configure:3193: cc -E conftest.c conftest.c:8:28: error: ac_nonexistent.h: No such file or directory configure:3200: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include configure:3240: checking for icc configure:3253: result: no configure:3267: checking for suncc configure:3280: result: no configure:3298: checking whether cc understands -c and -o together configure:3330: cc -c conftest.c -o conftest2.o >&5 configure:3334: $? = 0 configure:3340: cc -c conftest.c -o conftest2.o >&5 configure:3344: $? = 0 configure:3399: result: yes configure:3415: checking for system library directory configure:3433: result: lib configure:3440: checking if compiler supports -R configure:3469: cc -o conftest -O2 -pipe -fno-strict-aliasing -L/usr/lib -lcrypto -lssl -rpath=/usr/lib:/usr/local/lib conftest.c -R /usr/lib >&5 configure:3476: $? = 0 configure:3498: result: yes configure:3610: checking build system type configure:3628: result: i386-portbld-freebsd8.0 configure:3650: checking host system type configure:3665: result: i386-portbld-freebsd8.0 configure:3687: checking target system type configure:3702: result: i386-portbld-freebsd8.0 configure:3814: checking for PHP prefix configure:3816: result: /usr/local configure:3818: checking for PHP includes configure:3820: result: -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib configure:3822: checking for PHP extension directory configure:3824: result: /usr/local/lib/php/20060613 configure:3826: checking for PHP installed headers prefix configure:3828: result: /usr/local/include/php configure:3831: checking if debug is enabled configure:3861: result: no configure:3864: checking if zts is enabled configure:3894: result: no configure:3976: checking for re2c configure:4006: result: no configure:4031: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. configure:4045: checking for gawk configure:4076: result: no configure:4045: checking for nawk configure:4062: found /usr/bin/nawk configure:4073: result: nawk configure:4098: checking if nawk is broken configure:4107: result: no configure:4121: checking for SNMP support configure:4164: result: yes, shared configure:4173: checking OpenSSL dir for SNMP configure:4191: result: /usr configure:4200: checking whether to enable UCD SNMP hack configure:4217: result: yes configure:5969: checking for snmp_parse_oid in -lnetsnmp configure:6004: cc -o conftest -O2 -pipe -fno-strict-aliasing -R/usr/local/lib -L/usr/local/lib -L/usr/lib -lcrypto -lssl -rpath=/usr/lib:/usr/local/lib -lnetsnmp -lelf -lm -lkvm -ldevstat conftest.c -lnetsnmp >&5 /usr/local/lib/libnetsnmp.so: undefined reference to `__stack_chk_fail_local' configure:6011: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define HAVE_NET_SNMP 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char snmp_parse_oid (); | int | main () | { | return snmp_parse_oid (); | ; | return 0; | } configure:6034: result: no configure:6157: checking for init_snmp in -lnetsnmp configure:6192: cc -o conftest -O2 -pipe -fno-strict-aliasing -R/usr/local/lib -L/usr/local/lib -L/usr/lib -lcrypto -lssl -rpath=/usr/lib:/usr/local/lib -lnetsnmp -lelf -lm -lkvm -ldevstat conftest.c -lnetsnmp >&5 /usr/local/lib/libnetsnmp.so: undefined reference to `__stack_chk_fail_local' configure:6199: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define HAVE_NET_SNMP 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char init_snmp (); | int | main () | { | return init_snmp (); | ; | return 0; | } configure:6222: result: no configure:6243: error: SNMP sanity check failed. Please check config.log for more information. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i386-portbld-freebsd8.0 ac_cv_c_compiler_gnu=yes ac_cv_env_CC_set=set ac_cv_env_CC_value=cc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-O2 -pipe -fno-strict-aliasing' ac_cv_env_CPPFLAGS_set='' ac_cv_env_CPPFLAGS_value='' ac_cv_env_CPP_set='' ac_cv_env_CPP_value='' ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value=' -L/usr/lib -lcrypto -lssl -rpath=/usr/lib:/usr/local/lib' ac_cv_env_LIBS_set='' ac_cv_env_LIBS_value='' ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=i386-portbld-freebsd8.0 ac_cv_env_host_alias_set='' ac_cv_env_host_alias_value='' ac_cv_env_target_alias_set='' ac_cv_env_target_alias_value='' ac_cv_host=i386-portbld-freebsd8.0 ac_cv_lib_netsnmp___init_snmp=no ac_cv_lib_netsnmp___snmp_parse_oid=no ac_cv_objext=o ac_cv_path_EGREP='/usr/bin/grep -E' ac_cv_path_GREP=/usr/bin/grep ac_cv_prog_AWK=nawk ac_cv_prog_CPP='cc -E' ac_cv_prog_cc_c89='' ac_cv_prog_cc_cc_c_o=yes ac_cv_prog_cc_g=yes ac_cv_target=i386-portbld-freebsd8.0 lt_cv_path_SED=/usr/bin/sed lt_cv_sys_max_cmd_len=262144 php_cv_cc_dashr=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## AR='' AWK='nawk' CC='cc' CFLAGS='-O2 -pipe -fno-strict-aliasing' CONFIGURE_COMMAND=' '\''./configure'\'' '\''--with-snmp=/usr/local'\'' '\''--with-openssl-dir=/usr'\'' '\''--enable-ucd-snmp-hack'\'' '\''--with-php-config=/usr/local/bin/php-config'\'' '\''--prefix=/usr/local'\'' '\''--mandir=/usr/local/man'\'' '\''--infodir=/usr/local/info/'\'' '\''--build=i386-portbld-freebsd8.0'\''' CONFIGURE_OPTIONS=' '\''--with-snmp=/usr/local'\'' '\''--with-openssl-dir=/usr'\'' '\''--enable-ucd-snmp-hack'\'' '\''--with-php-config=/usr/local/bin/php-config'\'' '\''--prefix=/usr/local'\'' '\''--mandir=/usr/local/man'\'' '\''--infodir=/usr/local/info/'\'' '\''--build=i386-portbld-freebsd8.0'\''' CPP='cc -E' CPPFLAGS='' DEFS='' DSYMUTIL='' ECHO='echo' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/usr/bin/grep -E' EXEEXT='' GREP='/usr/bin/grep' LDFLAGS=' -L/usr/lib -lcrypto -lssl -rpath=/usr/lib:/usr/local/lib' LIBOBJS='' LIBS='' LIBTOOL='' LN_S='' LTLIBOBJS='' NMEDIT='' OBJEXT='o' OPENSSL_INCDIR_OPT='' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PKG_CONFIG='' RANLIB='' RE2C='exit 0;' SED='/usr/bin/sed' SHELL='/bin/sh' SHLIB_DL_SUFFIX_NAME='so' SHLIB_SUFFIX_NAME='so' SNMP_CONFIG='/usr/local/bin/net-snmp-config' STRIP='' ac_ct_CC='' bindir='${exec_prefix}/bin' build='i386-portbld-freebsd8.0' build_alias='i386-portbld-freebsd8.0' build_cpu='i386' build_os='freebsd8.0' build_vendor='portbld' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE}' dvidir='${docdir}' exec_prefix='NONE' host='i386-portbld-freebsd8.0' host_alias='i386-portbld-freebsd8.0' host_cpu='i386' host_os='freebsd8.0' host_vendor='portbld' htmldir='${docdir}' includedir='${prefix}/include' infodir='/usr/local/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='/usr/local/man' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr/local' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target='i386-portbld-freebsd8.0' target_alias='' target_cpu='i386' target_os='freebsd8.0' target_vendor='portbld' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" #define HAVE_NET_SNMP 1 configure: exit 1 >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: