#15430 closed defect (fixed)
php5-yaz not compiling on 10.5.2, MacBook Pro
Reported by: | coolfactor@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | php5-yaz | Cc: | |
Port: |
Description
I get the following output:
port install php5-yaz ---> Fetching php5-yaz ---> Verifying checksum(s) for php5-yaz ---> Extracting php5-yaz ---> Configuring php5-yaz ---> Building php5-yaz with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8" && make all " returned error 2 Command output: /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8/libtool --mode=compile /usr/bin/gcc-4.0 -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8 -DPHP_ATOM_INC -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8/main -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8 -I/opt/local/include/php -I/opt/local/include/php/main -I/opt/local/include/php/TSRM -I/opt/local/include/php/Zend -I/opt/local/include/php/ext -I/opt/local/include/php/ext/date/lib -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include -DHAVE_CONFIG_H -O2 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8/php_yaz.c -o php_yaz.lo mkdir .libs /usr/bin/gcc-4.0 -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8 -DPHP_ATOM_INC -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8/main -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8 -I/opt/local/include/php -I/opt/local/include/php/main -I/opt/local/include/php/TSRM -I/opt/local/include/php/Zend -I/opt/local/include/php/ext -I/opt/local/include/php/ext/date/lib -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include -DHAVE_CONFIG_H -O2 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8/php_yaz.c -fno-common -DPIC -o .libs/php_yaz.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8/php_yaz.c: In function 'yaz_association_mk': /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8/php_yaz.c:84: error: too few arguments to function 'ccl_parser_create' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8/php_yaz.c:85: error: dereferencing pointer to incomplete type /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8/php_yaz.c: In function 'yaz_association_destroy': /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8/php_yaz.c:101: error: dereferencing pointer to incomplete type /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8/php_yaz.c: In function 'ext_grs1': /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8/php_yaz.c:1295: error: 'oident' undeclared (first use in this function) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8/php_yaz.c:1295: error: (Each undeclared identifier is reported only once /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8/php_yaz.c:1295: error: for each function it appears in.) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8/php_yaz.c:1295: error: 'ent' undeclared (first use in this function) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8/php_yaz.c:1303: error: 'VAL_GRS1' undeclared (first use in this function) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8/php_yaz.c:1310: error: 'VAL_SOIF' undeclared (first use in this function) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8/php_yaz.c:1311: error: 'VAL_HTML' undeclared (first use in this function) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8/php_yaz.c:1312: error: 'VAL_TEXT_XML' undeclared (first use in this function) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8/php_yaz.c:1313: error: 'VAL_APPLICATION_XML' undeclared (first use in this function) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8/php_yaz.c: In function 'zif_yaz_ccl_conf': /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8/php_yaz.c:1829: error: dereferencing pointer to incomplete type /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8/php_yaz.c:1830: error: dereferencing pointer to incomplete type /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8/php_yaz.c:1845: error: dereferencing pointer to incomplete type /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8/php_yaz.c: In function 'zif_yaz_ccl_parse': /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8/php_yaz.c:1871: warning: initialization makes pointer from integer without a cast /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8/php_yaz.c:1873: warning: assignment makes pointer from integer without a cast /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8/php_yaz.c:1875: error: dereferencing pointer to incomplete type /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8/php_yaz.c:1877: error: dereferencing pointer to incomplete type /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8/php_yaz.c:1878: error: dereferencing pointer to incomplete type /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-yaz/work/yaz-1.0.8/php_yaz.c:1879: error: dereferencing pointer to incomplete type make: *** [php_yaz.lo] Error 1 Error: Status 1 encountered during processing.
Change History (3)
comment:1 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | yves@… removed |
---|---|
Milestone: | → Port Bugs |
Owner: | changed from macports-tickets@… to ryandesign@… |
Status: | new → assigned |
comment:2 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I see a new version 1.0.14 has been released, and this works for me, so I updated to it in r37076. Please wait 12 hours, then "sudo port selfupdate" and try installing php5-yaz again. If it still doesn't work on Leopard, please re-open this ticket.
Note: See
TracTickets for help on using
tickets.
Removing Cc to yves because he no longer maintains this port.
I see similar errors on 10.4.11 on a MacBookPro3,1 with Xcode 2.4.1