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

Bug 824154

Summary: dev-lang/gnat-gpl-2020 fails to compile: init.c:584:18: error: missing binary operator before token "("
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Linux ADA team <ada>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 803482    
Attachments: build.log.xz

Description Agostino Sarubbo gentoo-dev 2021-11-17 09:08:14 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-lang/gnat-gpl-2020 fails to compile.
Discovered on: amd64 (internal ref: ci)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
If you think this is a GCC-11 related issue, please block bug 732706.
Comment 1 Agostino Sarubbo gentoo-dev 2021-11-17 09:08:17 UTC
Created attachment 751854 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2021-11-17 09:08:18 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


checking whether objcopy supports debuglink... objcopy: /tmp/ls148: cannot fill debug link section `x': No such file or directory
/var/tmp/portage/dev-lang/gnat-gpl-2020/work/gcc-9-2020-20200429-19AA7-src/gcc/ada/init.c:584:18: error: missing binary operator before token "("
Comment 3 Agostino Sarubbo gentoo-dev 2021-11-17 09:09:00 UTC
2019-r2 has the same issue while 2021-r1 no
Comment 4 Larry the Git Cow gentoo-dev 2021-12-10 21:26:42 UTC
The bug has been closed via the following commit(s):

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

commit 7c6e7be68bb48e11f88db9a48ea25be3000456e9
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2021-12-10 21:24:58 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2021-12-10 21:24:58 +0000

    dev-lang/gnat-gpl: fix for glibc-2.34
    
    Closes: https://bugs.gentoo.org/824154
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 dev-lang/gnat-gpl/files/gnat-gpl-2020-gentoo.patch | 12 ++++++++++++
 1 file changed, 12 insertions(+)