Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
capo245 opened this issue May 31, 2018 · 0 comments
Open

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

capo245 opened this issue May 31, 2018 · 0 comments

Comments

@capo245
Copy link

capo245 commented May 31, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant