Opened 8 years ago

Closed 7 years ago

#54026 closed defect (fixed)

readline upgrade breaks various ports

Reported by: jimjag (Jim Jagielski) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: breiter (Brian Reiter), francoisbecker (François Becker), diochnos, jjstickel (Jonathan Stickel), SickTeddyBear, sambthompson (Sam Thompson)
Port: readline

Description (last modified by mf2k (Frank Schima))

The upgrade of readline to @7.0.003 breaks the following ports (at least):

  gawk @4.1.4
  gdbm @1.13
  gnupg @1.4.21
  gnupg2 @2.0.30
  ghostscript @9.21+x11

Note that these expect readline6, as shown in the config log:

:info:configure configure: creating ./config.status
:info:configure config.status: creating Makefile
:info:configure dyld: Library not loaded: /usr/local/lib/libreadline.6.dylib
:info:configure   Referenced from: /usr/local/bin/gawk
:info:configure   Reason: image not found
:info:configure sed: stdout: Broken pipe
:info:configure ./config.status: line 1100: 67446 Done(1)                 eval sed \"\$ac_sed_extra\" "$ac_file_inputs"

Change History (16)

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Owner: set to MarcusCalhoun-Lopez
Port: readline added
Status: newassigned

In the future, please use WikiFormatting, fill in the Port field and Cc the port maintainers (port info --maintainers readline), if any.

comment:2 Changed 8 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:3 Changed 8 years ago by mf2k (Frank Schima)

For ghostscript see #54019.

comment:4 Changed 8 years ago by breiter (Brian Reiter)

Cc: breiter added

comment:5 Changed 8 years ago by francoisbecker (François Becker)

Cc: francoisbecker added

comment:6 in reply to:  description Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: assignedclosed

Replying to jimjag:

:info:configure dyld: Library not loaded: /usr/local/lib/libreadline.6.dylib
:info:configure   Referenced from: /usr/local/bin/gawk
:info:configure   Reason: image not found

See wiki:FAQ#usrlocal

comment:7 Changed 8 years ago by jimjag (Jim Jagielski)

Resolution: invalid
Status: closedreopened

/usr/local is not applicable to the root cause of this error... The issue is that ports are looking for libreadline.6.dylib which does not exist (libreadline.7.dylib does) after the readline upgrade.

comment:8 Changed 8 years ago by diochnos

Cc: diochnos added

comment:9 Changed 8 years ago by jjstickel (Jonathan Stickel)

Cc: jjstickel added

comment:10 Changed 8 years ago by jjstickel (Jonathan Stickel)

Log from the build of emacs +x11:

:info:configure configure: creating ./config.status
:info:configure config.status: creating ./doc/man/emacs.1
: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

Not sure if this means emacs port needs to be fixed, or just gawk.

Last edited 8 years ago by jjstickel (Jonathan Stickel) (previous) (diff)

comment:11 in reply to:  10 ; Changed 8 years ago by jjstickel (Jonathan Stickel)

Replying to jjstickel:

Log from the build of emacs +x11:

:info:configure configure: creating ./config.status
:info:configure config.status: creating ./doc/man/emacs.1
: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

Not sure if this means emacs port needs to be fixed, or just gawk.

Upgrading gawk to 4.1.4_3 first resolved the emacs installation problem.

comment:12 in reply to:  11 ; Changed 8 years ago by SickTeddyBear

Replying to jjstickel:

Replying to jjstickel:

Log from the build of emacs +x11:

:info:configure configure: creating ./config.status
:info:configure config.status: creating ./doc/man/emacs.1
: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

Not sure if this means emacs port needs to be fixed, or just gawk.

Upgrading gawk to 4.1.4_3 first resolved the emacs installation problem.

That worked for me, too. I had 30+ broken ports that would fail during configure, but upgrading gawk first allowed rev-upgrade to rebuild them.

Version 0, edited 8 years ago by SickTeddyBear (next)

comment:13 Changed 8 years ago by SickTeddyBear

Cc: SickTeddyBear added

comment:14 in reply to:  12 Changed 8 years ago by sambthompson (Sam Thompson)

Replying to SickTeddyBear:

Replying to jjstickel:

Replying to jjstickel:

Log from the build of emacs +x11:

:info:configure configure: creating ./config.status
:info:configure config.status: creating ./doc/man/emacs.1
: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

Not sure if this means emacs port needs to be fixed, or just gawk.

Upgrading gawk to 4.1.4_3 first resolved the emacs installation problem.

That worked for me, too. I had 30+ broken ports that would fail during configure, but upgrading gawk first allowed rev-upgrade to rebuild the rest of them.

Ditto. Found this issue via trying to upgrade via "outdated" metaport. Broke on ImageMagick, then detected broken ports, failing on gd2. Explicit port upgrade gawk allowed me to proceed to port upgrade outdated. Thanks for the workaround!

comment:15 Changed 8 years ago by sambthompson (Sam Thompson)

Cc: sambthompson added
Note: See TracTickets for help on using tickets.