On 8/1/2012 4:42 AM, Daniel Macks wrote: > On Tue, 31 Jul 2012 20:47:49 -0400, Daniel Johnson > <daniel.johnso...@gmail.com> wrote: > >> On Jul 31, 2012, at 4:23 PM, Beat Zahnd <beat.za...@gmail.com> wrote: >> >>> Yes, same effect with just 1 build job. >>>> Thanks, Beat >>> On Jul 31, 2012, at 10:14 PM, Alexander Hansen >> <alexanderk.han...@gmail.com> wrote: >>>>> I'll cc the maintainer. I know that he has Mountain Lion. >>>>>> Did you try reducing the number of build jobs to 1? "Unable to open >>>> file..." errors frequently come up when packages aren't set up to build >>>> in multiple threads (though the build worked for me with 4 build jobs on >>>> 10.7/Xcode 4.4). >>>>>> -- >> Alexander Hansen, Ph.D. >>>> Fink User Liaison >>>> My package updates: http://finkakh.wordpress.com/ >>> libvpx does indeed fail to build on 10.8. Turns out it needs GNU >> grep in order to build which I added as a BuildDepends. I also >> updated it to the latest upstream version. > > Now fails on 10.6/i386: > > #!/bin/bash -ev > > let version=`uname -r | cut -d . -f 1` > uname -r | cut -d . -f 1 > #if [ $version -gt 9 ]; then > # let version=9 > #fi > > if [ "i386" = "powerpc" ]; then > ./configure --prefix=/sw --target=ppc32-darwin${version}-gcc > elif [ "i386" = "i386" ]; then > if [ $version = "8" ]; then > ./configure --prefix=/sw > --target=x86-darwin${version}-gcc --disable-postproc > else > ./configure --prefix=/sw > --target=x86-darwin${version}-gcc > fi > else > ./configure --prefix=/sw --target=i386-darwin${version}-gcc > fi > Configuring selected codecs > enabling vp8_encoder > enabling vp8_decoder > Configuring for target 'x86-darwin10-gcc' > enabling x86 > enabling runtime_cpu_detect > enabling mmx > enabling sse > enabling sse2 > enabling sse3 > enabling ssse3 > enabling sse4_1 > using yasm > enabling postproc > Unable to invoke compiler: gcc _dir} -mmacosx-version-min=10.6 -m32 > -arch i386
Similar failure on 10.7/xcode 4.1: enabling postproc Unable to invoke compiler: gcc _dir} -mmacosx-version-min=10.7 -m64 -arch x86_64 config.err is littered with lines like this: check_cpp BEGIN /tmp/vpx-conf-60553-31235.c 1 #include "stdio.h" 2 int x; END /tmp/vpx-conf-60553-31235.c gcc _dir} -mmacosx-version-min=10.7 -m64 -arch x86_64 -E -o /tmp/vpx-conf-60553-16145.o /tmp/vpx-conf-60553-31235.c clang: error: no such file or directory: '_dir}' If I manually extract the tarball and run the same configure command, then ./configure works and the output in config.err looks like this: "gcc -isysroot /Developer/SDKs/MacOSX10.7.sdk -mmacosx-version-min=10.7", so the culprit looks to be the 'perl -pie' in PatchScript (and just confirmed that it builds commenting that out). Hanspeter ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users