[MacPorts] #19177: libxslt doesn't build universal: "libxslt-1.1.24/doc/Makefile: no such file or directory"

MacPorts noreply at macports.org
Sat Apr 4 21:12:28 PDT 2009


#19177: libxslt doesn't build universal: "libxslt-1.1.24/doc/Makefile: no such file
or directory"
-----------------------------------+----------------------------------------
 Reporter:  david@…                |       Owner:  macports-tickets@…                   
     Type:  defect                 |      Status:  new                                  
 Priority:  Normal                 |   Milestone:  Port Bugs                            
Component:  ports                  |     Version:  1.7.1                                
 Keywords:                         |        Port:                                       
-----------------------------------+----------------------------------------
 I have MacPorts built from r49168, configured as follows:
 {{{
 ./configure --prefix=/opt/local-universal-10.4 --with-
 tclpackage=/Library/Tcl/macports-universal-10.4 --with-applications-
 dir=/opt/local-universal-10.4/Applications --with-universal-target=10.4
 --with-universal-sysroot=/Developer/SDKs/MacOSX10.4u.sdk
 --with-x11-prefix=/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6
 }}}

 {{{variants.conf}}} is set with {{{+universal}}} and {{{+system_x11}}}.
 The version of Xcode is 3.1.2.

 When installing libxslt, I hit the following error:

 {{{
 DEBUG: Executing org.macports.configure (libxslt)
 --->  Configuring libxslt for architecture ppc
 ...
 config.status: creating doc/Makefile
 config.status: creating xslt-config
 config.status: creating libxslt.spec
 config.status: creating config.h
 config.status: executing depfiles commands
 --->  Configuring libxslt for architecture i386
 ...
 config.status: creating doc/Makefile
 config.status: creating xslt-config
 config.status: creating libxslt.spec
 config.status: creating config.h
 config.status: executing depfiles commands
 DEBUG: Executing proc-post-org.macports.configure-configure-0
 DEBUG: couldn't read file "/opt/local-universal-10.4/var/macports/build
 /_opt_local-
 universal-10.4_var_macports_sources_rsync.macports.org_release_ports_textproc_libxslt/work/libxslt-1.1.24/doc/Makefile":
 no such file or directory
     while executing
 "exec /usr/bin/sed -E /^install-data-am:/s|install-data-local|| < /opt
 /local-universal-10.4/var/macports/build/_opt_local-
 universal-10.4_var_macports_s..."
     ("eval" body line 1)
     invoked from within
 "eval exec $cmdline"
 Error: reinplace: couldn't read file "/opt/local-
 universal-10.4/var/macports/build/_opt_local-
 universal-10.4_var_macports_sources_rsync.macports.org_release_ports_textproc_libxslt/work/libxslt-1.1.24/doc/Makefile":
 no such file or directory
 Error: Target org.macports.configure returned: reinplace sed(1) failed
 DEBUG: Backtrace: reinplace sed(1) failed
     while executing
 "$post $name"
 Warning: the following items did not execute (for libxslt):
 org.macports.activate org.macports.configure org.macports.build
 org.macports.destroot org.macports.install
 Error: Status 1 encountered during processing.
 }}}

 The error seems to be cause by attempting to modify
 {{{libxslt-1.1.24/doc/Makefile}}} and not the architecture-specific
 {{{libxslt-1.1.24-i386/doc/Makefile}}} and
 {{{libxslt-1.1.24-ppc/doc/Makefile}}}. Removing the post-configure rule
 lets the port install.

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


More information about the macports-tickets mailing list