Opened 15 years ago

Closed 15 years ago

#20833 closed defect (fixed)

php5, php5-devel: build fails on PowerPC: 'MYSQLND_LLU_SPEC' undeclared (first use in this function)

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: talklists@…
Port: php5, php5-devel

Description

Scott Haneda reported on the mailing list that php5 @5.3.0_2 doesn't build on his Power Mac G5:

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php5/work/php-5.3.0/ext/mysqlnd/mysqlnd_ps_codec.c: In function 'ps_fetch_from_1_to_8_bytes':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php5/work/php-5.3.0/ext/mysqlnd/mysqlnd_ps_codec.c:82: error: 'MYSQLND_LLU_SPEC' undeclared (first use in this function)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php5/work/php-5.3.0/ext/mysqlnd/mysqlnd_ps_codec.c:82: error: (Each undeclared identifier is reported only once
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php5/work/php-5.3.0/ext/mysqlnd/mysqlnd_ps_codec.c:82: error: for each function it appears in.)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php5/work/php-5.3.0/ext/mysqlnd/mysqlnd_ps_codec.c:111: error: 'MYSQLND_LL_SPEC' undeclared (first use in this function)
make: *** [ext/mysqlnd/mysqlnd_ps_codec.lo] Error 1

Attachments (1)

php5.diff (1.8 KB) - added by ryandesign (Ryan Carsten Schmidt) 15 years ago.

Download all attachments as: .zip

Change History (8)

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

Cc: talklists@… added
Status: newassigned

I confirmed this on my Power Mac G4.

This is an upstream bug which has already been fixed in their CVS. I will try the patch locally.

Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: php5.diff added

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

Attached is the patch I will now test.

comment:3 Changed 15 years ago by scott@…

Cc: scott@… added

Cc Me!

comment:4 Changed 15 years ago by scott@…

Thanks Ryan. Can you point me to instruction on how to apply this patch?

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

cd $(port dir php5)
patch -p0 < /path/to/php5.diff

You may have to run "patch" as sudo, depending on the ownership of your ports tree.

comment:6 Changed 15 years ago by scott@…

Cc: scott@… removed

Cc Me!

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

Port: php5-devel added
Resolution: fixed
Status: assignedclosed
Summary: php5: build fails on PowerPC: 'MYSQLND_LLU_SPEC' undeclared (first use in this function)php5, php5-devel: build fails on PowerPC: 'MYSQLND_LLU_SPEC' undeclared (first use in this function)

Committed to php5 in r56392 and php5-devel in r56393.

Note: See TracTickets for help on using tickets.