Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#23620 closed defect (fixed)

php5-gmp build failure with gmp 5.0.1_0

Reported by: juri.saltbacka@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: vikingjs@…, moonpyk@…
Port: php5-gmp

Description (last modified by ryandesign (Ryan Carsten Schmidt))

OS: Mac OS X 10.5.8
XCode version: 3.1.2

--->  Building php5-gmp
DEBUG: Executing org.macports.build (php5-gmp)
DEBUG: Building in gmp
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-gmp/work/php-5.3.1/ext/gmp" && /usr/bin/make -j1 all'
/bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-gmp/work/php-5.3.1/ext/gmp/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_php_php5-gmp/work/php-5.3.1/ext/gmp -DPHP_ATOM_INC -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-gmp/work/php-5.3.1/ext/gmp/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-gmp/work/php-5.3.1/ext/gmp/main -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-gmp/work/php-5.3.1/ext/gmp -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  -I/opt/local/include -DHAVE_CONFIG_H  -O2 -arch i386   -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-gmp/work/php-5.3.1/ext/gmp/gmp.c -o gmp.lo 
 /usr/bin/gcc-4.0 -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-gmp/work/php-5.3.1/ext/gmp -DPHP_ATOM_INC -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-gmp/work/php-5.3.1/ext/gmp/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-gmp/work/php-5.3.1/ext/gmp/main -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-gmp/work/php-5.3.1/ext/gmp -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 -I/opt/local/include -DHAVE_CONFIG_H -O2 -arch i386 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-gmp/work/php-5.3.1/ext/gmp/gmp.c  -fno-common -DPIC -o .libs/gmp.o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-gmp/work/php-5.3.1/ext/gmp/gmp.c: In function 'zif_gmp_random':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-gmp/work/php-5.3.1/ext/gmp/gmp.c:1362: error: '__GMP_BITS_PER_MP_LIMB' undeclared (first use in this function)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-gmp/work/php-5.3.1/ext/gmp/gmp.c:1362: error: (Each undeclared identifier is reported only once
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-gmp/work/php-5.3.1/ext/gmp/gmp.c:1362: error: for each function it appears in.)
make: *** [gmp.lo] Error 1
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-gmp/work/php-5.3.1/ext/gmp" && /usr/bin/make -j1 all " returned error 2
DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-gmp/work/php-5.3.1/ext/gmp" && /usr/bin/make -j1 all " returned error 2
    while executing
"$procedure $targetname"
Warning: the following items did not execute (for php5-gmp): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

Change History (7)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Keywords: gmp php5-gmp build failure removed
Owner: changed from macports-tickets@… to ryandesign@…

comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Status: newassigned

I see that here too on 10.6.2. gmp 5.0.1 must've broken it; this worked fine with gmp 4. I'll have to file an upstream bug report.

comment:3 in reply to:  2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign@…:

I'll have to file an upstream bug report.

Done.

comment:4 Changed 15 years ago by vikingjs@…

Cc: vikingjs@… added

Cc Me!

comment:5 Changed 15 years ago by moonpyk@…

Cc: moonpyk@… added

Cc Me!

comment:6 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Summary: php5-gmp 5.0.1_0 build failurephp5-gm build failure with gmp 5.0.1_0

Fixed in r63957 using the patch suggested in the upstream bug.

comment:7 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: php5-gm build failure with gmp 5.0.1_0php5-gmp build failure with gmp 5.0.1_0
Note: See TracTickets for help on using tickets.