#1102299 patchelf: FTBFS on mips64el

Package:
src:patchelf
Source:
src:patchelf
Submitter:
Graham Inggs
Date:
2025-04-21 00:00:02 UTC
Severity:
normal
Tags:
#1102299#5
Date:
2025-04-07 12:49:26 UTC
From:
To:
Hi Maintainer

The recent upload of patchelf 0.18.0-1.2 FTBFS on mips64el [1].  I've
copied what I hope is the relevant part of the log below.

Regards
Graham


[1] https://buildd.debian.org/status/logs.php?pkg=patchelf&arch=mips64el


writing ./many-syms-main
# Run the patched tool and libraries
./many-syms-main: symbol lookup error: ./many-syms-main: undefined
symbol: f225_special_suffix
FAIL rename-dynamic-symbols.sh (exit status: 127)

#1102299#10
Date:
2025-04-19 04:45:08 UTC
From:
To:
user debian-release@lists.debian.org
usertags 1102299 + bsp-2025-04-brazil
thanks

Thanks, Graham.

I tried reproducing the issue but apparently it's gone.  I've given back
the build, hopefully it will succeed this time.  I'll check back
tomorrow.

Cheers,

#1102299#15
Date:
2025-04-19 11:27:21 UTC
From:
To:
https://buildd.debian.org/status/logs.php?pkg=patchelf&ver=0.18.0-1.2&arch=mips64el

https://buildd.debian.org/status/fetch.php?pkg=patchelf&arch=mips64el&ver=0.18.0-1.2&stamp=1745055768&raw=0

...
# Run the patched tool and libraries
./many-syms-main: symbol lookup error: ./many-syms-main: undefined symbol: f225_special_suffix
FAIL rename-dynamic-symbols.sh (exit status: 127)

#1102299#20
Date:
2025-04-19 16:13:51 UTC
From:
To:
$ head fix-replace-add-needed-armhf.patch
From 1c443aa1c7b8c8bcafde796f2e41e4abce3793e1 Mon Sep 17 00:00:00 2001
From: matoro <matoro@users.noreply.github.com>
Date: Sat, 4 Nov 2023 20:01:22 -0400
Subject: [PATCH] Fix page size on Alpha

Upstream meanwhile reverted it:
https://github.com/NixOS/patchelf/pull/541/commits/a9d3f085ffdc1730c722998ef95a632e2f76dc8f

Unfortunately, reproducing the build failure does not seem possible
on eberlin.d.o.

Chris

#1102299#25
Date:
2025-04-19 19:04:43 UTC
From:
To:
Control: tags -1 + unreproducible

I'll backport and upload this to unstable.  I believe it makes sense to
do it regardless.

That's what I was trying yesterday, and I noticed that it's not possible
to reproduce the problem on eberlin.  It's tough to debug this without
reproducing the problem.

If the backport above doesn't solve the FTBFS, I'm inclined to ignore
the result on mips64el.

#1102299#32
Date:
2025-04-19 20:16:14 UTC
From:
To:
It didn't work, the FTBFS still happens.

I'll keep debugging it.

#1102299#37
Date:
2025-04-19 21:43:13 UTC
From:
To:
Control: forwarded -1 https://github.com/NixOS/patchelf/issues/594

And so I did.

First of all, I've just uploaded patchelf 0.18.0-1.4 which will skip the
failing test on mips64el, since I haven't been able to find a proper
fix.  But I think I have a few clues about what might be happening, and
I'll report an upstream bug to let them know.

If we look at the build logs for the FTBFS, we see the following
excerpt:

#1102299#44
Date:
2025-04-20 23:57:50 UTC
From:
To:
Control: severity -1 important

I'm downgrading the severity of this bug so that the package can migrate
to testing.  Also, I don't consider that this specific problem makes the
unusable on mips64el.

Thanks,