[Bug 279735] ports-mgmt/sccache-overlay errors ld-elf.so.1: Shared object "libsys.so.7" not found, required by "libthr.so.3"

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 14 Jun 2024 11:12:53 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279735

            Bug ID: 279735
           Summary: ports-mgmt/sccache-overlay errors ld-elf.so.1: Shared
                    object "libsys.so.7" not found, required by
                    "libthr.so.3"
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: rust@FreeBSD.org
          Reporter: void@f-m.fm
             Flags: maintainer-feedback?(rust@FreeBSD.org)
          Assignee: rust@FreeBSD.org

Hi,

ports-mgmt/sccache-overlay errors when poudriere jail is lower major freebsd
version with error:

[00:00:03] ==> Starting sccache
[00:00:03] ld-elf.so.1: Shared object "libsys.so.7" not found, required by
"libthr.so.3"
[00:00:03] ld-elf.so.1: Shared object "libsys.so.7" not found, required by
"libthr.so.3"
[00:00:03] *** Error code 1
[00:00:03] 
[00:00:03] Stop.
[00:00:03] make[1]: stopped in /usr/ports/ports-mgmt/pkg

The error does not happen if the poudriere host and the poudriere jail are both
at -current.
Tested on amd64 and arm64

how-to-reproduce:

1. have a 15-current host and create a 141R-releng poudriere jail
2. install sccache and sccache-overlay on the host
3. in the poudriere jail make.conf, set up sccache-overlay as per the
instructions. My installation looks like this:

WITH_CCACHE_BUILD=YES
#
CCACHE_DIR=/var/cache/ccache
SCCACHE_DIR=/var/cache/ccache/sccache
OVERLAYS+=/usr/local/share/sccache/overlay

4. make sccache-overlay available to poudriere:

poudriere ports -c -p sccache -m null -M /usr/local/share/sccache/overlay

5, tell it to build any pkg (pkg in this instance) like this:

poudriere bulk -j 141R-rpi3 -O sccache ports-mgmt/pkg

The above error is from an arm64 host, but the same thing happens on amd64.

-- 
You are receiving this mail because:
You are the assignee for the bug.