[MacPorts] #58373: dvisvgm-devel @20190415-6e826ebf: build dependencies not specified properly

MacPorts noreply at macports.org
Tue Apr 23 09:15:50 UTC 2019


#58373: dvisvgm-devel @20190415-6e826ebf: build dependencies not specified properly
--------------------------+-----------------------
 Reporter:  chrstphrchvz  |      Owner:  michaelld
     Type:  defect        |     Status:  assigned
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:
 Keywords:                |       Port:  dvisvgm
--------------------------+-----------------------
 In [bf528304dd/macports-ports]:

 {{{
 subport dvisvgm-devel {}

 if {${subport} eq ${name}} {

     …

 } else {

     # devel

     …

     use_autoconf yes
     autoconf.cmd ${worksrcpath}/autogen.sh

     # Setting autoconf.cmd to a non-default value after setting
 'use_autoconf yes'
     # removes the automatic dependencies, so re-add them.
     depends_build \
         port:autoconf \
         port:automake \
         port:libtool

 }

 depends_build \
     port:asciidoc \
     port:pkgconfig

 }}}

 The second (outer) `depends_build` wipes out the `depends_build` specified
 for `dvisvgm-devel`. This caused CI builds to fail:

 https://travis-ci.org/macports/macports-
 ports/builds/523341224?utm_source=github_status&utm_medium=notification

 https://github.com/macports/macports-
 ports/pull/4127/checks?check_run_id=108395012

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


More information about the macports-tickets mailing list