From owner-freebsd-www@FreeBSD.ORG Wed Mar 26 22:10:00 2014 Return-Path: Delivered-To: freebsd-www@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C055F2B5 for ; Wed, 26 Mar 2014 22:10:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9D5C22A9 for ; Wed, 26 Mar 2014 22:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2QMA0Ns077894 for ; Wed, 26 Mar 2014 22:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2QMA0aB077893; Wed, 26 Mar 2014 22:10:00 GMT (envelope-from gnats) Resent-Date: Wed, 26 Mar 2014 22:10:00 GMT Resent-Message-Id: <201403262210.s2QMA0aB077893@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-www@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Doug Penner Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4CFDD29B for ; Wed, 26 Mar 2014 22:08:12 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3A83629D for ; Wed, 26 Mar 2014 22:08:12 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s2QM8C9G099713 for ; Wed, 26 Mar 2014 22:08:12 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s2QM8Ce5099712; Wed, 26 Mar 2014 22:08:12 GMT (envelope-from nobody) Message-Id: <201403262208.s2QM8Ce5099712@cgiserv.freebsd.org> Date: Wed, 26 Mar 2014 22:08:12 GMT From: Doug Penner To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: www/187985: magento fails to build with innodb patch X-BeenThere: freebsd-www@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: **OBSOLETE** FreeBSD Project Webmasters List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2014 22:10:00 -0000 >Number: 187985 >Category: www >Synopsis: magento fails to build with innodb patch >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-www >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 26 22:10:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Doug Penner >Release: 9.0-RELEASE >Organization: >Environment: FreeBSD hestia 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: When building magento with MYSQL56 enabled, the compiler cannot find the following file: /usr/ports/www/magento/files/extra-patch-app__code__core__Mage__Install__Model__Installer__Db__Mysql4.php I can confirm that the file does *not* exist. Not enabling this patch prevents magento from working with mysql56 (the current version in ports). The only alternative is to use Mysql55 (which still supports InnoDB) >How-To-Repeat: go to /usr/ports/www/magento run "make config" and set MYSQL56 to true run "make" ===== Output Below ===== ===> Found saved configuration for magento-1.7.0.2 ===> Fetching all distfiles required by magento-1.7.0.2 for building ===> Extracting for magento-1.7.0.2 => SHA256 Checksum OK for magento-1.7.0.2.tar.gz. ===> Patching for magento-1.7.0.2 ===> Applying extra patch /usr/ports/www/magento/files/extra-patch-app__code__core__Mage__Install__Model__Installer__Db__Mysql4.php cat: /usr/ports/www/magento/files/extra-patch-app__code__core__Mage__Install__Model__Installer__Db__Mysql4.php: No such file or directory I can't seem to find a patch in there anywhere. ===> Configuring for magento-1.7.0.2 >Fix: Workaround: Install MySQL55 instead of MySQL56 (the current version). Easy fix: Put the file back. Update available: I also noticed that magento 1.8 has been released which fixes the problem that this patch is for. Perhaps updating the port to 1.8 would be a better solution. >Release-Note: >Audit-Trail: >Unformatted: