Bug #53260 DTrace probe headers included in install and binary package
Submitted: 28 Apr 2010 17:12 Modified: 26 Feb 2017 23:43
Reporter: Kent Boortz Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Server: C API (client library) Severity:S3 (Non-critical)
Version:5.5.5 OS:Any
Assigned to: Kent Boortz CPU Architecture:Any

[28 Apr 2010 17:12] Kent Boortz
Description:
The cmake and GNU autotools versions of the build support are not consistent
when handling the "probes_mysql.h" and "probes_mysql_nodtrace.h" files. In
the GNU autotool case these files are installed when running "make install",
and then included in the binary packages, but building with CMake they
are not.

How to repeat:
Build using GNU autotools and CMake, install/pack and compare what gets installed.

Suggested fix:
To me these headers looks private to the build, i.e. not to be included in the binary
packages, and this patch should align the GNU autotools and CMake install

--- include/Makefile.am 2010-01-26 04:39:48 +0000
+++ include/Makefile.am 2010-04-28 15:44:51 +0000
@@ -31,7 +31,7 @@ pkginclude_HEADERS =  $(HEADERS_ABI) my_d
                        my_getopt.h sslopt-longopts.h my_dir.h \
                        sslopt-vars.h sslopt-case.h sql_common.h keycache.h \
                        m_ctype.h my_attribute.h $(HEADERS_GEN_CONFIGURE) \
-                       $(HEADERS_GEN_MAKE) probes_mysql.h probes_mysql_nodtrace.h
+                       $(HEADERS_GEN_MAKE)
 
 noinst_HEADERS =       config-win.h config-netware.h lf.h my_bit.h \
                        heap.h my_bitmap.h my_uctype.h \
@@ -45,7 +45,7 @@ noinst_HEADERS =      config-win.h config-net
                        my_vle.h my_user.h my_atomic.h atomic/nolock.h \
                        atomic/rwlock.h atomic/x86-gcc.h atomic/generic-msvc.h \
                        atomic/gcc_builtins.h my_libwrap.h my_stacktrace.h \
-                       atomic/solaris.h
+                       atomic/solaris.h probes_mysql.h probes_mysql_nodtrace.h
 
 EXTRA_DIST =        mysql.h.pp mysql/plugin.h.pp probes_mysql.d.base \
                        CMakeLists.txt \
[27 Feb 2017 1:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".