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]
yogananth_ has joined #systemtap
wcohen has quit [Ping timeout: 258 seconds]
<fche> try # apt-get build-dep systemtap first
<fche> LW^
irker695 has joined #systemtap
<irker695> systemtap: fche systemtap.git:refs/heads/master * release-4.2-23-g9c9af27 / README: README: drop elfutils bundled mode mention http://tinyurl.com/ygn7vj85
<LW> root@CyOS:/root# apt-get build-dep systemtap
<LW> Reading package lists... Done
<LW> E: You must put some 'source' URIs in your sources.list
<LW> i modify the sources.list, i am trying.
<fche> aha. too bad ubuntu makes this so hard.
<LW> do you have any plan to port the systemtap for ubuntu?
<fche> systemtap works fine on ubuntu
<fche> and as you know, it's been packaged
<fche> https://launchpad.net/ubuntu/+source/systemtap << heck, our friend RRS may have a 4.2 build in there too
<fche> s/RRS/EMA/
tromey has joined #systemtap
<ema> yes I've packaged and uploaded 4.2 for Debian, it should be in Ubuntu too
<fche> Build-Depends: debhelper (>= 12), gettext (>= 0.19.4), libelf-dev (>= 0.148), libdw-dev (>= 0.148), libsqlite3-dev, texlive-latex-base, texlive-latex-recommended, texlive-latex-extra, texlive-fonts-recommended, libnss3-dev, libnspr4-dev, pkg-config, libnss3-tools, xmlto, python3-lxml, latex2html, libavahi-client-dev
<fche> ah hi there ema!
<ema> o/
<fche> ema, while I have you here ...
<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> https://packages.ubuntu.com/source/xenial/elfutils <<< this seems to be the source package for your version of elfutils
<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
<fche> haha no problem :)
<fche> I really appreciate your help already !
<ema> pleasure!
amerey_ has quit [Quit: Leaving]
<LW> make install-data-hook
<LW> make[5]: Entering directory '/data/work/systemtap-4.2/doc/SystemTap_Tapset_Reference'
<LW> cp /data/work/systemtap-4.2/doc/SystemTap_Tapset_Reference/tapsets.pdf /usr/local/share/doc/systemtap
<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
<ema> let's say coreutils, apache2, and some package that looks interesting here? https://popcon.debian.org/by_vote
<fche> aha
<fche> ema, for these packages the debuginfo is factored differently - a separate pool url ?
<ema> ah yes
<ema> so effectively for those you need to add a line to your /etc/apt/sources.list too
<fche> not with debuginfod :)
<ema> ha :)
<fche> re. coreutils -- has there not been a build since 2019-02-28? interesting!
<ema> indeed, the last upload was 8.30-3 last February
<fche> ok
<ema> you can always check by opening https://tracker.debian.org/$pkgname
<fche> will try not to forget
LW has quit [Remote host closed the connection]
LW has joined #systemtap
<fche> that tracker website is magic
<ema> :)
<fche> is there by any chance a reverse index ... a path (in the install tree) to a set of deb/package containing it?
<fche> (debuginfod is a baby subset of this)
<ema> not sure if I got the question, but you can find out which package provided a given file with dpkg -S
<ema> eg: dpkg -S /bin/ls
<fche> yup, from an installed box. yeah, I mean distro history wide, but doubt such a thing exists
<fche> ok glibc, apache2, coreutils dbgsym also now coming down
<ema> might as well include systemtap too :)
<fche> but why? it's bug free :)
<ema> sure, for educational purposes only
sapatel has joined #systemtap
<ema> gotta go now, see you!
<fche> ok done
<fche> by ema, have a good one, thanks!
<ema> yw, ciao!
wcohen has quit [Remote host closed the connection]
wcohen has joined #systemtap
amerey has quit [Quit: Leaving]
wcohen has quit [Read error: Connection reset by peer]
wcohen has joined #systemtap
wcohen is now known as wcohen|lunch
amerey has joined #systemtap
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #systemtap
wcohen|lunch is now known as wcohen
irker695 has quit [Quit: transmission timeout]
wcohen has quit [Ping timeout: 240 seconds]
wcohen has joined #systemtap
wcohen has quit [Ping timeout: 258 seconds]
wcohen has joined #systemtap
wcohen has quit [Ping timeout: 258 seconds]
higgins has quit [Quit: Leaving]
higgins has joined #systemtap
yogananth_ has quit [Remote host closed the connection]
yogananth_ has joined #systemtap
tromey has quit [Quit: ERC (IRC client for Emacs 26.2)]
yogananth_ has quit [Remote host closed the connection]
yogananth_ has joined #systemtap
wcohen has joined #systemtap
mjw has quit [Quit: Leaving]
orivej has quit [Ping timeout: 265 seconds]