From owner-freebsd-ports@FreeBSD.ORG Thu May 7 14:01:07 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 248C51065676 for ; Thu, 7 May 2009 14:01:07 +0000 (UTC) (envelope-from M.S.Powell@salford.ac.uk) Received: from relay0.salford.ac.uk (relay0.salford.ac.uk [146.87.0.10]) by mx1.freebsd.org (Postfix) with SMTP id 92FF78FC14 for ; Thu, 7 May 2009 14:01:06 +0000 (UTC) (envelope-from M.S.Powell@salford.ac.uk) Received: (qmail 91814 invoked by uid 98); 7 May 2009 13:34:25 -0000 Received: from 146.87.255.121 by relay0.salford.ac.uk (envelope-from , uid 401) with qmail-scanner-2.01 (clamdscan: 0.94.2/9339. spamassassin: 3.2.4. Clear:RC:1(146.87.255.121):. Processed in 0.044498 secs); 07 May 2009 13:34:25 -0000 Received: from rust.salford.ac.uk (HELO rust.salford.ac.uk) (146.87.255.121) by relay0.salford.ac.uk (qpsmtpd/0.3x.614) with SMTP; Thu, 07 May 2009 14:34:25 +0100 Received: (qmail 25713 invoked by uid 1002); 7 May 2009 13:34:23 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 7 May 2009 13:34:23 -0000 Date: Thu, 7 May 2009 14:34:23 +0100 (BST) From: "Mark Powell" To: ale@FreeBSD.org Message-ID: <20090507142313.Q11492@rust.salford.ac.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-ports@freebsd.org, miwi@freebsd.org Subject: pear v1.8.1 build issues with php v4.4.9 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 May 2009 14:01:07 -0000 Hi, I've narrowed down a problem when building pear v1.8.1 with php v4.4.9. There is an XML parse error when the port tries to install Structure_Graph. NB pear v1.7.2 builds ok with php v4.4.9. It's the update to pear v1.8.1 that breaks it. Also, with php v5 pear v1.8.1 builds ok. So it just seems to be the combination of pear v1.8.x and php v4. Here's the relevant part of the build: ----- Installing selected packages.................. Installing bootstrap package: PEAR...................warning: pear/PEAR requires package "pear/Archive_Tar" (recommended version 1.3.3) warning: pear/PEAR requires package "pear/Structures_Graph" (recommended version 1.0.2) warning: pear/PEAR requires package "pear/Console_Getopt" (recommended version 1.2.3) install ok: channel://pear.php.net/PEAR-1.8.1 PEAR: Optional feature webinstaller available (PEAR's web-based installer) PEAR: Optional feature gtkinstaller available (PEAR's PHP-GTK-based installer) PEAR: Optional feature gtk2installer available (PEAR's PHP-GTK2-based installer) PEAR: To install optional features use "pear install pear/PEAR#featurename" Installing bootstrap package: Structures_Graph.......downloading Structures_Graph-1.0.2.tgz ... Starting to download Structures_Graph-1.0.2.tgz (30,947 bytes) .........done: 30,947 bytes XML Error: 'not well-formed (invalid token)' on line '10' Download of "pear/Structures_Graph" succeeded, but it is not a valid package archive Error: cannot download "pear/Structures_Graph" Download failed Installing local package: Archive_Tar-stable.........install ok: channel://pear.php.net/Archive_Tar-1.3.3 Installing local package: Console_Getopt-stable.......install ok: channel://pear.php.net/Console_Getopt-1.2.3 ===> Registering installation for pear-1.8.1 ----- Even though the install of Structures_Graph fails, the port installation succeeds. Manually attempting the install of Structures_Graph unsurprisingly gives the same error: ----- # pear -V PEAR Version: 1.8.1 PHP Version: 4.4.9 Zend Engine Version: 1.3.0 Running on: FreeBSD webmail0 7.1-RELEASE-p5 FreeBSD 7.1-RELEASE-p5 #0: Tue Apr 28 17:55:20 UTC 2009 xxx amd64 # pear install Structures_Graph downloading Structures_Graph-1.0.2.tgz ... Starting to download Structures_Graph-1.0.2.tgz (30,947 bytes) .........done: 30,947 bytes XML Error: 'not well-formed (invalid token)' on line '10' Download of "pear/Structures_Graph" succeeded, but it is not a valid package archive Error: cannot download "pear/Structures_Graph" Download failed install failed ----- I see they changed to packages.xml v2.0 with pear v1.8.1. However, it's supposed to also woth with php v4.4.0 of newer. Is this a pear problem, rather than ports? Many thanks for your time. -- Mark Powell - UNIX System Administrator - The University of Salford Information & Learning Services, Clifford Whitworth Building, Salford University, Manchester, M5 4WT, UK. Tel: +44 161 295 6843 Fax: +44 161 295 5888 www.pgp.com for PGP key