[haiku-development] Re: Haiku build fails on HAIKU_NO_DOWNLOADS: updated

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 17 Aug 2014 07:59:08 +0200

On 17.08.2014 04:48, Thomas Mueller wrote:
There is another problem, HOST_SFDISK ?= sfdisk ; which does not
exist in NetBSD or FreeBSD base system.

I think it is (was?) used in the ARM build. It isn't used in the regular x86* builds, so you can ignore it, if you want to focus on those.

NetBSD has /sbin/fdisk in base, but no *fdisk* in pkgsrc.

FreeBSD ports include sysutils/linuxfdisk , then I would define
HOST_SFDISK = /usr/local/bin/sfdisk-linux ;

Question is whether I need fdisk or sfdisk to build Haiku bootable
image (anyboot or whatever else).

Also, does jam have an equivalent of "make clean" ?

There's a "clean" target as well, but it isn't implemented to clean everything. I usually just delete manually from the generated directory what I want to rebuild. Removing everything but "build", "cross-tools-*", and "Jamfile" will reconstruct the post-configure state. I normally also keep "download" to avoid re-downloading the pre-built packages.

/home/nbarlene/haiku/haiku/src/build/libroot/function_remapper.cpp: In function 
'int renameat(int, const char*, int, const char*)':
/home/nbarlene/haiku/haiku/src/build/libroot/function_remapper.cpp:272:1: 
warning: 'int renameat(int, const char*, int, const char*)': visibility 
attribute ignored because it [-Wattributes]
 renameat(int fromFD, const char* from, int toFD, const char* to)
 ^

Something seems to be off with the warning message (copy and paste issue?). Since this code isn't built with -Werror, there must be an actual error as well or the command wouldn't fail.

CU, Ingo

Other related posts: