Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 868522

Summary: dev-util/perf-5.19: fatal error: inat-tables.c: No such file or directory with sys-apps/gawk-5.2.0
Product: Gentoo Linux Reporter: Haonan Chen <chn>
Component: Current packagesAssignee: Naohiro Aota <naota>
Status: RESOLVED FIXED    
Severity: normal CC: alexandref75, amadio, ansla80, b.buschinski, base-system, chn, creideiki+gentoo-bugzilla, dlan, gentoo, holger, nucfreq, oli.huber, paul, sarnex, volkov, zlogene
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=868567
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt.gz
build.log.gz

Description Haonan Chen 2022-09-05 03:50:04 UTC
build failed
Comment 1 Haonan Chen 2022-09-05 03:50:58 UTC
Created attachment 803251 [details]
emerge-info.txt.gz

emerge --info
Comment 2 Haonan Chen 2022-09-05 03:52:17 UTC
Created attachment 803254 [details]
build.log.gz

build.log
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-09-05 03:54:39 UTC
In file included from util/intel-pt-decoder/intel-pt-insn-decoder.c:14:
util/intel-pt-decoder/../../../arch/x86/lib/inat.c:10:10:
fatal error: inat-tables.c: No such file or directory
   10 | #include inat-tables.c"
compilation terminated.
Comment 4 Holger Hoffstätte 2022-09-05 16:39:34 UTC
Caused by gawk-5.2.
Comment 5 Kobboi 2022-09-05 18:33:12 UTC
Kernels are suffering from this as well (e.g gentoo-kernel-5.19.7).

As per comment #4, I'm just going to mask gawk-5.2 for now.
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-09-06 03:47:41 UTC
(In reply to Holger Hoffstätte from comment #4)
> Caused by gawk-5.2.

Is it a separate bug from the double-free issue? Does the patch mentioned in that bug work?
Comment 7 Holger Hoffstätte 2022-09-13 18:17:16 UTC
(In reply to Sam James from comment #6)
> (In reply to Holger Hoffstätte from comment #4)
> > Caused by gawk-5.2.
> 
> Is it a separate bug from the double-free issue? Does the patch mentioned in
> that bug work?

Apparently it does! \o/

- updated to binutils-2.39 (not required :)
- dropped missing_upref.patch into /etc/portage/patches/sys-apps/gawk
- installed gawk-5.2
- 'ebuild /var/db/repos/gentoo/dev-util/perf/perf-5.19.ebuild compile' succeeds

So: no, and yes - at least as far as *this* bug is concerned.
Comment 8 Larry the Git Cow gentoo-dev 2022-11-15 10:50:54 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a4f6d6186f18d1ff2a1a7a6c508c5fb2fc4fbd1

commit 1a4f6d6186f18d1ff2a1a7a6c508c5fb2fc4fbd1
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-11-15 10:47:55 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-11-15 10:47:55 +0000

    sys-apps/gawk: add 5.2.1_beta (unkeyworded)
    
    Please test and report bugs upstream to bug-gawk if you find any problems.
    
    Bug: https://bugs.gentoo.org/868567
    Bug: https://bugs.gentoo.org/868522
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/gawk/Manifest               |   1 +
 sys-apps/gawk/gawk-5.2.1_beta.ebuild | 131 +++++++++++++++++++++++++++++++++++
 2 files changed, 132 insertions(+)
Comment 9 Larry the Git Cow gentoo-dev 2022-11-22 18:28:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad0c972c895767e1432cfcc3d0d1a8d380eafbea

commit ad0c972c895767e1432cfcc3d0d1a8d380eafbea
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-11-22 18:27:59 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-11-22 18:28:11 +0000

    sys-apps/gawk: add 5.2.1, drop 5.2.1_beta
    
    Closes: https://bugs.gentoo.org/830705
    Closes: https://bugs.gentoo.org/868522
    Closes: https://bugs.gentoo.org/868567
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/gawk/Manifest                                      | 3 ++-
 sys-apps/gawk/{gawk-5.2.1_beta.ebuild => gawk-5.2.1.ebuild} | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)