-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
Issue building on Alpine 3.21 #530
Comments
I'm afraid I don't understand why this would be an error. What compiler are you using? |
Using gcc, pretty recent versions of everything. Here's the output of ./configure. Main difference I can see is gcc13 was used with alpine 3.20, and gcc14 is used in 3.21. I'll see if I can get another OS with gcc14 to reproduce this. |
I get the same error on Arch Linux, which also has GCC14.
|
Same problem. Diff attached that removes the https://gist.github.com/djvs/bc099d357b4fca5cac81ac21a375ba71 |
Can you post the actual gcc version? I just built with 14.2.0 in ubuntu with no issues. That effects macro is valid syntax, I hesitate to remove it just because of one buggy compiler version. |
g++ (GCC) 14.2.1 20240910 |
Where are you getting 14.2.1 from? The latest tarball on GNU's ftp is 14.2.0 https://ftp.gnu.org/gnu/gcc/gcc-14.2.0/ Edit: they must be building from git. Compiling that now, I'll give it a try |
https://archlinux.org/packages/core/x86_64/gcc/ gcc 14.2.1+r134+gab884fffe3fc-2 |
compiles fine with gcc (GCC) 14.2.1 20240912 as well (with --disable-ffmpeg)... I wonder if there are some extra patches or something else at play. I'll try to allocate time to figure out how to install Arch in a VM |
I was doing a local build with Artix (Arch-based) updated a few days ago, right from git master. |
If you don't mind using docker/podman, distrobox would be a quick way to test it. |
I was going to file an issue, but happened to click on this one and noticed the mentioned error seems to be the same as what we noticed on OpenBSD after updating OpenAL to 1.24.x. We use Clang as a compiler.
|
That's a different error (your clang correctly handled the macro), but it's still valid. |
Oh, Ok. I will open another issue. Thanks. |
I've been able to build Alephone on previous versions of Alpine with no issues for a few years now, but have not been able to build it yet on 3.21; I receive this error:
Alpine is musl-based so that may be part of the issue. I'm fine carrying a patch in my personal builds, I'd just like to know how to work around this, if I can.
Thank you!
The text was updated successfully, but these errors were encountered: