<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">I am working on a port called MacPassHTTP (<a href="https://github.com/macports/macports-ports/pull/10162" class="">link to PR</a>). It's a plugin and therefore depends on some Objective-C headers of its parent application MacPass. On the build server, the header is not found. On my Mac it works.</div><div class=""><br class=""></div><div class="">MacPass installs the header into: ${prefix}/include/MacPass</div><div class=""><br class=""></div><div class="">In MacPassHTTP/Portfile I set the header path like this:</div><div class="">xcode.destroot.settings HEADER_SEARCH_PATHS=${prefix}/include/MacPass</div><div class=""><br class=""></div><div class="">MacPassHTTP uses this import:</div><div class="">#import „MPPlugin.h“</div><div class=""><br class=""></div><div class="">On the server, I can see that MacPass does install the header as expected:</div><div class="">2021-03-22T19:49:01.8946050Z DEBUG: activating file: /opt/local/include/MacPass/MPPlugin.h</div><div class=""><br class=""></div><div class="">But later, building MacPassHTTP fails:</div><div class=""><div class=""><div class="">2021-03-22T19:52:03.0458050Z /opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-ports_ports_security_MacPassHTTP/MacPassHTTP/work/MacPass-MacPassHTTP-b445602/MacPassHTTP/MPHMacPassHTTP.h:10:9: fatal error: 'MPPlugin.h' file not found</div><div class="">2021-03-22T19:52:03.0459850Z #import "MPPlugin.h"</div><div class="">2021-03-22T19:52:03.0460610Z         ^~~~~~~~~~~~</div><div class="">2021-03-22T19:52:03.7206900Z 1 error generated.</div></div></div><div class=""><br class=""></div><div class="">Interestingly, referencing other Frameworks with FRAMEWORK_SEARCH_PATHS works also on the server. But referencing headers does not. </div><div class=""><br class=""></div><div class="">The raw logs can be <a href="https://pipelines.actions.githubusercontent.com/GKxOQnS2ECz9Gaji3FEn5hedlXhA9eesLC1FSXCsbzejZyCfqf/_apis/pipelines/1/runs/3729/signedlogcontent/4?urlExpires=2021-03-22T19:56:49.8784130Z&urlSigningMethod=HMACV1&urlSignature=UPPVfjtbrz9PGxzRL6sjUTZPJiATTTaJa/spSC83D2Q=" class="">viewed here</a>.</div><div class=""><br class=""></div><div class="">What am I doing wrong?</div></body></html>