[MacPorts] #54309: libnetpbm @10.78.05_1: build fails if default python is python36

MacPorts noreply at macports.org
Mon Jun 12 00:21:25 UTC 2017


#54309: libnetpbm @10.78.05_1: build fails if default python is python36
------------------------+-----------------------
 Reporter:  mndavidoff  |      Owner:
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  libnetpbm
------------------------+-----------------------
 Building man pages for libnetpbm fails if the MacPorts default python is
 python36.

 {{{
 $ port select --show python
 The currently selected version for 'python' is 'python36'.
 $ sudo port -vs install libnetpbm
 ...
 Converting libnetpbm.html to libnetpbm.3
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_netpbm/libnetpbm/work/advanced/buildtools/makeman",
 line 337
     raise exc_type, exc_value, exc_traceback
                   ^
 SyntaxError: invalid syntax
 gnumake: *** [libnetpbm.3] Error 1
 Command failed: /usr/bin/gnumake
 MAKEMAN='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_netpbm/libnetpbm/work/advanced/buildtools/makeman
 -v' USERGUIDE=. -f
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_netpbm/libnetpbm/work/advanced/buildtools/manpage.mk
 manpages
 Exit code: 2
 Error: Failed to build libnetpbm: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_netpbm/libnetpbm/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port libnetpbm failed
 }}}

 The man pages build successfully when the MacPorts default python is
 python27.

 It looks like the problem was introduced in [[https://github.com/macports
 /macports-ports/commit/601681e54d1948c5ffa325910131d512ce022c32|601681e]].

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


More information about the macports-tickets mailing list