Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#48650 closed defect (invalid)

ncurses @6.0 command execution failed - ranlib malformed object

Reported by: ritchieswann@… Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: yosemite Cc:
Port: ncurses

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Running OS X Yosemite 10.10.5 (14F27) with Xcode Version 6.4 (6E35b)

Installing ncurses fails : log written to /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ncurses/ncurses/main.log

Pertinent parts of the error log are :

CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ncurses/ncurses/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'

:info:destroot ranlib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ncurses/ncurses/work/destroot/opt/local/lib/libncurses.a
:info:destroot ranlib: object: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ncurses/ncurses/work/destroot/opt/local/lib/libncurses.a(hardscroll.o) malformed object (unknown load command 1)
:info:destroot make[1]: *** [install] Error 1

Attachments (2)

main.log (41.3 KB) - added by ritchieswann@… 9 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ncurses/ncurses/main.log
main.clean.zip (13.1 KB) - added by ritchieswann@… 9 years ago.
As before, but with a clean and rebuild from scratch

Download all attachments as: .zip

Change History (8)

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: yosemite added; Yosemite removed
Owner: changed from macports-tickets@… to jmr@…

Please attach the main.log file.

Changed 9 years ago by ritchieswann@…

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ncurses/ncurses/main.log

Changed 9 years ago by ritchieswann@…

Attachment: main.clean.zip added

As before, but with a clean and rebuild from scratch

comment:2 Changed 9 years ago by jmroot (Joshua Root)

Do you have a ranlib in /opt/local/bin? (That would be installed by cctools).

comment:3 Changed 9 years ago by ritchieswann@…

No, there's no ranlib there. "which ranlib" returns a symlink to /usr/bin/libtool, last updated 3 Jul 2009.

comment:4 Changed 9 years ago by jmroot (Joshua Root)

That sounds kind of old. What do you get from:

/usr/bin/libtool -V

comment:5 Changed 9 years ago by ritchieswann@…

That gives me : Apple Computer, Inc. version cctools-750

This is a refurbished iMac that I reinstalled OS X 10.6 on top of then immediately upgraded to 10.10, if that suggests what the problem is.

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

Resolution: invalid
Status: newclosed

Yeah, cctools 750 is from the Snow Leopard era Xcode 3.2.6. You need to install the current command line tools.

Version 0, edited 9 years ago by jmroot (Joshua Root) (next)
Note: See TracTickets for help on using tickets.