Ticket #47328

Meson configure pass, but compilation complain about missing SDL2

오픈 날짜: 2023-02-09 00:05 마지막 업데이트: 2023-02-14 05:06

Reporter:
소유자:
Type:
Status:
Closed
Component:
Priority:
7
Severity:
5 - Medium
Resolution:
Fixed
File:
2

Details

Meson build system of Freeciv have bug, with cause compilation to fail with complain about missing SDL2 libraries, even if client was set to other than SDL2 and audio was disabled.

Ticket History (3/10 Histories)

2023-02-09 00:05 Updated by: lachu
  • New Ticket "Meson build pass, but compilation complain about missing SDL2" created
2023-02-09 15:05 Updated by: cazfi
2023-02-10 01:45 Updated by: lachu
  • Summary Updated
댓글 올리기

To be more clarify - not meson build passed, but configure process. Compilation gives result as described.

2023-02-10 01:55 Updated by: cazfi
  • 소유자 Update from (None) to cazfi
  • Resolution Update from None to Accepted
댓글 올리기

Does attached patch help? I have not tested in any environment that would really lack SDL2.

2023-02-12 20:03 Updated by: lachu
댓글 올리기

Reply To cazfi

Does attached patch help? I have not tested in any environment that would really lack SDL2.

Sorry for do not respond in time. I see status is accepted, but on my repository (git log) there is no content, which could describe this patch. But... I got:

../meson.build:846:0: ERROR: Unknown variable "lzma_dep".

I do not known if it is related.

This is not probably related. I look inside patch and nothing suspicious was inside.

(Edited, 2023-02-12 20:04 Updated by: lachu)
2023-02-12 20:13 Updated by: cazfi
댓글 올리기

Reply To lachu

Reply To cazfi

Does attached patch help? I have not tested in any environment that would really lack SDL2.

Sorry for do not respond in time. I see status is accepted, but on my repository (git log) there is no content, which could describe this patch.

Since osdn lacks more accurate status, we use "accepted" as the sign that the review period is running for the patch. It's changed to "Fixed" when pushed to the repository.

../meson.build:846:0: ERROR: Unknown variable "lzma_dep".

Thanks -> #47338

2023-02-14 02:21 Updated by: lachu
댓글 올리기

Reply To cazfi

Reply To lachu

Reply To cazfi

Does attached patch help? I have not tested in any environment that would really lack SDL2.

Sorry for do not respond in time. I see status is accepted, but on my repository (git log) there is no content, which could describe this patch.

Since osdn lacks more accurate status, we use "accepted" as the sign that the review period is running for the patch. It's changed to "Fixed" when pushed to the repository.

../meson.build:846:0: ERROR: Unknown variable "lzma_dep".

Thanks -> #47338

Build properly under Debian BookWorm.

  1. $ meson -Daudio=false -Dclients=gtk3.22 -Dqtver=qt5

Information about OS:

  1. $ cat /etc/os-release
  2. PRETTY_NAME="Debian GNU/Linux bookworm/sid"
  3. NAME="Debian GNU/Linux"
  4. ID=debian
  5. HOME_URL="https://www.debian.org/"
  6. SUPPORT_URL="https://www.debian.org/support"
  7. BUG_REPORT_URL="https://bugs.debian.org/"
But my version is stripped, because I am using Docker Container.

2023-02-14 05:06 Updated by: cazfi
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Attachment File List

Edit

Please login to add comment to this ticket » Login