From nobody Mon Dec 25 21:03:56 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SzVkm4NgBz54tDy; Mon, 25 Dec 2023 21:04:00 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from mailer.gwdg.de (mailer.gwdg.de [134.76.10.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SzVkm2YbSz3HlV; Mon, 25 Dec 2023 21:04:00 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Authentication-Results: mx1.freebsd.org; none Received: from mbx19-gwd-03.um.gwdg.de ([10.108.142.56] helo=email.gwdg.de) by mailer.gwdg.de with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (GWDG Mailer) (envelope-from ) id 1rHs7B-0008Ip-01; Mon, 25 Dec 2023 22:03:57 +0100 Received: from [192.168.178.23] (10.250.9.199) by MBX19-GWD-03.um.gwdg.de (10.108.142.56) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.2.1258.28; Mon, 25 Dec 2023 22:03:57 +0100 Message-ID: <13dd6aba-53e9-4153-a79e-5ef9fa802309@gwdg.de> Date: Mon, 25 Dec 2023 22:03:56 +0100 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: git: f776ecb14ef3 - main - graphics/gdal: Update to 3.8.2 To: Po-Chuan Hsieh CC: , , References: <202312250908.3BP98d22069509@gitrepo.freebsd.org> Content-Language: en-US Reply-To: Rainer Hurling From: Rainer Hurling In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.250.9.199] X-ClientProxiedBy: EXCMBX-12.um.gwdg.de (134.76.9.221) To MBX19-GWD-03.um.gwdg.de (10.108.142.56) X-Spam-Level: - X-Virus-Scanned: (clean) by clamav X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:207592, ipnet:134.76.0.0/16, country:DE] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4SzVkm2YbSz3HlV Am 25.12.23 um 21:45 schrieb Po-Chuan Hsieh: > Hello, > > On Mon, Dec 25, 2023 at 7:11 PM Rainer Hurling > wrote: > > Hi Sunpoet, > > Am 25.12.23 um 10:08 schrieb Po-Chuan Hsieh: > > The branch main has been updated by sunpoet: > > > > URL: > https://cgit.FreeBSD.org/ports/commit/?id=f776ecb14ef338ffe0ecb0d649c5513001ef31f0 > > > > commit f776ecb14ef338ffe0ecb0d649c5513001ef31f0 > > Author:     Po-Chuan Hsieh > > AuthorDate: 2023-12-25 08:59:50 +0000 > > Commit:     Po-Chuan Hsieh > > CommitDate: 2023-12-25 08:59:50 +0000 > > > >      graphics/gdal: Update to 3.8.2 > > > >      - Add AEC option > > > >      Changes: https://github.com/OSGeo/gdal/releases > > > https://github.com/OSGeo/gdal/blob/release/3.8/NEWS.md > > > Thanks again for the patch! > > But hmm, on my box (recent 115.0-CURRENT amd64) I can't build it > because > of a problem with finding lz4 in the configure phase: > > # make configure > [..snip..] > -- Looking for BZ2_bzCompressInit - found > CMake Warning at > /usr/local/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 > (find_package): >    By not providing "Findlz4.cmake" in CMAKE_MODULE_PATH this > project has >    asked CMake to find a package configuration file provided by > "lz4", but >    CMake did not find one. > >    Could not find a package configuration file provided by "lz4" > with any of >    the following names: > >      lz4Config.cmake >      lz4-config.cmake > >    Add the installation prefix of "lz4" to CMAKE_PREFIX_PATH or set > "lz4_DIR" >    to a directory containing one of the above files.  If "lz4" > provides a >    separate development package or SDK, be sure it has been installed. > Call Stack (most recent call first): >    /usr/local/lib/cmake/TileDB/TileDBConfig.cmake:41 (find_dependency) >    cmake/helpers/CheckDependentLibraries.cmake:145 (find_package) >    cmake/helpers/CheckDependentLibraries.cmake:721 (gdal_check_package) >    gdal.cmake:265 (include) >    CMakeLists.txt:246 (include) > > CMake Warning at cmake/helpers/CheckDependentLibraries.cmake:145 > (find_package): >    Found package configuration file: > >      /usr/local/lib/cmake/TileDB/TileDBConfig.cmake > >    but it set TileDB_FOUND to FALSE so package "TileDB" is > considered to be >    NOT FOUND.  Reason given by package: > >    TileDB could not be found because dependency lz4 could not be found. > > Call Stack (most recent call first): >    cmake/helpers/CheckDependentLibraries.cmake:721 (gdal_check_package) >    gdal.cmake:265 (include) >    CMakeLists.txt:246 (include) > > CMake Error at cmake/helpers/CheckDependentLibraries.cmake:202 > (message): >    Configured to use TILEDB, but not found > Call Stack (most recent call first): >    cmake/helpers/CheckDependentLibraries.cmake:721 (gdal_check_package) >    gdal.cmake:265 (include) >    CMakeLists.txt:246 (include) > > -- Configuring incomplete, errors occurred! > *** Error code 1 > > > archivers/liblz4 is installed, but obviously not found from this > version > of GDAL? > Do you have any idea what's going wrong here? Thanks for any help. > > > Best wishes, > Rainer > > > It should be fixed in 86f828477d2dfbee2ac10886745ea915f0bdb6c1. > gdal is tested with all options enabled (except PODOFO). > It is caused by tiledb cmake files. > And that's why I do not like cmake. Wow, that's fast! Thank you very much, I would not have thought so quickly that the search for lz4 as a dependency in tiledb is the actual cause. Yes, cmake can sometimes get very confusing. But in the end I have almost always been able to solve my configuration problems with it. Would the patch be something for Upstream? Regards, Rainer > > Regards, > sunpoet