[MacPorts] #34399: mysql55 - fix build & destroot problems
#34399: mysql55 - fix build & destroot problems --------------------------------------+------------------------------------- Reporter: macintosh@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: haspatch | Port: mysql55 --------------------------------------+------------------------------------- build problem : [[BR]] a wrong value is given for INSTALL_INCLUDEDIR_MACPORTS in patch-cmake- install_layout.cmake.diff leading some other ports to look for mysql.h in the wrong folder http://lists.macosforge.org/pipermail/macports-dev/2012-May/019111.html destroot problem : [[BR]] a wrong value is given for -DCMAKE_INSTALL_NAME_DIR in the mysql55 Portfile leading to all mysql55 libmysqlclient.* files to contain the wrong absolute file path as well as to ports compiled against mysql55 to try to link against the wrong absolute path in their binaries http://lists.macosforge.org/pipermail/macports-dev/2012-May/019169.html -- Ticket URL: <https://trac.macports.org/ticket/34399> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34399: mysql55 - fix build & destroot problems --------------------------------------+------------------------------------- Reporter: macintosh@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: haspatch | Port: mysql55 --------------------------------------+------------------------------------- Changes (by ryandesign@…): * cc: pixilla@… (removed) * owner: macports-tickets@… => pixilla@… -- Ticket URL: <https://trac.macports.org/ticket/34399#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34399: mysql55 - fix build & destroot problems --------------------------------------+------------------------------------- Reporter: macintosh@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: haspatch | Port: mysql55 --------------------------------------+------------------------------------- Comment(by macintosh@…): I've just checked : the same changes will have to be applied to mariadb ; and possibly also percona ; I'm currently working on getting percona up to the same standard as the current work in mysql55 & mariadb are at. -- Ticket URL: <https://trac.macports.org/ticket/34399#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34399: mysql55 - fix build & destroot problems --------------------------------------+------------------------------------- Reporter: macintosh@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: haspatch | Port: mysql55 --------------------------------------+------------------------------------- Comment(by ryandesign@…): Replying to [ticket:34399 macintosh@…]:
destroot problem : [[BR]] a wrong value is given for -DCMAKE_INSTALL_NAME_DIR in the mysql55 Portfile leading to all mysql55 libmysqlclient.* files to contain the wrong absolute file path as well as to ports compiled against mysql55 to try to link against the wrong absolute path in their binaries http://lists.macosforge.org/pipermail/macports-dev/2012-May/019169.html
I am waiting for at least this fix to be committed so that I can add a mysql55 variant to the ${php}-mysql subports of the php port; as is, I get: {{{ PHP Warning: PHP Startup: Unable to load dynamic library '/opt/local/lib/php54/extensions/no-debug-non-zts-20100525/mysql.so' - dlopen(/opt/local/lib/php54/extensions/no-debug-non-zts-20100525/mysql.so, 9): Library not loaded: /opt/local/lib/mysql55/libmysqlclient.18.dylib Referenced from: /opt/local/lib/php54/extensions/no-debug-non- zts-20100525/mysql.so Reason: image not found in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/opt/local/lib/php54/extensions/no-debug-non-zts-20100525/mysqli.so' - dlopen(/opt/local/lib/php54/extensions/no-debug-non- zts-20100525/mysqli.so, 9): Library not loaded: /opt/local/lib/mysql55/libmysqlclient.18.dylib Referenced from: /opt/local/lib/php54/extensions/no-debug-non- zts-20100525/mysqli.so Reason: image not found in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/opt/local/lib/php54/extensions/no-debug-non-zts-20100525/pdo_mysql.so' - dlopen(/opt/local/lib/php54/extensions/no-debug-non- zts-20100525/pdo_mysql.so, 9): Library not loaded: /opt/local/lib/mysql55/libmysqlclient.18.dylib Referenced from: /opt/local/lib/php54/extensions/no-debug-non- zts-20100525/pdo_mysql.so Reason: image not found in Unknown on line 0 }}} -- Ticket URL: <https://trac.macports.org/ticket/34399#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34399: mysql55 - fix build & destroot problems --------------------------------------+------------------------------------- Reporter: macintosh@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: haspatch | Port: mysql55 --------------------------------------+------------------------------------- Comment(by macintosh@…): Replying to [comment:4 ryandesign@…]:
Replying to [ticket:34399 macintosh@…]:
destroot problem : [[BR]]
I am waiting for at least this fix to be committed so that I can add a mysql55 variant to the ${php}-mysql subports of the php port; as is, I get:
That one ought to be enough for PHP to get MySQL to work But it would be really nice to get both of them committed as I deem them production ready and they have been working on my production server since I filed this ticket: http://lists.macosforge.org/pipermail/macports- users/2012-May/028869.html These issues are holding everyone off transitioning to the mysql55 port. -- Ticket URL: <https://trac.macports.org/ticket/34399#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34399: mysql55 - fix build & destroot problems ---------------------------------------+------------------------------------ Reporter: macintosh@… | Owner: pixilla@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: fixed | Keywords: haspatch Port: mysql55 | ---------------------------------------+------------------------------------ Changes (by pixilla@…): * status: new => closed * resolution: => fixed Comment: mysql55 r93231 percona r93232 -- Ticket URL: <https://trac.macports.org/ticket/34399#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts