Date: Thu, 22 Jul 2004 12:44:22 +0200 (CEST) From: Thomas Deniau <thomas@deniau.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/69424: databases/php5-mysqli - quote problem making the build fail Message-ID: <20040722104422.02FBC518@anduril.nousoft.org> Resent-Message-ID: <200407221050.i6MAoN2Y009658@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040722104422.02FBC518>