[MacPorts] #24574: Xalan-C problems

MacPorts noreply at macports.org
Wed Sep 22 23:32:15 PDT 2010


#24574: Xalan-C problems
---------------------------------------+------------------------------------
 Reporter:  leonhardt.ralph@…          |       Owner:  mww@…           
     Type:  defect                     |      Status:  new             
 Priority:  Normal                     |   Milestone:                  
Component:  ports                      |     Version:  1.8.2           
 Keywords:                             |        Port:  xalanc          
---------------------------------------+------------------------------------

Comment(by kbecker@…):

 I encountered the same error.  I was able to get it to complete
 successfully by turning off parallel builds in port file.

 I am running MacOSX 10.5.8 on a 2.93 GHz Intel Core 2 Duo system.  The
 build command generated is:

 {{{
 :msg:configure --->  Building xalanc
 :debug:build build phase started at Wed Sep 22 22:37:42 MST 2010
 :debug:build Executing org.macports.build (xalanc)
 :debug:build Environment: CPATH='/opt/local/include'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/.CC_PRINT_OPTIONS'
 LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
 MACOSX_DEPLOYMENT_TARGET='10.5' XERCESCROOT='/opt/local'
 XALANCROOT='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work
 /xml-xalan/c'
 :debug:build Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work
 /xml-xalan/c" && /usr/bin/gnumake -j2 all'
 :info:build /usr/bin/gnumake -C src/xalanc all
 :info:build /usr/bin/gnumake -C Utils locale
 :info:build Preparing the directory structure for a build ...
 :info:build mkdir -p ../../obj
 :info:build mkdir -p ../../lib
 :info:build /usr/bin/gnumake -C MsgCreator
 :info:build mkdir -p ../../bin
 :info:build /usr/bin/gnumake -C Utils prepare
 }}}

 Note the '''/usr/bin/gnumake -j2 all''' command.  Even with just 2
 threads, the build fails.

 I added '''use_parallel_build   no''' in the Portfile and it completed
 successfully.

 Also, I had Xalanc compile errors on a shiny new 64-bit Snow Leopard
 server system with a two 2.66GHz 6-Core Intel (12 cores) system.  Turning
 off parallel builds also fixed this problem.  (if I should submit a
 separate ticket, please advise).  It issued a make command with a
 '''-j18''' argument!

 Seems Xalanc cannot be built reliably with threads.

 Which begs the questions, are there other ports with the same problem?

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


More information about the macports-tickets mailing list