[MacPorts] #51897: php70-apache2handler: Can't be linked on 10.5.8

MacPorts noreply at macports.org
Sat Jul 23 15:28:15 PDT 2016


#51897: php70-apache2handler: Can't be linked on 10.5.8
--------------------------+----------------------------------
 Reporter:  land.apfel@…  |      Owner:  macports-tickets@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.3.4
 Keywords:                |       Port:  php70-apache2handler
--------------------------+----------------------------------
 I was trying to compile {{{php70-apache2handler+universal}}} (ppc + ppc64)
 on Mac OS X 10.5.8.

 I got the following error:
 {{{
 /bin/sh
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php/php70-apache2handler/work/php-7.0.9/libtool
 --silent --preserve-dup-deps --mode=compile ccache /usr/bin/gcc-4.2
 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Imain/
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php/php70-apache2handler/work/php-7.0.9/main/
 -DPHP_ATOM_INC
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php/php70-apache2handler/work/php-7.0.9/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php/php70-apache2handler/work/php-7.0.9/main
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php/php70-apache2handler/work/php-7.0.9
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php/php70-apache2handler/work/php-7.0.9/ext/date/lib
 -I/opt/local/include/libxml2 -I/opt/local/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php/php70-apache2handler/work/php-7.0.9/TSRM
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php/php70-apache2handler/work/php-7.0.9/Zend
 -I/opt/local/include -no-cpp-precomp  -pipe -Os -arch ppc -arch ppc64
 -fvisibility=hidden   -c main/internal_functions.c -o
 main/internal_functions.lo
 ccache /usr/bin/gcc-4.2  -pipe -Os -arch ppc -arch ppc64
 -fvisibility=hidden    -L/opt/local/lib ext/date/php_date.o
 ext/date/lib/astro.o ext/date/lib/dow.o ext/date/lib/parse_date.o
 ext/date/lib/parse_tz.o ext/date/lib/timelib.o ext/date/lib/tm2unixtime.o
 ext/date/lib/unixtime2tm.o ext/date/lib/parse_iso_intervals.o
 ext/date/lib/interval.o ext/libxml/libxml.o ext/pcre/php_pcre.o
 ext/zlib/zlib.o ext/zlib/zlib_fopen_wrapper.o ext/zlib/zlib_filter.o
 ext/bcmath/bcmath.o ext/bcmath/libbcmath/src/add.o
 ext/bcmath/libbcmath/src/div.o ext/bcmath/libbcmath/src/init.o
 ext/bcmath/libbcmath/src/neg.o ext/bcmath/libbcmath/src/outofmem.o
 ext/bcmath/libbcmath/src/raisemod.o ext/bcmath/libbcmath/src/rt.o
 ext/bcmath/libbcmath/src/sub.o ext/bcmath/libbcmath/src/compare.o
 ext/bcmath/libbcmath/src/divmod.o ext/bcmath/libbcmath/src/int2num.o
 ext/bcmath/libbcmath/src/num2long.o ext/bcmath/libbcmath/src/output.o
 ext/bcmath/libbcmath/src/recmul.o ext/bcmath/libbcmath/src/sqrt.o
 ext/bcmath/libbcmath/src/zero.o ext/bcmath/libbcmath/src/debug.o
 ext/bcmath/libbcmath/src/doaddsub.o ext/bcmath/libbcmath/src/nearzero.o
 ext/bcmath/libbcmath/src/num2str.o ext/bcmath/libbcmath/src/raise.o
 ext/bcmath/libbcmath/src/rmzero.o ext/bcmath/libbcmath/src/str2num.o
 ext/bz2/bz2.o ext/bz2/bz2_filter.o ext/ctype/ctype.o ext/dom/php_dom.o
 ext/dom/attr.o ext/dom/document.o ext/dom/domerrorhandler.o
 ext/dom/domstringlist.o ext/dom/domexception.o ext/dom/namelist.o
 ext/dom/processinginstruction.o ext/dom/cdatasection.o
 ext/dom/documentfragment.o ext/dom/domimplementation.o ext/dom/element.o
 ext/dom/node.o ext/dom/string_extend.o ext/dom/characterdata.o
 ext/dom/documenttype.o ext/dom/domimplementationlist.o ext/dom/entity.o
 ext/dom/nodelist.o ext/dom/text.o ext/dom/comment.o
 ext/dom/domconfiguration.o ext/dom/domimplementationsource.o
 ext/dom/entityreference.o ext/dom/notation.o ext/dom/xpath.o
 ext/dom/dom_iterators.o ext/dom/typeinfo.o ext/dom/domerror.o
 ext/dom/domlocator.o ext/dom/namednodemap.o ext/dom/userdatahandler.o
 ext/fileinfo/fileinfo.o ext/fileinfo/libmagic/apprentice.o
 ext/fileinfo/libmagic/apptype.o ext/fileinfo/libmagic/ascmagic.o
 ext/fileinfo/libmagic/cdf.o ext/fileinfo/libmagic/cdf_time.o
 ext/fileinfo/libmagic/compress.o ext/fileinfo/libmagic/encoding.o
 ext/fileinfo/libmagic/fsmagic.o ext/fileinfo/libmagic/funcs.o
 ext/fileinfo/libmagic/is_tar.o ext/fileinfo/libmagic/magic.o
 ext/fileinfo/libmagic/print.o ext/fileinfo/libmagic/readcdf.o
 ext/fileinfo/libmagic/softmagic.o ext/filter/filter.o
 ext/filter/sanitizing_filters.o ext/filter/logical_filters.o
 ext/filter/callback_filter.o ext/hash/hash.o ext/hash/hash_md.o
 ext/hash/hash_sha.o ext/hash/hash_ripemd.o ext/hash/hash_haval.o
 ext/hash/hash_tiger.o ext/hash/hash_gost.o ext/hash/hash_snefru.o
 ext/hash/hash_whirlpool.o ext/hash/hash_adler32.o ext/hash/hash_crc32.o
 ext/hash/hash_fnv.o ext/hash/hash_joaat.o ext/json/json.o
 ext/json/json_encoder.o ext/json/json_parser.o ext/json/json_scanner.o
 ext/pdo/pdo.o ext/pdo/pdo_dbh.o ext/pdo/pdo_stmt.o
 ext/pdo/pdo_sql_parser.o ext/pdo/pdo_sqlstate.o
 ext/reflection/php_reflection.o ext/session/mod_user_class.o
 ext/session/session.o ext/session/mod_files.o ext/session/mod_mm.o
 ext/session/mod_user.o ext/simplexml/simplexml.o ext/simplexml/sxe.o
 ext/spl/php_spl.o ext/spl/spl_functions.o ext/spl/spl_engine.o
 ext/spl/spl_iterators.o ext/spl/spl_array.o ext/spl/spl_directory.o
 ext/spl/spl_exceptions.o ext/spl/spl_observer.o ext/spl/spl_dllist.o
 ext/spl/spl_heap.o ext/spl/spl_fixedarray.o ext/standard/crypt_freesec.o
 ext/standard/crypt_blowfish.o ext/standard/crypt_sha512.o
 ext/standard/crypt_sha256.o ext/standard/php_crypt_r.o
 ext/standard/array.o ext/standard/base64.o ext/standard/basic_functions.o
 ext/standard/browscap.o ext/standard/crc32.o ext/standard/crypt.o
 ext/standard/cyr_convert.o ext/standard/datetime.o ext/standard/dir.o
 ext/standard/dl.o ext/standard/dns.o ext/standard/exec.o
 ext/standard/file.o ext/standard/filestat.o ext/standard/flock_compat.o
 ext/standard/formatted_print.o ext/standard/fsock.o ext/standard/head.o
 ext/standard/html.o ext/standard/image.o ext/standard/info.o
 ext/standard/iptc.o ext/standard/lcg.o ext/standard/link.o
 ext/standard/mail.o ext/standard/math.o ext/standard/md5.o
 ext/standard/metaphone.o ext/standard/microtime.o ext/standard/pack.o
 ext/standard/pageinfo.o ext/standard/quot_print.o ext/standard/rand.o
 ext/standard/soundex.o ext/standard/string.o ext/standard/scanf.o
 ext/standard/syslog.o ext/standard/type.o ext/standard/uniqid.o
 ext/standard/url.o ext/standard/var.o ext/standard/versioning.o
 ext/standard/assert.o ext/standard/strnatcmp.o ext/standard/levenshtein.o
 ext/standard/incomplete_class.o ext/standard/url_scanner_ex.o
 ext/standard/ftp_fopen_wrapper.o ext/standard/http_fopen_wrapper.o
 ext/standard/php_fopen_wrapper.o ext/standard/credits.o ext/standard/css.o
 ext/standard/var_unserializer.o ext/standard/ftok.o ext/standard/sha1.o
 ext/standard/user_filters.o ext/standard/uuencode.o ext/standard/filters.o
 ext/standard/proc_open.o ext/standard/streamsfuncs.o ext/standard/http.o
 ext/standard/password.o ext/standard/random.o ext/tokenizer/tokenizer.o
 ext/tokenizer/tokenizer_data.o ext/xml/xml.o ext/xml/compat.o
 ext/xmlreader/php_xmlreader.o ext/xmlwriter/php_xmlwriter.o
 ext/mysqlnd/mysqlnd.o ext/mysqlnd/mysqlnd_alloc.o
 ext/mysqlnd/mysqlnd_charset.o ext/mysqlnd/mysqlnd_wireprotocol.o
 ext/mysqlnd/mysqlnd_loaddata.o ext/mysqlnd/mysqlnd_reverse_api.o
 ext/mysqlnd/mysqlnd_net.o ext/mysqlnd/mysqlnd_statistics.o
 ext/mysqlnd/mysqlnd_driver.o ext/mysqlnd/mysqlnd_ext_plugin.o
 ext/mysqlnd/mysqlnd_auth.o ext/mysqlnd/mysqlnd_result.o
 ext/mysqlnd/mysqlnd_result_meta.o ext/mysqlnd/mysqlnd_debug.o
 ext/mysqlnd/mysqlnd_block_alloc.o ext/mysqlnd/mysqlnd_plugin.o
 ext/mysqlnd/php_mysqlnd.o ext/mysqlnd/mysqlnd_ps.o
 ext/mysqlnd/mysqlnd_ps_codec.o TSRM/TSRM.o TSRM/tsrm_strtok_r.o
 main/main.o main/snprintf.o main/spprintf.o main/php_sprintf.o
 main/fopen_wrappers.o main/alloca.o main/php_scandir.o main/php_ini.o
 main/SAPI.o main/rfc1867.o main/php_content_types.o main/strlcpy.o
 main/strlcat.o main/mergesort.o main/reentrancy.o main/php_variables.o
 main/php_ticks.o main/network.o main/php_open_temporary_file.o
 main/output.o main/getopt.o main/streams/streams.o main/streams/cast.o
 main/streams/memory.o main/streams/filter.o main/streams/plain_wrapper.o
 main/streams/userspace.o main/streams/transports.o
 main/streams/xp_socket.o main/streams/mmap.o main/streams/glob_wrapper.o
 Zend/zend_language_parser.o Zend/zend_language_scanner.o
 Zend/zend_ini_parser.o Zend/zend_ini_scanner.o Zend/zend_alloc.o
 Zend/zend_compile.o Zend/zend_constants.o Zend/zend_dtrace.o
 Zend/zend_execute_API.o Zend/zend_highlight.o Zend/zend_llist.o
 Zend/zend_vm_opcodes.o Zend/zend_opcode.o Zend/zend_operators.o
 Zend/zend_ptr_stack.o Zend/zend_stack.o Zend/zend_variables.o Zend/zend.o
 Zend/zend_API.o Zend/zend_extensions.o Zend/zend_hash.o Zend/zend_list.o
 Zend/zend_builtin_functions.o Zend/zend_sprintf.o Zend/zend_ini.o
 Zend/zend_sort.o Zend/zend_multibyte.o Zend/zend_ts_hash.o
 Zend/zend_stream.o Zend/zend_iterators.o Zend/zend_interfaces.o
 Zend/zend_exceptions.o Zend/zend_strtod.o Zend/zend_gc.o
 Zend/zend_closures.o Zend/zend_float.o Zend/zend_string.o
 Zend/zend_signal.o Zend/zend_generators.o Zend/zend_virtual_cwd.o
 Zend/zend_ast.o Zend/zend_objects.o Zend/zend_object_handlers.o
 Zend/zend_objects_API.o Zend/zend_default_classes.o
 Zend/zend_inheritance.o Zend/zend_smart_str.o Zend/zend_execute.o
 main/internal_functions.o  -lresolv -lbz2 -lz -lpcre -lm -lxml2 -lz -llzma
 -liconv -lm -lxml2 -lz -llzma -liconv -lm -lxml2 -lz -llzma -liconv -lm
 -lxml2 -lz -llzma -liconv -lm -lxml2 -lz -llzma -liconv -lm -lxml2 -lz
 -llzma -liconv -lm  -o libs/libphp7.bundle && cp libs/libphp7.bundle
 libs/libphp7.so
 Undefined symbols for architecture ppc:
   "_main", referenced from:
       start in crt1.10.5.o
 ld: symbol(s) not found for architecture ppc
 collect2: ld returned 1 exit status
 Undefined symbols for architecture ppc64:
   "_main", referenced from:
       start in crt1.10.5.o
 ld: symbol(s) not found for architecture ppc64
 collect2: ld returned 1 exit status
 lipo: can't open input file:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php/php70-apache2handler/work/.tmp/ccZNXZtr.out
 (No such file or directory)
 make: *** [libs/libphp7.bundle] Error 1
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php/php70-apache2handler/work/php-7.0.9'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php/php70-apache2handler/work/php-7.0.9"
 && /usr/bin/make -j2 -w libs/libphp7.bundle
 Exit code: 2
 Error: org.macports.build for port php70-apache2handler returned: command
 execution failed
 }}}
 (full [attachment:main.log main.log] attached)

-- 
Ticket URL: <https://trac.macports.org/ticket/51897>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list