[MacPorts] #13638: fox 1.6.31_0 +universal configure failure
MacPorts
trac at macosforge.org
Tue Dec 18 23:47:58 PST 2007
#13638: fox 1.6.31_0 +universal configure failure
-------------------------------------+--------------------------------------
Reporter: ryandesign at macports.org | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.5.2
Keywords: |
-------------------------------------+--------------------------------------
fox 1.6.31_0 won't build universal:
{{{
$ sudo port install fox +universal
---> Fetching fox
---> Verifying checksum(s) for fox
---> Extracting fox
---> Configuring fox
Error: Target org.macports.configure returned: configure failure: shell
command " cd
"/opt/local/var/macports/build/_Users_rschmidt_macports_dports_x11_fox/work/fox-1.6.31"
&& ./configure --prefix=/opt/local --mandir=/opt/local/share/man --with-x
--with-xft --with-opengl --enable-cups --disable-dependency-tracking "
returned error 77
Command output: checking for a BSD-compatible install... /usr/bin/install
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... missing
checking for working autoconf... found
checking for working automake-1.4... missing
checking for working autoheader... found
checking for working makeinfo... found
checking major version... 1
checking minor version... 6
checking patchlevel... 31
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... /usr/bin/gcc-4.0
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.
Error: Status 1 encountered during processing.
$
}}}
This line added in r32069 (#13463) broke it; removing this line allows it
to build universal (on Tiger on Intel anyway):
{{{
configure.ldflags-append "-dylib_file
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib"
}}}
An additional curiosity is this section, added in r23728 (#11658):
{{{
if {[variant_isset universal]} {
configure.cxxflags-append "-isysroot /Developer/SDKs/MacOSX10.4u.sdk
-arch i386 -arch ppc"
}
}}}
It's curious because it shouldn't be necessary, since "-isysroot
${sysroot} -arch i386 -arch ppc" is exactly what's in the variable
configure.universal_cxxflags and that's automatically added to the
CXXFLAGS when you use the +universal variant. The +universal variant still
builds fine if I remove those lines from the portfile.
--
Ticket URL: <https://trac.macports.org/projects/macports/ticket/13638>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list