-
Notifications
You must be signed in to change notification settings - Fork 567
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
No more way to specify custom configure options when building deb? #3523
Comments
It does. The error says something else. It should work with.
|
Unfortunately that still doesn't work -
|
But the error is gone? If not try to use |
Yes it built without error. But as the output above shows, my configure options were still ignored. Maybe it would help clarify the problem to link the longer back story? - #772 I still don't know the reasoning behind #772 (comment) . Now that |
I can't test it, because I have no debian, but this generates a mkdeb.sh with |
Tested and it works on my end:
|
Thanks @rusty-snake for the workaround, it works for me too:
|
So will there be first-class availability of custom configure options for .deb build? Or does |
I ask because if there still cannot be first-class availability of custom configure options for .deb build, I am the original author of |
I see no reason why |
On firejail 0.9.68, one would run `./configure` (to generate Makefile from Makefile.in) and then running `make deb` would end up running something akin to: make distclean && make dist && ./configure --prefix=/usr && mkdeb.sh As of netblue30#5142, `make dist` does not run `make distclean` anymore, but `make deb` still overrides any configure options that the user might have set. Stop doing that and do just `make dist && mkdeb.sh` on `make deb`. To build everything from scratch as `make deb` would do on 0.9.68 (but without it overriding the configure options), one can run: make distclean && ./configure --prefix=/usr && make deb Note that this is basically what the "build_debian_package" job on .gitlab-ci.yml does (see also the "build_apparmor" job). Should fully fix netblue30#3523. Relates to netblue30#772 netblue30#1205.
On firejail 0.9.68, one would run `./configure` (to generate Makefile from Makefile.in) and then running `make deb` would end up running something akin to: make distclean && make dist && ./configure --prefix=/usr && ./mkdeb.sh As of netblue30#5142, `make dist` does not run `make distclean` anymore, but `make deb` still overrides any configure options that the user might have set. Stop doing that and do just `make dist && ./mkdeb.sh` on `make deb`. To build everything from scratch as `make deb` would do on 0.9.68 (but without it overriding the configure options), one can run: make distclean && ./configure --prefix=/usr && make deb Note that this is basically what the "build_debian_package" job on .gitlab-ci.yml does (see also the "build_apparmor" job). Should fully fix netblue30#3523. Relates to netblue30#772 netblue30#1205.
Building firejail from 9ecd3ca is not possible with
fj-mkdeb.py
-This is probably as of 87e7b31 , where
mkdeb.sh
is now dynamically generated. But running the build commands directly still doesn't pick up all configure arguments:That produces a deb with firetunnel support enabled:
Could the dynamic generation of
mkdeb.sh
please take custom configure options into account?Or is that still not possible, so
fj-mkdeb.py
needs to be updated?The text was updated successfully, but these errors were encountered: