php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64318 emake error::undefined reference to `pcre_info'
Submitted: 2013-02-28 08:44 UTC Modified: 2020-02-09 04:22 UTC
From: amitsett at gmail dot com Assigned: cmb (profile)
Status: No Feedback Package: Compile Failure
PHP Version: Irrelevant OS: 2.6.35-gentoo-r5
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
21 - 7 = ?
Subscribe to this entry?

 
 [2013-02-28 08:44 UTC] amitsett at gmail dot com
Description:
------------
emerge -av =php=5.2.17 fails with the following error:

/bin/sh /var/tmp/portage/dev-lang/php-5.2.17/work/sapis-build/cli/libtool --silent 
--preserve-
dup-deps --mode=link i686-pc-linux-gnu-gcc -export-dynamic -I/usr/include -O2 -
march=native -
mfpmath=sse -pipe -fomit-frame-pointer -msse2 -D_GNU_SOURCE  -
L/usr/lib/postgresql-8.1/lib -
Wl,-O1 -Wl,--as-needed -R /usr/lib/postgresql-8.1/lib ext/date/php_date.lo 
ext/date/lib/astro.lo ext/date/lib/dow.lo ext/date/lib/parse_date.lo 
ext/date/lib/parse_tz.lo 
ext/date/lib/timelib.lo ext/date/lib/tm2unixtime.lo ext/date/lib/unixtime2tm.lo 
ext/libxml/libxml.lo ext/openssl/openssl.lo ext/openssl/xp_ssl.lo 
ext/pcre/php_pcre.lo 
ext/zlib/zlib.lo ext/zlib/zlib_fopen_wrapper.lo ext/zlib/zlib_filter.lo 
ext/bcmath/bcmath.lo 
ext/bcmath/libbcmath/src/add.lo ext/bcmath/libbcmath/src/div.lo 
ext/bcmath/libbcmath/src/init.lo ext/bcmath/libbcmath/src/neg.lo 
ext/bcmath/libbcmath/src/outofmem.lo ext/bcmath/libbcmath/src/raisemod.lo 
ext/bcmath/libbcmath/src/rt.lo ext/bcmath/libbcmath/src/sub.lo 
ext/bcmath/libbcmath/src/compare.lo ext/bcmath/libbcmath/src/divmod.lo 
ext/bcmath/libbcmath/src/int2num.lo ext/bcmath/libbcmath/src/num2long.lo 
ext/bcmath/libbcmath/src/output.lo ext/bcmath/libbcmath/src/recmul.lo 
ext/bcmath/libbcmath/src/sqrt.lo ext/bcmath/libbcmath/src/zero.lo 
ext/bcmath/libbcmath/src/debug.lo ext/bcmath/libbcmath/src/doaddsub.lo 
ext/bcmath/libbcmath/src/nearzero.lo ext/bcmath/libbcmath/src/num2str.lo 
ext/bcmath/libbcmath/src/raise.lo ext/bcmath/libbcmath/src/rmzero.lo 
ext/bcmath/libbcmath/src/str2num.lo ext/bz2/bz2.lo ext/bz2/bz2_filter.lo 
ext/ctype/ctype.lo 
ext/curl/interface.lo ext/curl/multi.lo ext/curl/streams.lo ext/dba/dba.lo 
ext/dba/dba_cdb.lo 
ext/dba/dba_dbm.lo ext/dba/dba_gdbm.lo ext/dba/dba_ndbm.lo ext/dba/dba_db1.lo 
ext/dba/dba_db2.lo ext/dba/dba_db3.lo ext/dba/dba_db4.lo ext/dba/dba_flatfile.lo 
ext/dba/dba_inifile.lo ext/dba/dba_qdbm.lo ext/dom/php_dom.lo ext/dom/attr.lo 
ext/dom/document.lo ext/dom/domerrorhandler.lo ext/dom/domstringlist.lo 
ext/dom/domexception.lo 
ext/dom/namelist.lo ext/dom/processinginstruction.lo ext/dom/cdatasection.lo 
ext/dom/documentfragment.lo ext/dom/domimplementation.lo ext/dom/element.lo 
ext/dom/node.lo 
ext/dom/string_extend.lo ext/dom/characterdata.lo ext/dom/documenttype.lo 
ext/dom/domimplementationlist.lo ext/dom/entity.lo ext/dom/nodelist.lo 
ext/dom/text.lo 
ext/dom/comment.lo ext/dom/domconfiguration.lo ext/dom/domimplementationsource.lo 
ext/dom/entityreference.lo ext/dom/notation.lo ext/dom/xpath.lo 
ext/dom/dom_iterators.lo 
ext/dom/typeinfo.lo ext/dom/domerror.lo ext/dom/domlocator.lo 
ext/dom/namednodemap.lo 
ext/dom/userdatahandler.lo ext/filter/filter.lo ext/filter/sanitizing_filters.lo 
ext/filter/logical_filters.lo ext/filter/callback_filter.lo ext/gd/gd.lo 
ext/gd/gdttf.lo 
ext/gd/libgd/gd.lo ext/gd/libgd/gd_gd.lo ext/gd/libgd/gd_gd2.lo 
ext/gd/libgd/gd_io.lo 
ext/gd/libgd/gd_io_dp.lo ext/gd/libgd/gd_io_file.lo ext/gd/libgd/gd_ss.lo 
ext/gd/libgd/gd_io_ss.lo ext/gd/libgd/gd_png.lo ext/gd/libgd/gd_jpeg.lo 
ext/gd/libgd/gdxpm.lo 
ext/gd/libgd/gdfontt.lo ext/gd/libgd/gdfonts.lo ext/gd/libgd/gdfontmb.lo 
ext/gd/libgd/gdfontl.lo ext/gd/libgd/gdfontg.lo ext/gd/libgd/gdtables.lo 
ext/gd/libgd/gdft.lo 
ext/gd/libgd/gdcache.lo ext/gd/libgd/gdkanji.lo ext/gd/libgd/wbmp.lo 
ext/gd/libgd/gd_wbmp.lo 
ext/gd/libgd/gdhelpers.lo ext/gd/libgd/gd_topal.lo ext/gd/libgd/gd_gif_in.lo 
ext/gd/libgd/xbm.lo ext/gd/libgd/gd_gif_out.lo ext/gd/libgd/gd_security.lo 
ext/gettext/gettext.lo ext/hash/hash.lo ext/hash/hash_md.lo ext/hash/hash_sha.lo 
ext/hash/hash_ripemd.lo ext/hash/hash_haval.lo ext/hash/hash_tiger.lo 
ext/hash/hash_gost.lo 
ext/hash/hash_snefru.lo ext/hash/hash_whirlpool.lo ext/hash/hash_adler32.lo 
ext/hash/hash_crc32.lo ext/iconv/iconv.lo ext/json/json.lo 
ext/json/utf8_to_utf16.lo 
ext/json/utf8_decode.lo ext/json/JSON_parser.lo ext/mbstring/oniguruma/regcomp.lo 
ext/mbstring/oniguruma/regerror.lo ext/mbstring/oniguruma/regexec.lo 
ext/mbstring/oniguruma/reggnu.lo ext/mbstring/oniguruma/regparse.lo 
ext/mbstring/oniguruma/regenc.lo ext/mbstring/oniguruma/regext.lo 
ext/mbstring/oniguruma/regsyntax.lo ext/mbstring/oniguruma/regtrav.lo 
ext/mbstring/oniguruma/regversion.lo ext/mbstring/oniguruma/st.lo 
ext/mbstring/oniguruma/enc/unicode.lo ext/mbstring/oniguruma/enc/ascii.lo 
ext/mbstring/oniguruma/enc/utf8.lo ext/mbstring/oniguruma/enc/euc_jp.lo 
ext/mbstring/oniguruma/enc/euc_tw.lo ext/mbstring/oniguruma/enc/euc_kr.lo 
ext/mbstring/oniguruma/enc/sjis.lo ext/mbstring/oniguruma/enc/iso8859_1.lo 
ext/mbstring/oniguruma/enc/iso8859_2.lo ext/mbstring/oniguruma/enc/iso8859_3.lo 
ext/mbstring/oniguruma/enc/iso8859_4.lo ext/mbstring/oniguruma/enc/iso8859_5.lo 
ext/mbstring/oniguruma/enc/iso8859_6.lo ext/mbstring/oniguruma/enc/iso8859_7.lo 
ext/mbstring/oniguruma/enc/iso8859_8.lo ext/mbstring/oniguruma/enc/iso8859_9.lo 
ext/mbstring/oniguruma/enc/iso8859_10.lo ext/mbstring/oniguruma/enc/iso8859_11.lo 
ext/mbstring/oniguruma/enc/iso8859_13.lo ext/mbstring/oniguruma/enc/iso8859_14.lo 
ext/mbstring/oniguruma/enc/iso8859_15.lo ext/mbstring/oniguruma/enc/iso8859_16.lo 
ext/mbstring/oniguruma/enc/koi8.lo ext/mbstring/oniguruma/enc/koi8_r.lo 
ext/mbstring/oniguruma/enc/big5.lo ext/mbstring/oniguruma/enc/utf16_be.lo 
ext/mbstring/oniguruma/enc/utf16_le.lo ext/mbstring/oniguruma/enc/utf32_be.lo 
ext/mbstring/oniguruma/enc/utf32_le.lo ext/mbstring/oniguruma/enc/gb18030.lo 
ext/mbstring/libmbfl/filters/html_entities.lo 
ext/mbstring/libmbfl/filters/mbfilter_7bit.lo 
ext/mbstring/libmbfl/filters/mbfilter_ascii.lo 
ext/mbstring/libmbfl/filters/mbfilter_base64.lo 
ext/mbstring/libmbfl/filters/mbfilter_big5.lo 
ext/mbstring/libmbfl/filters/mbfilter_byte2.lo 
ext/mbstring/libmbfl/filters/mbfilter_byte4.lo 
ext/mbstring/libmbfl/filters/mbfilter_cp1251.lo 
ext/mbstring/libmbfl/filters/mbfilter_cp1252.lo 
ext/mbstring/libmbfl/filters/mbfilter_cp866.lo 
ext/mbstring/libmbfl/filters/mbfilter_cp932.lo 
ext/mbstring/libmbfl/filters/mbfilter_cp936.lo 
ext/mbstring/libmbfl/filters/mbfilter_euc_cn.lo 
ext/mbstring/libmbfl/filters/mbfilter_euc_jp.lo 
ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.lo 
ext/mbstring/libmbfl/filters/mbfilter_cp51932.lo 
ext/mbstring/libmbfl/filters/mbfilter_euc_kr.lo 
ext/mbstring/libmbfl/filters/mbfilter_euc_tw.lo 
ext/mbstring/libmbfl/filters/mbfilter_htmlent.lo 
ext/mbstring/libmbfl/filters/mbfilter_hz.lo 
ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.lo 
ext/mbstring/libmbfl/filters/mbfilter_iso8859_1.lo 
ext/mbstring/libmbfl/filters/mbfilter_iso8859_10.lo 
ext/mbstring/libmbfl/filters/mbfilter_iso8859_13.lo 
ext/mbstring/libmbfl/filters/mbfilter_iso8859_14.lo 
ext/mbstring/libmbfl/filters/mbfilter_iso8859_15.lo 
ext/mbstring/libmbfl/filters/mbfilter_iso8859_16.lo 
ext/mbstring/libmbfl/filters/mbfilter_iso8859_2.lo 
ext/mbstring/libmbfl/filters/mbfilter_iso8859_3.lo 
ext/mbstring/libmbfl/filters/mbfilter_iso8859_4.lo 
ext/mbstring/libmbfl/filters/mbfilter_iso8859_5.lo 
ext/mbstring/libmbfl/filters/mbfilter_iso8859_6.lo 
ext/mbstring/libmbfl/filters/mbfilter_iso8859_7.lo 
ext/mbstring/libmbfl/filters/mbfilter_iso8859_8.lo 
ext/mbstring/libmbfl/filters/mbfilter_iso8859_9.lo 
ext/mbstring/libmbfl/filters/mbfilter_jis.lo 
ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.lo 
ext/mbstring/libmbfl/filters/mbfilter_koi8r.lo 
ext/mbstring/libmbfl/filters/mbfilter_armscii8.lo 
ext/mbstring/libmbfl/filters/mbfilter_qprint.lo 
ext/mbstring/libmbfl/filters/mbfilter_sjis.lo 
ext/mbstring/libmbfl/filters/mbfilter_ucs2.lo 
ext/mbstring/libmbfl/filters/mbfilter_ucs4.lo 
ext/mbstring/libmbfl/filters/mbfilter_uhc.lo 
ext/mbstring/libmbfl/filters/mbfilter_utf16.lo 
ext/mbstring/libmbfl/filters/mbfilter_utf32.lo 
ext/mbstring/libmbfl/filters/mbfilter_utf7.lo 
ext/mbstring/libmbfl/filters/mbfilter_utf7imap.lo 
ext/mbstring/libmbfl/filters/mbfilter_utf8.lo 
ext/mbstring/libmbfl/filters/mbfilter_uuencode.lo 
ext/mbstring/libmbfl/mbfl/mbfilter.lo 
ext/mbstring/libmbfl/mbfl/mbfilter_8bit.lo 
ext/mbstring/libmbfl/mbfl/mbfilter_pass.lo 
ext/mbstring/libmbfl/mbfl/mbfilter_wchar.lo 
ext/mbstring/libmbfl/mbfl/mbfl_convert.lo 
ext/mbstring/libmbfl/mbfl/mbfl_encoding.lo 
ext/mbstring/libmbfl/mbfl/mbfl_filter_output.lo 
ext/mbstring/libmbfl/mbfl/mbfl_ident.lo ext/mbstring/libmbfl/mbfl/mbfl_language.lo 
ext/mbstring/libmbfl/mbfl/mbfl_memory_device.lo 
ext/mbstring/libmbfl/mbfl/mbfl_string.lo 
ext/mbstring/libmbfl/mbfl/mbfl_allocators.lo ext/mbstring/libmbfl/nls/nls_de.lo 
ext/mbstring/libmbfl/nls/nls_en.lo ext/mbstring/libmbfl/nls/nls_ja.lo 
ext/mbstring/libmbfl/nls/nls_kr.lo ext/mbstring/libmbfl/nls/nls_neutral.lo 
ext/mbstring/libmbfl/nls/nls_ru.lo ext/mbstring/libmbfl/nls/nls_uni.lo 
ext/mbstring/libmbfl/nls/nls_zh.lo ext/mbstring/libmbfl/nls/nls_hy.lo 
ext/mbstring/libmbfl/nls/nls_tr.lo ext/mbstring/mbstring.lo 
ext/mbstring/php_unicode.lo 
ext/mbstring/mb_gpc.lo ext/mbstring/php_mbregex.lo ext/mcrypt/mcrypt.lo 
ext/pgsql/pgsql.lo 
ext/posix/posix.lo ext/pspell/pspell.lo ext/session/session.lo 
ext/session/mod_files.lo 
ext/session/mod_mm.lo ext/session/mod_user.lo ext/simplexml/simplexml.lo 
ext/sockets/sockets.lo 
regex/regcomp.lo regex/regexec.lo regex/regerror.lo regex/regfree.lo 
ext/standard/array.lo 
ext/standard/base64.lo ext/standard/basic_functions.lo ext/standard/browscap.lo 
ext/standard/crc32.lo ext/standard/crypt.lo ext/standard/cyr_convert.lo 
ext/standard/datetime.lo ext/standard/dir.lo ext/standard/dl.lo 
ext/standard/dns.lo 
ext/standard/exec.lo ext/standard/file.lo ext/standard/filestat.lo 
ext/standard/flock_compat.lo 
ext/standard/formatted_print.lo ext/standard/fsock.lo ext/standard/head.lo 
ext/standard/html.lo 
ext/standard/image.lo ext/standard/info.lo ext/standard/iptc.lo 
ext/standard/lcg.lo 
ext/standard/link.lo ext/standard/mail.lo ext/standard/math.lo ext/standard/md5.lo 
ext/standard/metaphone.lo ext/standard/microtime.lo ext/standard/pack.lo 
ext/standard/pageinfo.lo ext/standard/quot_print.lo ext/standard/rand.lo 
ext/standard/reg.lo 
ext/standard/soundex.lo ext/standard/string.lo ext/standard/scanf.lo 
ext/standard/syslog.lo 
ext/standard/type.lo ext/standard/uniqid.lo ext/standard/url.lo 
ext/standard/var.lo 
ext/standard/versioning.lo ext/standard/assert.lo ext/standard/strnatcmp.lo 
ext/standard/levenshtein.lo ext/standard/incomplete_class.lo 
ext/standard/url_scanner_ex.lo 
ext/standard/ftp_fopen_wrapper.lo ext/standard/http_fopen_wrapper.lo 
ext/standard/php_fopen_wrapper.lo ext/standard/credits.lo ext/standard/css.lo 
ext/standard/var_unserializer.lo ext/standard/ftok.lo ext/standard/sha1.lo 
ext/standard/user_filters.lo ext/standard/uuencode.lo ext/standard/filters.lo 
ext/standard/proc_open.lo ext/standard/streamsfuncs.lo ext/standard/http.lo 
ext/tokenizer/tokenizer.lo ext/tokenizer/tokenizer_data.lo ext/xml/xml.lo 
ext/xml/compat.lo 
TSRM/TSRM.lo TSRM/tsrm_strtok_r.lo TSRM/tsrm_virtual_cwd.lo main/main.lo 
main/snprintf.lo 
main/spprintf.lo main/php_sprintf.lo main/safe_mode.lo main/fopen_wrappers.lo 
main/alloca.lo 
main/php_scandir.lo main/php_ini.lo main/SAPI.lo main/rfc1867.lo 
main/php_content_types.lo 
main/strlcpy.lo main/strlcat.lo main/mergesort.lo main/reentrancy.lo 
main/php_variables.lo 
main/php_ticks.lo main/network.lo main/php_open_temporary_file.lo 
main/php_logos.lo 
main/output.lo main/streams/streams.lo main/streams/cast.lo main/streams/memory.lo 
main/streams/filter.lo main/streams/plain_wrapper.lo main/streams/userspace.lo 
main/streams/transports.lo main/streams/xp_socket.lo main/streams/mmap.lo 
Zend/zend_language_parser.lo Zend/zend_language_scanner.lo Zend/zend_ini_parser.lo 
Zend/zend_ini_scanner.lo Zend/zend_alloc.lo Zend/zend_compile.lo 
Zend/zend_constants.lo 
Zend/zend_dynamic_array.lo Zend/zend_execute_API.lo Zend/zend_highlight.lo 
Zend/zend_llist.lo 
Zend/zend_opcode.lo Zend/zend_operators.lo Zend/zend_ptr_stack.lo 
Zend/zend_stack.lo 
Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo Zend/zend_extensions.lo 
Zend/zend_hash.lo 
Zend/zend_list.lo Zend/zend_indent.lo Zend/zend_builtin_functions.lo 
Zend/zend_sprintf.lo 
Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo Zend/zend_ts_hash.lo 
Zend/zend_stream.lo Zend/zend_iterators.lo Zend/zend_interfaces.lo 
Zend/zend_exceptions.lo 
Zend/zend_strtod.lo Zend/zend_objects.lo Zend/zend_object_handlers.lo 
Zend/zend_objects_API.lo 
Zend/zend_default_classes.lo Zend/zend_execute.lo ext/ncurses/ncurses.lo 
ext/ncurses/ncurses_fe.lo ext/ncurses/ncurses_functions.lo 
ext/readline/readline.lo 
sapi/cli/php_cli.lo sapi/cli/php_cli_readline.lo sapi/cli/getopt.lo 
main/internal_functions_cli.lo -lcrypt -lreadline -lncurses -laspell -lpspell -lpq 
-lpanel -
lncurses -lmcrypt -lltdl -lt1 -lfreetype -lpng -lz -ljpeg -ldb-4.8 -lgdbm -lcurl -
lbz2 -lz -
lpcre -lcrypt -lrt -lresolv -lm -ldl -lnsl -lcrypt -lxml2 -lz -lm -lcurl -lxml2 -
lz -lm -lxml2 
-lz -lm -lxml2 -lz -lm -lcrypt  -o sapi/cli/php
ext/pcre/php_pcre.o: In function `pcre_get_compiled_regex_cache':
php_pcre.c:(.text+0xc55): undefined reference to `pcre_info'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
emake failed
 * ERROR: dev-lang/php-5.2.17 failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *              ebuild.sh, line   93:  Called src_compile
 *            environment, line 4662:  Called eblit-run 'src_compile' 'v1'
 *            environment, line 1714:  Called eblit-php-src_compile
 *   src_compile-v1.eblit, line   15:  Called php_sapi_build 'cli'
 *   src_compile-v1.eblit, line   24:  Called die
 * The specific snippet of code:
 *   	emake || die "emake failed"
 * 
 * If you need support, post the output of `emerge --info '=dev-lang/php-5.2.17'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/php-5.2.17'`.
 * The complete build log is located at '/var/tmp/portage/dev-lang/php-
