Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#26000 closed defect (fixed)

php5-mysql 5.3.2 doesn't build with php5 5.3.3

Reported by: karim@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: spam@…, jeremy.g.ross@…, sean@…, eggcaker@…, jay@…, maxrogers@…
Port: php5, php5-mysql

Description

if I try to install php5-mysql I get this error:

$ sudo port install -p php5-mysql
--->  Computing dependencies for php5-mysql
--->  Building php5-mysql
Error: Target org.macports.build returned: shell command failed
Log for php5-mysql is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-mysql/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

What I can do? I'm new about

Attachments (1)

main.log (33.4 KB) - added by karim@… 14 years ago.
The log file mentioned in the error message

Download all attachments as: .zip

Change History (17)

Changed 14 years ago by karim@…

Attachment: main.log added

The log file mentioned in the error message

comment:1 Changed 14 years ago by spam@…

Same problem here (Mac OS X 10.6.4). After upgrading to the newest php packages I had some php malloc errors. Then I tried to reinstall all php packages and received the above error.

comment:2 Changed 14 years ago by spam@…

Cc: spam@… added

Cc Me!

comment:3 Changed 14 years ago by spam@…

Cc: spam@… removed

Cc Me!

comment:4 Changed 14 years ago by spam@…

Cc: spam@… added

Cc Me!

comment:5 Changed 14 years ago by spam@…

Perhaps this helps: I did a checkout the ports directory of the revision before the php5.3.3 commit:

svn co -r70350 http://svn.macports.org/repository/macports/trunk/dports

Then I replaced (backup first) the ports directory by the one I checked out. The ports directory you'll find here:

/opt/local/var/macports/sources/rsync.macports.org/release/ports

After that I run

portindex

in this directory. I'm not sure if this is necessary.

Now all is working once again and I stay with php 5.3.2 until this "bug" is fixed.

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

Keywords: php5-mysql install removed
Owner: changed from macports-tickets@… to ryandesign@…
Port: php5 php5-mysql added
Status: newassigned
Summary: php5-mysql get an Error: Status 1 encountered during processingphp5-mysql 5.3.2 doesn't build with php5 5.3.3

I am currently considering what to do about this. See #25789. Until then, manually going back to PHP 5.3.2, as Mr Ruflin showed, is a good suggestion. You can also refer to the InstallingOlderPort how-to document.

P.S: In the future please fill in the Port field and Cc the port's maintainers.

comment:7 Changed 14 years ago by jeremy.g.ross@…

Cc: jeremy.g.ross@… added

Cc Me!

comment:8 Changed 14 years ago by sean@…

Cc: sean@… added

Cc Me!

comment:9 Changed 14 years ago by eggcaker@…

Cc: eggcaker@… added

Cc Me!

comment:10 Changed 14 years ago by jay@…

Cc: jay@… added

Cc Me!

comment:11 Changed 14 years ago by maxrogers@…

Cc: maxrogers@… added

Cc Me!

comment:12 Changed 14 years ago by erickunder@…

Cc Me!

comment:13 Changed 14 years ago by rquigley@…

looks like it's now fixed upstream: http://bugs.php.net/bug.php?id=52413

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

Resolution: fixed
Status: assignedclosed

Building mysqli with external mysql libraries is fixed upstream, yes, but building mysqli with mysqlnd is still not fixed. I updated php5-mysql to 5.3.3 in r70568 incorporating the upstream fix for using external mysql libraries and disabling mysqlnd entirely until upstream fixes that as well.

comment:15 Changed 14 years ago by rquigley@…

Any chance that you can patch from trunk for http://bugs.php.net/bug.php?id=52417 as it looks like it's now fixed? I only ask because I'm using mysqli_fetch_all, which is only supported under mysqlnd.

comment:16 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Applied upstream's patch to php5 in r70653 and reverted the removal of mysqlnd from php5-mysql in r70654.

Note: See TracTickets for help on using tickets.