<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=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 28 Oct 2018, at 7:24 am, Ken Cunningham <<a href="mailto:ken.cunningham.webuse@gmail.com" class="">ken.cunningham.webuse@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="content-type" content="text/html; charset=utf-8" class=""><div dir="auto" class=""><div class=""></div><div class="">something like this from another port earlier today should do, until this issue finally gets fixed in the compiler run deps.</div><div class=""><br class=""></div><div class=""><<a href="https://github.com/macports/macports-ports/commit/c3b33c2df8abba42a855879b4097a17dee273fcc" class="">https://github.com/macports/macports-ports/commit/c3b33c2df8abba42a855879b4097a17dee273fcc</a>></div></div></div></blockquote><div><br class=""></div>Small comment, but cctools works fine on all OSes versions, so there is really no need to put it inside a Darwin version check. In fact, for all OSes using Xcode 7 or older it provides a newer toolchain. I would just remove the Darwin version check..</div><div><br class=""></div><div>Chris</div><div><br class=""><blockquote type="cite" class=""><div class=""><div dir="auto" class=""><div class=""><br class="">On Oct 27, 2018, at 23:55, Werner LEMBERG <<a href="mailto:wl@gnu.org" class="">wl@gnu.org</a>> wrote:<br class=""><br class=""></div><blockquote type="cite" class=""><div class=""><span class=""></span><br class=""><span class="">Folks,</span><br class=""><span class=""></span><br class=""><span class=""></span><br class=""><span class="">please have a look at this build log</span><br class=""><span class=""></span><br class=""><span class="">  <a href="https://build.macports.org/builders/ports-10.6_x86_64_legacy-builder/builds/83428" class="">https://build.macports.org/builders/ports-10.6_x86_64_legacy-builder/builds/83428</a></span><br class=""><span class=""></span><br class=""><span class="">It fails with</span><br class=""><span class=""></span><br class=""><span class="">  /usr/bin/ranlib: object:</span><br class=""><span class="">    libextractpdfmark-poppler-core.a(libextractpdfmark_poppler_core_a-pagemode.o)</span><br class=""><span class="">    malformed object (unknown load command 2)</span><br class=""><span class=""></span><br class=""><span class="">Searching in the web, I've found a similar report w.r.t. ranlib:</span><br class=""><span class=""></span><br class=""><span class="">  <a href="https://lists.macports.org/pipermail/macports-dev/2018-September/039282.html" class="">https://lists.macports.org/pipermail/macports-dev/2018-September/039282.html</a></span><br class=""><span class=""></span><br class=""><span class="">It essentially says that `cctools' needs to be installed.  Is this a</span><br class=""><span class="">dependency that I should add to extrapdfmark's Portfile?  Looking into</span><br class=""><span class="">other Portfiles, maybe</span><br class=""><span class=""></span><br class=""><span class="">  platform darwin 10 {</span><br class=""><span class="">      depends_build-append       port:cctools</span><br class=""><span class="">  }</span><br class=""><span class=""></span><br class=""><span class="">is the right fix – is this sufficient to make macports use the newer</span><br class=""><span class="">`ranlib' binary?</span><br class=""><span class=""></span><br class=""><span class="">Another issue: extractpdfmark doesn't really need GhostScript for</span><br class=""><span class="">compilation and execution; however, it will be optionally used for</span><br class=""><span class="">some `make check' tests.  On the other hand, using the program makes</span><br class=""><span class="">only sense if the calling Makefile (or whatever) feeds</span><br class=""><span class="">extractpdfmark's output into GS.  Shall this be somehow reflected in</span><br class=""><span class="">the Portfile, maybe an `optional dependency'?  If yes, how do I do</span><br class=""><span class="">that?</span><br class=""><span class=""></span><br class=""><span class=""></span><br class=""><span class="">    Werner</span><br class=""></div></blockquote></div></div></blockquote></div><br class=""></body></html>