Opened 10 years ago
Closed 8 years ago
#43853 closed defect (fixed)
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
Reported by: | ballapete (Peter "Pete" Dyballa) | Owned by: | cssdev |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | tiger | Cc: | mojca (Mojca Miklavec), MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
Port: | doxygen |
Description
gnumake[2]: Entering directory `/opt/local/var/macports/build/_opt_mports_trunk_dports_textproc_doxygen/doxygen/work/doxygen-1.8.7/src' /opt/local/bin/flex -PconfigYY -t config.l >../generated_src/doxygen/config.cpp /opt/local/bin/g++-apple-4.2 -I/opt/local/include -arch ppc -c -pipe -DYY_TYPEDEF_YY_SIZE_T -Dyy_size_t=int -Wall -W -Wno-deprecated-declarations -O2 -I../generated_src/doxygen -I. -I../qtools -o ../objects/doxygen/config.o ../generated_src/doxygen/config.cpp /usr/bin/python configgen.py -cpp config.xml >../generated_src/doxygen/configoptions.cpp File "configgen.py", line 173 doc += "<br/>%s: %s." % ("The default value is", "YES" if (defval == "1") else "NO") ^ SyntaxError: invalid syntax gnumake[2]: *** [../generated_src/doxygen/configoptions.cpp] Error 1 gnumake[2]: Leaving directory `/opt/local/var/macports/build/_opt_mports_trunk_dports_textproc_doxygen/doxygen/work/doxygen-1.8.7/src' gnumake[1]: *** [all] Error 2 gnumake[1]: Leaving directory `/opt/local/var/macports/build/_opt_mports_trunk_dports_textproc_doxygen/doxygen/work/doxygen-1.8.7/src' gnumake: *** [all] Error 2 gnumake: Leaving directory `/opt/local/var/macports/build/_opt_mports_trunk_dports_textproc_doxygen/doxygen/work/doxygen-1.8.7' Command failed: cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_textproc_doxygen/doxygen/work/doxygen-1.8.7" && /usr/bin/gnumake -w all Exit code: 2 Error: org.macports.build for port doxygen returned: command execution failed DEBUG: Error code: CHILDSTATUS 1717 2 DEBUG: Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "portbuild::build_main org.macports.build" ("eval" body line 1) invoked from within "eval $procedure $targetname" Warning: targets not executed for doxygen: org.macports.install org.macports.build org.macports.destroot Please see the log file for port doxygen for details: /opt/local/var/macports/logs/_opt_mports_trunk_dports_textproc_doxygen/doxygen/main.log DEBUG: Failed to locate 'xcrun' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it? Error: Unable to upgrade port: 1
Python is version 2.3.5 and xcrun really does not exist on Tiger – or do I need an updated version of Xcode? (Version 2.5) I have it in Leopard (Mac Os X 10.5.8).
Attachments (1)
Change History (23)
comment:1 Changed 10 years ago by mf2k (Frank Schima)
Cc: | css@… removed |
---|---|
Keywords: | tiger added |
Owner: | changed from macports-tickets@… to css@… |
Changed 10 years ago by ballapete (Peter "Pete" Dyballa)
comment:2 follow-up: 5 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Correct, xcrun does not exist on any version of Xcode that runs on Tiger. I think we can ignore the error message about xcrun; I don't think it's related.
The real problem seems to be that the python syntax used here is not available in Tiger's old version of Python. doxygen could use a newer python, either always, or only on systems with too-old python.
comment:5 Changed 10 years ago by ballapete (Peter "Pete" Dyballa)
Replying to ryandesign@…:
The real problem seems to be that the python syntax used here is not available in Tiger's old version of Python. doxygen could use a newer python, either always, or only on systems with too-old python.
With Python updated to version 2.7.7 the build now succeeds!
comment:6 follow-up: 8 Changed 10 years ago by mojca (Mojca Miklavec)
Does it succeed automatically or did you have to install Python manually?
comment:8 Changed 10 years ago by ballapete (Peter "Pete" Dyballa)
Replying to mojca@…:
Does it succeed automatically or did you have to install Python manually?
No and yes. I had to run selfupdate manually. Then port saw the Python update. I am not sure what I did next. The compile history in GNU Emacs tells me that I did 'port -vd upgrade gnutls doxygen'. The build of gnutls failed, so I had to invoke 'port -vd upgrade doxygen', which succeeded. I can remember that port started to upgrade Python before it tried without success to upgrade gnutls.
comment:9 Changed 10 years ago by ballapete (Peter "Pete" Dyballa)
Replying to g5pw@…:
Does r120638 resolve this?
I have to admit, I think, no!
The Portfile used to successfully build doxygen has:
122 patchfiles-delete patch-configure.diff 123 124 configure.args-append --docdir ${prefix}/share/doc \ 125 --dot ${prefix}/bin/dot 126 127 configure.python ${prefix}/bin/python2.7 128 129 depends_build-append path:bin/dot:graphviz \ 130 bin:python2.7:python27
and the files directory has:
-rw-r--r-- 1 root admin 580 29 Jun 2013 patch-addon_doxywizard_Makefile.in.diff -rw-r--r-- 1 root admin 666 30 Mai 23:33 patch-configure.diff
These files seem to be different from the time stamp of this patch, which is 2014-04-06, presumingly.
comment:10 follow-up: 11 Changed 10 years ago by mojca (Mojca Miklavec)
I know that you first tested with the previous version, but can you please try to force uninstall doxygen (and force deactivate python 2.7 from macports) and test whether doxygen builds with the latest version of Portfile
from trunk (r120638)?
comment:11 Changed 10 years ago by ballapete (Peter "Pete" Dyballa)
Replying to mojca@…:
I know that you first tested with the previous version, but can you please try to force uninstall doxygen (and force deactivate python 2.7 from macports) and test whether doxygen builds with the latest version of
Portfile
from trunk (r120638)?
Deactivating Python seems to be impossible:
port deactivate python27 @2.7.7_0+ucs4 ---> Deactivating python27 @2.7.7_0+ucs4 ---> Unable to deactivate python27 @2.7.7_0+ucs4, the following ports depend on it: ---> asciidoc @8.6.9_1+python27 ---> bzr @2.6.0_0 ---> dbus-python27 @1.2.0_0 ---> git-core @1.9.3_0+credential_osxkeychain+doc+pcre+perl5_12+python27 ---> glib2 @2.40.0_1 ---> gnome-doc-utils @0.20.10_0+python27 ---> gobject-introspection @1.40.0_0+python_ucs4 ---> gtk-doc @1.20_2+python27 ---> libproxy @0.4.11_4+python27 ---> librsvg @2.40.2_0+viewer ---> py27-crypto @2.6.1_1 ---> py27-curl @7.19.0_0 ---> py27-ecdsa @0.11_0 ---> py27-libxml2 @2.9.1_1 ---> py27-numpy @1.8.1_0 ---> py27-paramiko @1.14.0_0 ---> py27-pyrex @0.9.9_0 ---> py27-setuptools @3.6_0 ---> scons @2.3.0_0 ---> xorg-libxcb @1.10_0+python27 ---> xorg-xcb-proto @1.10_0+python27 Error: org.macports.deactivate for port python27 returned: Please uninstall the ports that depend on python27 first. Please see the log file for port python27 for details: /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_python27-2.7.7_0_f69581b5fce90d4308c39359eec3828bc430d177d5c531eb942e05457e3c9dd5-5128/python27/main.log Warning: Failed to execute portfile from registry for python27 @2.7.7_0+ucs4 ---> Deactivating python27 @2.7.7_0+ucs4 ---> Unable to deactivate python27 @2.7.7_0+ucs4, the following ports depend on it: ---> asciidoc @8.6.9_1+python27 ---> bzr @2.6.0_0 ---> dbus-python27 @1.2.0_0 ---> git-core @1.9.3_0+credential_osxkeychain+doc+pcre+perl5_12+python27 ---> glib2 @2.40.0_1 ---> gnome-doc-utils @0.20.10_0+python27 ---> gobject-introspection @1.40.0_0+python_ucs4 ---> gtk-doc @1.20_2+python27 ---> libproxy @0.4.11_4+python27 ---> librsvg @2.40.2_0+viewer ---> py27-crypto @2.6.1_1 ---> py27-curl @7.19.0_0 ---> py27-ecdsa @0.11_0 ---> py27-libxml2 @2.9.1_1 ---> py27-numpy @1.8.1_0 ---> py27-paramiko @1.14.0_0 ---> py27-pyrex @0.9.9_0 ---> py27-setuptools @3.6_0 ---> scons @2.3.0_0 ---> xorg-libxcb @1.10_0+python27 ---> xorg-xcb-proto @1.10_0+python27 Error: port deactivate failed: Please uninstall the ports that depend on python27 first.
Earlier I tried to uninstall the py27- ports – I have no idea what they could be good for – but a few a very clingy…
comment:12 follow-up: 13 Changed 10 years ago by mojca (Mojca Miklavec)
I meant:
sudo port -f deactivate doxygen # or uninstall sudo port -f deactivate python27 sudo port -d destroot doxygen +docs sudo port install python27 # or activate
comment:13 Changed 10 years ago by ballapete (Peter "Pete" Dyballa)
Replying to mojca@…:
I meant:
sudo port -f deactivate doxygen # or uninstall sudo port -f deactivate python27 sudo port -d destroot doxygen +docs sudo port install python27 # or activate
After I succeeded to deactivate both I also uninstalled them. When I invoked
port -d destroot doxygen +docs
the following happened:
---> Computing dependencies for python27 ---> Fetching archive for python27 ---> python27-2.7.7_0+ucs4.darwin_8.ppc.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified ---> Attempting to fetch python27-2.7.7_0+ucs4.darwin_8.ppc.tbz2 from http://nue.de.packages.macports.org/macports/packages/python27 ---> Attempting to fetch python27-2.7.7_0+ucs4.darwin_8.ppc.tbz2 from http://lil.fr.packages.macports.org/python27 ---> Attempting to fetch python27-2.7.7_0+ucs4.darwin_8.ppc.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/python27 ---> Fetching distfiles for python27 ---> Verifying checksums for python27 ---> Checksumming Python-2.7.7.tar.xz ---> Extracting python27 ---> Extracting Python-2.7.7.tar.xz ---> Applying patches to python27 ---> Applying patch-Makefile.pre.in.diff ---> Applying patch-setup.py.diff ---> Applying patch-setup.py-disabled_modules.diff ---> Applying patch-Lib-cgi.py.diff ---> Applying patch-Lib-ctypes-macholib-dyld.py.diff ---> Applying patch-configure.diff ---> Applying patch-libedit.diff ---> Applying patch-configure-deployment.diff ---> Patching cgi.py: s|@@PREFIX@@|/opt/local|g ---> Patching dyld.py: s|@@PREFIX@@|/opt/local|g ---> Patching configure: s|@@APPLICATIONS_DIR@@|/Applications/MacPorts| ---> Patching Makefile.in: s|xargs -0 rm -r|/usr/bin/xargs -0 /bin/rm -r|g ---> Configuring python27 ---> Patching pyconfig.h: s;/* #undef PY_FORMAT_LONG_LONG */;#define PY_FORMAT_LONG_LONG "ll"; ---> Building python27 ---> Staging python27 into destroot ---> Patching python27: s|${prefix}|/opt/local|g ---> Patching python27: s|${frameworks_dir}|/opt/local/Library/Frameworks|g ---> Patching python27: s|${applications_dir}|/Applications/MacPorts|g ---> Patching python27: s|${developer_dir}|/Developer|g ---> Patching Makefile: s|-arch [a-z0-9_]+||g ---> Patching _sysconfigdata.py: s|-arch [a-z0-9_]+||g ---> Compressing man pages for python27 ---> Installing python27 @2.7.7_0+ucs4 ---> Cleaning python27 ---> Removing work directory for python27 ---> Computing dependencies for python27 ---> Activating python27 @2.7.7_0+ucs4 ---> Cleaning python27 ---> Removing work directory for python27 ---> Computing dependencies for doxygen ---> Dependencies to be installed: texlive-latex texlive-basic texlive-bin harfbuzz-icu libzzip texlive-common texlive-latex-extra texlive-latex-recommended pgf texlive-pictures ---> Fetching archive for harfbuzz-icu ---> harfbuzz-icu-0.9.29_0.darwin_8.ppc.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified ---> Attempting to fetch harfbuzz-icu-0.9.29_0.darwin_8.ppc.tbz2 from http://nue.de.packages.macports.org/macports/packages/harfbuzz-icu ---> Attempting to fetch harfbuzz-icu-0.9.29_0.darwin_8.ppc.tbz2 from http://lil.fr.packages.macports.org/harfbuzz-icu ---> Attempting to fetch harfbuzz-icu-0.9.29_0.darwin_8.ppc.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/harfbuzz-icu ---> Fetching distfiles for harfbuzz-icu ---> Verifying checksums for harfbuzz-icu ---> Checksumming harfbuzz-0.9.29.tar.bz2 ---> Extracting harfbuzz-icu ---> Extracting harfbuzz-0.9.29.tar.bz2 ---> Configuring harfbuzz-icu ---> Building harfbuzz-icu ---> Staging harfbuzz-icu into destroot ---> Patching libharfbuzz-icu.la: /dependency_libs/ s/'.*'/''/ ---> Installing harfbuzz-icu @0.9.29_0 ---> Activating harfbuzz-icu @0.9.29_0 ---> Cleaning harfbuzz-icu ---> Removing work directory for harfbuzz-icu ---> Fetching archive for libzzip ---> libzzip-0.13.62_0.darwin_8.ppc.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified ---> Attempting to fetch libzzip-0.13.62_0.darwin_8.ppc.tbz2 from http://nue.de.packages.macports.org/macports/packages/libzzip ---> Attempting to fetch libzzip-0.13.62_0.darwin_8.ppc.tbz2 from http://lil.fr.packages.macports.org/libzzip ---> Attempting to fetch libzzip-0.13.62_0.darwin_8.ppc.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/libzzip ---> Fetching distfiles for libzzip ---> zziplib-0.13.62.tar.bz2 doesn't seem to exist in /opt/local/var/macports/distfiles/libzzip ---> Attempting to fetch zziplib-0.13.62.tar.bz2 from http://nue.de.distfiles.macports.org/macports/distfiles/libzzip ---> Verifying checksums for libzzip ---> Checksumming zziplib-0.13.62.tar.bz2 ---> Extracting libzzip ---> Extracting zziplib-0.13.62.tar.bz2 ---> Applying patches to libzzip ---> Applying patch-zzip_Makefile.in.diff ---> Configuring libzzip ---> Patching zziplib-uninstalled.pc: s|-arch [a-z0-9_]+||g ---> Patching zziplib.pc: s|-arch [a-z0-9_]+||g ---> Building libzzip ---> Staging libzzip into destroot ---> Patching libzzip.la: /dependency_libs/ s/'.*'/''/ ---> Patching libzzipfseeko.la: /dependency_libs/ s/'.*'/''/ ---> Patching libzzipmmapped.la: /dependency_libs/ s/'.*'/''/ ---> Patching libzzipwrap.la: /dependency_libs/ s/'.*'/''/ ---> Compressing man pages for libzzip ---> Installing libzzip @0.13.62_0 ---> Activating libzzip @0.13.62_0 ---> Cleaning libzzip ---> Removing work directory for libzzip ---> Fetching archive for texlive-common ---> texlive-common-2013_0.darwin_8.noarch.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified ---> Attempting to fetch texlive-common-2013_0.darwin_8.noarch.tbz2 from http://nue.de.packages.macports.org/macports/packages/texlive-common ---> Attempting to fetch texlive-common-2013_0.darwin_8.noarch.tbz2 from http://lil.fr.packages.macports.org/texlive-common ---> Attempting to fetch texlive-common-2013_0.darwin_8.noarch.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/texlive-common ---> Fetching distfiles for texlive-common ---> texlive-common-2013.tar.xz doesn't seem to exist in /opt/local/var/macports/distfiles/texlive-common ---> Attempting to fetch texlive-common-2013.tar.xz from http://nue.de.distfiles.macports.org/macports/distfiles/texlive-common ---> Verifying checksums for texlive-common ---> Checksumming texlive-common-2013.tar.xz ---> Extracting texlive-common ---> Extracting texlive-common-2013.tar.xz ---> Patching 10paths.cnf: s|@@PREFIX@@|/opt/local|g ---> Patching 10paths.cnf: s|@@TEXMFDIST@@|/opt/local/share/texmf-texlive|g ---> Patching 10paths.cnf: s|@@TEXMFPORTS@@|/opt/local/share/texmf|g ---> Patching 10paths.cnf: s|@@TEXMFLOCAL@@|/opt/local/share/texmf-local|g ---> Patching 10paths.cnf: s|@@TEXMFSYSVAR@@|/opt/local/var/db/texmf|g ---> Patching 10paths.cnf: s|@@TEXMFSYSCONFIG@@|/opt/local/etc/texmf|g ---> Patching 10paths.cnf: s|@@TEXMFHOME@@|Library/texmf|g ---> Patching 10paths.cnf: s|@@TEXLIVE_BINDIR@@|/opt/local/libexec/texlive/binaries|g ---> Patching texmfcnf.lua: s|@@PREFIX@@|/opt/local|g ---> Patching texmfcnf.lua: s|@@TEXMFDIST@@|/opt/local/share/texmf-texlive|g ---> Patching texmfcnf.lua: s|@@TEXMFPORTS@@|/opt/local/share/texmf|g ---> Patching texmfcnf.lua: s|@@TEXMFLOCAL@@|/opt/local/share/texmf-local|g ---> Patching texmfcnf.lua: s|@@TEXMFSYSVAR@@|/opt/local/var/db/texmf|g ---> Patching texmfcnf.lua: s|@@TEXMFSYSCONFIG@@|/opt/local/etc/texmf|g ---> Patching texmfcnf.lua: s|@@TEXMFHOME@@|Library/texmf|g ---> Patching texmfcnf.lua: s|@@TEXLIVE_BINDIR@@|/opt/local/libexec/texlive/binaries|g ---> Patching texlive-update-cnf: s|@@PREFIX@@|/opt/local|g ---> Patching texlive-update-cnf: s|@@TEXMFDIST@@|/opt/local/share/texmf-texlive|g ---> Patching texlive-update-cnf: s|@@TEXMFPORTS@@|/opt/local/share/texmf|g ---> Patching texlive-update-cnf: s|@@TEXMFLOCAL@@|/opt/local/share/texmf-local|g ---> Patching texlive-update-cnf: s|@@TEXMFSYSVAR@@|/opt/local/var/db/texmf|g ---> Patching texlive-update-cnf: s|@@TEXMFSYSCONFIG@@|/opt/local/etc/texmf|g ---> Patching texlive-update-cnf: s|@@TEXMFHOME@@|Library/texmf|g ---> Patching texlive-update-cnf: s|@@TEXLIVE_BINDIR@@|/opt/local/libexec/texlive/binaries|g ---> Configuring texlive-common ---> Building texlive-common ---> Staging texlive-common into destroot ---> Installing texlive-common @2013_0 ---> Activating texlive-common @2013_0 ---> Cleaning texlive-common ---> Removing work directory for texlive-common ---> Fetching archive for texlive-bin ---> texlive-bin-2013_5+x11.darwin_8.ppc.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified ---> Attempting to fetch texlive-bin-2013_5+x11.darwin_8.ppc.tbz2 from http://nue.de.packages.macports.org/macports/packages/texlive-bin ---> Attempting to fetch texlive-bin-2013_5+x11.darwin_8.ppc.tbz2 from http://lil.fr.packages.macports.org/texlive-bin ---> Attempting to fetch texlive-bin-2013_5+x11.darwin_8.ppc.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/texlive-bin ---> Fetching distfiles for texlive-bin ---> texlive-source-20130619-stripped.tar.xz doesn't seem to exist in /opt/local/var/macports/distfiles/texlive-bin ---> Attempting to fetch texlive-source-20130619-stripped.tar.xz from http://nue.de.distfiles.macports.org/macports/distfiles/texlive-bin ---> tlpkg-TeXLive-20130619.tar.xz doesn't seem to exist in /opt/local/var/macports/distfiles/texlive-bin ---> Attempting to fetch tlpkg-TeXLive-20130619.tar.xz from http://nue.de.distfiles.macports.org/macports/distfiles/texlive-bin ---> Verifying checksums for texlive-bin ---> Checksumming texlive-source-20130619-stripped.tar.xz ---> Checksumming tlpkg-TeXLive-20130619.tar.xz ---> Extracting texlive-bin ---> Extracting texlive-source-20130619-stripped.tar.xz ---> Extracting tlpkg-TeXLive-20130619.tar.xz ---> Applying patches to texlive-bin ---> Applying patch-texk_web2c_luatexdir_luazlib_lzlib.c.diff ---> Applying patch-texk_kpathsea_Makefile.in.diff ---> Applying patch-texk_tex4htk_Makefile.in.diff ---> Applying patch-texk_texlive_linked_scripts_Makefile.in.diff ---> Applying patch-texk_texlive_tl_scripts_Makefile.in.diff ---> Applying patch-texk_xdvik_xdvi-sh.in.diff ---> Applying patch-texk_chktex_Makefile.in.diff ---> Applying patch-libs-freetype-Makefile.in.diff ---> Applying patch-svn31126-luatex.diff ---> Applying patch-svn31303-dvipdfmx.diff ---> Applying patch-svn31313-pdftex-luatex.diff ---> Applying patch-svn31350-dvips.diff ---> Applying patch-svn31358-luatex.diff ---> Applying patch-svn31621-mendex.diff ---> Applying patch-svn31700-dvipdfmx.diff ---> Applying patch-svn31735-metapost.diff ---> Patching Makefile.in: s|@@TEXMFDIST@@|/opt/local/share/texmf-texlive| ---> Patching Makefile.in: s|@@TEXMFDIST@@|/opt/local/share/texmf-texlive| ---> Patching Makefile.in: s|@@TEXMFDIST@@|/opt/local/share/texmf-texlive| ---> Patching xdvi-sh.in: s|@@TEXLIVE_BINDIR@@|/opt/local/libexec/texlive/binaries| ---> Patching Makefile.in: s|@@TEXMFDIST@@|/opt/local/share/texmf-texlive| ---> Patching paths.h: s|@@PREFIX@@|/opt/local| ---> Patching paths.h: s|@@TEXMFSYSCONFIG@@|/opt/local/etc/texmf| ---> Configuring texlive-bin
I killed the the build process and shall start to remove a lot of stuff I really don't on Tiger…
comment:14 follow-up: 15 Changed 10 years ago by mojca (Mojca Miklavec)
I thought python was only needed for +docs
.
Please try to build doxygen again without docs
. I'm sorry for that extra mess with the whole TeX Live stuff, but I thought you had problems with the +docs
variant.
If that succeeds, we can close this ticket, I believe.
comment:15 Changed 10 years ago by ballapete (Peter "Pete" Dyballa)
Replying to mojca@…:
If that succeeds, we can close this ticket, I believe.
It did:
---> Computing dependencies for doxygen ---> Fetching distfiles for doxygen ---> Verifying checksums for doxygen ---> Checksumming doxygen-1.8.7.src.tar.gz ---> Extracting doxygen ---> Extracting doxygen-1.8.7.src.tar.gz ---> Applying patches to doxygen ---> Applying patch-configure.diff ---> Patching configure: s/echo -n/printf/g ---> Patching tmake.conf: /^TMAKE_CC[[:space:]]/s%=.*%= /opt/local/bin/gcc-apple-4.2 -I/opt/local/include -arch ppc% ---> Patching tmake.conf: /^TMAKE_CXX[[:space:]]/s%=.*%= /opt/local/bin/g++-apple-4.2 -I/opt/local/include -arch ppc% ---> Patching tmake.conf: /^TMAKE_LINK[[:space:]]/s%=.*%= /opt/local/bin/g++-apple-4.2 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc% ---> Patching tmake.conf: /^TMAKE_LINK_SHLIB[[:space:]]/s%=.*%= /opt/local/bin/g++-apple-4.2 -arch ppc% ---> Patching Makefile.in: s|$(DESTDIR)/|$(DESTDIR)|g ---> Patching doxygen.pro.in: s|-lmd5|../lib/libmd5.a| ---> Patching configure: s,-n "`$j/$i --version 2>/dev/null | grep utils`",-x "$j/$i",g ---> Patching tmake.conf: s|-Wno-invalid-source-encoding||g ---> Configuring doxygen ---> Building doxygen ---> Staging doxygen into destroot ---> Compressing man pages for doxygen
comment:16 Changed 10 years ago by mojca (Mojca Miklavec)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Version: | 2.3.0 |
comment:17 Changed 8 years ago by cesss
Resolution: | fixed |
---|---|
Status: | closed → reopened |
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!
comment:18 Changed 8 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Cc: | mcalhoun@… added |
---|
Cc Me!
comment:19 follow-ups: 20 21 Changed 8 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Does r149412 fix the problem?
comment:20 Changed 8 years ago by ballapete (Peter "Pete" Dyballa)
Replying to mcalhoun@…:
Does r149412 fix the problem?
Me, I can't tell. I have doxygen @1.8.10_2 (active)
now installed.
comment:21 Changed 8 years ago by cesss
Replying to mcalhoun@…:
Does r149412 fix the problem?
Yes, it fixes it. It builds fine on Tiger now (sorry for the delay in my reply, I wasn't able to monitor it these weeks).
comment:22 Changed 8 years ago by mojca (Mojca Miklavec)
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
main.log