Skip to content

Docker.osx fails to build #15

@TokisanGames

Description

@TokisanGames

I put Xcode-10.3.xip in files/ then let it build godot-xcode-packer. Now my files/ also contains iPhoneOS12.4.sdk.tar.xz, iPhoneSimulator12.4.sdk.tar.xz, and MacOSX10.14.sdk.tar.xz.

Godot-osx fails here:

 /usr/bin/mkdir -p '/root/osxcross/target/share/man/man5'
 /usr/bin/install -c -m 644 'Mach-O.5' '/root/osxcross/target/share/man/man5/x86_64-apple-darwin17-Mach-O.5'
 /usr/bin/install -c -m 644 'a.out.5' '/root/osxcross/target/share/man/man5/x86_64-apple-darwin17-a.out.5'
 /usr/bin/install -c -m 644 'ranlib.5' '/root/osxcross/target/share/man/man5/x86_64-apple-darwin17-ranlib.5'
 /usr/bin/install -c -m 644 'stab.5' '/root/osxcross/target/share/man/man5/x86_64-apple-darwin17-stab.5'
make[2]: Leaving directory '/root/cctools-port/cctools/man'
make[1]: Leaving directory '/root/cctools-port/cctools/man'
make[1]: Entering directory '/root/cctools-port/cctools'
make[2]: Entering directory '/root/cctools-port/cctools'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/root/cctools-port/cctools'
make[1]: Leaving directory '/root/cctools-port/cctools'
you must run ./build.sh first before you can start building compiler-rt
Error: error building at STEP "RUN dnf -y install automake autoconf bzip2-devel clang git libicu-devel libtool libxml2-devel llvm-devel make openssl-devel patch scons xz bzip2 yasm && dnf clean all &&     git clone https://github.com/tpoechtrager/osxcross.git &&     cd /root/osxcross &&     ln -s /root/files/MacOSX10.14.sdk.tar.xz /root/osxcross/tarballs &&     UNATTENDED=1 ./build.sh ;    cd /root &&     git clone https://github.com/tpoechtrager/apple-libtapi.git &&     cd apple-libtapi &&     INSTALLPREFIX=/root/osxcross/target ./build.sh && ./install.sh &&     cd /root &&     git clone https://github.com/tpoechtrager/cctools-port.git &&     cd cctools-port/cctools/ &&     ./configure --prefix=/root/osxcross/target --target=x86_64-apple-darwin17 --with-libtapi=/root/osxcross/target &&     make -j && make install &&     cd /root &&     ln -fs /root/osxcross/target/bin/x86_64-apple-darwin17-install_name_tool /root/osxcross/target/bin/install_name_tool &&     ln -fs /root/osxcross/target/bin/x86_64-apple-darwin17-ar /root/osxcross/target/bin/ar &&     cd /root/osxcross/ &&     ./build_compiler_rt.sh &&     export CLANG_LIB_DIR=$(clang -print-search-dirs | grep "libraries: =" | tr '=' ' ' | tr ':' ' ' | awk '{print $2}') &&     mkdir -p ${CLANG_LIB_DIR}/include &&     mkdir -p ${CLANG_LIB_DIR}/lib/darwin &&     cp -rv /root/osxcross/build/compiler-rt/include/sanitizer ${CLANG_LIB_DIR}/include &&     cp -v /root/osxcross/build/compiler-rt/build/lib/darwin/*.a ${CLANG_LIB_DIR}/lib/darwin &&     cp -v /root/osxcross/build/compiler-rt/build/lib/darwin/*.dylib ${CLANG_LIB_DIR}/lib/darwin": error while running runtime: exit status 1

I'll step through the docker file and figure out what needs to happen in a day or two.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions