Bug 6122

Summary: iconv.h missing for charconv.c build
Product: buildroot Reporter: Mike Quinn <mike>
Component: OtherAssignee: unassigned
Status: RESOLVED WORKSFORME    
Severity: blocker CC: buildroot
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:

Description Mike Quinn 2013-03-14 20:35:33 UTC
Looks like it's building dosfstools...
This is buildroot-2013.02, and I let buildroot build the toolchain, so it's not an external toolchain issue.....
Comment 1 Mike Quinn 2013-03-14 20:46:07 UTC
Never mind - toolchain must have WCHAR support turned (it would be nice if the menuconfig figured this out for you and warned you).
Comment 2 Thomas Petazzoni 2013-03-15 09:58:53 UTC
I don't understand, which package failed to build?

Is it dosfstools? If so, dosfstools correctly has a dependency on WCHAR. I see '*** dosfstools requires a toolchain with LARGEFILE and WCHAR support ***' in my menuconfig.

And I don't see any package that depend on it without taking care of the WCHAR dependency.

Could you provide a few more details? Thanks!
Comment 3 Thomas Petazzoni 2013-05-26 13:35:22 UTC
Apparently, Mike managed to fix the problem he was having, and didn't give sufficient details to understand what was confusing. I'm therefore closing this bug for now. Mike, if anything was confusing and you think should be improved, do not hesitate to reopen this bug and provide more details.
Comment 4 Andrew Scheller 2013-06-10 15:13:28 UTC
I just had this bug too, but I dunno what caused it, and I dunno how to reproduce it!

For some unknown reason I was getting a fatal error during the compilation of dosfstools 3.0.16 about charconv.c trying to include iconv.h but being unable to. I tried investigating, but couldn't work out what was going wrong (I'm not that familiar with buildroot or cross-compilation setups). So I did 'rm -r output/build/dosfstools-3.0.16' followed by a 'make' and I still got the same error. So tried investigating again, but didn't get anywhere. So then I did 'rm -r output/build/dosfstools-3.0.16; rm -r output/build/libiconv-1.14' and to my great surprise this time the 'make' worked fine.
So I dunno how buildroot / dosfstools / libiconv got itself into this funny situation, but everything is building fine again now, and I dunno how to reproduce the problem.