Ticket #48016

CI: os-x builds failing due to missing zlib

오픈 날짜: 2023-05-11 14:53 마지막 업데이트: 2023-05-13 03:04

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

Details

os_x job on CI:

   CCLD     freeciv-server
ld: library not found for -lzlib
clang-16: error: linker command failed with exit code 1 (use -v to see invocation)

Ticket History (3/8 Histories)

2023-05-11 14:53 Updated by: cazfi
  • New Ticket "CI: os-x builds failing due to missing zlib" created
2023-05-11 14:58 Updated by: cazfi
댓글 올리기

Don't know where that "-lzlib" comes from. The library name to link is simply "z" -> "-lz", and that's detected at configure time.

checking for gzgets in -lz... yes
checking for zlib.h... yes

2023-05-11 17:47 Updated by: cazfi
댓글 올리기
2023-05-11 23:29 Updated by: cazfi
댓글 올리기

Build problem -> will push fix in as soon as have one tested.

2023-05-13 00:38 Updated by: cazfi
댓글 올리기

Attached patch that works at least for main branch. (resolves os_x failure)

2023-05-13 03:02 Updated by: cazfi
댓글 올리기

Worked on all branches.

2023-05-13 03:04 Updated by: cazfi
  • Status Update from Open to Closed
  • 소유자 Update from (None) to cazfi
  • Resolution Update from None to Fixed

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login