Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gawk's -ptest package has QA issue #384

Open
zhangze0722 opened this issue Jan 17, 2023 · 3 comments
Open

gawk's -ptest package has QA issue #384

zhangze0722 opened this issue Jan 17, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@zhangze0722
Copy link

Description

gawk's -ptest package has QA issue

Steps to reproduce the issue:
1.source meta-riscv/setup.sh
2.bitbake core-image-full-cmdline
3.gawk-test error occour

Describe the results you received:
BB_VERSION = "2.2.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "riscv64-unknown-linux"
MACHINE = "qemuriscv64"
DISTRO = "rvcore-distro"
DISTRO_VERSION = "1.1"
TUNE_FEATURES = "riscv64"
meta = "work:9b0f88642570383b09de94238fe1a8ef5119fb47"
meta-oe
meta-python
meta-multimedia
meta-networking = "work:ca7082caa800124b4e0a7b36175f60387d1e3f8c"
meta-riscv = "work:d6e3efd54a3c1361fecf2a56c6f4f590fbe676d9"
meta-clang = "master:57a06dffa2d528456fa973592dc1989cb1342f29"
meta-rvcore = "main:96183eb2029c01afbaafc68cd3de8f139212b44e"
meta-perl
meta-filesystems = "work:ca7082caa800124b4e0a7b36175f60387d1e3f8c"

Initialising tasks: 100% |############################################################################################################################################################################################################| Time: 0:00:01
Sstate summary: Wanted 398 Local 0 Mirrors 0 Missed 398 Current 2072 (0% match, 83% complete)
NOTE: Executing Tasks
ERROR: gawk-5.2.1-r0 do_package_qa: QA Issue: /usr/lib/gawk/ptest/test/fnarydel.awk contained in package gawk-ptest requires /usr/local/bin/gawk, but no providers found in RDEPENDS:gawk-ptest? [file-rdeps]
ERROR: gawk-5.2.1-r0 do_package_qa: QA Issue: /usr/lib/gawk/ptest/test/mpfrfield.awk contained in package gawk-ptest requires /bin/gawk, but no providers found in RDEPENDS:gawk-ptest? [file-rdeps]
ERROR: gawk-5.2.1-r0 do_package_qa: Fatal QA errors were found, failing task.
ERROR: Logfile of failure stored in: /home/work2TB/zhangze/rvcore-yocto/build/tmp-glibc/work/riscv64-unknown-linux/gawk/5.2.1-r0/temp/log.do_package_qa.3719989
ERROR: Task (/home/work2TB/zhangze/rvcore-yocto/openembedded-core/meta/recipes-extended/gawk/gawk_5.2.1.bb:do_package_qa) failed with exit code '1'

Describe the results you expected:

Additional information you deem important (e.g. issue happens only occasionally):

Additional details (revisions used, host distro, etc.):

@alistair23
Copy link
Collaborator

This seems like an upstream issue

@cg-sat
Copy link

cg-sat commented Jun 10, 2024

I had the same problem and found the following workaround (if you also need to stay on a specific revision of yocto itself).
In the file openembedded-core/meta/recipes-extended/gawk/gawk_5.2.1.bb add the following parameter to the very long sed line:

-e 's|#! /bin/gawk|#! ${bindir}/gawk|g' \

This fixes the hashbang line of the https://git.savannah.gnu.org/cgit/gawk.git/tree/test/mpfrfield.awk file, which still contains the hashbang line today.

kraj added a commit to YoeDistro/poky that referenced this issue Jun 14, 2024
Also replace the hashbangs using /bin/gawk to use
${bindir}/gawk

This fixes issues such as
riscv/meta-riscv#384

Signed-off-by: Khem Raj <[email protected]>
@kraj
Copy link
Collaborator

kraj commented Jun 14, 2024

@cg-sat yeah, I think the problem here, I have sent a fix to oe-core layer [1]

[1] https://lore.kernel.org/openembedded-core/[email protected]/T/#u

@kraj kraj added bug Something isn't working labels Jun 14, 2024
kraj added a commit to YoeDistro/poky that referenced this issue Jun 15, 2024
Also replace the hashbangs using /bin/gawk to use
${bindir}/gawk

