/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:
Date: Fri Apr 3 08:16:30 UTC 2020
New revision: 530474
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.
Thanks for the report, should be fixed in ports r530474. Patch submitted upstream (see the URL).