[MacPorts] #61290: poppler: fails to build in trace mode

MacPorts noreply at macports.org
Thu Oct 8 06:53:44 UTC 2020


#61290: poppler: fails to build in trace mode
--------------------+----------------------
 Reporter:  iefdev  |      Owner:  dbevans
     Type:  defect  |     Status:  assigned
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.6.3
 Keywords:          |       Port:  poppler
--------------------+----------------------
 {{{
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_github
 .com_macports_macports-
 ports_graphics_poppler/poppler/work/poppler-20.10.0/splash/SplashXPathScanner.h:31:14:
 fatal error: 'boost/container/small_vector.hpp' file not found
 :info:build #    include <boost/container/small_vector.hpp>
 :info:build              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build 1 error generated.

 // ...

 :warn:build The following existing files were hidden from the build system
 by trace mode:
 :msg:build   /opt
 :msg:build   /opt/local/bin/gperf
 :msg:build   /opt/local/include/boost/container/small_vector.hpp
 :msg:build   /usr/local/include/boost/container/small_vector.hpp
 }}}

 Adding `boost` as a `depends_build`, worked.

 {{{
 #!diff
  depends_build-append \
 +                    port:boost \
                      port:pkgconfig
 }}}

 \\

 If a port needs a dep it should be added, instead of trusting the
 dependency chain, or so I've been told.

-- 
Ticket URL: <https://trac.macports.org/ticket/61290>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list