Skip to content

Build error: encoding/binary.decodeFast: 1456+8 not in [0,1024) #3458

Open
@siegLoesch

Description

@siegLoesch

Before you report an issue...

  • [ done] Have you searched for a duplicate report?
  • [ done] Have you replicated the problem on the latest release?
  • [ done] Have you checked the latest documentation?
  • [ done] Are you using an up-to-date system?

Version of singularity: 4.2.2

Describe the bug
Current build on debian bookworm yields the following error:

GO singularity
    [+] GO_TAGS "sylog singularity_engine fakeroot_engine apparmor selinux seccomp"
# github.com/sylabs/singularity/v4/cmd/singularity
encoding/binary.decodeFast.jump6: invalid relocation encoding/binary.decodeFast: 1456+8 not in [0,1024)
make: *** [Makefile:181: singularity] Error 1

To Reproduce

Steps to reproduce the behavior:
Carrying out install steps according file: Install.md from github or documentation in chapter: Installing SingularityCE

Expected behavior
Build without error as with version tag 4.2.1

A clear and concise description of what you expected to happen.

OS / Linux Distribution
Up to date Debian bookworm

$ cat /etc/os-release:
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

Installation Method
Compiled from source.

Additional context

checking: cryptsetup... yes (/sbin/cryptsetup)
 checking: go... yes (/opt/go/bin/go)
 checking: ldconfig... yes (/sbin/ldconfig)
 checking: mksquashfs... yes (/usr/bin/mksquashfs)
 checking: nvidia-container-cli... no
 checking: unsquashfs... yes (/usr/bin/unsquashfs)

=> generating fragments ...
=> building Makefile ...
=> generating singularity-ce.spec ...
=> project singularity-ce setup with :
    - host arch: x86_64
    - host wordsize: 64-bit
    - host C compiler: cc
    - host Go compiler: /opt/go/bin/go
    - host system: unix
      ---
    - target arch: x86_64
    - target wordsize: 64-bit
    - target C compiler: cc
      ---
    - config profile: release
      ---
    - SUID install: yes
    - Network plugins: yes
    - seccomp support: yes
    - Build conmon: yes
    - Build squashfuse: yes
      ---
    - verbose: no
      ---
    - cryptsetup: /sbin/cryptsetup
      ---
    - version: 4.2.2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions