-
Notifications
You must be signed in to change notification settings - Fork 267
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
Fail when make install and deterministic build is enabled #465
Comments
Temporary removing yaws recipe due a possible bug when deterministic build is enabled [1]. 1: erlyaws/yaws#465
That error comes from Thanks for the logs, but can you also show the full command lines you're using for each step? Also, are the two environment variables you mention the only two you're setting that are Yaws-related? It would be nice to see if we can reproduce this issue with a setup that's as simple as possible, and to do that we need to know the environment and commands you're using. |
Thanks for the reply. Alright, The file 'include/yaws.hrl' exists in the top Yaws source tree (with deterministic flags enabled):
So, for Yaws-related there is only variables to set deterministic build. Nothing else. I'm attaching some shell scripts that the YP environment has created in order to execute all steps for configure, compile and install. They are pure shell script and have all environment variables used. It could looks too YP specific but they are just shell script (start reading from the end of the file which calls the respective function to do the action for instance do_compile).
run_do_configure.txt
run_do_compile_non_deterministic.txt When running 'make install DESTDIR=/tmp/p' without deterministic build, the make works as expected. |
Temporary removing yaws recipe due a possible bug when deterministic build is enabled [1]. 1: erlyaws/yaws#465
Temporary removing yaws recipe due a possible bug when deterministic build is enabled [1]. 1: erlyaws/yaws#465
The issue is that the dependency Makefiles generated by Without
With
This can be solved somewhat ugly by adding phony targets to the depencency With
This could perhaps be regarded as a bug in OTP, but it is tricky with paths |
Also removes the yaws-example package because it has TMPDIR into Makefiles and it is not expected to install yaws-example on a real device. erlyaws/yaws#465
Hi,
I'm trying to build yaws 2.1.1 with deterministic build enabled like that:
Looks like configuring and
make
are OK. However when installing I got some errors like the following:When disabling YAWS_DETERMINISTIC_BUILD flag the
make install
pass. But that is not an option for my case. Deterministic building is necessary.I didn't find an explanation for:
*** No rule to make target 'yaws.hrl', needed by '../ebin/yaws.beam'. Stop.
I'm attaching three log files for my build environment.
do_compile.txt
do_configure.txt
do_install.txt
The text was updated successfully, but these errors were encountered: