The International Simutrans Forum

 

Author Topic: [git: HEAD-13af43d] build failure mac os x high sierra  (Read 1572 times)

0 Members and 1 Guest are viewing this topic.

Offline 2G5lpVRe

  • *
  • Posts: 2
[git: HEAD-13af43d] build failure mac os x high sierra
« on: December 11, 2017, 07:53:20 PM »
Code: [Select]
brew install -s simutrans --verbose --HEAD

/usr/bin/sandbox-exec -f /tmp/homebrew20171211-57656-141iawj.sb nice /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby -W0 -I /usr/local/Homebrew/Library/Homebrew -- /usr/local/Homebrew/Library/Homebrew/build.rb /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/simutrans.rb --verbose --HEAD
==> Cloning https://github.com/aburch/simutrans.git
Updating /Users/adamgradzki/Library/Caches/Homebrew/simutrans--git
git config remote.origin.url https://github.com/aburch/simutrans.git
git config remote.origin.fetch +refs/heads/master:refs/remotes/origin/master
git fetch origin
==> Checking out branch master
git checkout -f master --
Already on 'master'
Your branch is up to date with 'origin/master'.
git reset --hard origin/master
HEAD is now at 13af43d Forgot link to topic.
==> make BACKEND=sdl2 COLOUR_DEPTH=16 OSTYPE=mac VERBOSE=1

# ........... SNIP ...........

===> HOSTCXX utils/simrandom.cc
clang++ -O -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align  -I/usr/local/include/SDL2 -D_THREAD_SAFE -DCOLOUR_DEPTH=16 -c -MMD -o build/default/utils/simrandom.o utils/simrandom.cc
===> HOSTCXX utils/simstring.cc
clang++ -O -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align  -I/usr/local/include/SDL2 -D_THREAD_SAFE -DCOLOUR_DEPTH=16 -c -MMD -o build/default/utils/simstring.o utils/simstring.cc
===> HOSTCXX utils/simthread.cc
clang++ -O -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align  -I/usr/local/include/SDL2 -D_THREAD_SAFE -DCOLOUR_DEPTH=16 -c -MMD -o build/default/utils/simthread.o utils/simthread.cc
===> HOSTCXX vehicle/movingobj.cc
clang++ -O -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align  -I/usr/local/include/SDL2 -D_THREAD_SAFE -DCOLOUR_DEPTH=16 -c -MMD -o build/default/vehicle/movingobj.o vehicle/movingobj.cc
===> HOSTCXX vehicle/simpeople.cc
clang++ -O -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align  -I/usr/local/include/SDL2 -D_THREAD_SAFE -DCOLOUR_DEPTH=16 -c -MMD -o build/default/vehicle/simpeople.o vehicle/simpeople.cc
===> HOSTCXX vehicle/simvehicle.cc
clang++ -O -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align  -I/usr/local/include/SDL2 -D_THREAD_SAFE -DCOLOUR_DEPTH=16 -c -MMD -o build/default/vehicle/simvehicle.o vehicle/simvehicle.cc
===> HOSTCXX vehicle/simroadtraffic.cc
clang++ -O -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align  -I/usr/local/include/SDL2 -D_THREAD_SAFE -DCOLOUR_DEPTH=16 -c -MMD -o build/default/vehicle/simroadtraffic.o vehicle/simroadtraffic.cc
===> HOSTCXX simsys_s2.cc
clang++ -O -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align  -I/usr/local/include/SDL2 -D_THREAD_SAFE -DCOLOUR_DEPTH=16 -c -MMD -o build/default/simsys_s2.o simsys_s2.cc
===> Obj-c OSX sound/core-audio_sound.mm
clang++ -O -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align  -I/usr/local/include/SDL2 -D_THREAD_SAFE -DCOLOUR_DEPTH=16  -c -MMD -o build/default/sound/core-audio_sound.o sound/core-audio_sound.mm
sound/core-audio_sound.mm:12:9: fatal error: 'QTKit/QTMovie.h' file not found
#import <QTKit/QTMovie.h>
        ^~~~~~~~~~~~~~~~~
1 error generated.
make: *** [build/default/sound/core-audio_sound.o] Error 1
make: *** Waiting for unfinished jobs....

==> Formula
Path: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/simutrans.rb
==> Configuration
HOMEBREW_VERSION: 1.4.0
ORIGIN: https://github.com/Homebrew/brew
HEAD: f42d8acde3907b90ea32cef01445744288984a4c
Last commit: 3 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: dbceaf77dcc7c2552d58c7773a891ef7ea7eaf33
Core tap last commit: 4 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_DEV_CMD_RUN: 1
HOMEBREW_ENABLE_AUTO_UPDATE_MIGRATION: 1
HOMEBREW_GITHUB_API_TOKEN: set
CPU: octa-core 64-bit haswell
Homebrew Ruby: 2.3.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby
Clang: 9.0 build 900
Git: 2.13.6 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.54.0 => /usr/bin/curl
Perl: /usr/bin/perl
Python: /Users/user/.pyenv/shims/python => /Users/user/.pyenv/versions/3.6.3/bin/python3.6
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby
Java: N/A
macOS: 10.13.2-x86_64
Xcode: N/A
CLT: 9.1.0.0.1.1508540944
X11: 2.7.11 => /opt/X11
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_PATH: /usr/local/opt/libpng/lib/pkgconfig:/usr/local/opt/sdl2/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.13
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Homebrew/Library/Homebrew/shims/super:/usr/local/opt/libpng/bin:/usr/local/opt/sdl2/bin:/usr/local/opt/git/bin:/usr/bin:/bin:/usr/sbin:/sbin

Error: simutrans HEAD-13af43d did not build
Logs:
     /Users/user/Library/Logs/Homebrew/simutrans/01.make
     /Users/user/Library/Logs/Homebrew/simutrans/00.options.out
     /Users/user/Library/Logs/Homebrew/simutrans/01.make.cc
READ THIS: https://docs.brew.sh/Troubleshooting.html


Error: A newer Command Line Tools release is available.
Update them from Software Update in the App Store.



Offline TurfIt

  • Dev Team, Coder/patcher
  • Devotee
  • *
  • Posts: 1301
Re: [git: HEAD-13af43d] build failure mac os x high sierra
« Reply #1 on: December 11, 2017, 08:00:22 PM »
Code: [Select]
#AV_FOUNDATION = 1  # Use AVFoundation instead of QTKit. If you are using macOS 10.12 or later, this must be enabled.

Offline 2G5lpVRe

  • *
  • Posts: 2
Re: [git: HEAD-13af43d] build failure mac os x high sierra
« Reply #2 on: December 11, 2017, 08:11:57 PM »
Thanks for the tip