I have a buildroot package that I need to build. When I issue the 'make' command, it runs until it errors out with "lutimes undeclared". After lengthy research, it appears that uClibc needs to be patched to include the definition of lutimes before my build will complete.

I found this patch, but being new to Linux, I do not know how to apply it: ucLibc Mailing List Archive - June 2010, Post 44113

Can I properly apply this patch ?


Have in mind that Patches are per source code revision, and after 4 years of changes in the source code, this patch may be outdated and may need recreation from scratch.

First thing you should do is check the official documentation. http://buildroot.uclibc.org/downloads/manual/manual.html#_providing_patches

You should pay attention to the following two categories: 17.1.2. Within Buildroot and 17.2. How patches are applied

Give it a try and let us know if you face any issues

  • It talks about patches within the buildroot package, where are they ? – 3bdalla Nov 11 '14 at 15:46
  • Check out 9.8. Customizing packages Basicly you need to check the info, make yourself clear how patches are used by this buildroot, put your patch there as an THERE_IS_A_NAME_CONVENTION.patch file in the right path, and start from beginning of compiling this buildroot. libc takes a lot of time to compile as far as I remember. – Malaysil Nov 11 '14 at 15:48
  • Sorry man :/ couldn't find the patches. Can you help me a little further in this ? – 3bdalla Nov 11 '14 at 15:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.