FS#8636 - Build failure on FreeBSD

Attached to Project: Rockbox
Opened by Bartosz Fabianowski (undo) - Sunday, 24 February 2008, 19:27 GMT
Last edited by Jonas Häggqvist (rasher) - Monday, 25 February 2008, 00:06 GMT
Task Type Bugs
Category Build environment
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


SVN revision 16405 breaks the build on FreeBSD. This commit changed "ls -l" to "ls -n" in apps/lang/Makefile. I assume that on Linux, "ls -n" outputs file information in long format with numeric group and user IDs. On FreeBSD, "ls -n" switches to numeric IDs, but does not enable the long format. To get the desired result and unbreak the build, "ls -ln" must be used:

$(SILENT)echo "#define MAX_LANGUAGE_SIZE `ls -ln $(OBJDIR)/* | awk '{print $$5}' | sort -n | tail -1`" > $(HEADER)
This task depends upon

Closed by  Jonas Häggqvist (rasher)
Monday, 25 February 2008, 00:06 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in r16414