portmaster alembic-1.7.11_2 … /tmp/work/usr/ports/graphics/alembic/work/alembic-1.7.12/lib/Alembic/Abc/ArchiveInfo.cpp:66:29: error: use of undeclared identifier 'kDCCFPSKey' oDCCFPS = atof( md.get( kDCCFPSKey ).c_str() ); ^ 1 error generated. but this work fine: pkg delete -yf alembic-1.7.11_2 && portmaster alembic-1.7.11_2
@Reporter Could you please attach a full build log, compressed if necessary, thank you!
This is due to a problem with the -Idir order. -I/usr/local/include -Ilib is used, so the older ArchiveInfo.h takes precedence. There is no kDCCFPSKey in the old one.
Created attachment 212996 [details] Build log with error
danfe@, the link_directory path may also be an issue when fixing this
koobs@, asking for the log upfront makes little sense, unless the problem is hard to reproduce or something; otherwise it just clutters Bugzilla.
A commit references this bug: Author: danfe Date: Fri Apr 3 08:16:30 UTC 2020 New revision: 530474 URL: https://svnweb.freebsd.org/changeset/ports/530474 Log: Unbreak the build when previous version of the port is installed by preventing system-wide include directories being injected into the global CMake state and thus taking precedence over target's include directories. Hook provided test suite to our framework while here. PR: 245298 Changes: head/graphics/alembic/Makefile head/graphics/alembic/files/patch-CMakeLists.txt head/graphics/alembic/files/patch-lib_Alembic_AbcCoreHDF5_Tests_CMakeLists.txt
Thanks for the report, should be fixed in ports r530474. Patch submitted upstream (see the URL).