Ticket #48016

CI: os-x builds failing due to missing zlib

Date d'ouverture: 2023-05-11 14:53 Dernière mise à jour: 2023-05-13 03:04

Rapporteur:
Propriétaire:
Type:
État:
Atteints
Composant:
Priorité:
8
Sévérité:
5 - moyen
Résolution:
Fixed
Fichier:
1

Détails

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
Commentaire

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
Commentaire
2023-05-11 23:29 Updated by: cazfi
Commentaire

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

2023-05-13 00:38 Updated by: cazfi
Commentaire

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

2023-05-13 03:02 Updated by: cazfi
Commentaire

Worked on all branches.

2023-05-13 03:04 Updated by: cazfi
  • État Update from Ouvert to Atteints
  • Propriétaire Update from (Aucun) to cazfi
  • Résolution Update from Aucun to Fixed

Modifier

Please login to add comment to this ticket » Connexion