[MacPorts] #43853: Defect: Doxygen 1.8.7 fails to build on PPC Tiger (Mac OS X 10.4.11) due to invalid syntax in file "configgen.py", line 173

MacPorts noreply at macports.org
Fri Jun 10 06:34:19 PDT 2016


#43853: Defect: Doxygen 1.8.7 fails to build on PPC Tiger (Mac OS X 10.4.11) due to
invalid syntax in file "configgen.py", line 173
------------------------------+----------------------
  Reporter:  Peter_Dyballa@…  |      Owner:  css@…
      Type:  defect           |     Status:  reopened
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:                   |   Keywords:  tiger
      Port:  doxygen          |
------------------------------+----------------------
Changes (by cesarmensajes@…):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 This bug has reappeared currently. I'm trying to install Inkscape on
 10.4.11, but doxygen seems to be a requisite (not sure why, but it is),
 and when it's the turn for installing doxygen 1.8.10, I get the same error
 as the OP:

 {{{
 [ 25%] Built target vhdlparser
 /usr/bin/make -f src/CMakeFiles/doxycfg.dir/build.make
 src/CMakeFiles/doxycfg.dir/depend
 make[2]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.10'
 [ 25%] Generating ../generated_src/configoptions.cpp
 cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.10/src
 && /usr/bin/python
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.10/src/configgen.py
 -cpp
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.10/src/config.xml
 >
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.10/generated_src/configoptions.cpp
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.10/src/configgen.py",
 line 173
     doc += "<br/>%s: %s." % ("The default value is", "YES" if (defval ==
 "1") else "NO")
                                                             ^
 SyntaxError: invalid syntax
 make[2]: *** [generated_src/configoptions.cpp] Error 1
 make[2]: *** Deleting file `generated_src/configoptions.cpp'
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.10'
 make[1]: *** [src/CMakeFiles/doxycfg.dir/all] Error 2
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.10'
 make: *** [all] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.10'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.10"
 && /usr/bin/make -w all VERBOSE=ON
 Exit code: 2
 Error: org.macports.build for port doxygen returned: command execution
 failed
 Warning: targets not executed for doxygen: org.macports.activate
 org.macports.build org.macports.destroot org.macports.install
 Error: Failed to install doxygen
 Please see the log file for port doxygen for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/main.log
 Error: The following dependencies were not installed: gtkmm atkmm glibmm
 libsigcxx2 doxygen graphviz gd2 libvpx gts libLASi mm-common wget gnutls
 libtasn1 nettle p11-kit cairomm gtk2 hicolor-icon-theme pangomm gtkspell2
 enchant libcdr-0.1 cppunit librevenge libexif libvisio-0.1 libwpg-0.3
 libwpd-0.10 py27-lxml py27-numpy py27-cython cython_select py27-nose
 nosetests_select
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port inkscape failed
 }}}

 I tried to perform the steps suggested by mojca in this ticket, but they
 didn't help.

 Any ideas for passing this step, or for building Inkscape without the
 doxygen requisite?

 Thanks!

-- 
Ticket URL: <https://trac.macports.org/ticket/43853#comment:17>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list