[MacPorts] #15295: libxml2 use_parallel_build problem

MacPorts noreply at macports.org
Wed May 14 20:15:13 PDT 2008


#15295: libxml2 use_parallel_build problem
-------------------------------------+--------------------------------------
 Reporter:  ryandesign at macports.org  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect                   |      Status:  new                                  
 Priority:  Normal                   |   Milestone:  Port Bugs                            
Component:  ports                    |     Version:  1.6.0                                
 Keywords:                           |  
-------------------------------------+--------------------------------------
 I couldn't upgrade from libxml2 2.6.31 to 2.6.32, and the reason is the
 "use_parallel_build yes" line that was added to the port in r36717. (I do
 have "buildmakejobs 2" in my macports.conf.) The build works fine, but the
 destroot phase doesn't:

 {{{
 $ sudo port upgrade libxml2
 --->  Fetching libxml2
 --->  Verifying checksum(s) for libxml2
 --->  Extracting libxml2
 --->  Configuring libxml2
 --->  Building libxml2 with target all
 --->  Staging libxml2 into destroot
 Error: Target org.macports.destroot returned: shell command " cd
 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_textproc_libxml2/work/libxml2-2.6.32"
 && make -j2 install
 DESTDIR=/opt/local/var/macports/build/_Users_rschmidt_macports_dports_textproc_libxml2/work/destroot
 " returned error 2
 Command output: Making install in include
 Making install in libxml
 make  install-exec-hook
 test -z "/opt/local/include/libxml2/libxml" || ../.././install-sh -c -d
 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_textproc_libxml2/work/destroot/opt/local/include/libxml2/libxml"
 /bin/sh ../../mkinstalldirs
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_textproc_libxml2/work/destroot/opt/local/include/libxml2/libxml
 mkdir -p --
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_textproc_libxml2/work/destroot/opt/local/include/libxml2/libxml
 mkdir:
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_textproc_libxml2/work/destroot/opt/local/include/libxml2/libxml:
 File exists
 make[3]: *** [install-xmlincHEADERS] Error 1
 make[2]: *** [install-am] Error 2
 make[1]: *** [install-recursive] Error 1
 make: *** [install-recursive] Error 1

 Error: Unable to upgrade port: 1
 $
 }}}

 I had a [changeset:36613 similar problem with mysql5-devel] after adding
 "use_parallel_build yes" to it. Maybe a similar workaround can work for
 libxml2, until they fix it upstream.

-- 
Ticket URL: <http://trac.macports.org/ticket/15295>
MacPorts </>
Ports system for Mac OS


More information about the macports-tickets mailing list