[MacPorts] #61530: dblatex @0.3.11_1 can be built with Python 3

MacPorts noreply at macports.org
Mon Nov 23 16:06:02 UTC 2020


#61530: dblatex @0.3.11_1 can be built with Python 3
--------------------------+------------------------
  Reporter:  ballapete    |      Owner:  neverpanic
      Type:  enhancement  |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.6.4
Resolution:               |   Keywords:  bigsur
      Port:  dblatex      |
--------------------------+------------------------

Comment (by ballapete):

 On `Big Sur` a bug exists when `dblatex` is built. A `make check` in `gtk-
 doc`s source directory shows this failure:

 {{{
 Traceback (most recent call last):
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_gnome_gtk-doc/gtk-doc/work/gtk-
 doc-1.32/gtkdoc-mkpdf", line 48, in <module>
     sys.exit(mkpdf.run(options))
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_gnome_gtk-doc/gtk-doc/work/gtk-
 doc-1.32/gtkdoc/mkpdf.py", line 75, in run
     pc = subprocess.Popen([config.dblatex, '--help'],
 stdout=subprocess.PIPE, stderr=subprocess.PIPE)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/subprocess.py",
 line 854, in __init__
     self._execute_child(args, executable, preexec_fn, close_fds,
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/subprocess.py",
 line 1702, in _execute_child
     raise child_exception_type(errno_num, err_msg, err_filename)
 FileNotFoundError: [Errno 2] No such file or directory:
 '/opt/local/bin/dblatex'
 }}}

 The reason is not that `/opt/local/bin/dblatex` does not exist but that
 the script starts with

 {{{
 #!/opt/local/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.83.8
 }}}

 The correct interpreter is of course
 `/opt/local/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8`!

-- 
Ticket URL: <https://trac.macports.org/ticket/61530#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list