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 failure #4

Open
snd-raspberry opened this issue Apr 3, 2019 · 3 comments
Open

Build failure #4

snd-raspberry opened this issue Apr 3, 2019 · 3 comments

Comments

@snd-raspberry
Copy link

Hi Brobwind,
I have a build failure:
mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
mkfs.fat 4.1 (2017-01-24)
Traceback (most recent call last):
File "build/make/tools/fat16copy.py", line 773, in
root = fat(sys.argv[1]).root
File "build/make/tools/fat16copy.py", line 469, in init
"Can only handle FAT with 1 reserved sector"

Have you ever see this? Can it be old version of toolchain?
Thanks,
Snd-Raspberry

@snd-raspberry
Copy link
Author

snd-raspberry commented Apr 6, 2019

yes, this is an issue with build. I can build standard google AOSP source without any errors. So it seems like an issue related to your repo or build environment. Disabling check in "build/make/tools/fat16copy.py", line 469" will "fix" an issue, but I don't think this is generic way to fix it.

@brobwind
Copy link
Owner

brobwind commented Apr 9, 2019

I uses Ubuntu 16.04.5 LTS to build the code, and the mkfs.fat program version is '3.0.28 (2015-05-16)', compared to yours mkfs.fat 4.1 (2017-01-24). I thinks this is the reason.

@pcans
Copy link

pcans commented Apr 17, 2019

There is indeed an issue in the dosfstool shipped in Ubuntu 18.04.
I've been able to build successfully on Ubuntu 18.04, by rolling back dosfstool version.

Here is what I did:

sudo apt remove dosfstools
git clone https://github.com/dosfstools/dosfstools.git 
cd dosfstools/
git checkout v3.0.28
make
sudo apt install checkinstall
sudo checkinstall

Then restart your shell.

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

3 participants