Homebrew / legacy-homebrew

💀 The former home of Homebrew/homebrew (deprecated)
https://brew.sh
26.96k stars 11.34k forks source link

Hatari 1.4.0 won’t build on Mac OS X 10.7 #6506

Closed ghoffart closed 12 years ago

ghoffart commented 13 years ago

https://gist.github.com/1097000

XCode 4, Mac OS X 10.7 (Update from 10.6, but Brew has been installed after that). SDL is installed ($ brew install sdl: Warning: Formula already installed: sdl).

jacknagel commented 13 years ago

The Hatari formula was updated to 1.5.0 today -- does the error still occur?

ghoffart commented 13 years ago

Unfortunately - yes. In the meantime I updated to Mac OS X 10.7.1 and updated my brew installation.

After “brew install hatari” I got:

https://gist.github.com/1183036

SDL is installed via brew:

$ brew install sdl Warning: Formula already installed: sdl

adamv commented 12 years ago

May need to uninstall and reinstall SDL to pick up recent fixes for Lion.

ghoffart commented 12 years ago

Am 27.11.2011 um 00:25 schrieb Adam Vandenberg:

May need to uninstall and reinstall SDL to pick up recent fixes for Lion.

Thanks for the hint, but didn’t work:

molly:~ gh$ brew remove sdl Uninstalling /usr/local/Cellar/sdl/1.2.14... molly:~ gh$ brew install sdl Warning: Formula will not build with LLVM, using GCC ==> Downloading http://www.libsdl.org/release/SDL-1.2.14.tar.gz File already downloaded in /Users/gh/Library/Caches/Homebrew ==> ./configure --prefix=/usr/local/Cellar/sdl/1.2.14 --disable-nasm ==> make install Warning: m4 macros were installed to "share/aclocal". Homebrew does not append "/usr/local/share/aclocal" to "/usr/share/aclocal/dirlist". If an autoconf script you use requires these m4 macros, you'll need to add this path manually. ==> Summary /usr/local/Cellar/sdl/1.2.14: 221 files, 2,7M, built in 38 seconds molly:~ gh$ brew install hatari ==> Downloading http://download.berlios.de/hatari/hatari-1.5.0.tar.bz2 File already downloaded in /Users/gh/Library/Caches/Homebrew ==> ./configure --disable-debug --prefix=/usr/local/Cellar/hatari/1.5.0 --disable- ==> make install Scanning dependencies of target build68k [ 1%] Scanning dependencies of target Floppy Building C object src/uae-cpu/CMakeFiles/build68k.dir/build68k.c.o [ 2%] Scanning dependencies of target Debug Building C object src/CMakeFiles/Floppy.dir/createBlankImage.c.o Scanning dependencies of target Falcon [ 2%] [ 2%] Building C object src/debug/CMakeFiles/Debug.dir/log.c.o Building C object src/falcon/CMakeFiles/Falcon.dir/crossbar.c.o [ 2%] Building C object src/CMakeFiles/Floppy.dir/dim.c.o [ 3%] Building C object src/debug/CMakeFiles/Debug.dir/debugui.c.o Linking C executable build68k [ 4%] Building C object src/CMakeFiles/Floppy.dir/msa.c.o [ 4%] Built target build68k [ 5%] Building C object src/CMakeFiles/Floppy.dir/st.c.o [ 7%] [ 7%] [ 8%] Building C object src/CMakeFiles/Floppy.dir/zip.c.o Building C object src/debug/CMakeFiles/Debug.dir/breakcond.c.o Building C object src/falcon/CMakeFiles/Falcon.dir/dsp.c.o Scanning dependencies of target GuiSdl [ 9%] [ 10%] Building C object src/falcon/CMakeFiles/Falcon.dir/dsp_core.c.o Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgAbout.c.o Linking C static library libFloppy.a [ 10%] Built target Floppy [ 10%] Scanning dependencies of target manpages Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgAlert.c.o [ 10%] Generating hatari.1.gz [ 11%] Built target manpages [ 12%] Building C object src/falcon/CMakeFiles/Falcon.dir/dsp_cpu.c.o [ 13%] [ 14%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgDevice.c.o [ 15%] Building C object src/falcon/CMakeFiles/Falcon.dir/dsp_disasm.c.o Building C object src/debug/CMakeFiles/Debug.dir/debugcpu.c.o [ 16%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgFileSelect.c.o [ 17%] Building C object src/debug/CMakeFiles/Debug.dir/debugInfo.c.o [ 18%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgFloppy.c.o [ 19%] Scanning dependencies of target atari_hd_image_man Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgHardDisk.c.o [ 19%] Generating atari-hd-image.1.gz [ 19%] Built target atari_hd_image_man [ 19%] Building C object src/debug/CMakeFiles/Debug.dir/debugdsp.c.o [ 20%] Building C object src/debug/CMakeFiles/Debug.dir/evaluate.c.o [ 20%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgJoystick.c.o [ 20%] Building C object src/falcon/CMakeFiles/Falcon.dir/hostscreen.c.o [ 21%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgKeyboard.c.o [ 22%] Building C object src/debug/CMakeFiles/Debug.dir/profile.c.o [ 23%] [ 24%] Building C object src/falcon/CMakeFiles/Falcon.dir/microphone.c.o Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgMain.c.o Scanning dependencies of target zip2st_man [ 24%] Generating zip2st.1.gz [ 25%] [ 26%] Built target zip2st_man Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgMemory.c.o Scanning dependencies of target hmsa [ 27%] Building C object tools/hmsa/CMakeFiles/hmsa.dir/hmsa.c.o [ 28%] [ 29%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgNewDisk.c.o Building C object src/debug/CMakeFiles/Debug.dir/symbols.c.o [ 30%] Building C object tools/hmsa/CMakeFiles/hmsa.dir/floppy.c.o [ 30%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgRom.c.o [ 30%] Building C object tools/hmsa/CMakeFiles/hmsa.dir///src/file.c.o [ 31%] [ 32%] Building C object src/debug/CMakeFiles/Debug.dir/68kDisass.c.o Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgScreen.c.o [ 33%] [ 34%] Building C object tools/hmsa/CMakeFiles/hmsa.dir///src/unzip.c.o Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgSound.c.o [ 35%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgSystem.c.o Linking C executable hmsa [ 36%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/sdlgui.c.o [ 36%] Built target hmsa [ 37%] Building C object src/falcon/CMakeFiles/Falcon.dir/nvram.c.o Scanning dependencies of target hmsa_manpage [ 37%] Generating hmsa.1.gz [ 38%] Built target hmsa_manpage Scanning dependencies of target hconsole_man [ 38%] Generating hconsole.1.gz [ 39%] Built target hconsole_man Linking C static library libGuiSdl.a Scanning dependencies of target hatariui_man [ 39%] Generating hatariui.1.gz [ 40%] [ 40%] Built target hatariui_man Built target GuiSdl [ 42%] [ 42%] Building C object src/falcon/CMakeFiles/Falcon.dir/videl.c.o Generating cpudefs.c Linking C static library libDebug.a Scanning dependencies of target gencpu [ 43%] Building C object src/uae-cpu/CMakeFiles/gencpu.dir/gencpu.c.o [ 43%] Built target Debug [ 44%] Building C object src/uae-cpu/CMakeFiles/gencpu.dir/readcpu.c.o [ 44%] Building C object src/uae-cpu/CMakeFiles/gencpu.dir/cpudefs.c.o Linking C static library libFalcon.a /usr/bin/ranlib: file: libFalcon.a(microphone.c.o) has no symbols /usr/bin/ranlib: file: libFalcon.a(microphone.c.o) has no symbols [ 44%] Built target Falcon Linking C executable gencpu [ 44%] Built target gencpu [ 45%] Generating cpuemu.c, cpustbl.c Scanning dependencies of target UaeCpu [ 45%] [ 46%] [ 47%] [ 48%] Building C object src/uae-cpu/CMakeFiles/UaeCpu.dir/cpudefs.c.o Building C object src/uae-cpu/CMakeFiles/UaeCpu.dir/cpuemu.c.o Building C object src/uae-cpu/CMakeFiles/UaeCpu.dir/hatari-glue.c.o Building C object src/uae-cpu/CMakeFiles/UaeCpu.dir/cpustbl.c.o [ 49%] Building C object src/uae-cpu/CMakeFiles/UaeCpu.dir/memory.c.o [ 49%] Building C object src/uae-cpu/CMakeFiles/UaeCpu.dir/newcpu.c.o [ 50%] Building C object src/uae-cpu/CMakeFiles/UaeCpu.dir/readcpu.c.o [ 51%] Building C object src/uae-cpu/CMakeFiles/UaeCpu.dir/fpp.c.o Linking C static library libUaeCpu.a [ 52%] Built target UaeCpu Scanning dependencies of target hatari [ 53%] [ 54%] [ 55%] [ 55%] Building C object src/CMakeFiles/hatari.dir/audio.c.o Building C object src/CMakeFiles/hatari.dir/avi_record.c.o Building C object src/CMakeFiles/hatari.dir/bios.c.o Building C object src/CMakeFiles/hatari.dir/blitter.c.o [ 56%] Building C object src/CMakeFiles/hatari.dir/cart.c.o [ 57%] Building C object src/CMakeFiles/hatari.dir/cfgopts.c.o [ 59%] [ 59%] Building C object src/CMakeFiles/hatari.dir/configuration.c.o Building C object src/CMakeFiles/hatari.dir/clocks_timings.c.o [ 59%] Building C object src/CMakeFiles/hatari.dir/options.c.o [ 60%] Building C object src/CMakeFiles/hatari.dir/change.c.o [ 61%] Building C object src/CMakeFiles/hatari.dir/control.c.o [ 62%] Building C object src/CMakeFiles/hatari.dir/cycInt.c.o [ 63%] Building C object src/CMakeFiles/hatari.dir/cycles.c.o [ 63%] Building C object src/CMakeFiles/hatari.dir/dialog.c.o [ 64%] Building C object src/CMakeFiles/hatari.dir/dmaSnd.c.o [ 65%] Building C object src/CMakeFiles/hatari.dir/fdc.c.o [ 66%] Building C object src/CMakeFiles/hatari.dir/file.c.o [ 67%] Building C object src/CMakeFiles/hatari.dir/floppy.c.o [ 67%] [ 68%] [ 69%] Building C object src/CMakeFiles/hatari.dir/gemdos.c.o Building C object src/CMakeFiles/hatari.dir/hd6301_cpu.c.o Building C object src/CMakeFiles/hatari.dir/hdc.c.o [ 70%] Building C object src/CMakeFiles/hatari.dir/ide.c.o [ 71%] Building C object src/CMakeFiles/hatari.dir/ikbd.c.o [ 71%] Building C object src/CMakeFiles/hatari.dir/ioMem.c.o [ 72%] Building C object src/CMakeFiles/hatari.dir/ioMemTabST.c.o [ 73%] Building C object src/CMakeFiles/hatari.dir/ioMemTabSTE.c.o [ 74%] Building C object src/CMakeFiles/hatari.dir/ioMemTabTT.c.o [ 75%] [ 75%] Building C object src/CMakeFiles/hatari.dir/ioMemTabFalcon.c.o Building C object src/CMakeFiles/hatari.dir/joy.c.o [ 76%] Building C object src/CMakeFiles/hatari.dir/keymap.c.o [ 77%] Building C object src/CMakeFiles/hatari.dir/m68000.c.o [ 78%] [ 79%] Building C object src/CMakeFiles/hatari.dir/main.c.o Building C object src/CMakeFiles/hatari.dir/midi.c.o [ 79%] Building C object src/CMakeFiles/hatari.dir/memorySnapShot.c.o [ 80%] Building C object src/CMakeFiles/hatari.dir/mfp.c.o [ 81%] Building C object src/CMakeFiles/hatari.dir/paths.c.o [ 82%] Building C object src/CMakeFiles/hatari.dir/psg.c.o [ 83%] Building C object src/CMakeFiles/hatari.dir/printer.c.o [ 83%] Building C object src/CMakeFiles/hatari.dir/resolution.c.o [ 84%] [ 85%] Building C object src/CMakeFiles/hatari.dir/rs232.c.o Building C object src/CMakeFiles/hatari.dir/reset.c.o [ 86%] Building C object src/CMakeFiles/hatari.dir/rtc.c.o [ 87%] Building C object src/CMakeFiles/hatari.dir/scandir.c.o [ 87%] Building C object src/CMakeFiles/hatari.dir/stMemory.c.o [ 88%] [ 89%] Building C object src/CMakeFiles/hatari.dir/screen.c.o Building C object src/CMakeFiles/hatari.dir/screenSnapShot.c.o [ 90%] Building C object src/CMakeFiles/hatari.dir/shortcut.c.o [ 91%] Building C object src/CMakeFiles/hatari.dir/sound.c.o [ 91%] Building C object src/CMakeFiles/hatari.dir/spec512.c.o [ 92%] Building C object src/CMakeFiles/hatari.dir/statusbar.c.o [ 93%] Building C object src/CMakeFiles/hatari.dir/str.c.o [ 94%] [ 95%] Building C object src/CMakeFiles/hatari.dir/tos.c.o Building C object src/CMakeFiles/hatari.dir/unzip.c.o [ 95%] Building C object src/CMakeFiles/hatari.dir/utils.c.o [ 96%] Building C object src/CMakeFiles/hatari.dir/vdi.c.o [ 97%] Building C object src/CMakeFiles/hatari.dir/video.c.o [ 98%] Building C object src/CMakeFiles/hatari.dir/wavFormat.c.o [100%] Building C object src/CMakeFiles/hatari.dir/xbios.c.o [100%] Building C object src/CMakeFiles/hatari.dir/ymFormat.c.o Linking C executable hatari Undefined symbols for architecture x86_64: "_main", referenced from: start in crt1.10.6.o (maybe you meant: _SDL_main) ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status make[2]: * [src/hatari] Error 1 make[1]: * [src/CMakeFiles/hatari.dir/all] Error 2 make: *\ [all] Error 2 ==> Exit Status: 2 http://github.com/mxcl/homebrew/blob/master/Library/Formula/hatari.rb#L13 ==> Environment HOMEBREW_VERSION: 0.8 HEAD: 9d7f762b38b0e0f16cf13af36431e4fe3c67fdc6 HOMEBREW_PREFIX: /usr/local HOMEBREW_CELLAR: /usr/local/Cellar HOMEBREW_REPOSITORY: /usr/local HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew Hardware: quad-core 64-bit sandybridge OS X: 10.7.2 Kernel Architecture: x86_64 Ruby: 1.8.7-249 /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby Xcode: 4.1 GCC-4.0: N/A GCC-4.2: build 5666 LLVM: build 2335 MacPorts or Fink? false X11 installed? true ==> Build Flags CC: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2 CXX: /usr/bin/llvm-g++ => /usr/llvm-gcc-4.2/bin/llvm-g++-4.2 LD: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2 CFLAGS: -O3 -march=core2 -w -pipe CXXFLAGS: -O3 -march=core2 -w -pipe MAKEFLAGS: -j4

Error: Failed executing: make install If `brew doctor' does not help diagnose the issue, please report the bug: https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue

Regards Götz