Bug #36434 ha_innodb.so is installed in the wrong directory
Submitted: 30 Apr 2008 16:43 Modified: 19 Jun 2010 18:06
Reporter: Vasil Dimov Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: InnoDB storage engine Severity:S3 (Non-critical)
Version:5.1.25-bk OS:Any
Assigned to: CPU Architecture:Any

[30 Apr 2008 16:43] Vasil Dimov
Description:
Checking out the latest 5.1-BK sources, compiling and installing results in ha_innodb.so being placed in lib/mysql/ instead of lib/mysql/plugin/

How to repeat:
$ ./BUILD/autorun.sh && ./configure --prefix=/usr/tmp/oi && gmake -j4 && gmake install
...

$ find /usr/tmp/oi/lib/mysql/ -name "ha_*.so"
/usr/tmp/oi/lib/mysql/plugin/ha_archive.so
/usr/tmp/oi/lib/mysql/plugin/ha_blackhole.so
/usr/tmp/oi/lib/mysql/plugin/ha_example.so
/usr/tmp/oi/lib/mysql/plugin/ha_federated.so
/usr/tmp/oi/lib/mysql/ha_innodb.so
$
[30 Apr 2008 17:18] Vasil Dimov
This fixes the problem:

--- cut ---
--- Makefile.am	(revision 2436)
+++ Makefile.am	(revision 2437)
@@ -159,7 +159,7 @@
 libinnobase_a_CFLAGS=	$(AM_CFLAGS)
 
 EXTRA_LTLIBRARIES=	ha_innodb.la
-pkglib_LTLIBRARIES=	@plugin_innobase_shared_target@
+pkgplugin_LTLIBRARIES=	@plugin_innobase_shared_target@
 
 ha_innodb_la_LDFLAGS=	-module -rpath $(pkgplugindir)
 ha_innodb_la_CXXFLAGS=	$(AM_CFLAGS) $(INNODB_DYNAMIC_CFLAGS)
--- cut ---

Forgotten in http://lists.mysql.com/commits/40206
[14 May 2008 15:21] Bugs System
Pushed into 5.1.25-rc
[15 May 2008 1:22] Paul DuBois
Noted in 5.1.25 changelog.

ha_innodb.so was incorrectly installed in the lib/mysql directory
rather than in lib/mysql/plugin. 

Setting report to Patch queued pending push into 6.0.x.
[15 May 2008 15:54] Paul DuBois
Setting report to Need Doc Info pending push into 6.0.x.
[19 May 2008 20:19] Paul DuBois
Setting report to Patch queued pending re-push of this patch.
[22 May 2008 9:51] Bugs System
Pushed into 6.0.6-alpha
[27 May 2008 18:33] Paul DuBois
The push into 5.1 was reverted, so there is no 5.1.x changelog entry.
[27 May 2008 18:39] Paul DuBois
The push into 6.0.x was a null merge that changed nothing. Resetting report to Patch Approved pending further push of patch into 6.0.x.

The "parent" report for this set of bugs is Bug#32440.
[19 Jun 2008 10:52] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/48160

2660 Tatiana A. Nurnberg	2008-06-19
      re 36818: rpl_server_id1 fails expecting slave has stopped
      
      On a slow environment like valgrind the test is vulnerable
      because it does not check if slave has stopped at time
      of the new session is requested `start slave;' -- disabling
      test till it is fixed.
[19 Jun 2008 12:19] Georgi Kodinov
Pushed in 5.1.26
[24 Jun 2008 22:12] Calvin Sun
Merged into 6.0.6-alpha, according to Tim.
[24 Jun 2008 22:55] MySQL Verification Team
Bug: http://bugs.mysql.com/bug.php?id=37540 has been marked as duplicate of this bug.
[25 Jun 2008 1:41] Paul DuBois
Noted in 5.1.26, 6.0.6 changelogs.
[28 Jul 2008 16:51] Bugs System
Pushed into 5.1.26-rc  (revid:joerg@mysql.com-20080620113208-4l7ejjmj0g0h84p7) (version source revid:joerg@mysql.com-20080620113208-4l7ejjmj0g0h84p7) (pib:3)
[5 May 2010 15:18] Bugs System
Pushed into 5.1.47 (revid:joro@sun.com-20100505145753-ivlt4hclbrjy8eye) (version source revid:vasil.dimov@oracle.com-20100331130613-8ja7n0vh36a80457) (merge vers: 5.1.46) (pib:16)
[6 May 2010 14:58] Paul DuBois
Push resulted from incorporation of InnoDB tree. No changes pertinent to this bug.
Re-closing.
[28 May 2010 5:49] Bugs System
Pushed into mysql-next-mr (revid:alik@sun.com-20100524190136-egaq7e8zgkwb9aqi) (version source revid:vasil.dimov@oracle.com-20100331130613-8ja7n0vh36a80457) (pib:16)
[28 May 2010 6:19] Bugs System
Pushed into 6.0.14-alpha (revid:alik@sun.com-20100524190941-nuudpx60if25wsvx) (version source revid:vasil.dimov@oracle.com-20100331130613-8ja7n0vh36a80457) (merge vers: 5.1.46) (pib:16)
[28 May 2010 6:46] Bugs System
Pushed into 5.5.5-m3 (revid:alik@sun.com-20100524185725-c8k5q7v60i5nix3t) (version source revid:vasil.dimov@oracle.com-20100331130613-8ja7n0vh36a80457) (merge vers: 5.1.46) (pib:16)
[29 May 2010 22:51] Paul DuBois
Push resulted from incorporation of InnoDB tree. No changes pertinent to this bug.
Re-closing.
[17 Jun 2010 11:50] Bugs System
Pushed into 5.1.47-ndb-7.0.16 (revid:martin.skold@mysql.com-20100617114014-bva0dy24yyd67697) (version source revid:vasil.dimov@oracle.com-20100331130613-8ja7n0vh36a80457) (merge vers: 5.1.46) (pib:16)
[17 Jun 2010 12:28] Bugs System
Pushed into 5.1.47-ndb-6.2.19 (revid:martin.skold@mysql.com-20100617115448-idrbic6gbki37h1c) (version source revid:vasil.dimov@oracle.com-20100331130613-8ja7n0vh36a80457) (merge vers: 5.1.46) (pib:16)
[17 Jun 2010 13:15] Bugs System
Pushed into 5.1.47-ndb-6.3.35 (revid:martin.skold@mysql.com-20100617114611-61aqbb52j752y116) (version source revid:vasil.dimov@oracle.com-20100331130613-8ja7n0vh36a80457) (merge vers: 5.1.46) (pib:16)