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: | new → assigned |
comment:2 Changed 8 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
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 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
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
comment:7 Changed 8 years ago by jimjag (Jim Jagielski)
Resolution: | invalid |
---|---|
Status: | closed → reopened |
/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 follow-up: 11 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.
comment:11 follow-up: 12 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 foundNot 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 follow-up: 14 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 foundNot 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.
comment:13 Changed 8 years ago by SickTeddyBear
Cc: | SickTeddyBear added |
---|
comment:14 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 foundNot 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 |
---|
comment:16 Changed 7 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Between https://github.com/macports/macports-ports/commit/84172063dce39d781b14a621daf7f554a533d39c, https://github.com/macports/macports-ports/commit/44840c49dbb96941fe5dfd27eba5f6aa3d954fd8, and https://github.com/macports/macports-ports/commit/36ab0bf6802a78f84cfe0fd3fdd3db5adf879ef3, this issue should be resolved.
Please feel free to reopen if not.
In the future, please use WikiFormatting, fill in the Port field and Cc the port maintainers (
port info --maintainers readline
), if any.