biber icon indicating copy to clipboard operation
biber copied to clipboard

v2.21 fails on linux-aarch64: Specio::XS, Specio::PP missing?

Open krumeich opened this issue 5 months ago • 2 comments

Hi @plk,

today, I've built the v2.21 version of biber for linux-aarch64. (Might be interesting for @sbrass as well)

All is well when I use the containerized build tools from the v2.20 release. When I create a new builder image, the binary won't run because it is missing some dependencies. Running biber --version fails:

Could not find a suitable Specio implementation: Can't locate Specio/XS.pm in @INC (you may need to install the Specio::XS module) (@INC contains: /opt /tmp/par-726f6f74/cache-fb52e744649600ee531459ccf3406ff0fc6d94da/inc/lib /tmp/par-726f6f74/cache-fb52e744649600ee531459ccf3406ff0fc6d94da/inc CODE(0xaaab01ecebe8) CODE(0xaaab01ee0820)) at /tmp/par-726f6f74/cache-fb52e744649600ee531459ccf3406ff0fc6d94da/inc/lib/Module/Runtime.pm line 120.
Can't locate Specio/PP.pm in @INC (you may need to install the Specio::PP module) (@INC contains: /opt /tmp/par-726f6f74/cache-fb52e744649600ee531459ccf3406ff0fc6d94da/inc/lib /tmp/par-726f6f74/cache-fb52e744649600ee531459ccf3406ff0fc6d94da/inc CODE(0xaaab01ecebe8) CODE(0xaaab01ee0820)) at /tmp/par-726f6f74/cache-fb52e744649600ee531459ccf3406ff0fc6d94da/inc/lib/Module/Runtime.pm line 120.
 at /tmp/par-726f6f74/cache-fb52e744649600ee531459ccf3406ff0fc6d94da/inc/lib/Specio.pm line 26.
BEGIN failed--compilation aborted at /tmp/par-726f6f74/cache-fb52e744649600ee531459ccf3406ff0fc6d94da/inc/lib/Specio.pm line 27.
Compilation failed in require at /tmp/par-726f6f74/cache-fb52e744649600ee531459ccf3406ff0fc6d94da/inc/lib/DateTime/Types.pm line 11.
BEGIN failed--compilation aborted at /tmp/par-726f6f74/cache-fb52e744649600ee531459ccf3406ff0fc6d94da/inc/lib/DateTime/Types.pm line 11.
Compilation failed in require at /tmp/par-726f6f74/cache-fb52e744649600ee531459ccf3406ff0fc6d94da/inc/lib/DateTime/Duration.pm line 12.
BEGIN failed--compilation aborted at /tmp/par-726f6f74/cache-fb52e744649600ee531459ccf3406ff0fc6d94da/inc/lib/DateTime/Duration.pm line 12.
Compilation failed in require at /tmp/par-726f6f74/cache-fb52e744649600ee531459ccf3406ff0fc6d94da/inc/lib/DateTime.pm line 14.
BEGIN failed--compilation aborted at /tmp/par-726f6f74/cache-fb52e744649600ee531459ccf3406ff0fc6d94da/inc/lib/DateTime.pm line 14.
Compilation failed in require at /tmp/par-726f6f74/cache-fb52e744649600ee531459ccf3406ff0fc6d94da/inc/lib/Biber/Date/Format.pm line 6.
BEGIN failed--compilation aborted at /tmp/par-726f6f74/cache-fb52e744649600ee531459ccf3406ff0fc6d94da/inc/lib/Biber/Date/Format.pm line 6.
Compilation failed in require at /tmp/par-726f6f74/cache-fb52e744649600ee531459ccf3406ff0fc6d94da/inc/lib/Biber/Constants.pm line 10.
BEGIN failed--compilation aborted at /tmp/par-726f6f74/cache-fb52e744649600ee531459ccf3406ff0fc6d94da/inc/lib/Biber/Constants.pm line 10.
Compilation failed in require at /tmp/par-726f6f74/cache-fb52e744649600ee531459ccf3406ff0fc6d94da/inc/lib/Biber/Internals.pm line 7.
BEGIN failed--compilation aborted at /tmp/par-726f6f74/cache-fb52e744649600ee531459ccf3406ff0fc6d94da/inc/lib/Biber/Internals.pm line 7.
Compilation failed in require at /loader/HASH(0xaaab013b0578)/parent.pm line 16.
BEGIN failed--compilation aborted at /tmp/par-726f6f74/cache-fb52e744649600ee531459ccf3406ff0fc6d94da/inc/lib/Biber.pm line 5.
Compilation failed in require at script/biber line 21.
BEGIN failed--compilation aborted at script/biber line 21.

Adding the suggested modules Specio::XS and Specio::PP didn't help. Do you have a clue as to what is missing here?

For 2.21 I can get around this by reusing the builder image from v2.20. However, I'd like to get this fixed before a newer Perl version or any other new requirement needs a rebuild of the tool chain.

Thank you!

krumeich avatar Jul 11 '25 16:07 krumeich

Hmm, this is a mystery - I have no idea what that Specio stuff is at all - perhaps just add those modules to the build script? Might be some compat stuff for aarch64?

plk avatar Jul 11 '25 17:07 plk

I've added both Specio::XS and Specio:PP but to no avail. The errors persist. I'll look into this. Can we leave this open until the issue has been resolved?

krumeich avatar Jul 11 '25 20:07 krumeich