[MacPorts] #34095: Rasmol fails to build on OSX Lion

MacPorts noreply at macports.org
Tue Apr 17 07:55:53 PDT 2012


#34095: Rasmol fails to build on OSX Lion
----------------------------------------+-----------------------------------
 Reporter:  haveaniceday87@…            |       Owner:  macports-tickets@…                   
     Type:  defect                      |      Status:  new                                  
 Priority:  Low                         |   Milestone:                                       
Component:  ports                       |     Version:  2.0.4                                
 Keywords:                              |        Port:  rasmol                               
----------------------------------------+-----------------------------------
Changes (by ryandesign@…):

 * cc: haveaniceday87@… (removed)


Old description:

> Rasmol doesn't compile on Lion:
>
> Error: Target org.macports.configure returned: xmkmf failure: shell
> command failed (see log for details)
> Log for rasmol is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_rasmol/rasmol/main.log
> Error: Status 1 encountered during processing.
>
> Snippet from log:
> :debug:configure Using compiler 'Mac OS X clang'
> :debug:configure Executing org.macports.configure (rasmol)
> :debug:configure Environment: CPATH='/opt/local/include'
> CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_scienc
> e_rasmol/rasmol/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib'
> CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7'
> GI_SCANNER_DISABLE_CACHE='1'
> :debug:configure Assembled command: 'cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_rasmol/rasmol/work/RasMol_2.7.4.2_10A
> pr08/src" && xmkmf'
> :debug:configure Executing command line:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_rasmol/rasmol/work/RasMol_2.7.4.
> 2_10Apr08/src" && xmkmf
> :info:configure imake -DUseInstalled -I/opt/local/lib/X11/config
> :info:configure In file included from Imakefile.c:15:
> :info:configure In file included from
> /opt/local/lib/X11/config/Imake.tmpl:316:
> :info:configure /opt/local/lib/X11/config/Imake.rules:1674:27: error:
> empty character constant
> :info:configure         for flag in ${MAKEFLAGS} ''; do \
> @@\
> :info:configure                                  ^
> :info:configure In file included from Imakefile.c:15:
> :info:configure /opt/local/lib/X11/config/Imake.tmpl:2144:10: fatal
> error: ' X11 .rules' file not found
> :info:configure #include ProjectRulesFile
> :info:configure          ^
> :info:configure /opt/local/lib/X11/config/Imake.tmpl:2142:35: note:
> expanded from macro 'ProjectRulesFile'
> :info:configure # define ProjectRulesFile
> Concat3(<,TopLevelProject,.rules>)
> :info:configure                                         ^
> :info:configure /opt/local/lib/X11/config/Imake.rules:256:23: note:
> expanded from macro 'Concat3'
> :info:configure #define Concat3(a,b,c)a/**/b/**/c
> :info:configure                       ^
> :info:configure 2 errors generated.
> :info:configure imake: Exit code 1.
> :info:configure   Stop.
> :info:configure shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_rasmol/rasmol/work/RasMol_2.7.4.2_10Apr08/src"
> && xmkmf " returned error 1
>
> Probably related to https://trac.macports.org/ticket/31504 and a bad
> Concat3 macro, but still no fix yet?

New description:

 Rasmol doesn't compile on Lion:

 {{{
 Error: Target org.macports.configure returned: xmkmf failure: shell
 command failed (see log for details)
 Log for rasmol is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_rasmol/rasmol/main.log
 Error: Status 1 encountered during processing.
 }}}

 Snippet from log:
 {{{
 :debug:configure Using compiler 'Mac OS X clang'
 :debug:configure Executing org.macports.configure (rasmol)
 :debug:configure Environment: CPATH='/opt/local/include'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_scienc
 e_rasmol/rasmol/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib'
 CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7'
 GI_SCANNER_DISABLE_CACHE='1'
 :debug:configure Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_rasmol/rasmol/work/RasMol_2.7.4.2_10A
 pr08/src" && xmkmf'
 :debug:configure Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_rasmol/rasmol/work/RasMol_2.7.4.
 2_10Apr08/src" && xmkmf
 :info:configure imake -DUseInstalled -I/opt/local/lib/X11/config
 :info:configure In file included from Imakefile.c:15:
 :info:configure In file included from
 /opt/local/lib/X11/config/Imake.tmpl:316:
 :info:configure /opt/local/lib/X11/config/Imake.rules:1674:27: error:
 empty character constant
 :info:configure         for flag in ${MAKEFLAGS} ''; do \
 @@\
 :info:configure                                  ^
 :info:configure In file included from Imakefile.c:15:
 :info:configure /opt/local/lib/X11/config/Imake.tmpl:2144:10: fatal error:
 ' X11 .rules' file not found
 :info:configure #include ProjectRulesFile
 :info:configure          ^
 :info:configure /opt/local/lib/X11/config/Imake.tmpl:2142:35: note:
 expanded from macro 'ProjectRulesFile'
 :info:configure # define ProjectRulesFile
 Concat3(<,TopLevelProject,.rules>)
 :info:configure                                         ^
 :info:configure /opt/local/lib/X11/config/Imake.rules:256:23: note:
 expanded from macro 'Concat3'
 :info:configure #define Concat3(a,b,c)a/**/b/**/c
 :info:configure                       ^
 :info:configure 2 errors generated.
 :info:configure imake: Exit code 1.
 :info:configure   Stop.
 :info:configure shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_rasmol/rasmol/work/RasMol_2.7.4.2_10Apr08/src"
 && xmkmf " returned error 1
 }}}

 Probably related to #31504 and a bad Concat3 macro, but still no fix yet?

--

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


More information about the macports-tickets mailing list