Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#13373 closed defect (fixed)

ncurses(w) can't be built universally if it was already installed

Reported by: nox@… Owned by: imajes@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port:

Description

ncursesw tries to link to its previous installed library on upgrade:

/usr/bin/gcc-4.0 -pipe -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc  -no-cpp-precomp -no-cpp-precomp -o background ../obj_s/background.o -L/opt/local/lib -arch i386 -arch ppc -Wl,-search_paths_first -I../test -I. -DHAVE_CONFIG_H -I. -I../include -I/opt/local/include -F/opt/local/Library/Frameworks -U_XOPEN_SOURCE -D_XOPEN_SOURCE=500 -DSIGWINCH=28 -D_XOPEN_SOURCE_EXTENDED -DNDEBUG -I/opt/local/include/ncursesw -pipe -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc  -no-cpp-precomp -no-cpp-precomp -dynamic  `echo "-L../lib -lformw -lmenuw -lpanelw -lncursesw  " | sed -e 's/-lform.*-lpanel[^ ]*//'` 
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: for architecture i386
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning /opt/local/lib/libncursesw.dylib cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (file not loaded)
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
_cbreak
_endwin
_has_colors
_init_pair
_initscr
_noecho
_pair_content
_printw
_start_color
_stdscr
_wbkgd
_wbkgdset
_wgetch
collect2: ld returned 1 exit status

Attachments (2)

ncursesw-universal.diff (314 bytes) - added by nox@… 11 years ago.
ncurses-universal.diff (366 bytes) - added by nox@… 11 years ago.

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by nox@…

Attachment: ncursesw-universal.diff added

comment:1 Changed 11 years ago by nox@…

Summary: ncursesw can't be built universally if it was already installedncurses(w) can't be built universally if it was already installed

ncurses is broken in the same way too.

Changed 11 years ago by nox@…

Attachment: ncurses-universal.diff added

comment:2 Changed 11 years ago by nox@…

Resolution: fixed
Status: newclosed

timeout, r33375.

comment:3 Changed 10 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.