This fixes issues such as
riscv/meta-riscv#384

(From OE-Core rev: 3905f9beabdd219e0ec902db785cb8866f63279d)

Signed-off-by: Khem Raj <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
halstead pushed a commit to yoctoproject/poky that referenced this issue Jun 16, 2024
Also replace the hashbangs using /bin/gawk to use
${bindir}/gawk

This fixes issues such as
riscv/meta-riscv#384

(From OE-Core rev: 84b2ead1b6536ead19efc0faee3e09ab0867b666)

Signed-off-by: Khem Raj <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
halstead pushed a commit to openembedded/openembedded-core that referenced this issue Jun 16, 2024
Also replace the hashbangs using /bin/gawk to use
${bindir}/gawk

This fixes issues such as
riscv/meta-riscv#384

Signed-off-by: Khem Raj <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
halstead pushed a commit to yoctoproject/poky that referenced this issue Jun 16, 2024
Also replace the hashbangs using /bin/gawk to use
${bindir}/gawk

This fixes issues such as
riscv/meta-riscv#384

(From OE-Core rev: 84b2ead1b6536ead19efc0faee3e09ab0867b666)

Signed-off-by: Khem Raj <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
kraj added a commit to YoeDistro/poky that referenced this issue Jun 16, 2024
Also replace the hashbangs using /bin/gawk to use
${bindir}/gawk

This fixes issues such as
riscv/meta-riscv#384

(From OE-Core rev: 3905f9beabdd219e0ec902db785cb8866f63279d)

Signed-off-by: Khem Raj <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
halstead pushed a commit to yoctoproject/poky that referenced this issue Jun 17, 2024
Also replace the hashbangs using /bin/gawk to use
${bindir}/gawk

This fixes issues such as
riscv/meta-riscv#384

(From OE-Core rev: 84b2ead1b6536ead19efc0faee3e09ab0867b666)

Signed-off-by: Khem Raj <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
halstead pushed a commit to yoctoproject/poky that referenced this issue Jun 17, 2024
Also replace the hashbangs using /bin/gawk to use
${bindir}/gawk

This fixes issues such as
riscv/meta-riscv#384

(From OE-Core rev: 84b2ead1b6536ead19efc0faee3e09ab0867b666)

Signed-off-by: Khem Raj <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
kraj added a commit to YoeDistro/poky that referenced this issue Jun 17, 2024
Also replace the hashbangs using /bin/gawk to use
${bindir}/gawk

This fixes issues such as
riscv/meta-riscv#384

(From OE-Core rev: 3905f9beabdd219e0ec902db785cb8866f63279d)

Signed-off-by: Khem Raj <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
halstead pushed a commit to yoctoproject/poky that referenced this issue Jun 18, 2024
Also replace the hashbangs using /bin/gawk to use
${bindir}/gawk

This fixes issues such as
riscv/meta-riscv#384

(From OE-Core rev: 9f58ad97f6587322b716de1c9dc409bb4e1376f0)

Signed-off-by: Khem Raj <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
halstead pushed a commit to openembedded/openembedded-core that referenced this issue Jun 18, 2024
Also replace the hashbangs using /bin/gawk to use
${bindir}/gawk

This fixes issues such as
riscv/meta-riscv#384

Signed-off-by: Khem Raj <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
daregit pushed a commit to daregit/yocto-combined that referenced this issue Jun 18, 2024
Also replace the hashbangs using /bin/gawk to use
${bindir}/gawk

This fixes issues such as
riscv/meta-riscv#384

(From OE-Core rev: 9f58ad97f6587322b716de1c9dc409bb4e1376f0)

Signed-off-by: Khem Raj <raj.khemgmail.com>
Signed-off-by: Richard Purdie <richard.purdielinuxfoundation.org>
mmitchel pushed a commit to distro-core-curated-mirrors/poky-contrib that referenced this issue Jun 18, 2024
Also replace the hashbangs using /bin/gawk to use
${bindir}/gawk

This fixes issues such as
riscv/meta-riscv#384

(From OE-Core rev: 3905f9beabdd219e0ec902db785cb8866f63279d)

Signed-off-by: Khem Raj <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
daregit pushed a commit to daregit/yocto-combined that referenced this issue Jun 18, 2024
Also replace the hashbangs using /bin/gawk to use
${bindir}/gawk

This fixes issues such as
riscv/meta-riscv#384

(From OE-Core rev: 9f58ad97f6587322b716de1c9dc409bb4e1376f0)

Signed-off-by: Khem Raj <raj.khemgmail.com>
Signed-off-by: Richard Purdie <richard.purdielinuxfoundation.org>
daregit pushed a commit to daregit/yocto-combined that referenced this issue Jun 27, 2024
Also replace the hashbangs using /bin/gawk to use
${bindir}/gawk

This fixes issues such as
riscv/meta-riscv#384

(From OE-Core rev: 9f58ad97f6587322b716de1c9dc409bb4e1376f0)

Signed-off-by: Khem Raj <raj.khemgmail.com>
Signed-off-by: Richard Purdie <richard.purdielinuxfoundation.org>
mmitchel pushed a commit to distro-core-curated-mirrors/poky-contrib that referenced this issue Jul 30, 2024
Also replace the hashbangs using /bin/gawk to use
${bindir}/gawk

This fixes issues such as
riscv/meta-riscv#384

(From OE-Core rev: 64ae7492c69599019ef2bec62a834335539908ef)

Signed-off-by: Khem Raj <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
(cherry picked from commit 9f58ad9)
Signed-off-by: Steve Sakoman <[email protected]>
mmitchel pushed a commit to distro-core-curated-mirrors/poky-contrib that referenced this issue Jul 31, 2024
Also replace the hashbangs using /bin/gawk to use
${bindir}/gawk

This fixes issues such as
riscv/meta-riscv#384

(From OE-Core rev: 64ae7492c69599019ef2bec62a834335539908ef)

Signed-off-by: Khem Raj <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
(cherry picked from commit 9f58ad9)
Signed-off-by: Steve Sakoman <[email protected]>
halstead pushed a commit to openembedded/openembedded-core that referenced this issue Aug 1, 2024
Also replace the hashbangs using /bin/gawk to use
${bindir}/gawk

This fixes issues such as
riscv/meta-riscv#384

Signed-off-by: Khem Raj <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
(cherry picked from commit 9f58ad9)
Signed-off-by: Steve Sakoman <[email protected]>
halstead pushed a commit to yoctoproject/poky that referenced this issue Aug 1, 2024
Also replace the hashbangs using /bin/gawk to use
${bindir}/gawk

This fixes issues such as
riscv/meta-riscv#384

(From OE-Core rev: 64ae7492c69599019ef2bec62a834335539908ef)

Signed-off-by: Khem Raj <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
(cherry picked from commit 9f58ad97f6587322b716de1c9dc409bb4e1376f0)
Signed-off-by: Steve Sakoman <[email protected]>
jpuhlman pushed a commit to MontaVista-OpenSourceTechnology/poky that referenced this issue Aug 5, 2024
Source: poky
MR: 158408
Type: Integration
Disposition: Merged from poky
ChangeID: 50cd98a
Description:

Also replace the hashbangs using /bin/gawk to use
${bindir}/gawk

This fixes issues such as
riscv/meta-riscv#384

(From OE-Core rev: 64ae7492c69599019ef2bec62a834335539908ef)

Signed-off-by: Khem Raj <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
(cherry picked from commit 9f58ad97f6587322b716de1c9dc409bb4e1376f0)
Signed-off-by: Steve Sakoman <[email protected]>
Signed-off-by: Jeremy A. Puhlman <[email protected]>
vishwamartur added a commit to vishwamartur/meta-riscv that referenced this issue Nov 1, 2024
Related to riscv#384

Add `gawk_5.2.1.bb` file to address QA issues in `gawk-ptest` package.

* Add `-e 's|#! /bin/gawk|#! ${bindir}/gawk|g' \` to the `sed` line to update hashbang lines in affected files.
* Add `-e 's|#! /usr/local/bin/gawk|#! ${bindir}/gawk|g' \` to the `sed` line to update hashbang lines in affected files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants