Re: cmake: Problems finding libraries on Alpha
On Fri, Sep 15, 2023 at 08:57:15PM +0200, Timo Röhling wrote:
> Hi Adrian,
Hi Timo,
thanks for taking a look (and sorry for the late reply).
> On Mon, 11 Sep 2023 01:20:53 +0300 Adrian Bunk <bunk@debian.org> wrote:
> > 1. The problem is about not finding a library,
> > it happens in many packages with many libraries.
> >
> > 2. The problem happens only on alpha.
> >
> > 3. There is no such problem with non-cmake build systems.
> >
> > 4. The problem started after the release of bookworm.
> > It might be a regression in cmake 3.26 or somewhere else (glibc?).
> Do you think the bug is reproducible with a small shell script
> such as:
>
> set -e
> while sleep 5
> do
> mkdir /tmp/_build
> cmake -B /tmp/_build -S /path/to/project/with/required/find_library
> rm -rf /tmp/_build
> done
Yes, I would suspect this should reproduce this bug with a package like
the mentioned fcitx5-skk.
I'm adding the debian-alpha list to Cc since I don't have access to
Alpha hardware and I cannot reproduce the problem locally with qemu
since my local qemu setup is apparently in some relevant way different
from the qemu buildds where the problem does happen.
> If yes, we could try this with a rebuilt CMake 3.25 and see if
> this is truly a CMake regression. I looked at the code and could not
> spot anything suspicious yet, so this would certainly be
> instructive.
>
> Cheers
> Timo
Thanks
Adrian
Reply to: