Bug 187985 - www/magento fails to build with innodb patch
Summary: www/magento fails to build with innodb patch
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-26 22:10 UTC by Doug Penner
Modified: 2014-05-13 07:08 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Doug Penner 2014-03-26 22:10:00 UTC
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)

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.
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
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2014-03-26 22:11:28 UTC
Responsible Changed
From-To: freebsd-www->freebsd-ports-bugs

ports PR.  The 'www' category in GNATS is only for issues with the 
FreeBSD.org website.
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2014-03-26 22:12:01 UTC
Maintainer of www/magento,

Please note that PR ports/187985 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/187985

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2014-03-26 22:12:02 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 4 Kurt Jaeger freebsd_committer freebsd_triage 2014-05-13 07:08:24 UTC
State Changed
From-To: feedback->closed

Superseded-by: 188901