Skip to contentSkip to conversation

New: ltp-testsuite : Build failure

Buildroot bugzilla at busybox.net 1 participant 3 messages Feb 20, 2020 – Feb 28, 2020

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=12571

Bug ID: 12571
Summary: ltp-testsuite : Build failure
Product: buildroot
Version: 2019.11.1
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: learn2kab at gmail.com
CC: buildroot at uclibc.org
Target Milestone: ---

Hello,

While trying to prepare images for Beaglebone Black with "ltp-testsuite" included (keeping other parameters to their default values),the build process breaks .

-----------------------------
Error Message with Default Settings:
-----------------------------
Allocating group tables: done
Writing inode tables: done
Creating journal (4096 blocks): done
Copying files into the device: __populate_fs: Could not allocate block in ext2 filesystem while writing file "fanotify10"
mkfs.ext4: Could not allocate block in ext2 filesystem while populating file system
*** Maybe you need to increase the filesystem size (BR2_TARGET_ROOTFS_EXT2_SIZE)
fs/ext2/ext2.mk:46: recipe for target '/home/workpc/dir_buildroot/buildroot-2019.11.1/output/images/rootfs.ext2' failed
make[1]: *** [/home/workpc/dir_buildroot/buildroot-2019.11.1/output/images/rootfs.ext2] Error 1
Makefile:84: recipe for target '_all' failed
make: *** [_all] Error 2
-----------------------------

Updated the value of "BR2_TARGET_ROOTFS_EXT2_SIZE" from 60M to 64G. An error message mentioning
"part rootfs size (536870912) too small for rootfs.ext4 (68719476736)"
(as below) appears in the build log.

-------------------------------
Error Message with Modified Values:
-------------------------------
INFO: cmd: "find '/home/workpc/dir_buildroot/buildroot-2019.11.1/output/build/genimage.tmp/root' -depth -type d -printf '%P\0' | xargs -0 -I {} touch -r '/tmp/tmp.7ROXYVc0KU/{}' '/home/workpc/dir_buildroot/buildroot-2019.11.1/output/build/genimage.tmp/root/{}'" (stderr):
ERROR: hdimage(sdcard.img): part rootfs size (536870912) too small for rootfs.ext4 (68719476736)
Makefile:809: recipe for target 'target-post-image' failed
make[1]: *** [target-post-image] Error 1
Makefile:84: recipe for target '_all' failed
make: *** [_all] Error 2

--------------------------------

What would be the apt value for this parameter?? Should any other parameter be accordingly modified?? Please advice.

Regards,
Adarsh

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 12571] ltp-testsuite : Build failure

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=12571

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #2 from Thomas Petazzoni <[email protected]> --- There is no bug here: your ext4 filesystem image is now larger, but you haven't adjusted your genimage configuration file to accommodate a larger ext4 filesystem. Your genimage configuration file has a rootfs partition of 512 MB, so trying to fit a 64 GB filesystem in there obviously doesn't work.

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.