Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jun 2024 11:12:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 279735] ports-mgmt/sccache-overlay errors ld-elf.so.1: Shared object "libsys.so.7" not found, required by "libthr.so.3"
Message-ID:  <bug-279735-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279735

            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] =3D=3D> 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]=20
[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=3DYES
#
CCACHE_DIR=3D/var/cache/ccache
SCCACHE_DIR=3D/var/cache/ccache/sccache
OVERLAYS+=3D/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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-279735-7788>