GithubHelp home page GithubHelp logo

darwin-on-arm / darwin-sdk Goto Github PK

View Code? Open in Web Editor NEW
36.0 13.0 23.0 3.73 MB

Source repository for the Darwin ARM SDK.

C 71.55% C++ 17.68% Shell 2.28% Makefile 3.48% Objective-C 2.30% HTML 0.11% CMake 0.08% Assembly 0.17% Perl 0.01% Lex 0.07% Yacc 0.10% Roff 2.11% M4 0.08%

darwin-sdk's Introduction

darwin-sdk

Source repository for the Darwin ARM SDK.

This package requires the following to be installed before building:

  • dpkg-dev (if on debian/ubuntu/mint)
  • devscripts (if on debian/ubuntu/mint)
  • debhelper (if on debian/ubuntu/mint)
  • clang-3.4 (currently clang-3.5 breaks xnu build)
  • llvm-dev
  • uuid-dev
  • libdb-dev
  • libssl-dev
  • libblocksruntime-dev
  • libc6-dev-i386 (if 64bit)
  • gcc-multilib (if 64bit)
  • build-essential
  • flex
  • tcsh
  • bison
  • automake
  • autogen
  • libtool
  • perl

NOTE: Package names may vary from one distro to the next.

To build and install this package on a debian/ubuntu/mint system run the following:

dpkg-buildpackage -us -uc
sudo dpkg -i ../darwin-sdk*.deb

To build and install this package on other linux distros (until we get proper package support):

sudo make install

darwin-sdk's People

Contributors

b-man avatar matteyeux avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

darwin-sdk's Issues

Cant build debian package on Linux Mint 18.3(Ubuntu Based)

Hi, i would like to ask for help, i get the following error on Linux Mint 18.3 when trying to build and install it
with this command
sudo dpkg-buildpackage -us -uc
the error:
dpkg-buildpackage: error: debian/rules binary gave error exit status 2
Full cmd outpout

dh_installdocs
debian/README.xcode_tools.md: 1: debian/README.xcode_tools.md: xcode-tools: not found
debian/README.xcode_tools.md: 2: debian/README.xcode_tools.md: ===========: not found
debian/README.xcode_tools.md: 3: debian/README.xcode_tools.md: An: not found
Usage: xcrun [options] ... arguments ...

Find and execute the named command line tool from the active developer directory.

The active developer directory can be set using xcode-select, or via the
DEVELOPER_DIR environment variable.

Options:
-h, --help show this help message and exit
--version show the xcrun version
-v, --verbose show verbose logging output
--sdk find the tool for the given SDK name
--toolchain find the tool for the given toolchain
-l, --log show commands to be executed (with --run)
-f, --find only find and print the tool path
-r, --run find and execute the tool (the default behavior)
--show-sdk-path show selected SDK install path
--show-sdk-version show selected SDK version
--show-sdk-target-triple show selected SDK target triple
--show-sdk-toolchain-path show selected SDK toolchain path
--show-sdk-toolchain-version show selected SDK toolchain version

debian/README.xcode_tools.md: 22: debian/README.xcode_tools.md: By: not found
debian/README.xcode_tools.md: 24: debian/README.xcode_tools.md: AvailabilityVersions: not found
debian/README.xcode_tools.md: 25: debian/README.xcode_tools.md: --------------------------: not found
debian/README.xcode_tools.md: 27: debian/README.xcode_tools.md: When: not found
xcode-select: error: unable to validate directory '/path/to/DevFolder' (No such file or directory)
debian/README.xcode_tools.md: 35: debian/README.xcode_tools.md: To: not found
debian/README.xcode_tools.md: 37: debian/README.xcode_tools.md: To: not found
debian/README.xcode_tools.md: 1: debian/README.xcode_tools.md: --version: not found
debian/README.xcode_tools.md: 1: debian/README.xcode_tools.md: --help: not found
debian/README.xcode_tools.md: 39: debian/README.xcode_tools.md: Other: not found
debian/README.xcode_tools.md: 1: debian/README.xcode_tools.md: DEVELOPER_DIR: not found
debian/README.xcode_tools.md: 41: debian/README.xcode_tools.md: If: not found
debian/README.xcode_tools.md: 42: debian/README.xcode_tools.md: Syntax error: "in" unexpected
dh_installdocs: debian/docs (executable config) returned exit code 2
debian/rules:8: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: error: debian/rules binary gave error exit status 2

Thanks a lot in advance`
EDIT
build finished with success after using sudo make

Add Containerfile/Dockerfile (debian:sid installation command)

Below Containerfile was used to build this repo using debian:sid-slim by running command: podman build --rm -t darwinsdk .

FROM docker.io/debian:sid-slim
ENV DEBIAN_FRONTEND=noninteractive

COPY . /darwinsdk/
WORKDIR /darwinsdk/

RUN set -ex; \
    apt-get update; \
    apt-get install --yes --no-install-recommends \
        clang libssl-dev dpkg-dev fakeroot debhelper llvm-dev uuid-dev libblocksruntime-dev libc6-dev-i386 gcc-multilib build-essential flex tcsh bison automake autogen libtool libdb-dev; \
    echo 'deb http://deb.debian.org/debian stretch main' >> /etc/apt/sources.list; \
    apt-get update; \
    apt-get install --yes --no-install-recommends clang-4.0;

RUN dpkg-buildpackage -us -uc; \
    dpkg -i ../darwin-sdk*.deb;

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.