#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)
Change History (17)
Changed 14 years ago by karim@…
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: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: | new → assigned |
Summary: | php5-mysql get an Error: Status 1 encountered during processing → php5-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: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: | assigned → closed |
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.
The log file mentioned in the error message