Ticket #13638 (closed defect: fixed)
fox 1.6.31_0 +universal configure failure
| Reported by: | ryandesign@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.7.0 |
| Keywords: | Cc: | lyle.johnson@… | |
| Port: |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

