Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#15963 closed bug (fixed)

Build rev hrev54121 system build image failure

Reported by: Sarek01 Owned by: nobody
Priority: normal Milestone: R1/beta2
Component: - General Version: R1/Development
Keywords: haiku source build Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by Sarek01)

after correct setup (and using the latest sources on fully updated os), following the correct instructions the Haiku build fails late on in the process. From the messages it appears the /myfile/ image to which the kernel is being written runs out of space: terminal output attached. [ Error while writing to file `/myfs/system/packages/noto_sans_cjk_jp-1.004-2-any.hpkg': No space left on device Error: Command failed: No space left on device Error: Command was:

cp -f :download/noto_sans_cjk_jp-1.004-2-any.hpkg /myfs/system/packages

export imagePath="haiku.image" export isImage="1" export isVMwareImage="" ../build/scripts/build_haiku_image /boot/home/HaikuDev/haiku/generated.x86_gcc2/./haiku.image-init-vars /boot/home/HaikuDev/haiku/generated.x86_gcc2/./haiku.image-make-dirs /boot/home/HaikuDev/haiku/generated.x86_gcc2/./haiku.image-copy-files /boot/home/HaikuDev/haiku/generated.x86_gcc2/./haiku.image-extract-files

...failed BuildHaikuImage1 haiku.image ... ...removing haiku.image

BUILD FAILURE: ...failed updating 1 target(s)... ...updated 1407 target(s)... ] end log

At this time i cannot locate where to change the image size.

Change History (15)

comment:1 by Sarek01, 5 years ago

Description: modified (diff)

comment:2 by waddlesplash, 5 years ago

What is the command you are using to build?

comment:3 by diver, 5 years ago

No space left on device.

comment:4 by Sarek01, 5 years ago

~/HaikuDev/haiku> cd generated.x86_gcc2/ ~/HaikuDev/haiku/generated.x86_gcc2> jam -q -j2 @image

that is from a generated directory made by configure.

comment:5 by diver, 5 years ago

Add to build/jam/UserBuildConfig HAIKU_IMAGE_SIZE = 1000 ;

comment:6 by Sarek01, 5 years ago

Thank you diver : will add that and report back.

comment:7 by waddlesplash, 5 years ago

Resolution: no change required
Status: newclosed

I would recommend using an actual profile, e.g. @nightly-raw or @minimum-anyboot, instead of @image. But this is supposed to be small by default and user-configurable, yes. So no change is required.

comment:8 by Sarek01, 5 years ago

Issue solved, it was just HAIKU_IMAGE_SIZE in UserBuildConfig. Waddlesplash yes i will look into creating a few profiles.

comment:9 by waddlesplash, 5 years ago

Those profiles already exist, no need to create them.

comment:10 by pulkomandy, 5 years ago

Resolution: no change required
Status: closedreopened

If the @image profile does not work, we should remove it.

comment:11 by Sarek01, 5 years ago

@waddlesplash : no need to reopen - both @release-anyboot and @nightly work. I did not test @image though.

comment:12 by pulkomandy, 5 years ago

@image doesn't work so we should remove it completely. It is an old profile and not used anymore, so it should fail with a clear error instead of building a lot of things and then doing a confusing error at the end.

comment:13 by waddlesplash, 5 years ago

Resolution: fixed
Status: reopenedclosed

Removed in hrev54167.

comment:14 by nielx, 5 years ago

Assign tickets with status=closed and resolution=fixed within the R1/beta2 development window to the R1/beta2 Milestone

comment:15 by nielx, 5 years ago

Milestone: UnscheduledR1/beta2
Note: See TracTickets for help on using tickets.