Skip to content

Unable to build on Fedora 39 #680

@Thulium-Drake

Description

@Thulium-Drake

Hi!

I tried building on Fedora 39 in order to make a SPEC file that could be used to automagically create packages, but it doesn't want to:

[root@c3b25ce4d603 assh-2.16.0]# go mod download
[root@c3b25ce4d603 assh-2.16.0]# make install
go generate
# runtime/cgo
In file included from /usr/include/errno.h:28,
                 from cgo-gcc-prolog:30:
/usr/include/bits/errno.h:26:11: fatal error: linux/errno.h: No such file or directory
   26 | # include <linux/errno.h>
      |           ^~~~~~~~~~~~~~~
compilation terminated.
main.go:1: running "sh": exit status 1
make: *** [Makefile:22: generate] Error 1

I used a Podman container with an updated version of Fedora 39 and I installed the following packages:

  • golang
  • musl-devel
  • rpm-build (which brings all kinds of build dependencies such as gcc)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions