DEBUG: Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/canna/work DEBUG: changing euid/egid - current euid: 0 - current egid: 0 DEBUG: egid changed to: 501 DEBUG: euid changed to: 502 DEBUG: Executing org.macports.main (canna) DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: archivefetch phase started at Wed Oct 5 17:28:00 JST 2011 ---> Fetching archive for canna DEBUG: Executing org.macports.archivefetch (canna) DEBUG: Can't run archivefetch on this port without elevated privileges. Escalating privileges back to root. DEBUG: euid changed to: 0. egid changed to: 0. DEBUG: changing euid/egid - current euid: 0 - current egid: 0 DEBUG: egid changed to: 501 DEBUG: euid changed to: 502 ---> canna-3.7p3_3.darwin_11.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/software/canna ---> Attempting to fetch canna-3.7p3_3.darwin_11.x86_64.tbz2 from http://packages.macports.org/canna DEBUG: Fetching archive failed:: The requested URL returned error: 404 DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: fetch phase started at Wed Oct 5 17:28:00 JST 2011 ---> Fetching canna DEBUG: euid/egid changed to: 0/0 DEBUG: chowned /opt/local/var/macports/distfiles/canna to macports DEBUG: euid/egid changed to: 502/501 DEBUG: Executing org.macports.fetch (canna) DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: checksum phase started at Wed Oct 5 17:28:00 JST 2011 ---> Verifying checksum(s) for canna DEBUG: Executing org.macports.checksum (canna) ---> Checksumming Canna37p3.tar.bz2 DEBUG: Correct (md5) checksum for Canna37p3.tar.bz2 DEBUG: Correct (sha1) checksum for Canna37p3.tar.bz2 DEBUG: Correct (rmd160) checksum for Canna37p3.tar.bz2 ---> Checksumming cannadic-0.95c.tar.gz DEBUG: Correct (md5) checksum for cannadic-0.95c.tar.gz DEBUG: Correct (sha1) checksum for cannadic-0.95c.tar.gz DEBUG: Correct (rmd160) checksum for cannadic-0.95c.tar.gz DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: extract phase started at Wed Oct 5 17:28:01 JST 2011 ---> Extracting canna DEBUG: setting option extract.cmd to /usr/bin/bzip2 DEBUG: Executing org.macports.extract (canna) ---> Extracting Canna37p3.tar.bz2 DEBUG: setting option extract.args to '/opt/local/var/macports/distfiles/canna/Canna37p3.tar.bz2' DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work" && /usr/bin/bzip2 -dc '/opt/local/var/macports/distfiles/canna/Canna37p3.tar.bz2' | /usr/bin/gnutar --no-same-owner -xf -' DEBUG: Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work" && /usr/bin/bzip2 -dc '/opt/local/var/macports/distfiles/canna/Canna37p3.tar.bz2' | /usr/bin/gnutar --no-same-owner -xf - DEBUG: euid/egid changed to: 0/0 DEBUG: chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work to macports DEBUG: euid/egid changed to: 502/501 DEBUG: Executing proc-post-org.macports.extract-extract-0 DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: patch phase started at Wed Oct 5 17:28:02 JST 2011 DEBUG: Executing org.macports.patch (canna) ---> Applying patches to canna ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/canna/files/patch-Canna.conf.diff DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work/Canna37p3" && /usr/bin/patch -p0' DEBUG: Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work/Canna37p3" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/canna/files/patch-Canna.conf.diff' patching file Canna.conf ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/canna/files/patch-canna_widedef.h.diff DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work/Canna37p3" && /usr/bin/patch -p0' DEBUG: Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work/Canna37p3" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/canna/files/patch-canna_widedef.h.diff' patching file canna/widedef.h ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/canna/files/patch-doc_man_guide_tex_Imakefile.diff DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work/Canna37p3" && /usr/bin/patch -p0' DEBUG: Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work/Canna37p3" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/canna/files/patch-doc_man_guide_tex_Imakefile.diff' patching file doc/man/guide/tex/Imakefile ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/canna/files/patch-lib_canna_lisp.c.diff DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work/Canna37p3" && /usr/bin/patch -p0' DEBUG: Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work/Canna37p3" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/canna/files/patch-lib_canna_lisp.c.diff' patching file lib/canna/lisp.c ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/canna/files/patch-server_util.c.diff DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work/Canna37p3" && /usr/bin/patch -p0' DEBUG: Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work/Canna37p3" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/canna/files/patch-server_util.c.diff' patching file server/util.c ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/canna/files/patch-cmd_catdic_Imakefile.diff DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work/Canna37p3" && /usr/bin/patch -p0' DEBUG: Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work/Canna37p3" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/canna/files/patch-cmd_catdic_Imakefile.diff' patching file cmd/catdic/Imakefile ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/canna/files/patch-lib_RK_ncache.c.diff DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work/Canna37p3" && /usr/bin/patch -p0' DEBUG: Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work/Canna37p3" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/canna/files/patch-lib_RK_ncache.c.diff' patching file lib/RK/ncache.c ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/canna/files/patch-server_comm.c.diff DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work/Canna37p3" && /usr/bin/patch -p0' DEBUG: Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work/Canna37p3" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/canna/files/patch-server_comm.c.diff' patching file server/comm.c ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/canna/files/patch-dic_ideo_words_dics.dir.diff DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work/Canna37p3" && /usr/bin/patch -p0' DEBUG: Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work/Canna37p3" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/canna/files/patch-dic_ideo_words_dics.dir.diff' patching file dic/ideo/words/dics.dir ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/canna/files/patch-misc_default.ca.diff DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work/Canna37p3" && /usr/bin/patch -p0' DEBUG: Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work/Canna37p3" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/canna/files/patch-misc_default.ca.diff' patching file misc/default.ca DEBUG: Executing proc-post-org.macports.patch-patch-0 DEBUG: euid/egid changed to: 0/0 DEBUG: chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work/Canna37p3/Canna.conf to macports DEBUG: euid/egid changed to: 502/501 DEBUG: euid/egid changed to: 0/0 DEBUG: setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work/Canna37p3/Canna.conf DEBUG: euid/egid changed to: 502/501 DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: configure phase started at Wed Oct 5 17:28:02 JST 2011 ---> Configuring canna DEBUG: Using compiler 'Mac OS X clang' DEBUG: Executing org.macports.configure (canna) DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work/Canna37p3" && xmkmf' DEBUG: Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work/Canna37p3" && xmkmf imake -DUseInstalled -I/opt/local/lib/X11/config In file included from Imakefile.c:15: In file included from /opt/local/lib/X11/config/Imake.tmpl:316: /opt/local/lib/X11/config/Imake.rules:1674:27: error: empty character constant for flag in ${MAKEFLAGS} ''; do \ @@\ ^ In file included from Imakefile.c:15: /opt/local/lib/X11/config/Imake.tmpl:2144:10: fatal error: ' X11 .rules' file not found #include ProjectRulesFile ^ /opt/local/lib/X11/config/Imake.tmpl:2142:27: note: instantiated from: # define ProjectRulesFile Concat3(<,TopLevelProject,.rules>) ^ /opt/local/lib/X11/config/Imake.rules:256:23: note: instantiated from: #define Concat3(a,b,c)a/**/b/**/c ^ /opt/local/lib/X11/config/Imake.tmpl:2144:10: note: instantiated from: # define ProjectRulesFile Concat3(<,TopLevelProject,.rules>) ^ 2 errors generated. imake: Exit code 1. Stop. shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/work/Canna37p3" && xmkmf " returned error 1 Error: Target org.macports.configure returned: xmkmf failure: shell command failed (see log for details) DEBUG: Backtrace: xmkmf failure: shell command failed (see log for details) Warning: the following items did not execute (for canna): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install Error: Failed to install canna DEBUG: could not read "/opt/local/share/man/man1/xmkmf.1.gz": no such file or directory Log for canna is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_canna/canna/main.log