[MacPorts] #56225: mpbb: sort-with-subports.tcl chokes on circular dependency, fails silently

MacPorts noreply at macports.org
Wed Apr 4 00:45:08 UTC 2018


#56225: mpbb: sort-with-subports.tcl chokes on circular dependency, fails silently
---------------------------+---------------------
 Reporter:  raimue         |      Owner:  admin@…
     Type:  defect         |     Status:  new
 Priority:  Normal         |  Milestone:
Component:  buildbot/mpbb  |    Version:
 Keywords:                 |       Port:
---------------------------+---------------------
 mpbb did not try to build any port for a recent commit:
 https://build.macports.org/builders/ports-10.13_x86_64-watcher/builds/4667
 (same for other macOS versions)

 Although `mpbb list-subports` failed, the overall build was successful. We
 need to fix this in order to detect such failures.

 The error for list-subports was:

 {{{
 $ ./mpbb list-subports gnuradio
 ./mpbb: error: None of the specified ports were found in the port index.
 ./mpbb: error: `list-subports' failed to run successfully
 }}}

 The problem was caused by gnuradio, which appears to have a circular
 dependency somewhere:

 {{{
 $ /opt/local/bin/port-tclsh ./tools/sort-with-subports.tcl gnuradio |&
 head
 too many nested evaluations (infinite loop?)
     (procedure "process_port_deps" line 1)
     invoked from within
 "process_port_deps $portdep portdeps portlist"
     (procedure "process_port_deps" line 7)
     invoked from within
 ...
 }}}

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


More information about the macports-tickets mailing list