[MacPorts] #25350: ncursesw universal build x86_64 fails on 32 bit platforms
MacPorts
noreply at macports.org
Sat Jun 19 11:46:29 PDT 2010
#25350: ncursesw universal build x86_64 fails on 32 bit platforms
-----------------------------------------+----------------------------------
Reporter: mcl_guard-netmail@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.1
Keywords: | Port: ncursesw
-----------------------------------------+----------------------------------
The port file for ncursesw assumes a 64 bit platform when determining what
archs require cross compiling turned on. This results in an error trying
build the universal variant on a 32 bit machine.
See output:
{{{
---> Computing dependencies for ncursesw.
---> Fetching ncursesw
---> Verifying checksum(s) for ncursesw
---> Checksumming ncurses-5.7.tar.gz
---> Extracting ncursesw
---> Extracting ncurses-5.7.tar.gz
---> Applying patches to ncursesw
---> Applying
/opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw/files
/patch-configure.diff
patching file configure
---> Configuring ncursesw
---> Configuring ncursesw for architecture x86_64
checking for egrep... grep -E
Configuring NCURSES 5.7 ABI 5 (Sat Jun 19 14:36:14 EDT 2010)
checking build system type... i386-apple-darwin10.3.0
checking host system type... i386-apple-darwin10.3.0
checking target system type... i386-apple-darwin10.3.0
Configuring for darwin10.3.0
checking for prefix... /opt/local
checking for gcc... /usr/bin/gcc-4.2 -arch x86_64
checking for C compiler default output... a.out
checking whether the C compiler works... configure: error: cannot run C
compiled programs.
If you meant to cross compile, use `--host'.
shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncursesw/work/ncurses-5.7-x86_64"
&& ./configure --prefix=/opt/local --disable-dependency-tracking --enable-
widec --disable-rpath --with-shared --without-debug --without-ada
--enable-sigwinch --mandir=/opt/local/share/man --with-manpage-
format=normal --disable-dependency-tracking " returned error 1
Error: Target org.macports.configure returned: configure failure: shell
command failed
Warning: the following items did not execute (for ncursesw):
org.macports.activate org.macports.configure org.macports.build
org.macports.destroot org.macports.install
Log for ncursesw is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncursesw/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
}}}
--
Ticket URL: <http://trac.macports.org/ticket/25350>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list