Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924243 - dev-lang/gnat-gpl-2021-r4 fails to compile: collect2: error: ld returned 1 exit status
Summary: dev-lang/gnat-gpl-2021-r4 fails to compile: collect2: error: ld returned 1 ex...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux ADA team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-10 20:32 UTC by Agostino Sarubbo
Modified: 2024-03-02 20:10 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.xz (build.log.xz,263.85 KB, application/x-xz)
2024-02-10 20:32 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-02-10 20:32:39 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-lang/gnat-gpl-2021-r4 fails to compile.
Discovered on: amd64 (internal ref: slibtool_tinderbox)
System: SLIBTOOL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#SLIBTOOL)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-10 20:32:43 UTC
Created attachment 884695 [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 2024-02-10 20:32:44 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


      echo The directory that should contain system headers does not exist: >&2 ; \
      echo The directory that should contain system headers does not exist: >&2 ; \n
 1202 |   "-gvariable-location-views is not supported with -fdump-scos");
*** This configuration is not supported in the following subdirectories:
checking whether objcopy supports debuglink... objcopy: /tmp/ls147: cannot fill debug link section `x': No such file or directory
checking whether objcopy supports debuglink... objcopy: /tmp/ls7766: cannot fill debug link section `x': No such file or directory
checking whether objcopy supports debuglink... objcopy: /tmp/ls9991: cannot fill debug link section `x': No such file or directory
mv: cannot stat 'stage2-fixincludes': No such file or directory
mv: cannot stat 'stage2-gcc': No such file or directory
mv: cannot stat 'stage2-intl': No such file or directory
mv: cannot stat 'stage2-libbacktrace': No such file or directory
mv: cannot stat 'stage2-libcpp': No such file or directory
mv: cannot stat 'stage2-libdecnumber': No such file or directory
mv: cannot stat 'stage2-libiberty': No such file or directory
mv: cannot stat 'stage2-lto-plugin': No such file or directory
mv: cannot stat 'stage2-x86_64-pc-linux-gnu': No such file or directory
collect2: error: ld returned 1 exit status
Comment 3 Mike 2024-03-02 16:32:11 UTC
Maybe gnat-gpl-2021 is out of date?
Comment 4 Tupone Alfredo gentoo-dev 2024-03-02 20:10:50 UTC
(In reply to Mike from comment #3)
> Maybe gnat-gpl-2021 is out of date?

I still build it, and it is still needed for bootstrapping the gcc [ada] compiler