Your message dated Thu, 05 Oct 2017 17:36:01 +0000 with message-id <[email protected]> and subject line Bug#876337: fixed in systemtap 3.1-3 has caused the Debian Bug report #876337, regarding systemtap fails to compile simple examples on linux 4.12 to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 876337: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=876337 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: systemtap Version: 3.1-2 Severity: important Dear Maintainer, I am on running latest testing and systemtap fails to compile basically examples. linux-image-amd64: 4.12+84 systemtap: 3.1-2 ``` inf:~/build/systemtap$ sudo /usr/bin/stap -v -e 'probe vfs.read {printf("read performed\n"); exit()}' Pass 1: parsed user script and 466 library scripts using 116216virt/47192res/6440shr/40872data kb, in 130usr/0sys/131real ms. Pass 2: analyzed script: 1 probe, 1 function, 7 embeds, 0 globals using 276388virt/208724res/7884shr/201044data kb, in 1340usr/110sys/1456real ms. Pass 3: translated to C into "/tmp/stap50KvHp/stap_c233bf40df4a62b62c9b94b2c196d4d1_2562_src.c" using 276388virt/208916res/8076shr/201044data kb, in 10usr/0sys/5real ms. In file included from /usr/share/systemtap/runtime/linux/runtime.h:209:0, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap50KvHp/stap_c233bf40df4a62b62c9b94b2c196d4d1_2562_src.c:25: /usr/share/systemtap/runtime/linux/access_process_vm.h: In function ‘__access_process_vm_’: /usr/share/systemtap/runtime/linux/access_process_vm.h:24:8: error: implicit declaration of function ‘get_task_mm’ [-Werror=implicit-function-declaration] mm = get_task_mm (tsk); ^~~~~~~~~~~ /usr/share/systemtap/runtime/linux/access_process_vm.h:24:6: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] mm = get_task_mm (tsk); ^ /usr/share/systemtap/runtime/linux/access_process_vm.h:77:3: error: implicit declaration of function ‘mmput’ [-Werror=implicit-function-declaration] mmput (mm); ^~~~~ In file included from /usr/share/systemtap/runtime/linux/task_finder2.c:4:0, from /usr/share/systemtap/runtime/linux/task_finder.c:17, from /usr/share/systemtap/runtime/linux/runtime.h:222, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap50KvHp/stap_c233bf40df4a62b62c9b94b2c196d4d1_2562_src.c:25: /usr/share/systemtap/runtime/stp_utrace.c: In function ‘utrace_do_stop’: /usr/share/systemtap/runtime/stp_utrace.c:1108:4: error: implicit declaration of function ‘__set_task_state’ [-Werror=implicit-function-declaration] __set_task_state(target, TASK_TRACED); ^~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors /usr/src/linux-headers-4.12.0-1-common/scripts/Makefile.build:307: recipe for target '/tmp/stap50KvHp/stap_c233bf40df4a62b62c9b94b2c196d4d1_2562_src.o' failed make[3]: *** [/tmp/stap50KvHp/stap_c233bf40df4a62b62c9b94b2c196d4d1_2562_src.o] Error 1 /usr/src/linux-headers-4.12.0-1-common/Makefile:1532: recipe for target '_module_/tmp/stap50KvHp' failed make[2]: *** [_module_/tmp/stap50KvHp] Error 2 Makefile:152: recipe for target 'sub-make' failed make[1]: *** [sub-make] Error 2 Makefile:8: recipe for target 'all' failed make: *** [all] Error 2 WARNING: kbuild exited with status: 2 Pass 4: compiled C into "stap_c233bf40df4a62b62c9b94b2c196d4d1_2562.ko" in 8780usr/880sys/9551real ms. Pass 4: compilation failed. [man error::pass4] Tip: /usr/share/doc/systemtap/README.Debian should help you get started. ``` Latest upstream works successfully: ``` inf:~/build/systemtap$ sudo /usr/local/bin/stap -v -e 'probe vfs.read {printf("read performed\n"); exit()}' Pass 1: parsed user script and 469 library scripts using 69808virt/42528res/5308shr/37560data kb, in 100usr/10sys/120real ms. Pass 2: analyzed script: 1 probe, 1 function, 7 embeds, 0 globals using 228260virt/202404res/6708shr/196012data kb, in 1480usr/80sys/1562real ms. Pass 3: using cached /root/.systemtap/cache/82/stap_825ce45e00450e060590e4b79a1a7421_2612.c Pass 4: using cached /root/.systemtap/cache/82/stap_825ce45e00450e060590e4b79a1a7421_2612.ko Pass 5: starting run. read performed Pass 5: run completed in 0usr/30sys/563real ms. ``` I think the debian package is missing the two upstream commits to make this work again. a477a4312 PR21255: Fix missing __set_task_state() definition. 62640f2ed PR21255: Fix missing get_task_mm() declaration. Let me know whether you need any more info. Cheers, Stephan -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.12.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages systemtap depends on: ii libavahi-client3 0.6.32-2 ii libavahi-common3 0.6.32-2 ii libc6 2.24-17 ii libdw1 0.170-0.1 ii libelf1 0.170-0.1 ii libgcc1 1:7.2.0-5 ii libnspr4 2:4.16-1 ii libnss3 2:3.32-2 ii libsqlite3-0 3.20.1-1 ii libstdc++6 7.2.0-5 ii lsb-release 9.20170808 ii make 4.1-9.1 ii systemtap-common 3.1-2 ii systemtap-runtime 3.1-2 systemtap recommends no packages. Versions of packages systemtap suggests: pn systemtap-doc <none> pn vim-addon-manager <none> -- no debconf information
--- End Message ---
--- Begin Message ---Source: systemtap Source-Version: 3.1-3 We believe that the bug you reported is fixed in the latest version of systemtap, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Ritesh Raj Sarraf <[email protected]> (supplier of updated systemtap package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Thu, 05 Oct 2017 22:02:51 +0545 Source: systemtap Binary: systemtap systemtap-common systemtap-runtime systemtap-doc systemtap-server systemtap-client systemtap-sdt-dev Architecture: source amd64 all Version: 3.1-3 Distribution: unstable Urgency: medium Maintainer: Ritesh Raj Sarraf <[email protected]> Changed-By: Ritesh Raj Sarraf <[email protected]> Description: systemtap - instrumentation system for Linux systemtap-client - instrumentation system for Linux (client for compile server) systemtap-common - instrumentation system for Linux (common component) systemtap-doc - documentation and examples for SystemTap systemtap-runtime - instrumentation system for Linux (runtime component) systemtap-sdt-dev - statically defined probes development files systemtap-server - instrumentation system for Linux (compile server) Closes: 876337 877459 Changes: systemtap (3.1-3) unstable; urgency=medium . * Add patches from upstream to fix compatibilitye with newer kernels (Closes: #876337) * Add patch from upstream to fix broken asm header (Closes: #877459) Checksums-Sha1: d1b7d7f0ee0066c33acaea0e7274d0ae1265af12 2644 systemtap_3.1-3.dsc b4692b2042c94628b110de38ed78c35a07eddaac 68708 systemtap_3.1-3.debian.tar.xz 147048c89c9e82f026a2b74bebb2e83adc18c179 18776 systemtap-client_3.1-3_amd64.deb a5ba74962f83b146483c4ae0bb538437f8536cc9 530434 systemtap-common_3.1-3_all.deb ea1939b77e401442ec64570910b54116b4cdc61c 11025782 systemtap-dbgsym_3.1-3_amd64.deb b481121324ecdddfb1f9f6569306b1f71d45133e 2168144 systemtap-doc_3.1-3_all.deb 89f92ab268fbf2184c820134903dba9c01ffdb3f 762840 systemtap-runtime-dbgsym_3.1-3_amd64.deb 8d091e97d5161c4955ff4bec477688f26e666706 124818 systemtap-runtime_3.1-3_amd64.deb 2558ce47ee073f906a5913bbe99e7c10c18b0923 27832 systemtap-sdt-dev_3.1-3_amd64.deb a677483f9e5de9adaf89ec81a9f26e858517526b 1188190 systemtap-server-dbgsym_3.1-3_amd64.deb cd7bf3a85d9d54dc9811c03c702ef7f2dfd1498d 133382 systemtap-server_3.1-3_amd64.deb aac5771bb0ff2323651af4a05ca83a724645d39a 11379 systemtap_3.1-3_amd64.buildinfo 4d74eead1be849139e19f9410167bac4f0ee4358 1025804 systemtap_3.1-3_amd64.deb Checksums-Sha256: 57e8c5f6d5231060c95a1c0695505df96e27eb67726fb96ffbcceb5521bee604 2644 systemtap_3.1-3.dsc 4eb84f8deb51f1a62652bc886f1cf5be116471f060c54a01c61b4ab37ff38eeb 68708 systemtap_3.1-3.debian.tar.xz cb6a06c7a023737f689278060a82ba2b85f20c3016a0f44c9a90d5eb360aca0a 18776 systemtap-client_3.1-3_amd64.deb 03d38ad0ea08bdb777126d6db0b93c6c7135ad6d4da1e1aa69d806144ab91748 530434 systemtap-common_3.1-3_all.deb 545fcdb95d07f0ce1a7d02caa7a23db62d18b15e13e4349cfc720f6b2cba2021 11025782 systemtap-dbgsym_3.1-3_amd64.deb 4bfe336b08e11a4e7d024c5e790e11c4c13a0fa253fd1d740bc0f8ea26083611 2168144 systemtap-doc_3.1-3_all.deb da99ae2ffc945bb330ce09f01baaaafd2a6ca3f7ca4dd6fad091859bb883ef4e 762840 systemtap-runtime-dbgsym_3.1-3_amd64.deb ae001fae45130b5e4b7a5186a47cefad98815ae6887e5a60c5e4f224f9d98fef 124818 systemtap-runtime_3.1-3_amd64.deb 9b687a5981e9e55543149f6d069a8ac3319820bda5852caf213f4f6ce2a8c888 27832 systemtap-sdt-dev_3.1-3_amd64.deb 9f3bb2e52164f51b897b96d9d1dd4490e16063f4bc801e4164ab176eca5d069b 1188190 systemtap-server-dbgsym_3.1-3_amd64.deb 9e7dd4f7797ac23b9bd1d73116ac280ffe1cf7e52ab8158391d23996418f748d 133382 systemtap-server_3.1-3_amd64.deb 86ddfcc6b86fca1afd2c2a9237a7edbbd27583a18a0ab1546a3efc4b8319f902 11379 systemtap_3.1-3_amd64.buildinfo 75b5a1a1960d9ae8cd5631bb28171ef453051442df5bc598515c6d1fd16c17a3 1025804 systemtap_3.1-3_amd64.deb Files: 7d5dab9a030b1e0d67ac8d757773bc02 2644 devel optional systemtap_3.1-3.dsc f6142841f3b6ddde5d4a7f62c75a3245 68708 devel optional systemtap_3.1-3.debian.tar.xz 49a75537339925c12511025e37af089e 18776 devel optional systemtap-client_3.1-3_amd64.deb 931c76813abcf071f9f829b016efa74a 530434 devel optional systemtap-common_3.1-3_all.deb c9b414bdac50335656a1c091190d4057 11025782 debug optional systemtap-dbgsym_3.1-3_amd64.deb 441121fab28b1e00fb00ebec18cb5e69 2168144 doc optional systemtap-doc_3.1-3_all.deb bab57898f2584fec252e14a15d2e01e3 762840 debug optional systemtap-runtime-dbgsym_3.1-3_amd64.deb cdc7651ac391e363256cf9bc628a8434 124818 devel optional systemtap-runtime_3.1-3_amd64.deb eace30cd0f8b8d29941a444c7467a6e9 27832 devel optional systemtap-sdt-dev_3.1-3_amd64.deb 585b922b935b32db9c2c5f89942081fb 1188190 debug optional systemtap-server-dbgsym_3.1-3_amd64.deb 120e90b97115bfae65da89589e5df0ac 133382 devel optional systemtap-server_3.1-3_amd64.deb db77a4d41a15423cf15c5915e937f0a5 11379 devel optional systemtap_3.1-3_amd64.buildinfo efcef3cb76a03c386f42a022413cf497 1025804 devel optional systemtap_3.1-3_amd64.deb -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEQCVDstmIVAB/Yn02pjpYo/LhdWkFAlnWaVQACgkQpjpYo/Lh dWnYFBAAm8zNC/ySa58PL+MwNBtVUgUdl3kPMUmq+dB8ZqFXvlNDAHtPWV4lACCU WIJGuFKAZEVmRCpJqsnVdHDxr95aoepeJwEaCpQqnhLCpfO+4jUhif2tT+OGk4C4 ZJkkFnPwvjMaX0weliu+hHBpgMJymx83Tw7eFRxfOIBHGCMRlyT64GUy/HlWtwHC OeWdB70si7Lxx1yR+F+hjw2kIfFcN7lLONZ6RI0DhIWZ9fA1hLdPDCYGZt+wUq31 a7lsTN1Y2JFZeJYkJfvpyM2t85WytFx/ZhuvUrwetnkgJdNKMIbUWOXUg75WI4ow zc3CNIN+bySxfMIn4sz0aXhfNwQ8ugv0b0y8YbfcyuOp3Xrc6CqqKUoGqeY7imTg 7fc8YFHXJcDe/mGIDtEQf7h4IebvbupKDmchkmNbwVL+fVZHOYekK9ho94mVrnvj uyzbyefEP2QXPq9LymBd2XuXuNnMpcC12+0gbwYlshaC95k+5Pz0Hen8lNqbRtws Eilq7HKq6XagjWTZtDTJ7BD0AHnYes1RAZ5HQjf4H0wfRrKVfbWotWjD/B/Ed/lx yWo3NRt4dpBeXYn0w2PjH7/xAiFoVPNwWGBK2bZ4zQ01ANWO/SXcNx0b/vJBVpZG bFRAaoS2P4YLRTVP9ZxeF+cCHhKPnpgRfTspzo83Wo/9lxKrupY= =Lzme -----END PGP SIGNATURE-----
--- End Message ---

