On 2/23/21 7:47 PM, Kai Pastor, DG0YT wrote: > Am 21.02.21 um 16:32 schrieb Bas Couwenberg: >> Source: openorienteering-mapper >> Version: 0.9.4-2 >> Severity: important >> Tags: upstream ftbfs >> User: debian-...@lists.debian.org >> Usertags: proj-8.0 >> Control: forwarded -1 >> https://github.com/OpenOrienteering/mapper/issues/1214 >> >> Dear Maintainer, >> >> Your package FTBFS with PROJ 8.0.0: >> >> CMake Error at >> /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 >> (message): >> Could NOT find PROJ4 (missing: PROJ4_INCLUDE_DIR) >> >> It needs to be ported to use proj.h instead of proj_api.h which has >> been removed. >> >> Kind Regards, >> >> Bas > > Mapper source code is ported to use proj.h for modern PROJ. However, the > embedded fallback FindPROJ4.cmake module isn't, and possible won't.
A patch for that was just submitted to this bugreport. > Does Debian build PROJ 8.0.0 with cmake? Debian doesn't seem to provide > the cmake config files for PROJ. That's an upstream issue with PROJ. When it's built with autotools it doesn't install the cmake bits, it only does so when it's built with cmake. It's good practice to include the Find modules for any dependencies that are not part of cmake itself to not need upstream projects to install cmake modules for them. > openorienteering-mapper is meant to > pick up these config files. If it finds a recent PROJ in that way, it > won't use proj_api.h. Either way the FindPROJ4.cmake included in openorienteering-mapper needs to be updated to support PROJ 8: https://bugs.debian.org/cgi-bin/bugreport.cgi?att=2;bug=983254;filename=proj8.patch;msg=12 Kind Regards, Bas -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1