[MacPorts] #34324: tightvnc: configure failure: error: empty character constant (was: Unable to install TIGHT VNC OSX Lion 10.7.3 and 2.0.4)

MacPorts noreply at macports.org
Thu May 3 21:07:58 PDT 2012


#34324: tightvnc: configure failure: error: empty character constant
-----------------------------------+----------------------------------------
 Reporter:  lonnieellis@…          |       Owner:  macports-tickets@…                   
     Type:  defect                 |      Status:  new                                  
 Priority:  Normal                 |   Milestone:                                       
Component:  ports                  |     Version:  2.0.4                                
 Keywords:  lion                   |        Port:  tightvnc                             
-----------------------------------+----------------------------------------
Changes (by ryandesign@…):

  * keywords:  => lion
  * port:  => tightvnc


Old description:

> When I try to install tightvnc I get the following:
>
> --->  Configuring tightvnc
> DEBUG: Using compiler 'Mac OS X clang'
> DEBUG: Executing org.macports.configure (tightvnc)
> 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_x11_tightvnc/tightvnc/work/.CC_PRINT_OPTIONS'
> LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
> MACOSX_DEPLOYMENT_TARGET='10.7' GI_SCANNER_DISABLE_CACHE='1'
> DEBUG: Assembled command: 'cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_tightvnc/tightvnc/work/vnc_unixsrc"
> && xmkmf'
> DEBUG: Executing command line:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_tightvnc/tightvnc/work/vnc_unixsrc"
> && xmkmf
> mv -f Makefile Makefile.bak
> 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:35: note: expanded from macro
> 'ProjectRulesFile'
> # define ProjectRulesFile       Concat3(<,TopLevelProject,.rules>)
>                                         ^
> /opt/local/lib/X11/config/Imake.rules:256:23: note: expanded from macro
> 'Concat3'
> #define Concat3(a,b,c)a/**/b/**/c
>                       ^
> 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_x11_tightvnc/tightvnc/work/vnc_unixsrc"
> && 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)
>     while executing
> "$procedure $targetname"
> Warning: the following items did not execute (for tightvnc):
> org.macports.activate org.macports.configure org.macports.build
> org.macports.destroot org.macports.install
> Log for tightvnc is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_tightvnc/tightvnc/main.log
> Error: Status 1 encountered during processing.
> To report a bug, see <http://guide.macports.org/#project.tickets>

New description:

 When I try to install tightvnc I get the following:

 {{{
 --->  Configuring tightvnc
 DEBUG: Using compiler 'Mac OS X clang'
 DEBUG: Executing org.macports.configure (tightvnc)
 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_x11_tightvnc/tightvnc/work/.CC_PRINT_OPTIONS'
 LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
 MACOSX_DEPLOYMENT_TARGET='10.7' GI_SCANNER_DISABLE_CACHE='1'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_tightvnc/tightvnc/work/vnc_unixsrc"
 && xmkmf'
 DEBUG: Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_tightvnc/tightvnc/work/vnc_unixsrc"
 && xmkmf
 mv -f Makefile Makefile.bak
 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:35: note: expanded from macro
 'ProjectRulesFile'
 # define ProjectRulesFile       Concat3(<,TopLevelProject,.rules>)
                                         ^
 /opt/local/lib/X11/config/Imake.rules:256:23: note: expanded from macro
 'Concat3'
 #define Concat3(a,b,c)a/**/b/**/c
                       ^
 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_x11_tightvnc/tightvnc/work/vnc_unixsrc"
 && 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)
     while executing
 "$procedure $targetname"
 Warning: the following items did not execute (for tightvnc):
 org.macports.activate org.macports.configure org.macports.build
 org.macports.destroot org.macports.install
 Log for tightvnc is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_tightvnc/tightvnc/main.log
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}

--

Comment:

 We've seen that error before in other ports; I believe we found a
 solution; search the issue tracker...

-- 
Ticket URL: <https://trac.macports.org/ticket/34324#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list