adding packages and building rootfs for ls1043ardb

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

adding packages and building rootfs for ls1043ardb

Jump to solution
1,142 Views
dibyarekha
Contributor IV

I am using LS1043ardb, I want to generate rootfs for my target board with my custom application to run with some packages.

I am using bitbake fsl-image-mfgtool for generating the rootfs. I have successfully added the following packages in fsl-image-mfgtool.bb file .

IMAGE_INSTALL:append = " \
packagegroup-core-ssh-dropbear \
packagegroup-fsl-mfgtools \
udev-extraconf \
file \
parted \
lmsensors-sensors \
restool \
fmc \
sudo \
curl \
net-snmp-server ppp net-snmp-libs procps quagga ethtool xinetd iproute2 iproute2-tc \
bridge-utils iptables mtd-utils \
merge-files \
"

but when I am adding merge-files, I am getting the following error

 

ERROR: merge-files-1.0-r0 do_package_qa: QA Issue: merge-files: Recipe inherits the allarch class, but has packaged architecture-specific binaries [arch]
ERROR: merge-files-1.0-r0 do_package_qa: QA Issue: /home/root/hello contained in package merge-files requires libc.so.6(GLIBC_2.2.5)(64bit), but no providers found in RDEPENDS:merge-files? [file-rdeps]
ERROR: merge-files-1.0-r0 do_package_qa: QA Issue: /home/root/hello contained in package merge-files requires libc.so.6()(64bit), but no providers found in RDEPENDS:merge-files? [file-rdeps]
ERROR: merge-files-1.0-r0 do_package_qa: Fatal QA errors were found, failing task.
ERROR: Logfile of failure stored in: /home/icomm/distro/build_ls1043ardb/tmp/work/all-fsl-linux/merge-files/1.0-r0/temp/log.do_package_qa.158872
ERROR: Task (/home/icomm/distro/sources/meta-freescale/recipes-extended/merge-files/merge-files_1.0.bb:do_package_qa) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3515 tasks of which 3514 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/icomm/distro/sources/meta-freescale/recipes-extended/merge-files/merge-files_1.0.bb:do_package_qa
Summary: There were 4 ERROR messages, returning a non-zero exit code.

Please help me to solve this issue

0 Kudos
Reply
1 Solution
928 Views
dibyarekha
Contributor IV

 

add the following line in /sources/meta-freescale/recipes-extended/merge-files/merge-files_1.0.bb

RDEPENDS:${PN} = "glibc"

do_package_qa () {
}

 

View solution in original post

0 Kudos
Reply
4 Replies
1,119 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please add the following in /home/icomm/distro/sources/meta-freescale/recipes-extended/merge-files/merge-files_1.0.bb

do_package_qa()

{

}

Then run the following commands

bitbake merge-files -c cleansstate

bitbake fsl-image-mfgtool

0 Kudos
Reply
1,112 Views
dibyarekha
Contributor IV

Thanks Yipingwang,
I added in merge-file_1.0.bb as u said .
after bitbake I am getting the following error.
Please help me in solving this

ERROR: fsl-image-mfgtool-1.0-r0 do_rootfs: Could not invoke dnf. Command '/home/icomm/distro/build_ls1043ardb/tmp/work/ls1043ardb-fsl-linux/fsl-image-mfgtool/1.0-r0/recipe-sysroot-native/usr/bin/dnf -v --rpmverbosity=info -y -c /home/icomm/distro/build_ls1043ardb/tmp/work/ls1043ardb-fsl-linux/fsl-image-mfgtool/1.0-r0/rootfs/etc/dnf/dnf.conf --setopt=reposdir=/home/icomm/distro/build_ls1043ardb/tmp/work/ls1043ardb-fsl-linux/fsl-image-mfgtool/1.0-r0/rootfs/etc/yum.repos.d --installroot=/home/icomm/distro/build_ls1043ardb/tmp/work/ls1043ardb-fsl-linux/fsl-image-mfgtool/1.0-r0/rootfs --setopt=logdir=/home/icomm/distro/build_ls1043ardb/tmp/work/ls1043ardb-fsl-linux/fsl-image-mfgtool/1.0-r0/temp --repofrompath=oe-repo,/home/icomm/distro/build_ls1043ardb/tmp/work/ls1043ardb-fsl-linux/fsl-image-mfgtool/1.0-r0/oe-rootfs-repo -x kernel-image-* --nogpgcheck install coreutils curl dhcpcd e2fsprogs e2fsprogs-e2fsck ethtool file fmc inetutils-ping iproute2 iproute2-tc keyutils lmsensors-sensors merge-files net-snmp-libs net-snmp-server net-tools openssl packagegroup-core-boot packagegroup-core-ssh-dropbear packagegroup-fsl-mfgtools parted ppp procps quagga restool rng-tools run-postinsts sudo tar udev-extraconf util-linux-fdisk util-linux-lsblk xinetd' returned 1:
DNF version: 4.11.1
cachedir: /home/icomm/distro/build_ls1043ardb/tmp/work/ls1043ardb-fsl-linux/fsl-image-mfgtool/1.0-r0/rootfs/var/cache/dnf
Added oe-repo repo from /home/icomm/distro/build_ls1043ardb/tmp/work/ls1043ardb-fsl-linux/fsl-image-mfgtool/1.0-r0/oe-rootfs-repo
User-Agent: falling back to 'libdnf': could not detect OS or basearch
repo: using cache for: oe-repo
oe-repo: using metadata from Thu 14 Sep 2023 09:41:54 AM UTC.
Last metadata expiration check: 0:00:01 ago on Thu 14 Sep 2023 09:41:54 AM UTC.
Excludes in dnf.conf: kernel-image-*
--> Starting dependency resolution
--> Finished dependency resolution
Error:
Problem: conflicting requests
- nothing provides libc.so.6(GLIBC_2.2.5)(64bit) needed by merge-files-1.0-r0.noarch
(try to add '--skip-broken' to skip uninstallable packages)

ERROR: Logfile of failure stored in: /home/icomm/distro/build_ls1043ardb/tmp/work/ls1043ardb-fsl-linux/fsl-image-mfgtool/1.0-r0/temp/log.do_rootfs.558988
ERROR: Task (/home/icomm/distro/sources/meta-qoriq/recipes-fsl/images/fsl-image-mfgtool.bb:do_rootfs) failed with exit code '1'

 

please help me solving this issue

0 Kudos
Reply
1,116 Views
dibyarekha
Contributor IV
Thanks Yipingwang,
I added in merge-file_1.0.bb as u said .
after bitbake I am getting the following error.
Please help me in solving this

ERROR: fsl-image-mfgtool-1.0-r0 do_rootfs: Could not invoke dnf. Command '/home/icomm/distro/build_ls1043ardb/tmp/work/ls1043ardb-fsl-linux/fsl-image-mfgtool/1.0-r0/recipe-sysroot-native/usr/bin/dnf -v --rpmverbosity=info -y -c /home/icomm/distro/build_ls1043ardb/tmp/work/ls1043ardb-fsl-linux/fsl-image-mfgtool/1.0-r0/rootfs/etc/dnf/dnf.conf --setopt=reposdir=/home/icomm/distro/build_ls1043ardb/tmp/work/ls1043ardb-fsl-linux/fsl-image-mfgtool/1.0-r0/rootfs/etc/yum.repos.d --installroot=/home/icomm/distro/build_ls1043ardb/tmp/work/ls1043ardb-fsl-linux/fsl-image-mfgtool/1.0-r0/rootfs --setopt=logdir=/home/icomm/distro/build_ls1043ardb/tmp/work/ls1043ardb-fsl-linux/fsl-image-mfgtool/1.0-r0/temp --repofrompath=oe-repo,/home/icomm/distro/build_ls1043ardb/tmp/work/ls1043ardb-fsl-linux/fsl-image-mfgtool/1.0-r0/oe-rootfs-repo -x kernel-image-* --nogpgcheck install coreutils curl dhcpcd e2fsprogs e2fsprogs-e2fsck ethtool file fmc inetutils-ping iproute2 iproute2-tc keyutils lmsensors-sensors merge-files net-snmp-libs net-snmp-server net-tools openssl packagegroup-core-boot packagegroup-core-ssh-dropbear packagegroup-fsl-mfgtools parted ppp procps quagga restool rng-tools run-postinsts sudo tar udev-extraconf util-linux-fdisk util-linux-lsblk xinetd' returned 1:
DNF version: 4.11.1
cachedir: /home/icomm/distro/build_ls1043ardb/tmp/work/ls1043ardb-fsl-linux/fsl-image-mfgtool/1.0-r0/rootfs/var/cache/dnf
Added oe-repo repo from /home/icomm/distro/build_ls1043ardb/tmp/work/ls1043ardb-fsl-linux/fsl-image-mfgtool/1.0-r0/oe-rootfs-repo
User-Agent: falling back to 'libdnf': could not detect OS or basearch
repo: using cache for: oe-repo
oe-repo: using metadata from Thu 14 Sep 2023 09:41:54 AM UTC.
Last metadata expiration check: 0:00:01 ago on Thu 14 Sep 2023 09:41:54 AM UTC.
Excludes in dnf.conf: kernel-image-*
--> Starting dependency resolution
--> Finished dependency resolution
Error:
Problem: conflicting requests
- nothing provides libc.so.6(GLIBC_2.2.5)(64bit) needed by merge-files-1.0-r0.noarch
(try to add '--skip-broken' to skip uninstallable packages)

ERROR: Logfile of failure stored in: /home/icomm/distro/build_ls1043ardb/tmp/work/ls1043ardb-fsl-linux/fsl-image-mfgtool/1.0-r0/temp/log.do_rootfs.558988
ERROR: Task (/home/icomm/distro/sources/meta-qoriq/recipes-fsl/images/fsl-image-mfgtool.bb:do_rootfs) failed with exit code '1'
0 Kudos
Reply
929 Views
dibyarekha
Contributor IV

 

add the following line in /sources/meta-freescale/recipes-extended/merge-files/merge-files_1.0.bb

RDEPENDS:${PN} = "glibc"

do_package_qa () {
}

 

0 Kudos
Reply