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

Autotools/Configure build fails #3562

Closed
SDLBugzilla opened this issue Feb 11, 2021 · 0 comments
Closed

Autotools/Configure build fails #3562

SDLBugzilla opened this issue Feb 11, 2021 · 0 comments

Comments

@SDLBugzilla
Copy link
Collaborator

SDLBugzilla commented Feb 11, 2021

This bug report was migrated from our old Bugzilla tracker.

These attachments are available in the static archive:

Reported in version: HG 2.0
Reported for operating system, platform: Linux, x86_64

Comments on the original bug report:

On 2020-02-23 20:37:35 +0000, Malte Kießling wrote:

Created attachment 4225
patch

Starting with https://hg.libsdl.org/SDL/rev/ef2d5382a887 i cannot build using good old ./configure anymore.

The error i get is:

[....]
config.status: creating Makefile
config.status: creating sdl2-config
config.status: creating sdl2-config.cmake
config.status: error: cannot find input file: `sdl2-config-version.cmake.in'

To me it looks like that the applied patch is just missing the sdl2-config-version.cmake.in that was in the suggested patch from bug 4970 / https://bugzilla.libsdl.org/attachment.cgi?id=4223&action=diff

I added a standalone patch (by glorious copy-paste) just for the file.

On 2020-02-25 02:53:27 +0000, Cameron Gutman wrote:

I just hit this build break too.

Adding the 2.0.12 label and updating priority so this doesn't get lost.

On 2020-02-25 03:01:17 +0000, Cameron Gutman wrote:

There's an additional build break introduced by https://hg.libsdl.org/SDL/rev/4efb3eb7a3b3 :(

/opt/SDL2/src/video/SDL_surface.c: In function ‘SDL_ConvertSurface_REAL’:
/opt/SDL2/src/video/SDL_surface.c:1056:13: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
int i;

On 2020-02-25 19:43:57 +0000, Ryan C. Gordon wrote:

Whoops, my bad, I'll take this.

--ryan.

On 2020-02-25 19:54:56 +0000, Ryan C. Gordon wrote:

Fixed in https://hg.libsdl.org/SDL/rev/78754c9488f6, and Sylvain fixed the C90 error in https://hg.libsdl.org/SDL/rev/2f75c19fd2f2

--ryan.

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