#20726: ncursesw fails to build universal on 10.6 ppc ---------------------------------------+------------------------------------ Reporter: asimmons@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: ---------------------------------------+------------------------------------ With universal options set to this: {{{ # Options for Universal Binaries (+universal variant) # MACOSX_DEPLOYMENT_TARGET universal_target 10.4 # the SDK "sysroot" to use universal_sysroot /Developer/SDKs/MacOSX10.4u.sdk # machine architectures universal_archs i386 ppc }}} configuring ncursesw for ppc will fail: {{{ $ sudo port install ncursesw +universal ---> Fetching ncursesw ---> Attempting to fetch ncurses-5.7.tar.gz from http://mirrors.kernel.org/gnu/ncurses ---> Verifying checksum(s) for ncursesw ---> Extracting ncursesw ---> Applying patches to ncursesw ---> Configuring ncursesw ---> Configuring ncursesw for architecture i386 ---> Configuring ncursesw for architecture ppc Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncursesw/work/ncurses-5.7-ppc" && ./configure --prefix=/opt/local --enable-widec --disable-rpath --with- shared --without-debug --without-ada --enable-sigwinch --mandir=/opt/local/share/man --with-manpage-format=normal --disable- dependency-tracking --host=powerpc-apple-darwin10.0.0 --with-build- cc='/Developer/usr/llvm-gcc-4.2/bin/llvm-gcc-4.2' --with-build- cpp='/Developer/usr/llvm-gcc-4.2/bin/llvm-cpp-4.2' --with-build- cppflags=-D_XOPEN_SOURCE_EXTENDED --enable-big-core --with-chtype=long --with-bool='unsigned int' " returned error 1 Command output: checking for nawk... no checking for awk... awk checking for egrep... (cached) grep -E checking for a BSD compatible install... /usr/bin/install -c checking for tdlint... no checking for lint... no checking for alint... no checking whether ln -s works... yes checking for long file names... yes checking if we should assume mixed-case filenames... auto checking if filesystem supports mixed-case filenames... no checking whether make sets ${MAKE}... yes checking for ctags... yes checking for makeflags variable... checking for powerpc-apple-darwin10.0.0-ranlib... no checking for ranlib... ranlib checking for powerpc-apple-darwin10.0.0-ld... no checking for ld... ld checking for powerpc-apple-darwin10.0.0-ar... no checking for ar... ar checking for archiver options (symbol AR_OPTS)... rv checking if you have specified an install-prefix... checking for native build C compiler... /Developer/usr/llvm-gcc-4.2/bin /llvm-gcc-4.2 checking for native build C preprocessor... /Developer/usr/llvm- gcc-4.2/bin/llvm-cpp-4.2 checking for native build C flags... checking for native build C preprocessor-flags... -D_XOPEN_SOURCE_EXTENDED checking for native build linker-flags... checking for native build linker-libraries... configure: error: Cross-build requires two compilers. Use --with-build-cc to specify the native compiler. Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macports.org/ticket/20726> MacPorts <http://www.macports.org/> Ports system for Mac OS