Opened 23 months ago

Closed 23 months ago

Last modified 22 months ago

#54070 closed defect (wontfix)

libxml2 2.9.4: cannot cd to directory during install/configuration step

Reported by: jkulesza (Joel A. Kulesza) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: Cc: 1-61803
Port: libxml2

Description

While attempting to install the root6 port, libxml2 needs to be installed. The process followed is:

9973 jkulesza@tempest[~]> sudo port install root6
Password:
--->  Computing dependencies for libxml2
--->  Configuring libxml2
Error: Failed to configure libxml2, consult /sw/var/macports/build/_sw_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_libxml2/libxml2/work/libxml2-2.9.4/config.log
Error: Failed to configure libxml2: configure failure: command execution failed
Error: See /sw/var/macports/logs/_sw_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_libxml2/libxml2/main.log for details.
Error: Unable to execute port: upgrade cmake failed

See attached for the log file cited.

This error occurs on two different computers (both OS X 10.11.6, one with rootless installation one with root/sudo privileges). Both installations are to locations with nonstandard prefixes (this one to /sw and the other /local/macports).

No maintainer is listed with the ticket because:

9976 jkulesza@tempest[~]> port info --maintainer libxml2
maintainer:

Attachments (2)

config.log (108.2 KB) - added by jkulesza (Joel A. Kulesza) 23 months ago.
Error log file 1 (.../config.log)
main.log (25.2 KB) - added by jkulesza (Joel A. Kulesza) 23 months ago.
Error log file 2 (.../main.log) [Contains actual error]

Download all attachments as: .zip

Change History (5)

Changed 23 months ago by jkulesza (Joel A. Kulesza)

Attachment: config.log added

Error log file 1 (.../config.log)

Changed 23 months ago by jkulesza (Joel A. Kulesza)

Attachment: main.log added

Error log file 2 (.../main.log) [Contains actual error]

comment:1 Changed 23 months ago by ryandesign (Ryan Schmidt)

Resolution: wontfix
Status: newclosed

It's absolute madness to configure MacPorts to use Fink's /sw prefix. Please don't do that.

The problem shown in the log is:

:info:configure dyld: Library not loaded: /sw/lib/libreadline.6.dylib
:info:configure   Referenced from: /sw/bin/gawk
:info:configure   Reason: image not found
:info:configure ./config.status: line 1386: 82539 Done                    eval sed \"\$ac_sed_extra\" "$ac_file_inputs"

To fix this, run:

sudo port -f deactivate gawk
sudo port upgrade gawk

There isn't a good way for us to fix this to happen automatically; you just have to run this manually before upgrading other ports.

comment:2 in reply to:  1 Changed 23 months ago by jkulesza (Joel A. Kulesza)

Thank you for the quick reply! Some thoughts:

Replying to ryandesign:

It's absolute madness to configure MacPorts to use Fink's /sw prefix. Please don't do that.

This machine does not have Fink installed. MacPorts only uses /sw as a prefix.

The problem shown in the log is:

:info:configure dyld: Library not loaded: /sw/lib/libreadline.6.dylib
:info:configure   Referenced from: /sw/bin/gawk
:info:configure   Reason: image not found
:info:configure ./config.status: line 1386: 82539 Done                    eval sed \"\$ac_sed_extra\" "$ac_file_inputs"

Thank you for pointing to the lines that tipped you off and the fix. However, do we know why this happened?

To fix this, run:

sudo port -f deactivate gawk
sudo port upgrade gawk

This worked, thank you again.

comment:3 Changed 22 months ago by 1-61803

Cc: 1-61803 added
Note: See TracTickets for help on using tickets.