Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#22939 closed defect (invalid)

php5-mysql 5.3.1_2 build failure

Reported by: Markus.Ueberall@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: build failure Cc: ryandesign (Ryan Carsten Schmidt)
Port: php5-mysql

Description

Upgrading from php5-mysql 5.3.1_0 fails (regardless whether mysql[-server] or the -devel version is installed) due to

.../work/php-5.3.1/ext/mysql/php_mysql.c:2418: error: syntax error before '.' token

(cf. http://pastebin.org/66426 for the full log)

"port clean" won't help; this is on a OSX 10.5.8 machine with

mysql5 @5.1.41_0 (active)
mysql5-server @5.1.41_0 (active)
php5 @5.3.1_0+apache2+fastcgi+macosx+mysql5+suhosin (active)
php5-mysql @5.3.1_0+mysqlnd (active)

Change History (6)

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

Resolution: invalid
Status: newclosed

php5-mysql @5.3.1_1 requires php5 @5.3.1_1. Please upgrade your php5 first.

comment:2 Changed 14 years ago by Markus.Ueberall@…

Before I reopen this ticket:

Shouldn't "sudo port upgrade outdated" (which is what's shown in the complete log) be able to cope with this? Of course, a number of other php5 packages are listed as being outdated as well...

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

Yes, it should. I'm unable to explain why it didn't for you, assuming you have already run "sudo port selfupdate".

comment:4 Changed 14 years ago by Markus.Ueberall@…

Yes, I just (re-)issued a "port selfupdate; port outdated" and still only see

php5-mysql                     5.3.1_0 < 5.3.1_2
php5-suhosin                   0.9.29_0 < 0.9.29_2
php5-zip                       5.3.1_0 < 5.3.1_2

So, I guess I'll wait another 2-3 hours and wait for php5 to occur. ;)

comment:5 in reply to:  4 Changed 14 years ago by Markus.Ueberall@…

Ok, this was indeed invalid. Found a local "php5" test port w/ version 5.3.1 and epoch 1. Once moved, it's fetching "php5" as expected.

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

Ah yes, I was going to ask next if you had a locally modified copy of the portfile. Glad you got it working.

Note: See TracTickets for help on using tickets.