#14842: Error building bootstraping libicuio while cross-compiling ARM on Ubuntu
18.04
----------------------------+----------------------------
Reporter: pemdp | Owner: bonefish
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: Build System | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: arm
----------------------------+----------------------------
Comment (by adamfowleruk):
So the build finished with a few errors. I'm just including the errors,
not warnings or other output.
Exact command line (inside the container, so TARGET_ARCH=arm already
declared):-
jam -qdc -sHAIKU_NO_DOWNLOADS=0 @minimum-mmc
(Same for @minimum-raw)
Seems to be failing on several libraries.
{{{
../src/haiku/src/system/boot/platform/u-boot/uimage.cpp: In function 'void
dump_uimage(image_header*)':
../src/haiku/src/system/boot/platform/u-boot/uimage.cpp:21:25: error:
'ntohl' was not declared in this scope
dprintf("magic: %x\n", ntohl(image->ih_magic));
../src/haiku/src/system/boot/platform/u-boot/uimage.cpp:55:12: error:
'ntohl' was not declared in this scope
*size = ntohl(sizes[i]);
^~~~~
../src/haiku/src/system/boot/platform/u-boot/uimage.cpp:58:12: error:
'ntohl' was not declared in this scope
base += (ntohl(sizes[i]) + 3) & ~3;
^~~~~
In file included from
build_packages/gcc_syslibs_devel-4.8.3_2014_08_03-1-arm/develop/headers/c++/random:39:0,
from
build_packages/gcc_syslibs_devel-4.8.3_2014_08_03-1-arm/develop/headers/c++/bits/stl_algo.h:65,
from
build_packages/gcc_syslibs_devel-4.8.3_2014_08_03-1-arm/develop/headers/c++/algorithm:62,
from ../src/haiku/src/system/boot/loader/stdio.cpp:16:
build_packages/gcc_syslibs_devel-4.8.3_2014_08_03-1-arm/develop/headers/c++/cstdio:126:11:
error: '::remove' has not been declared
using ::remove;
../src/haiku/src/kits/locale/DateFormat.cpp: At global scope:
../src/haiku/src/kits/locale/DateFormat.cpp:33:21: error: 'SHORT' is not a
member of 'icu::DateFormatSymbols'
DateFormatSymbols::SHORT,
^~~~~
../src/haiku/src/kits/locale/RelativeDateTimeFormat.cpp:17:10: fatal
error: unicode/reldatefmt.h: No such file or directory
#include <unicode/reldatefmt.h>
^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
../src/haiku/src/bin/screenmode/screenmode.cpp: In function 'int main(int,
char**)':
../src/haiku/src/bin/screenmode/screenmode.cpp:126:26: error: 'nanf' is
not a member of 'std'
float brightness = std::nanf("0");
^~~~
../src/haiku/src/bin/screenmode/screenmode.cpp:126:26: note: suggested
alternative: 'rank'
float brightness = std::nanf("0");
^~~~
rank
../src/haiku/src/bin/top.cpp:23:10: fatal error: termcap.h: No such file
or directory
#include "termcap.h"
^~~~~~~~~~~
compilation terminated.
../src/haiku/src/bin/watch.c:18:10: fatal error: ncurses.h: No such file
or directory
#include <ncurses.h>
^~~~~~~~~~~
compilation terminated.
../src/haiku/src/bin/network/telnet/telnet.c:50:10: fatal error: curses.h:
No such file or directory
#include <curses.h>
^~~~~~~~~~
compilation terminated.
../src/haiku/src/bin/network/telnetd/telnetd.c:49:10: fatal error:
termcap.h: No such file or directory
#include <termcap.h>
}}}
But it does show this at the end, with no final error message:-
{{{
Preparing contents of archive haiku-floppyboot.tgz ...
Building archive /work/generated.arm/haiku-floppyboot.tgz ...
Image Name: Haiku arm floppyboot
Created: Fri Mar 29 16:26:55 2019
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 1601113 Bytes = 1563.59 kB = 1.53 MB
Load Address: 00000000
Entry Point: 00000000
BUILD FAILURE:
root@fd490751d20c:/work/generated.arm#
}}}
--
Ticket URL: <https://dev.haiku-os.org/ticket/14842#comment:32>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.