Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2014 22:08:12 GMT
From:      Doug Penner <darwinsurvivor@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   www/187985: magento fails to build with innodb patch
Message-ID:  <201403262208.s2QM8Ce5099712@cgiserv.freebsd.org>
Resent-Message-ID: <201403262210.s2QMA0aB077893@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403262208.s2QM8Ce5099712>