Opened 5 years ago

Closed 5 years ago

#59572 closed defect (duplicate)

gawk broken due to linking with libreadline.6.dylib

Reported by: trog24 (Frank J. R. Hanstick) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
Port: gawk readline libsdl2

Description

From terminal:

--->  Attempting to fetch SDL2-2.0.10.tar.gz from https://distfiles.macports.org/libsdl2
--->  Verifying checksums for libsdl2                                                
--->  Extracting libsdl2
--->  Applying patches to libsdl2
--->  Configuring libsdl2
Error: Failed to configure libsdl2, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.10/config.log
Error: Failed to configure libsdl2: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.

From main.log in /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2:

:info:configure config.status: creating Makefile
:info:configure dyld: Library not loaded: /opt/local/lib/libreadline.6.dylib
:info:configure   Referenced from: /opt/local/bin/gawk
:info:configure   Reason: image not found
:info:configure sed: stdout: Broken pipe
:info:configure ./config.status: line 1453: 16677 Done(1)                 eval sed \"\$ac_sed_extra\" "$ac_file_inputs"
:info:configure      16678 Abort trap: 6           | $AWK -f "$ac_tmp/subs.awk" > $ac_tmp/out
:info:configure config.status: error: could not create Makefile
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.10" && ./configure --prefix=/opt/local --x-includes=/opt/local/include --x-libraries=/opt/local/lib --disable-x11-shared 
:info:configure Exit code: 1
:error:configure Failed to configure libsdl2, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.10/config.log
:error:configure Failed to configure libsdl2: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
:debug:configure     while executing
:debug:configure "$procedure $targetname"

The available libread versions in /opt/locallib are:

libreadline.8.0.dylib
libreadline.8.dylib
libreadline.a
libreadline.dylib

Attachments (1)

main.log (28.2 KB) - added by trog24 (Frank J. R. Hanstick) 5 years ago.

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by trog24 (Frank J. R. Hanstick)

Attachment: main.log added

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

Port: gawk readline added
Resolution: duplicate
Status: newclosed
Summary: SDL2-2.0.10.tar.gz from https://distfiles.macports.org/libsdl2 failed to configuregawk broken due to linking with libreadline.6.dylib

You need to upgrade gawk first. You must not have upgraded for years if gawk is still linked to libreadline 6. Duplicate of #58011, #54895 et al.

Note: See TracTickets for help on using tickets.