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

Build fails #12818

Closed
malintha opened this issue Aug 27, 2019 · 5 comments · Fixed by #12829
Closed

Build fails #12818

malintha opened this issue Aug 27, 2019 · 5 comments · Fixed by #12829
Labels

Comments

@malintha
Copy link

malintha commented Aug 27, 2019

I'm trying to do a fresh build and it fails with the following message:

Errors << px4:make /home/malintha/drone_demo/logs/px4/build.make.001.log
warning: CRLF will be replaced by LF in src/modules/local_position_estimator/sensors/Flow+Noise+Modelling.pdf.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in src/modules/micrortps_bridge/res/basic_example_flow.png.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in src/modules/local_position_estimator/sensors/Flow+Noise+Modelling.pdf.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in src/modules/micrortps_bridge/res/basic_example_flow.png.
The file will have its original line endings in your working directory.
Cannot rebase: You have unstaged changes.
Please commit or stash them.
No rebase in progress?
error: Your local changes to the following files would be overwritten by merge:
        src/modules/local_position_estimator/sensors/Flow+Noise+Modelling.pdf
        src/modules/micrortps_bridge/res/basic_example_flow.png
Please, commit your changes or stash them before you can merge.
Aborting
Index was not unstashed.
CMake Error at /home/malintha/drone_demo/build/px4/firmware-prefix/tmp/firmware-gitupdate.cmake:105 (message):


Failed to rebase in:
'/home/malintha/drone_demo/build/px4/firmware-prefix/src/firmware/'.

You will have to resolve the conflicts manually


make[2]: *** [firmware-prefix/src/firmware-stamp/firmware-update] Error 1
make[1]: *** [CMakeFiles/firmware.dir/all] Error 2
make: *** [all] Error 2
@julianoes
Copy link
Contributor

It looks like you have local changes.

Check git status and after checking you're not going to lose any data or changes you can consider make clean, make distclean, make submodulesclean.

@hamishwillee
Copy link
Contributor

hamishwillee commented Aug 28, 2019

@julianoes If you are talking about this ....

error: Your local changes to the following files would be overwritten by merge:
        src/modules/local_position_estimator/sensors/Flow+Noise+Modelling.pdf
        src/modules/micrortps_bridge/res/basic_example_flow.png

Something weird going on with github. Those two files are appearing on completely fresh installations of Ubuntu when doing a clone of PX4/Firmware. So you clone, then you see in your workspace two unmerged files with those names.

@julianoes
Copy link
Contributor

Hm, that's odd. I remember having seen that too some days ago actually but not today.

@dagar
Copy link
Member

dagar commented Aug 28, 2019

I think it's from the introduction of the .gitattributes file. https://github.com/PX4/Firmware/blob/master/.gitattributes

I'll review.

@dagar
Copy link
Member

dagar commented Aug 28, 2019

Should be fixed by #12829.

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

Successfully merging a pull request may close this issue.

4 participants