ports/69424: databases/php5-mysqli - quote problem making the build fail
Thomas Deniau
thomas at deniau.org
Thu Jul 22 10:50:24 UTC 2004
>Number: 69424
>Category: ports
>Synopsis: databases/php5-mysqli - quote problem making the build fail
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Jul 22 10:50:23 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Thomas Deniau
>Release: FreeBSD 5.2.1-RELEASE-p9 i386
>Organization:
>Environment:
System: FreeBSD anduril.nousoft.org 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #2: Tue Jul 20 23:41:19 CEST 2004 root at anduril.nousoft.org:/usr/obj/usr/src/sys/ANDURIL i386.
MySQL version 4.0.14
>Description:
When building the php5 mysqli extension with a 4.0.14 server (which
should fail, mysqli requires 4.1) the error message is bogus, as the
following logs show :
--8<---
[anduril:databases/php5-mysqli] thomas% sudo make
Syntax error: ")" unexpected
*** Error code 2
Stop in /usr/ports/databases/php5-mysqli.
--8<---
In fact if we try a make -n we can see the syntax error :
--8<--
[anduril:databases/php5-mysqli] thomas% make -n
echo "===> php5-mysqli-5.0.0_1 "Doesn't work with MySQL version : 323 (Doesn't support MySQL 323 40)"."
--8<--
There is clearly a quote problem here...
The quotes inside the message make the shell try to interpret the parenthesis (at least I think)
>How-To-Repeat:
Install a 4.0.x MySQL
Try to build databases/php5-mysqli
>Fix:
Fix the message displayed when building against 4.0.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list