poudriere arm64 with qemu error : ELF interpreter /libexec/ld-elf.so.1 not found, error 8

rosorio

Developer
I create a arm64.aarch64 jail for my poudriere and did a first build who succeed,
then poudriere start failing with this error :
ELF interpreter /libexec/ld-elf.so.1 not found, error 8

I checked and the file is not missing nor in the host or the jail.
For the record the host is a amd64 13.1-RELEASE.

Any idea ? I attach the full log jut in case I miss something.
 

Attachments

A wild guess. Maybe you must explicitly specify in /usr/local/etc/poudriere.d/make.conf the architecture & cpu you are compiling to ?
Do you use any form of virtualisation ?
 
Cleaning all ports seems to fix the issue (poudriere bulk -c ...)
but this is clearly not an option if It requires to build big packages multiple times
 
A wild guess. Maybe you must explicitly specify in /usr/local/etc/poudriere.d/make.conf the architecture & cpu you are compiling to ?
Do you use any form of virtualisation ?

Here is my poudriere configuration file
As described in the output file I attach in my first post, I'm cross-building ports for arm64.aarch64 on amd64 using QEMU.
There is no other form of virtualization.
 

Attachments

It's a bug on 13.1, there is already a thread somewhere on this forum with the fix.
 
How do you build your poudriere jail (with native-xtools ?)
How have you upgraded your host? Is your /usr/src at 13.1-stable ?
Do you have a build log when a port fails?
 
How do you build your poudriere jail (with native-xtools ?)
I just create a poudriere jail using 13.1-STABLE version
How have you upgraded your host? Is your /usr/src at 13.1-stable ?
No updgrade done, I just kept what's comes from the official repos
Do you have a build log when a port fails?
No, no log at all. Only the poudriere failing
BTW, during first run (or after cleaning ports), if I ask for an interactive jail,I have a failure
with the same error displayed.
 
How do you create your poudriere jail? This is what I have in my note:
Code:
poudriere jails -c -j 121aarch64 -v 12.1-RELEASE -a arm64.aarch64 -x
Make sure your /usr/src contains the fix mentioned in the other thread.
 
How do you create your poudriere jail? This is what I have in my note:
Code:
poudriere jails -c -j 121aarch64 -v 12.1-RELEASE -a arm64.aarch64 -x
Make sure your /usr/src contains the fix mentioned in the other thread.
Ok, I'll check. Thanks for your help.
 
I wonder if the -x option is implicit now?

I only see -X -- Do not build and setup native-xtools cross compile tools

So does that mean -x = -- Do Build and setup native xtools cross compile tools???

Not in manpage or program help.

Crosscompiling arm64.aarch64 on amd64
 
Back
Top