Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jan 2023 20:07:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 269256] graphics/gdal: build fails with option MYSQL set
Message-ID:  <bug-269256-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269256

            Bug ID: 269256
           Summary: graphics/gdal: build fails with option MYSQL set
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: d8zNeCFG@aon.at
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)
          Assignee: sunpoet@FreeBSD.org

Scenario:
- FreeBSD 12.4
- ports latest
- upgrading using portmaster
- gdal port option settings:

[0]# diff =3D(PORT_DBDIR=3D/nonexistent make showconfig) =3D(make showconfi=
g)=20=20=20=20=20=20=20
10c10
<      EXR=3Doff: EXR support via OpenEXR library
---
>      EXR=3Don: EXR support via OpenEXR library
13c13
<      GTA=3Doff: Generic Tagged Array (GTA) support
---
>      GTA=3Don: Generic Tagged Array (GTA) support
20c20
<      MYSQL=3Doff: MySQL database support
---
>      MYSQL=3Don: MySQL database support
22c22
<      ODBC=3Doff: ODBC database backend
---
>      ODBC=3Don: ODBC database backend
[1]#=20

Result:
- build of gdal-3.6.2 fails with:

...
-- GDAL_ABI_FULL_VERSION =3D 32.3.6.2
-- GDAL_SOVERSION        =3D 32
-- Found ODBC: /usr/local/lib/libodbc.so  found components: ODBCINST
-- Could NOT find ODBCCPP (missing: ODBCCPP_LIBRARY ODBCCPP_INCLUDE_DIR)
-- Could NOT find MSSQL_ODBC (missing: MSSQL_ODBC_LIBRARY
MSSQL_ODBC_INCLUDE_DIR MSSQL_ODBC_VERSION)
-- Could NOT find MySQL (missing: MYSQL_LIBRARY) (found version "5.7.40")
CMake Error at cmake/helpers/CheckDependentLibraries.cmake:178 (message):
  Configured to use MYSQL, but not found
Call Stack (most recent call first):
  cmake/helpers/CheckDependentLibraries.cmake:260 (gdal_check_package)
  gdal.cmake:264 (include)
  CMakeLists.txt:224 (include)


-- Configuring incomplete, errors occurred!
See also
"/usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/graphics/gdal/work/.build/CM=
akeFiles/CMakeOutput.log".
See also
"/usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/graphics/gdal/work/.build/CM=
akeFiles/CMakeError.log".
*** Error code 1

Stop.
make[1]: stopped in /net/hal/z/SRC/FreeBSD/ports/MBi/main/graphics/gdal
*** Error code 1

Stop.
make: stopped in /net/hal/z/SRC/FreeBSD/ports/MBi/main/graphics/gdal

-- Martin

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269256-7788>