5.2.17/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/php-
5.2.17/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/php-5.2.17/work/sapis-build/cli'
 * S: '/var/tmp/portage/dev-lang/php-5.2.17/work/php-5.2.17'

>>> Failed to emerge dev-lang/php-5.2.17, Log file:

>>>  '/var/tmp/portage/dev-lang/php-5.2.17/temp/build.log'

 * Messages for package dev-lang/php-5.2.17:

 * ERROR: dev-lang/php-5.2.17 failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *              ebuild.sh, line   93:  Called src_compile
 *            environment, line 4662:  Called eblit-run 'src_compile' 'v1'
 *            environment, line 1714:  Called eblit-php-src_compile
 *   src_compile-v1.eblit, line   15:  Called php_sapi_build 'cli'
 *   src_compile-v1.eblit, line   24:  Called die
 * The specific snippet of code:
 *   	emake || die "emake failed"
 * 
 * If you need support, post the output of `emerge --info '=dev-lang/php-5.2.17'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/php-5.2.17'`.
 * The complete build log is located at '/var/tmp/portage/dev-lang/php-
5.2.17/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/php-
5.2.17/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/php-5.2.17/work/sapis-build/cli'
 * S: '/var/tmp/portage/dev-lang/php-5.2.17/work/php-5.2.17'



Expected result:
----------------
emake should PASS

Actual result:
--------------
emake FAILS

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-01-26 15:15 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2020-01-26 15:15 UTC] cmb@php.net
Does this still happen with any of the actively supported PHP
versions[1]?

[1] <https://www.php.net/supported-versions.php>
 [2020-02-09 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Jun 01 20:01:24 2020 UTC