Public bug reported:

I upgraded from Ubuntu 18.10 to Ubuntu 19.04. Systemtap does not compile
scripts any more. It reports that stapconf_[random].h header file does
not exist. The Makefile in /tmp/stap[random]/ does exist, but for some
reason the C header is not being generated.

The systemtap script I am using contains the following probes:

global p_count = 0
    probe kprocess.create {
        p_count += 1
        //printf("Process: %s - PID: %d - Created PID: %d - Created TID: %d - 
Parent process: %d - Parent name: %s - Processes created: 
%d\n",execname(),pid(),new_pid,new_tid,ppid(),pid2execname(ppid()),p_count)
    }

    probe socket.create {
        printf("Process socket: %s - PID: %d - Parent process: %s - PPID: 
%d\n",execname(),pid(),pid2execname(ppid()),ppid())
    }

It worked in Ubuntu 18.10. But not in 19.04. I have compiled Systemtap
4.0 from source and reports the same error.

ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: systemtap (not installed)
ProcVersionSignature: Ubuntu 5.0.0-13.14-generic 5.0.6
Uname: Linux 5.0.0-13-generic x86_64
ApportVersion: 2.20.10-0ubuntu27
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon May  6 02:34:47 2019
InstallationDate: Installed on 2014-06-05 (1795 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
SourcePackage: systemtap
UpgradeStatus: Upgraded to disco on 2019-05-03 (2 days ago)

** Affects: systemtap (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug disco

** Attachment added: "error.txt"
   https://bugs.launchpad.net/bugs/1827819/+attachment/5261685/+files/error.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1827819

Title:
  Systemtap stapconf header is not generated

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemtap/+bug/1827819/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to