[MacPorts] #18214: muniversal portgroup uses host core2-apple-darwin
MacPorts
noreply at macports.org
Mon Jan 26 18:14:59 PST 2009
#18214: muniversal portgroup uses host core2-apple-darwin
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: mcalhoun@…
Type: defect | Status: new
Priority: Normal | Milestone: MacPorts Future
Component: base | Version: 1.7.0
Keywords: | Port:
-------------------------------------+--------------------------------------
When building universal on a PowerPC Mac, the muniversal portgroup uses
the host core2-apple-darwin to build the Intel parts, but at least on my
Power Mac G4 with Mac OS X 10.4.11 and Xcode 2.5, it doesn't know any such
host. Here is the output I get from cairo @1.8.6_3:
{{{
universal: Running configure for architecture ppc
universal: Running configure for architecture i386
Error: Target org.macports.configure returned: configure failure: shell
command " cd
"/mp/var/macports/build/_Volumes_data_macports_ports_graphics_cairo/work/i386"
&& ./configure --prefix=/mp --disable-glitz --disable-xcb --enable-ft
--enable-pdf --enable-png --enable-ps --enable-svg --enable-xlib --enable-
xlib-xrender --with-x --disable-dependency-tracking --enable-quartz
--enable-quartz-font --enable-quartz-image --host=core2-apple-darwin "
returned error 1
Command output: configure: WARNING: If you wanted to set the --build type,
don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build/install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for core2-apple-darwin-strip... no
checking for strip... strip
checking build system type... powerpc-apple-darwin8.11.0
checking host system type... Invalid configuration `core2-apple-darwin':
machine `core2-apple' not recognized
configure: error: /bin/sh build/config.sub core2-apple-darwin failed
Error: Status 1 encountered during processing.
}}}
I get [comment:ticket:18190:1 the same output] from libiconv @1.12_2 if I
use the original patch that was in #18190.
I had never heard of "core2-apple-darwin" before seeing it in the
muniversal portgroup code, and [http://www.google.com/search?q=%22core2
-apple-darwin%22 searching Google], there are no hits for "core2-apple-
darwin" except as part of the muniversal portgroup. Shouldn't it be "i686
-apple-darwin" for which [http://www.google.com/search?q=%22i686-apple-
darwin%22 Google has] thousands of results? If I change core2-apple-darwin
to i686-apple-darwin in the muniversal portgroup, then I can build
libiconv universal (2-way 32-bit) without needing to set merger_host in
the libiconv portfile. Maybe that doesn't properly take 64-bit into
account. So the portgroup should set host to i686-apple-darwin or x86_64
-apple-darwin accordingly. All I know is "`locate i686-apple-darwin`" and
"`locate x86_64-apple-darwin`" return plenty of results on my Power Mac
whereas "`locate core2-apple-darwin`" returns none.
--
Ticket URL: <http://trac.macports.org/ticket/18214>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list