Details
-
Bug
-
Resolution: Fixed
-
Normal
-
None
-
None
Description
It appears that if the installed version of file on the local system is 5.41 and you try to build file 5.42, the file cross-compile fails with the following error:
make[2]: Leaving directory '/root/ffs-repo/build/file-5.42/src' Making all in magic make[2]: Entering directory '/root/ffs-repo/build/file-5.42/magic' Cannot use the installed version of file (5.41) to cross-compile file 5.42 Please install file 5.42 locally first make[2]: *** [Makefile:856: magic.mgc] Error 1 make[2]: Leaving directory '/root/ffs-repo/build/file-5.42/magic' make[1]: *** [Makefile:462: all-recursive] Error 1 make[1]: Leaving directory '/root/ffs-repo/build/file-5.42' make: *** [Makefile:371: all] Error 2 Error encountered -- exit code 512 Test failure: step tools failed.
It would be very useful to know more about this, and how to make ffs build robustly even if it doesn't have file installed at all. I imagine that file doesn't need file to bootstrap itself – at least I hope not!