Bug #36434 ha_innodb.so is installed in the wrong directory
Submitted: 30 Apr 2008 18:43 Modified: 25 Jun 2008 3:41
Reporter: Vasil Dimov
Status: Closed
Category:Server: InnoDB Severity:S3 (Non-critical)
Version:5.1.25-bk OS:Any
Assigned to: Timothy Smith Target Version:5.1.26
Triage: D3 (Medium)

[30 Apr 2008 18: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 19: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 17:21] Bugs System
Pushed into 5.1.25-rc
[15 May 2008 3: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 17:54] Paul DuBois
Setting report to Need Doc Info pending push into 6.0.x.
[19 May 2008 22:19] Paul DuBois
Setting report to Patch queued pending re-push of this patch.
[22 May 2008 11:51] Bugs System
Pushed into 6.0.6-alpha
[27 May 2008 20:33] Paul DuBois
The push into 5.1 was reverted, so there is no 5.1.x changelog entry.
[27 May 2008 20: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 12: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 14:19] Georgi Kodinov
Pushed in 5.1.26
[25 Jun 2008 0:12] Calvin Sun
Merged into 6.0.6-alpha, according to Tim.
[25 Jun 2008 0:55] Miguel Solorzano
Bug: http://bugs.mysql.com/bug.php?id=37540 has been marked as duplicate of this bug.
[25 Jun 2008 3:41] Paul DuBois
Noted in 5.1.26, 6.0.6 changelogs.
[28 Jul 2008 18: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)