Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build on Fedora 39 #680

Open
Thulium-Drake opened this issue Jan 29, 2024 · 0 comments
Open

Unable to build on Fedora 39 #680

Thulium-Drake opened this issue Jan 29, 2024 · 0 comments

Comments

@Thulium-Drake
Copy link

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant