- Status Closed
- Percent Complete
- Task Type Bugs
- Category Infrastructure → Build environment
- Assigned To No-one
- Operating System All players
- Severity Low
- Priority Very Low
- Reported Version Daily build (which?)
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#8622 - Build failure on FreeBSD
SVN commit 16343 breaks the build on FreeBSD. In it, apps/lang/Makefile was added with code to automatically calculate the size of the largest language file:
$(HEADER): $(OUTP)
$(call PRINTS,Make $(HEADER)) echo "#define MAX_LANGUAGE_SIZE `du -b $(OBJDIR)/* |sort -n |tail -n 1 |cut -f 1`" > $(HEADER)
However, the -b argument passed to du is a GNU extension that is not available on other *NIX systems. The du command therefore silently fails, leaving MAX_LANGUAGE_SIZE undefined.
A more portable method to determine the largest file size will have to be found here, as du on FreeBSD has *no* parameter that would output the number of bytes.
Closed by bluebrother
2008-02-21 21:08
Reason for closing: Fixed
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
2008-02-21 21:08
Reason for closing: Fixed
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
Thanks for verifying. Should've
noticed that gawk is GNU awk in the
first place myself
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
Would using ls work? I.e. using something like
`ls -lr | gawk '{print $5}' | sort -n | tail -n 1`
(I don't have access to a BSD machine, so I have no idea if that also uses GNU extensions …)
gawk stands for "GNU awk", so that command in itself is a GNU extension :). But I just tested that it works if you use plain awk (FreeBSD 6-STABLE):
ls -lr | awk '{print $5}' | sort -n | tail -n 1