On 10/22/20 3:23 PM, Ken Moffat via blfs-dev wrote:
I saw that sysprof was now recommended for libsoup, and I thought
I'd seen a post about that, but I can't spot it in my mail or by
searching on google ?

Some related info:


http://wiki.linuxfromscratch.org/blfs/ticket/14051

http://wiki.linuxfromscratch.org/blfs/changeset/23755

Anyway,for the current build I went along with the recommendation
and added it, plus libdazzle.  But building libsoup did not go
smoothly:

First, ld failed to find libsysprof-4.so.  Invoking ldconfig solved
that, but then ld failed to find libsysprof-capture-4 because it is
a static lib which I automatically make unavailable - I *want* to
know what uses static libs to indicate what needs to be rebuilt when
upgrading.  Obviously not the book's problem, but an annoyance -
there are very few packages I now build where I need static libs
(binutils, expect, libcap, libtool, qtwebengine, graphviz) and they
were one of the reasons why I gave up on kf5.
Part of the reason why libsysprof-capture-4 needs to be static is due to the fact that it's a hook which is used to capture information from a process. On a side note, I just found a typo in that page that I'll fix at my next commit :-)
Unfortunateley, my later build attempts overwrote the original log,
so I can't confirm that it was indeed libsysprof-4.so which was
missing, and therefore I can't confirm that ldconfig needs to be
run.
It might not be a bad idea to add that in anyway to prevent any future problems.
Now that my system is more or less complete I've taken a look at the
meson filesi from libsoup and it seems to me that sysprof is
expected to be optional and auto-detected.  But perhaps I'm missing
something ?
Without sysprof installed, libsoup will download and install it's own version of sysprof as a submodule. We're trying to prevent meson from downloading external packages without our consent, so we added sysprof to the book (since it can also be used by GJS and Mutter) :-)
ĸen
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to