#13373: ncursesw can't be built universally if it was already installed ------------------------------+--------------------------------------------- Reporter: nox@macports.org | Owner: imajes@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: Keywords: | ------------------------------+--------------------------------------------- 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 }}} -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13373> MacPorts </projects/macports> Ports system for Mac OS