Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-39285

srpm dtrace on Linux fails to look for sys/sdt.h header

    XMLWordPrintable

Details

    Description

      On linux, the dtrace executable creates source code that depends on the sys/sdt.h

      https://buildbot.mariadb.org/#/builders/888/builds/7653/steps/29/logs/stdio

      In file included from /home/buildbot/rpmbuild/BUILD/MariaDB-10.11.17/mariadb-10.11.17/include/probes_mysql.h:22,
                       from /home/buildbot/rpmbuild/BUILD/MariaDB-10.11.17/mariadb-10.11.17/mysys/mf_keycache.c:39:
      /home/buildbot/rpmbuild/BUILD/MariaDB-10.11.17/cpack_rpm_build_dir/include/probes_mysql_dtrace.h:10:10: fatal error: sys/sdt.h: No such file or directory
         10 | #include <sys/sdt.h>
            |          ^~~~~~~~~~~
      compilation terminated.
      make[2]: *** [mysys/CMakeFiles/mysys.dir/build.make:286: mysys/CMakeFiles/mysys.dir/mf_keycache.c.o] Error 1
      
      

      This include package is provide by

      $ rpm -qf /usr/include/sys/sdt.h
      systemtap-sdt-devel-5.4-1.fc43.x86_64
      

      Attachments

        Activity

          People

            serg Sergei Golubchik
            danblack Daniel Black
            Daniel Black Daniel Black
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.