Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#19177 closed defect (fixed)

libxslt doesn't build universal: "libxslt-1.1.24/doc/Makefile: no such file or directory"

Reported by: david@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port:

Description

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.

Change History (3)

comment:1 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: newclosed

I did not sufficiently test the universal configuration without the doc variant (same mistake as #19175).
It should be fixed r49182.

Thanks for pointing this out.
After the change shows up on the rsync server, please reopen if it does not work.

comment:2 in reply to:  1 Changed 16 years ago by david@…

Replying to mcalhoun@…:

I did not sufficiently test the universal configuration without the doc variant (same mistake as #19175).
It should be fixed r49182.

Thanks for pointing this out.
After the change shows up on the rsync server, please reopen if it does not work.

Thanks, works great now.

comment:3 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.