fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
sapatel has quit [Ping timeout: 240 seconds]
_whitelogger has joined #systemtap
khaled has joined #systemtap
mjw has quit [Quit: Leaving]
orivej has joined #systemtap
LW has joined #systemtap
<LW>
how to fix this build mistake?
<LW>
bpf-translate.cxx:40:29: fatal error: elfutils/libebl.h: No such file or directory
<LW>
my build host: ubunt 16.04, i have apt install elfutils libdw-dev, What other packages need to be installed?
<LW>
systemtap 4.2
mjw has joined #systemtap
yogananth has quit [Remote host closed the connection]
<fche>
I'm setting up an experimental web service for kernel/etc. debuginfo for systemtap users
<fche>
it works for fedora/ubuntu, but prereqs elfutils 0.178
<fche>
two questions:
<fche>
1) any idea about the possibility of getting elfutils 0.178 built wider within debian releases?
<fche>
2) any contacts or pointers you might know where I could have a script chase down all your kernel ddebs?
<LW>
after apt-get build-dep systemtap, same build error still exist
wcohen has joined #systemtap
<fche>
LW: try # apt-get install libelf-dev
<LW>
libelf-dev is already the newest version (0.165-3ubuntu1.2).
<ema>
fche: 1) depends on the elfutils maintainer! I see we have 0.176 in unstable and 0.178 hasn't been packaged yet. See https://tracker.debian.org/pkg/elfutils
<fche>
ah good link, thanks
<ema>
so essentially it boils down to convincing him :)
<ema>
how old is 0.178?
<fche>
two months or so
amerey_ has joined #systemtap
<ema>
I suggest opening a wishlist bug against elfutils then, mentioning that a new upstream is available and you'd like to see it in the archive
<fche>
will do, thanks!
<LW>
How to solve this build error now? @fche
<fche>
LW: ok, for elfutils that old (< 0.167), you'll need I believe libebl-dev
<mjw>
Kurt can be very responsive and then hide for weeks.
* fche
knows how to do that too :)
<mjw>
(the Debian elfutils package maintainer I mean)
<ema>
fche: re: 2), what do you mean with chasing down?
<fche>
finding for download
<ema>
mmh
<fche>
I have a server here that, if I can programmatically spider some http repo tree somewhere for kernel linux-image ddebs, I can make their contents available via this elfutils/debuginfod widget
<LW>
@fche, I don't understand you. Do I need to download libebl-dev and install by manual?
<fche>
LW, stand by, looking for the accurate info
<fche>
libebl.h should be in something like a libdw-dev or libdw1-dev but it seems like they didn't included that in the package
<fche>
and before elfutils 0.166, libebl.h is needed for this part of systemtap
<fche>
try configuring your copy of stap with .../configure .... --without-bpf
<ema>
fche: so under http://ftp.debian.org/debian/pool/main/l/linux/ you'll find packages with the debug symbols for various kernels such as linux-image-5.3.0-3-amd64-dbg_5.3.15-1_amd64.deb
<ema>
is that what you're looking for?
<fche>
hm that may well be it
<fche>
in debian land do you also have linux-VARIANT- packages like ubuntu has ('lowlatency' etc. ?)
<ema>
not 'lowlatency' specifically, but there are things like linux-image-5.3.0-3-cloud-amd64
<fche>
i.e., is that directory pretty complete as to what the whole spectrum of kernels debian users are likely to run?
<fche>
i.e., don't need to look at /l/linux-SOMETHINGELSE/ or a whole separate pool server?
<ema>
not to the best of my knowledge, no! That should have everything and the kitchen sink
<fche>
in that case, that is the goldmine I was looking for, perfect
<fche>
ok will set up a partial mirroring of that over here and use that as justification for the elfutils update
<ema>
nice, let me know how it goes
<fche>
ok downloads in progress, good thing disk space is cheap (?) :-)
<fche>
now just to test it :)
* fche
must spin up a debian VM, or find a victim ^W volunteer who's willing to run a 0.178 elfutils briefly
* ema
looks the other way in the interest of increasing the worldwide debian installation count by 1
<LW>
cp: cannot stat '/data/work/systemtap-4.2/doc/SystemTap_Tapset_Reference/tapsets.pdf': No such file or directory
<LW>
Makefile:650: recipe for target 'install-data-hook' failed
<LW>
make[5]: *** [install-data-hook] Error 1
<fche>
LW, ok, that part is not really important; a make -k will keep going
<LW>
./configure --without=bpf
<LW>
make install occurs this error
<fche>
yeah, will check on that from the upstream side shortly
<fche>
ema, by the way, it just works (tm)
<ema>
\o/
<fche>
with new elfutils, env LD_LIBRARY_PATH=/elfutils/install/lib DEBUGINFOD_URLS=https://debuginfod.systemtap.org/ DEBUGINFOD_PROGRESS=1 lets my debian10 brand new vm find at least its kernel debuginfo bits
<fche>
ema, fwiw any other parts of debian userspace that you suspect people may be using stap for? we can try hosting a lot more debuginfo than just the kernel's
<ema>
potentially any of he 59k packages :)
<fche>
yeah, understood
<fche>
at some point I imagine distros running their own debuginfod servers for all of their 59k packages
<fche>
just trying to nominate a few good one for demonstration / motivation purposes now