Opened 4 months ago

Closed 4 months ago

Last modified 4 months ago

#70445 closed defect (duplicate)

gdal configure fails during port install opencv3 +avx2 +contrib +debug +eigen +gdal +nonfree +opencl +openni +qt5 +tbb +tests +vtk

Reported by: TheLastLovemark Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: Cc: nilason (Nicklas Larsson), Veence (Vincent), mascguy (Christopher Nielsen)
Port: gdal, glib2

Description

This might be tied to #70437 as glib2 seems to be the culprit.

Slowly but surely its getting there.

Attachments (1)

gdal-main.log (42.4 KB) - added by TheLastLovemark 4 months ago.
gdal main.log

Download all attachments as: .zip

Change History (5)

Changed 4 months ago by TheLastLovemark

Attachment: gdal-main.log added

gdal main.log

comment:1 Changed 4 months ago by mascguy (Christopher Nielsen)

I could be wrong, but this looks like (?) it could be related to expat:

333	:info:configure CMake Error at /opt/local/lib/cmake/expat-2.6.2/expat-config-version.cmake:66 (if):
334	:info:configure   Flow control statements are not properly nested.
335	:info:configure Call Stack (most recent call first):
336	:info:configure   cmake/helpers/CheckDependentLibraries.cmake:141 (find_package)
337	:info:configure   cmake/helpers/CheckDependentLibraries.cmake:359 (gdal_check_package)
338	:info:configure   gdal.cmake:266 (include)
339	:info:configure   CMakeLists.txt:240 (include)
340	:info:configure CMake Warning at cmake/helpers/CheckDependentLibraries.cmake:141 (find_package):
341	:info:configure   Could not find a configuration file for package "EXPAT" that is compatible
342	:info:configure   with requested version "".
343	:info:configure   The following configuration files were considered but not accepted:
344	:info:configure     /opt/local/lib/cmake/expat-2.6.2/expat-config.cmake, version: unknown

But I'll defer to the gdal maintainers.

comment:2 Changed 4 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

Duplicate of #70228.

comment:3 Changed 4 months ago by ryandesign (Ryan Carsten Schmidt)

The workaround is to install the expat port without the universal variant.

comment:4 Changed 4 months ago by TheLastLovemark

will that break all installed dependents of expat?

Note: See TracTickets for help on using tickets.