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

Verifying package-depends before packaging by default? #136

Closed
onesuper opened this issue Nov 6, 2015 · 1 comment
Closed

Verifying package-depends before packaging by default? #136

onesuper opened this issue Nov 6, 2015 · 1 comment

Comments

@onesuper
Copy link

onesuper commented Nov 6, 2015

Hi @bernd

I notice that fpm-cookery will verify dependencies before it "installs" everything to a temp dir and lets fpm do the packaging stuff, unless a --no-deps option is used.

This option works for me when I package .rpm/.deb on my Mac. But i think the behavior is a little counter-intuitive.

Why should fpm-cookery do this verification by default? Why not just leave the resolution of the dependencies to the package manager on target system before the real installation starts?

Regards
Yichao

@bernd
Copy link
Owner

bernd commented Nov 6, 2015

@onesuper This is done because you might need some of the dependencies for building the software. Dependency handling will be refactored soon to not install dependencies by default. See: #131

Also, fpm-cookery expects packages to be built on the target platform. Building RPMs or DEBs on a Mac might work for packages which do not have any native dependencies (i.e. Java software) but breaks once the software you build requires any.

@bernd bernd closed this as completed Nov 6, 2015
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

2 participants