Bug #76962 [NEW]: Cannot compile enchant module with enchant >= 2.0
| From: | grknight at gentoo dot org | Date: | Tue, 02 Oct 2018 17:11:59 +0000 |
| Subject: | Bug #76962 [NEW]: Cannot compile enchant module with enchant >= 2.0 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-217370@lists.php.net to get a copy of this message | ||
From: grknight at gentoo dot org
Operating system: Gentoo Linux
PHP version: 7.2.10
Package: Compile Failure
Bug Type: Bug
Bug description:Cannot compile enchant module with enchant >= 2.0
Description:
------------
Enchant 2.0 has a compatibility break in it's API/ABI.
Trying to compile PHP 7.2.10 ends in failure
Expected result:
----------------
Compilation success
Actual result:
--------------
/bin/sh
/var/tmp/portage/dev-lang/php-7.2.10/work/sapis-build/cli/libtool
--silent --preserve-dup-deps --mode=link x86_64-pc-linux-gnu-gcc
-export-dyn
amic -O2 -pipe -fvisibility=hidden -DZEND_SIGNALS -Wl,-O1
-Wl,--as-needed 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/date/lib/parse_iso_intervals.lo
ext/date/lib/interval.lo ext/pcre/php_pcre.lo ext/enchant/enchant.lo
ext/readline/readline.lo ext/readline/readline_cli.lo
ext/reflection/php_reflection.lo ext/spl/php_spl.lo
ext/spl/spl_functions.lo ext/spl/spl_engine.lo ext/spl/spl_iterators.lo
ext/spl/spl_array.lo ext/spl/spl_directory.lo ext/spl/spl_exceptions.lo
ext/spl/spl_observer.lo ext/spl/spl_dllist.lo ext/spl/spl_heap.lo
ext/spl/spl_fixedarray.lo ext/standard/crypt_freesec.lo
ext/standard/crypt_blowfish.lo ext/standard/crypt_sha512.lo
ext/standard/crypt_sha256.lo ext/standard/php_crypt_r.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/mt_rand.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/standard/password.lo ext/standard/random.lo
TSRM/TSRM.lo TSRM/tsrm_strtok_r.lo main/main.lo main/snprintf.lo
main/spprintf.lo main/php_sprintf.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/explicit_bzero.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/output.lo
main/getopt.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 main/streams/glob_wrapper.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_dtrace.lo
Zend/zend_execute_API.lo Zend/zend_highlight.lo Zend/zend_llist.lo
Zend/zend_vm_opcodes.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_builtin_functions.lo Zend/zend_sprintf.lo
Zend/zend_ini.lo Zend/zend_sort.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_gc.lo Zend/zend_closures.lo Zend/zend_float.lo
Zend/zend_string.lo Zend/zend_signal.lo Zend/zend_generators.lo
Zend/zend_virtual_cwd.lo Zend/zend_ast.lo Zend/zend_objects.lo
Zend/zend_object_handlers.lo Zend/zend_objects_API.lo
Zend/zend_default_classes.lo Zend/zend_inheritance.lo
Zend/zend_smart_str.lo Zend/zend_execute.lo
main/internal_functions_cli.lo sapi/cli/php_cli.lo
sapi/cli/php_http_parser.lo sapi/cli/php_cli_server.lo
sapi/cli/ps_title.lo sapi/cli/php_cli_process_title.lo -lcrypt -lresolv
-lcrypt -ledit -lncurses -lenchant -lpcre -lrt -lm -ldl -lnsl -lcrypt
-lcrypt -o sapi/cli/php
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
ext/enchant/enchant.o: in function `zif_enchant_dict_quick_check':
enchant.c:(.text+0xbd0): undefined reference to
`enchant_dict_free_suggestions'
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
ext/enchant/enchant.o: in function `zif_enchant_dict_suggest':
enchant.c:(.text+0xd3f): undefined reference to
`enchant_dict_free_suggestions'
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
ext/enchant/enchant.o: in function `zif_enchant_dict_add_to_personal':
enchant.c:(.text+0xe04): undefined reference to
`enchant_dict_add_to_personal'/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
ext/enchant/enchant.o: in function `zif_enchant_dict_is_in_session':
enchant.c:(.text+0x15bd): undefined reference to
`enchant_dict_is_in_session'
--
Edit bug report at https://bugs.php.net/bug.php?id=76962&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=76962&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=76962&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=76962&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=76962&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=76962&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=76962&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=76962&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=76962&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=76962&r=support
Expected behavior: https://bugs.php.net/fix.php?id=76962&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=76962&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=76962&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=76962&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=76962&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=76962&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=76962&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=76962&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=76962&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=76962&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=76962&r=mysqlcfg