From owner-freebsd-stable@FreeBSD.ORG Wed Apr 18 07:59:05 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA5B71065673 for ; Wed, 18 Apr 2012 07:59:05 +0000 (UTC) (envelope-from garbytrash@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 728A38FC0A for ; Wed, 18 Apr 2012 07:59:05 +0000 (UTC) Received: by obqv19 with SMTP id v19so9771085obq.13 for ; Wed, 18 Apr 2012 00:59:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=yzZPzyua88TK+PBPeiM1EwljmRmSU3rImrtnkjTcErI=; b=i0rBLuEUkYftS+3U2QubrK6mLlhasKv14d0NuRcPEPi0j5EVD/rFq9J1kC2WZdjfOg 5ESgN84WEI8Qor7e6x1PPv1T8YibNuJVk+0cGvRquanVVBZzpuS1Sj0IH76Pck8DZltW mZ6wcIBLiNZjCSGIiaD47PWAnLTuscls9bhQkYPR37o/dEJ0qQGS6v+vrOHurVt2XkDK 0s7VYnypKht9+K2xB9Cx9TvT6W38Pa/p1o5rKjfgp1OgBbPG0UbIBFP70/04QXxGkHmf 1Hay2eqBdp5fxL0bs36gGs/sDJ9fxn68vXjEH0wsD07HuFTWLqDi5v2Vf2vj30/K7cMR D4Yg== MIME-Version: 1.0 Received: by 10.182.169.68 with SMTP id ac4mr1685915obc.19.1334735944819; Wed, 18 Apr 2012 00:59:04 -0700 (PDT) Received: by 10.60.17.34 with HTTP; Wed, 18 Apr 2012 00:59:04 -0700 (PDT) Date: Wed, 18 Apr 2012 09:59:04 +0200 Message-ID: From: Zenny To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: pcre-related problem to compile HipHop in FreeBSD9-RELEASE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2012 07:59:05 -0000 Hi: I am having problem while trying to compile HipHop similar to what has been discussed here (https://github.com/facebook/hiphop-php/issues/480#pull_comment_form) My environments are: setenv CC /usr/local/bin/gcc44 setenv CXX /usr/local/bin/g++44 setenv HPHP_HOME `pwd` setenv HPHP_LIB `pwd`/bin setenv CMAKE_PREFIX_PATH `pwd`/../libs and I got the following pcre-related errors, when checked the lines specified in the error it seems to be associated with pcre flushing cache. Summary of error is: [ 15%] Building CXX object src/CMakeFiles/hphp_runtime_static.dir/runtime/base/preg.cpp.o /root/hhbuild/hiphop-php/src/runtime/base/preg.cpp: In function 'HPHP::pcre_cache_entry* HPHP::pcre_get_compiled_regex_cache(const HPHP::String&)': /root/hhbuild/hiphop-php/src/runtime/base/preg.cpp:138: error: 'pcre_info' was not declared in this scope *** Error code 1 I checked the specific line 138 which reads like: if (pcre_info(pce->re, NULL, NULL) == PCRE_ERROR_BADMAGIC) { pcre_cache.cleanup(); Any hints? Could not figure out whether it is FreeBSD9-, pcre- or HipHop-related? Thanks! /z The entire make output is as of below: # make Scanning dependencies of target xhp [ 0%] Building CXX object src/third_party/xhp/xhp/CMakeFiles/xhp.dir/code_rope.cpp.o [ 0%] Building CXX object src/third_party/xhp/xhp/CMakeFiles/xhp.dir/xhp_preprocess.cpp.o [ 0%] Building CXX object src/third_party/xhp/xhp/CMakeFiles/xhp.dir/xhpize.cpp.o [ 0%] Building CXX object src/third_party/xhp/xhp/CMakeFiles/xhp.dir/fastpath.cpp.o [ 0%] Building CXX object src/third_party/xhp/xhp/CMakeFiles/xhp.dir/parser.yacc.cpp.o [ 1%] Building CXX object src/third_party/xhp/xhp/CMakeFiles/xhp.dir/scanner.lex.cpp.o scanner.lex.cpp: In function 'yy_state_type yy_try_NUL_trans(yy_state_type, void*)': scanner.lex.cpp:9714: warning: unused variable 'yyg' Linking CXX static library ../../../../bin/libxhp.a [ 1%] Built target xhp Scanning dependencies of target afdt [ 1%] Building C object src/third_party/libafdt/CMakeFiles/afdt.dir/src/lowlevel.c.o [ 1%] Building C object src/third_party/libafdt/CMakeFiles/afdt.dir/src/strlcpy.c.o [ 1%] Building C object src/third_party/libafdt/CMakeFiles/afdt.dir/src/sync.c.o [ 1%] Building C object src/third_party/libafdt/CMakeFiles/afdt.dir/src/util.c.o [ 1%] Building C object src/third_party/libafdt/CMakeFiles/afdt.dir/src/async.c.o Linking C static library ../../../bin/libafdt.a [ 1%] Built target afdt Scanning dependencies of target mbfl [ 2%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/mbfilter.c.o [ 2%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/mbfl_string.c.o [ 2%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/mbfl_language.c.o [ 2%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/mbfl_encoding.c.o [ 2%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/mbfl_convert.c.o [ 2%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/mbfl_ident.c.o [ 2%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/mbfl_memory_device.c.o [ 3%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/mbfl_allocators.c.o [ 3%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/mbfl_filter_output.c.o [ 3%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/mbfilter_pass.c.o [ 3%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/mbfilter_wchar.c.o [ 3%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/mbfilter_8bit.c.o [ 3%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_cp936.c.o [ 3%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_hz.c.o [ 4%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_euc_tw.c.o [ 4%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_big5.c.o [ 4%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_euc_jp.c.o [ 4%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_jis.c.o [ 4%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_iso8859_1.c.o [ 4%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_iso8859_2.c.o [ 4%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_cp1254.c.o [ 5%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_cp1252.c.o [ 5%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_cp1251.c.o [ 5%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_ascii.c.o [ 5%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_iso8859_3.c.o [ 5%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_iso8859_4.c.o [ 5%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_iso8859_5.c.o [ 5%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_iso8859_6.c.o [ 6%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_iso8859_7.c.o [ 6%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_iso8859_8.c.o [ 6%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_iso8859_9.c.o [ 6%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_iso8859_10.c.o [ 6%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_iso8859_13.c.o [ 6%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_iso8859_14.c.o [ 6%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_iso8859_15.c.o [ 6%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_iso8859_16.c.o [ 7%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_htmlent.c.o [ 7%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_byte2.c.o [ 7%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_byte4.c.o [ 7%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_uuencode.c.o [ 7%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_base64.c.o [ 7%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_sjis.c.o [ 7%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_7bit.c.o [ 8%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_qprint.c.o [ 8%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_ucs4.c.o [ 8%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_ucs2.c.o [ 8%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_utf32.c.o [ 8%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_utf16.c.o [ 8%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_utf8.c.o [ 8%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_utf7.c.o [ 9%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_utf7imap.c.o [ 9%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_euc_jp_win.c.o [ 9%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_cp932.c.o [ 9%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_cp51932.c.o [ 9%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_euc_cn.c.o [ 9%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_euc_kr.c.o [ 9%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_uhc.c.o [ 10%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_iso2022_jp_ms.c.o [ 10%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_iso2022_kr.c.o [ 10%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_cp866.c.o [ 10%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_koi8r.c.o [ 10%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_koi8u.c.o [ 10%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_armscii8.c.o [ 10%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_cp850.c.o [ 11%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/html_entities.c.o [ 11%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/nls/nls_ja.c.o [ 11%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/nls/nls_de.c.o [ 11%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/nls/nls_en.c.o [ 11%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/nls/nls_hy.c.o [ 11%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/nls/nls_tr.c.o [ 11%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/nls/nls_kr.c.o [ 11%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/nls/nls_ru.c.o [ 12%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/nls/nls_ua.c.o [ 12%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/nls/nls_zh.c.o [ 12%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/nls/nls_uni.c.o [ 12%] Building C object src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/nls/nls_neutral.c.o Linking C static library ../../../../bin/libmbfl.a [ 12%] Built target mbfl Scanning dependencies of target sqlite3 [ 12%] Building C object src/third_party/libsqlite3/CMakeFiles/sqlite3.dir/sqlite3.c.o Linking C static library ../../../bin/libsqlite3.a [ 12%] Built target sqlite3 Scanning dependencies of target timelib [ 12%] Building C object src/third_party/timelib/CMakeFiles/timelib.dir/astro.c.o [ 12%] Building C object src/third_party/timelib/CMakeFiles/timelib.dir/dow.c.o [ 12%] Building C object src/third_party/timelib/CMakeFiles/timelib.dir/parse_date.c.o [ 12%] Building C object src/third_party/timelib/CMakeFiles/timelib.dir/parse_tz.c.o [ 12%] Building C object src/third_party/timelib/CMakeFiles/timelib.dir/timelib.c.o [ 13%] Building C object src/third_party/timelib/CMakeFiles/timelib.dir/tm2unixtime.c.o [ 13%] Building C object src/third_party/timelib/CMakeFiles/timelib.dir/unixtime2tm.c.o Linking C static library ../../../bin/libtimelib.a [ 13%] Built target timelib Scanning dependencies of target hphp_runtime_static [ 13%] Building CXX object src/CMakeFiles/hphp_runtime_static.dir/runtime/base/builtin_functions.cpp.o [ 13%] Building CXX object src/CMakeFiles/hphp_runtime_static.dir/runtime/base/class_info.cpp.o [ 13%] Building CXX object src/CMakeFiles/hphp_runtime_static.dir/runtime/base/comparisons.cpp.o [ 13%] Building CXX object src/CMakeFiles/hphp_runtime_static.dir/runtime/base/debuggable.cpp.o [ 14%] Building CXX object src/CMakeFiles/hphp_runtime_static.dir/runtime/base/dynamic_object_data.cpp.o [ 14%] Building CXX object src/CMakeFiles/hphp_runtime_static.dir/runtime/base/execution_context.cpp.o [ 14%] Building CXX object src/CMakeFiles/hphp_runtime_static.dir/runtime/base/fiber_async_func.cpp.o [ 14%] Building CXX object src/CMakeFiles/hphp_runtime_static.dir/runtime/base/fiber_reference_map.cpp.o [ 14%] Building CXX object src/CMakeFiles/hphp_runtime_static.dir/runtime/base/fiber_safe.cpp.o [ 14%] Building CXX object src/CMakeFiles/hphp_runtime_static.dir/runtime/base/frame_injection.cpp.o [ 14%] Building CXX object src/CMakeFiles/hphp_runtime_static.dir/runtime/base/global_array_wrapper.cpp.o [ 15%] Building CXX object src/CMakeFiles/hphp_runtime_static.dir/runtime/base/hphp_ffi.cpp.o [ 15%] Building CXX object src/CMakeFiles/hphp_runtime_static.dir/runtime/base/hphp_system.cpp.o [ 15%] Building CXX object src/CMakeFiles/hphp_runtime_static.dir/runtime/base/ini_setting.cpp.o [ 15%] Building CXX object src/CMakeFiles/hphp_runtime_static.dir/runtime/base/intercept.cpp.o [ 15%] Building CXX object src/CMakeFiles/hphp_runtime_static.dir/runtime/base/list_assignment.cpp.o [ 15%] Building CXX object src/CMakeFiles/hphp_runtime_static.dir/runtime/base/object_data.cpp.o [ 15%] Building CXX object src/CMakeFiles/hphp_runtime_static.dir/runtime/base/preg.cpp.o /root/hhbuild/hiphop-php/src/runtime/base/preg.cpp: In function 'HPHP::pcre_cache_entry* HPHP::pcre_get_compiled_regex_cache(const HPHP::String&)': /root/hhbuild/hiphop-php/src/runtime/base/preg.cpp:138: error: 'pcre_info' was not declared in this scope *** Error code 1 Stop in /root/hhbuild/hiphop-php. *** Error code 1 Stop in /root/hhbuild/hiphop-php. *** Error code 1 Stop in /root/hhbuild/hiphop-php.