id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,port 7577,flac doesn't build on a MacBook Pro (Intel Mac),hairer@…,macports-tickets@…,"My system is: Darwin macbook.home 8.5.2 Darwin Kernel Version 8.5.2: Mon Feb 13 16:31:48 PST 2006; root:xnu-792.8.37.obj~1/RELEASE_I386 i386 i386 Trying to install the latest version of flac fails. Downloading the source code from the FLAC project homepage fails to build as well with the error messages. The output from ""sudo port -vd install flac"" is as follows: DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/audio/flac DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/audio/flac DEBUG: Requested variant darwin is not provided by port flac. DEBUG: Requested variant i386 is not provided by port flac. DEBUG: Requested variant macosx is not provided by port flac. DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/multimedia/libogg DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/multimedia/libogg DEBUG: Searching for dependency: libogg DEBUG: Found Dependency: receipt exists for libogg DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/audio/id3lib DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/audio/id3lib DEBUG: Searching for dependency: id3lib DEBUG: Found Dependency: receipt exists for id3lib DEBUG: Skipping completed com.apple.main (flac) DEBUG: Skipping completed com.apple.unarchive (flac) DEBUG: Skipping completed com.apple.fetch (flac) DEBUG: Skipping completed com.apple.checksum (flac) DEBUG: Skipping completed com.apple.extract (flac) DEBUG: Skipping completed com.apple.patch (flac) DEBUG: Skipping completed com.apple.configure (flac) ---> Building flac with target all DEBUG: Executing com.apple.build (flac) DEBUG: Assembled command: 'cd ""/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_audio_flac/work/flac-1.1.2"" && make all' make all-recursive Making all in doc Making all in . make[3]: Nothing to be done for `all-am'. Making all in html Making all in ru make[4]: Nothing to be done for `all'. Making all in images make[4]: Nothing to be done for `all'. make[4]: Nothing to be done for `all-am'. Making all in include Making all in FLAC make[3]: Nothing to be done for `all'. Making all in FLAC++ make[3]: Nothing to be done for `all'. Making all in OggFLAC make[3]: Nothing to be done for `all'. Making all in OggFLAC++ make[3]: Nothing to be done for `all'. Making all in share Making all in grabbag make[4]: Nothing to be done for `all'. make[4]: Nothing to be done for `all-am'. make[3]: Nothing to be done for `all-am'. Making all in man make[2]: Nothing to be done for `all'. Making all in src Making all in libFLAC Making all in ia32 make[4]: Nothing to be done for `all'. Making all in include Making all in private make[5]: Nothing to be done for `all'. Making all in protected make[5]: Nothing to be done for `all'. make[5]: Nothing to be done for `all-am'. Making all in . /bin/sh ../../libtool --mode=link gcc -I../.. -I./include -I../../include -O2 -DNDEBUG -O3 -fomit-frame-pointer -funroll-loops -finline-functions -Wall -W -Winline -DFLaC__INLINE=__inline__ -g -O2 -o libFLAC.la -rpath /opt/local/lib -version-info 7:0:0 -lm bitbuffer.lo bitmath.lo cpu.lo crc.lo file_decoder.lo file_encoder.lo fixed.lo float.lo format.lo lpc.lo md5.lo memory.lo metadata_iterators.lo metadata_object.lo seekable_stream_decoder.lo seekable_stream_encoder.lo stream_decoder.lo stream_encoder.lo stream_encoder_framing.lo ia32/libFLAC-asm.la ../../libtool: line 3664: Mach-O dynamically linked shared library: command not found sed: stdout: Broken pipe *** Warning: linker path does not have real file for library -lm. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because I did check the linker path looking for a file starting *** with libm and none of the candidates passed a file format test *** using a file magic. Last file checked: /usr/lib/libSystem.B.dylib ../../libtool: line 3664: Mach-O dynamically linked shared library: command not found sed: stdout: Broken pipe *** Warning: linker path does not have real file for library -lc. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because I did check the linker path looking for a file starting *** with libc and none of the candidates passed a file format test *** using a file magic. Last file checked: /usr/lib/libSystem.B.dylib *** The inter-library dependencies that have been dropped here will be *** automatically added whenever a program is linked with this library *** or is declared to -dlopen it. ../../libtool: line 4062: test: : integer expression expected ../../libtool: line 4062: test: : integer expression expected creating reloadable object files... ../../libtool: line 4096: test: : integer expression expected ../../libtool: line 4096: test: : integer expression expected ../../libtool: line 4096: test: : integer expression expected ../../libtool: line 4096: test: : integer expression expected ../../libtool: line 4096: test: : integer expression expected ../../libtool: line 4096: test: : integer expression expected ../../libtool: line 4096: test: : integer expression expected ../../libtool: line 4096: test: : integer expression expected ../../libtool: line 4096: test: : integer expression expected ../../libtool: line 4096: test: : integer expression expected ../../libtool: line 4096: test: : integer expression expected ../../libtool: line 4096: test: : integer expression expected ../../libtool: line 4096: test: : integer expression expected ../../libtool: line 4096: test: : integer expression expected ../../libtool: line 4096: test: : integer expression expected ../../libtool: line 4096: test: : integer expression expected ../../libtool: line 4096: test: : integer expression expected ../../libtool: line 4096: test: : integer expression expected creating a temporary reloadable object file: .libs/libFLAC.la-19.o /usr/bin/ld -r -o .libs/libFLAC.la-1.o .libs/bitbuffer.o /usr/bin/ld -r -o .libs/libFLAC.la-2.o .libs/bitmath.o .libs/libFLAC.la-1.o /usr/bin/ld -r -o .libs/libFLAC.la-3.o .libs/cpu.o .libs/libFLAC.la-2.o /usr/bin/ld -r -o .libs/libFLAC.la-4.o .libs/crc.o .libs/libFLAC.la-3.o /usr/bin/ld -r -o .libs/libFLAC.la-5.o .libs/file_decoder.o .libs/libFLAC.la-4.o /usr/bin/ld -r -o .libs/libFLAC.la-6.o .libs/file_encoder.o .libs/libFLAC.la-5.o /usr/bin/ld -r -o .libs/libFLAC.la-7.o .libs/fixed.o .libs/libFLAC.la-6.o /usr/bin/ld -r -o .libs/libFLAC.la-8.o .libs/float.o .libs/libFLAC.la-7.o /usr/bin/ld -r -o .libs/libFLAC.la-9.o .libs/format.o .libs/libFLAC.la-8.o /usr/bin/ld -r -o .libs/libFLAC.la-10.o .libs/lpc.o .libs/libFLAC.la-9.o /usr/bin/ld -r -o .libs/libFLAC.la-11.o .libs/md5.o .libs/libFLAC.la-10.o /usr/bin/ld -r -o .libs/libFLAC.la-12.o .libs/memory.o .libs/libFLAC.la-11.o /usr/bin/ld -r -o .libs/libFLAC.la-13.o .libs/metadata_iterators.o .libs/libFLAC.la-12.o /usr/bin/ld -r -o .libs/libFLAC.la-14.o .libs/metadata_object.o .libs/libFLAC.la-13.o /usr/bin/ld -r -o .libs/libFLAC.la-15.o .libs/seekable_stream_decoder.o .libs/libFLAC.la-14.o /usr/bin/ld -r -o .libs/libFLAC.la-16.o .libs/seekable_stream_encoder.o .libs/libFLAC.la-15.o /usr/bin/ld -r -o .libs/libFLAC.la-17.o .libs/stream_decoder.o .libs/libFLAC.la-16.o /usr/bin/ld -r -o .libs/libFLAC.la-18.o .libs/stream_encoder.o .libs/libFLAC.la-17.o /usr/bin/ld -r -o .libs/libFLAC.la-19.o .libs/stream_encoder_framing.o .libs/libFLAC.la-18.o gcc -dynamiclib -flat_namespace -undefined suppress -o .libs/libFLAC.7.0.0.dylib .libs/libFLAC.la-19.o -all_load ia32/.libs/libFLAC-asm.a -install_name /opt/local/lib/libFLAC.7.dylib -compatibility_version 8 -current_version 8.0 /usr/bin/libtool: file: ia32/.libs/libFLAC-asm.a(cpu_asm.o) is not an object file (not allowed in a library) /usr/bin/libtool: file: ia32/.libs/libFLAC-asm.a(fixed_asm.o) is not an object file (not allowed in a library) /usr/bin/libtool: file: ia32/.libs/libFLAC-asm.a(lpc_asm.o) is not an object file (not allowed in a library) make[4]: *** [libFLAC.la] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Target com.apple.build returned: shell command ""cd ""/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_audio_flac/work/flac-1.1.2"" && make all"" returned error 2 Command output: ../../libtool: line 4096: test: : integer expression expected creating a temporary reloadable object file: .libs/libFLAC.la-19.o /usr/bin/ld -r -o .libs/libFLAC.la-1.o .libs/bitbuffer.o /usr/bin/ld -r -o .libs/libFLAC.la-2.o .libs/bitmath.o .libs/libFLAC.la-1.o /usr/bin/ld -r -o .libs/libFLAC.la-3.o .libs/cpu.o .libs/libFLAC.la-2.o /usr/bin/ld -r -o .libs/libFLAC.la-4.o .libs/crc.o .libs/libFLAC.la-3.o /usr/bin/ld -r -o .libs/libFLAC.la-5.o .libs/file_decoder.o .libs/libFLAC.la-4.o /usr/bin/ld -r -o .libs/libFLAC.la-6.o .libs/file_encoder.o .libs/libFLAC.la-5.o /usr/bin/ld -r -o .libs/libFLAC.la-7.o .libs/fixed.o .libs/libFLAC.la-6.o /usr/bin/ld -r -o .libs/libFLAC.la-8.o .libs/float.o .libs/libFLAC.la-7.o /usr/bin/ld -r -o .libs/libFLAC.la-9.o .libs/format.o .libs/libFLAC.la-8.o /usr/bin/ld -r -o .libs/libFLAC.la-10.o .libs/lpc.o .libs/libFLAC.la-9.o /usr/bin/ld -r -o .libs/libFLAC.la-11.o .libs/md5.o .libs/libFLAC.la-10.o /usr/bin/ld -r -o .libs/libFLAC.la-12.o .libs/memory.o .libs/libFLAC.la-11.o /usr/bin/ld -r -o .libs/libFLAC.la-13.o .libs/metadata_iterators.o .libs/libFLAC.la-12.o /usr/bin/ld -r -o .libs/libFLAC.la-14.o .libs/metadata_object.o .libs/libFLAC.la-13.o /usr/bin/ld -r -o .libs/libFLAC.la-15.o .libs/seekable_stream_decoder.o .libs/libFLAC.la-14.o /usr/bin/ld -r -o .libs/libFLAC.la-16.o .libs/seekable_stream_encoder.o .libs/libFLAC.la-15.o /usr/bin/ld -r -o .libs/libFLAC.la-17.o .libs/stream_decoder.o .libs/libFLAC.la-16.o /usr/bin/ld -r -o .libs/libFLAC.la-18.o .libs/stream_encoder.o .libs/libFLAC.la-17.o /usr/bin/ld -r -o .libs/libFLAC.la-19.o .libs/stream_encoder_framing.o .libs/libFLAC.la-18.o gcc -dynamiclib -flat_namespace -undefined suppress -o .libs/libFLAC.7.0.0.dylib .libs/libFLAC.la-19.o -all_load ia32/.libs/libFLAC-asm.a -install_name /opt/local/lib/libFLAC.7.dylib -compatibility_version 8 -current_version 8.0 /usr/bin/libtool: file: ia32/.libs/libFLAC-asm.a(cpu_asm.o) is not an object file (not allowed in a library) /usr/bin/libtool: file: ia32/.libs/libFLAC-asm.a(fixed_asm.o) is not an object file (not allowed in a library) /usr/bin/libtool: file: ia32/.libs/libFLAC-asm.a(lpc_asm.o) is not an object file (not allowed in a library) make[4]: *** [libFLAC.la] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Warning: the following items did not execute (for flac): com.apple.activate com.apple.build com.apple.destroot com.apple.archive com.apple.install Error: /opt/local/bin/port: Status 1 encountered during processing.",defect,closed,Normal,,base,1.2,fixed,,,