[MacPorts] #64413: gdal @3.4.0 +cfitsio+hdf4+hdf5+heif+libkml+lto+lzma+native+netcdf+openjpeg+poppler+postgresql13+proj7+xerces: linker assertion failure

MacPorts noreply at macports.org
Tue Jan 11 20:38:11 UTC 2022


#64413: gdal @3.4.0
+cfitsio+hdf4+hdf5+heif+libkml+lto+lzma+native+netcdf+openjpeg+poppler+postgresql13+proj7+xerces:
linker assertion failure
-------------------------+--------------------
 Reporter:  cooljeanius  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.7.1
 Keywords:               |       Port:  gdal
-------------------------+--------------------
 Attempting to do `sudo port -udc install gdal
 +cfitsio+hdf4+hdf5+heif+libkml+lto+lzma+native+netcdf+openjpeg+poppler+postgresql13+proj7+xerces`
 with gdal 3.4.0 results in the following error for me:
 {{{
 ld: warning: dylib (/opt/local/lib/libgif.dylib) was built for newer macOS
 version (11.2) than being linked (11.0)
 Assertion failed: ((Record[i] == 5 || Record[i] == 6) && "Invalid
 attribute group entry"), function parseAttributeGroupBlock, file
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-10/llvm-10/work/llvm-10.0.1.src/lib/Bitcode/Reader/BitcodeReader.cpp,
 line 1654.
 fatal error: ar: fatal error in /opt/local/bin/ranlib
 make[1]: *** [libgdal.la] Error 1
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.4.0'
 make: *** [check-lib] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.4.0'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.4.0"
 && /usr/bin/make -j16 -w
 Exit code: 2
 Error: Failed to build gdal: command execution failed
 DEBUG: Error code: CHILDSTATUS 19725 2
 }}}
 The full link line is rather long, so instead of including that in what
 I've pasted here, I'll just upload the full log next.

-- 
Ticket URL: <https://trac.macports.org/ticket/64413>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list