Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#57963 closed defect (duplicate)

libxml2 @2.9.7_2 does not build on Mac OS X 10.5.8, Leopard, because gawk crashes

Reported by: ballapete (Peter "Pete" Dyballa) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: leopard Cc:
Port: libxml2

Description

When configuring libxml2 gawk is used to createing libxml2.spec. Before readline was updated, on which gawk depends. So upon invocation it crashes:

:info:configure dyld: Library not loaded: /opt/local/lib/libreadline.7.dylib
:info:configure   Referenced from: /opt/local/bin/gawk
:info:configure   Reason: image not found
:info:configure ./config.status: line 1386: 67759 Done                    eval sed \"\$ac_sed_extra\" "$ac_file_inputs"
:info:configure      67761 Trace/BPT trap          | $AWK -f "$ac_tmp/subs.awk" > $ac_tmp/out
:info:configure config.status: error: could not create libxml2.spec

The port seems to need a dependency to gawk

Attachments (1)

main.log (28.6 KB) - added by ballapete (Peter "Pete" Dyballa) 6 years ago.
Main.log from PPC Leopard

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

Main.log from PPC Leopard

comment:1 Changed 6 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

Virtually every autoconf-based build system will try to use gawk if it is present. There is not a true dependency, as it will work if gawk is uninstalled. The workaround is to upgrade gawk first. See the many previous tickets where this happened every time one of gawk or grep or gsed's dependencies was updated.

comment:2 Changed 6 years ago by ballapete (Peter "Pete" Dyballa)

I did not ask port to update readline – it was port's decision to do so. It should better perform responsibly.

BTW, port 2.5.4 makes Mac OS X feel like MS-DOS: only one single task possible.

Note: See TracTickets for help on using tickets.