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

  • From: "Thomas Mueller" <mueller6723@xxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 06 Aug 2014 09:43:06 +0000

Again, my build from NetBSD, but for a different and crazy reason: couldn't 
download, system seemingly somehow misset HAIKU_NO_DOWNOADS.

My configure command was

../nbconfigure --build-cross-tools x86_gcc2 ../../buildtools 
--build-cross-tools x86 --use-xattr-ref --include-gpl-addons --include-3rdparty 

I had --no-downloads set for FreeBSD (different "generated" directory), but not 
here.

Should I have included in configure command
--bootstrap ../../haikuporter/haikuporter ../../haikuports.cross 
../../haikuports   ?
after "git clone" on haikuports.cross?

Documentation didn't say this had to be done when run the first time.  This 
information comes from Google search on 
haikuports cross compilation

That would be my next step, whether on NetBSD, FreeBSD or a near-future Linux 
installation.

Internet connection was active, worked with (as a test)

lynx http://iglou.com

Error messages were

GeneratedRepositoryPackageList1 
/home/nbarlene/haiku/haiku/nbgenerated/objects/haiku/x86_gcc2/packaging/repositories/HaikuPorts-packages
 
ChecksumFileSHA256 
/home/nbarlene/haiku/haiku/nbgenerated/objects/haiku/x86_gcc2/packaging/repositories/HaikuPorts-checksum
 
DownloadLocatedFile1 
/home/nbarlene/haiku/haiku/nbgenerated/download/zlib-1.2.8-4-x86_gcc2.hpkg 
--2014-08-05 10:00:59--  
http://packages.haiku-os.org/haikuports/master/repo/x86_gcc2/1098775574/packages/zlib-1.2.8-4-x86_gcc2.hpkg
Resolving packages.haiku-os.org (packages.haiku-os.org)... 
2a01:4f8:190:64c3:1::1, 78.46.189.219
Connecting to packages.haiku-os.org 
(packages.haiku-os.org)|2a01:4f8:190:64c3:1::1|:80... failed: No route to host.
Connecting to packages.haiku-os.org 
(packages.haiku-os.org)|78.46.189.219|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2014-08-05 10:01:00 ERROR 404: Not Found.


source="/home/nbarlene/haiku/haiku/nbgenerated/objects/haiku/x86_gcc2/packaging/repositories/HaikuPorts-checksum"
if [ "0" = 1 ]; then
echo "ERROR: Would need to download 
http://packages.haiku-os.org/haikuports/master/repo/x86_gcc2/`cat 
$source`/packages/zlib-1.2.8-4-x86_gcc2.hpkg, but HAIKU_NO_DOWNLOADS is set!"
exit 1
fi
wget --retry-connrefused -O 
"/home/nbarlene/haiku/haiku/nbgenerated/download/zlib-1.2.8-4-x86_gcc2.hpkg" 
http://packages.haiku-os.org/haikuports/master/repo/x86_gcc2/`cat 
$source`/packages/zlib-1.2.8-4-x86_gcc2.hpkg || exit 1
touch 
"/home/nbarlene/haiku/haiku/nbgenerated/download/zlib-1.2.8-4-x86_gcc2.hpkg"

...failed DownloadLocatedFile1 
/home/nbarlene/haiku/haiku/nbgenerated/download/zlib-1.2.8-4-x86_gcc2.hpkg ...
...removing 
/home/nbarlene/haiku/haiku/nbgenerated/download/zlib-1.2.8-4-x86_gcc2.hpkg

BUILD FAILURE:
...failed updating 1 target(s)...
...skipped 10 target(s)...
...updated 50 target(s)...

Is something wrong with Haiku script or tree, or is it a temporary glitch with 
the server, or did I need to bootstrap on first configure?

I tried again, got the same nondownloadability error.

This raises the question regarding FreeBSD and the flaky Internet connectivity: 
 Can Haiku be built with no downloads during the build process (--no-downloads 
in configure command)?

FreeBSD system and NetBSD system update don't use Internet connectivity during 
the build, though source tree has to be checked out/updated before the build 
with svn (FreeBSD or cvs (NetBSD.

Tom


Other related posts: