[MacPorts] #20833: php5: build fails on PowerPC: 'MYSQLND_LLU_SPEC' undeclared (first use in this function)
#20833: php5: build fails on PowerPC: 'MYSQLND_LLU_SPEC' undeclared (first use in this function) -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: php5 -------------------------------------+-------------------------------------- Scott Haneda [http://lists.macosforge.org/pipermail/macports- users/2009-August/016293.html 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 }}} -- Ticket URL: <http://trac.macports.org/ticket/20833> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20833: php5: build fails on PowerPC: 'MYSQLND_LLU_SPEC' undeclared (first use in this function) -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: php5 -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * cc: talklists@… (added) * status: new => assigned Comment: I confirmed this on my Power Mac G4. This is an [http://bugs.php.net/bug.php?id=48198 upstream bug] which has already been fixed in their CVS. I will try the patch locally. -- Ticket URL: <http://trac.macports.org/ticket/20833#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20833: php5: build fails on PowerPC: 'MYSQLND_LLU_SPEC' undeclared (first use in this function) -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: php5 -------------------------------------+-------------------------------------- Comment(by ryandesign@…): Attached is the patch I will now test. -- Ticket URL: <http://trac.macports.org/ticket/20833#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20833: php5: build fails on PowerPC: 'MYSQLND_LLU_SPEC' undeclared (first use in this function) -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: php5 -------------------------------------+-------------------------------------- Comment(by scott@…): Thanks Ryan. Can you point me to instruction on how to apply this patch? -- Ticket URL: <http://trac.macports.org/ticket/20833#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20833: php5: build fails on PowerPC: 'MYSQLND_LLU_SPEC' undeclared (first use in this function) -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: php5 -------------------------------------+-------------------------------------- Comment(by ryandesign@…): {{{ 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. -- Ticket URL: <http://trac.macports.org/ticket/20833#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20833: php5, php5-devel: build fails on PowerPC: 'MYSQLND_LLU_SPEC' undeclared (first use in this function) --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: Port: php5, php5-devel | --------------------------------------+------------------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed * port: php5 => php5, php5-devel Comment: Committed to php5 in r56392 and php5-devel in r56393. -- Ticket URL: <http://trac.macports.org/ticket/20833#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts