[MacPorts] #16499: speex, speex-devel: enable parallel build

MacPorts noreply at macports.org
Tue Oct 21 00:30:12 PDT 2008


#16499: speex, speex-devel: enable parallel build
--------------------------------------+-------------------------------------
  Reporter:  ryandesign at macports.org  |       Owner:  billitch at gmail.com
      Type:  enhancement              |      Status:  new               
  Priority:  Normal                   |   Milestone:  Port Enhancements 
 Component:  ports                    |     Version:  1.6.0             
Resolution:                           |    Keywords:                    
      Port:                           |  
--------------------------------------+-------------------------------------

Comment(by billitch at gmail.com):

 actually, yes :
 {{{
 test -z "/opt/local/include/speex" || /opt/local/var/macports/build
 /_Users_billitch_dev_macports-trunk_dports_audio_speex-
 devel/work/speex-1.2rc1/install-sh -d "/opt/local/var/macports/build
 /_Users_billitch_dev_macports-trunk_dports_audio_speex-
 devel/work/destroot/opt/local/include/speex"
 mkdir: /opt/local/var/macports/build/_Users_billitch_dev_macports-
 trunk_dports_audio_speex-devel/work/destroot/opt/local/include/speex: File
 exists
 make[3]: *** [install-pkgincludeHEADERS] Error 1
 make[3]: *** Waiting for unfinished jobs....
  /usr/bin/install -m 644 'speex_config_types.h'
 '/opt/local/var/macports/build/_Users_billitch_dev_macports-
 trunk_dports_audio_speex-
 devel/work/destroot/opt/local/include/speex/speex_config_types.h'
 make[2]: *** [install-am] Error 2
 make[1]: *** [install-recursive] Error 1
 make: *** [install-recursive] Error 1

 Warning: the following items did not execute (for speex-devel):
 org.macports.activate org.macports.destroot org.macports.install
 Error: Status 1 encountered during processing.
 }}}

 Running {{{port install}}} again is successful but I would not take it as
 an acceptable solution, it is more of a proof that parallel build is
 broken in the destroot phase of the Makefile/Portfile.

 I successfully disabled the parallel build in the destroot phase and it
 works fine, so local fix is possible.

 However I believe there is a possible problem resolution at a larger scale
 : is there a rationale for using multiple make jobs for the destroot and
 install phases ? These are not improved at all by CPU parallelism, and I
 guess this is the case for every phase except build. I think of parallel
 destroot/install as a factor of unstability for each and every port which
 has enabled parallel build, did not disable it for the destroot phase and
 uses {{{make}}} as {{{build.cmd}}}, which is the default.

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


More information about the macports-tickets mailing list