Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938150 - dev-lang/gnat-gpl-2021-r5 - [ncurses-6.5] [meson-9999] [icu-75.1] checking whether objcopy supports debuglink... objcopy: .../ cannot fill debug link section x: No such file or directory
Summary: dev-lang/gnat-gpl-2021-r5 - [ncurses-6.5] [meson-9999] [icu-75.1] checking wh...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux ADA team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-08-18 14:23 UTC by Toralf Förster
Modified: 2025-01-07 21:12 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.75 KB, text/plain)
2024-08-18 14:23 UTC, Toralf Förster
Details
dev-lang:gnat-gpl-2021-r5:20240818-124056.log.xz (dev-lang:gnat-gpl-2021-r5:20240818-124056.log.xz,87.43 KB, application/x-xz)
2024-08-18 14:23 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,100.23 KB, application/x-xz)
2024-08-18 14:23 UTC, Toralf Förster
Details
environment (environment,181.90 KB, text/plain)
2024-08-18 14:23 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.35 KB, application/x-xz)
2024-08-18 14:23 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,60.66 KB, application/x-xz)
2024-08-18 14:23 UTC, Toralf Förster
Details
gcc-build-logs.tar.xz (gcc-build-logs.tar.xz,161.24 KB, application/x-xz)
2024-08-18 14:23 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,90.23 KB, application/x-xz)
2024-08-18 14:23 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,102.57 KB, application/x-xz)
2024-08-18 14:23 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,42.86 KB, application/x-xz)
2024-08-18 14:23 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-08-18 14:23:13 UTC
checking whether -pthread is supported... yes
checking whether -gdwarf-5 is supported... no
checking for compress in -lz... yes
checking whether --compress-debug-sections is supported... yes
checking for objcopy... objcopy
checking for readelf... x86_64-pc-linux-gnu-readelf
checking whether objcopy supports debuglink... objcopy: /tmp/ls12176: cannot fill debug link section `x': No such file or directory
no
checking whether tests can run... yes

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_hardened-20240810-005502

  UNMASKED:
    Requested by sam
  ~dev-libs/icu-75.1
  ~dev-libs/icu-layoutex-75.1
    Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson.
  <dev-build/meson-9999
    Requested by sam
  >=sys-libs/ncurses-6.5

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 18.1.8
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.8
Python 3.12.5
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.80.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.24_p8 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.23.0 linux/amd64

  HEAD of ::gentoo
commit 7c03e803ed399d0727cf89d0c865e7718d0e32ed
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Aug 18 10:04:18 2024 +0000

    2024-08-18 10:04:18 UTC

emerge -qpvO =dev-lang/gnat-gpl-2021-r5
[ebuild  N    ] dev-lang/gnat-gpl-2021-r5  USE="ada bootstrap cet cxx default-znow fortran graphite hardened multilib nls openmp (pie) rust sanitize (ssp) vanilla -d -debug -default-stack-clash-protection -doc (-fixed-point) (-go) (-jit) -libssp (-lto) -modula2 -objc -objc++ -objc-gc (-pch) -pgo -systemtap -test -vtv -zstd"
Comment 1 Toralf Förster gentoo-dev 2024-08-18 14:23:14 UTC
Created attachment 900561 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-08-18 14:23:15 UTC
Created attachment 900562 [details]
dev-lang:gnat-gpl-2021-r5:20240818-124056.log.xz
Comment 3 Toralf Förster gentoo-dev 2024-08-18 14:23:17 UTC
Created attachment 900563 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-08-18 14:23:18 UTC
Created attachment 900564 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-08-18 14:23:19 UTC
Created attachment 900565 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-08-18 14:23:20 UTC
Created attachment 900566 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-08-18 14:23:21 UTC
Created attachment 900567 [details]
gcc-build-logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-08-18 14:23:23 UTC
Created attachment 900568 [details]
logs.tar.xz
Comment 9 Toralf Förster gentoo-dev 2024-08-18 14:23:24 UTC
Created attachment 900569 [details]
qlist-info.txt.xz
Comment 10 Toralf Förster gentoo-dev 2024-08-18 14:23:25 UTC
Created attachment 900570 [details]
temp.tar.xz
Comment 11 Larry the Git Cow gentoo-dev 2025-01-07 20:01:04 UTC
The bug has been referenced in the following commit(s):

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

commit 76a03786adbf398191760dee58a4a06e44ebc584
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-01-07 19:59:29 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-01-07 19:59:29 +0000

    dev-lang/gnat-gpl: strip unsupported flags as we do in ada-bootstrap
    
    The binhost apparently tried to build gnat-gpl instead of ada-bootstrap
    (why?) and failed with:
    ```
    checking whether the GNU Fortran compiler is working... no
    configure: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla,
    attaching /var/tmp/portage/dev-lang/gnat-gpl-2021-r5/work/build/x86_64-pc-linux-gnu/libgfortran/config.log
    ```
    
    Let's try use the same stripping-unsupported-flags approach as we do
    in ada-bootstrap until we remove gnat-gpl entirely.
    
    Bug: https://bugs.gentoo.org/938150
    Bug: https://bugs.gentoo.org/940601
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-lang/gnat-gpl/gnat-gpl-2021-r5.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
Comment 12 Larry the Git Cow gentoo-dev 2025-01-07 20:09:58 UTC
The bug has been referenced in the following commit(s):

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

commit bac3705f1e4856701675b844bceec9a7ac8705ce
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-01-07 20:09:02 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-01-07 20:09:02 +0000

    dev-lang/ada-bootstrap: strip unsupported CXXFLAGS too
    
    Bug: https://bugs.gentoo.org/938150
    Bug: https://bugs.gentoo.org/940601
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-lang/ada-bootstrap/ada-bootstrap-0_p2021-r1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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

commit 6b8e64afee3767d708144c0f7604a1432fe8618b
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-01-07 20:06:43 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-01-07 20:06:43 +0000

    dev-lang/gnat-gpl: strip unsupported CXXFLAGS too
    
    Bug: https://bugs.gentoo.org/938150
    Bug: https://bugs.gentoo.org/940601
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-lang/gnat-gpl/gnat-gpl-2021-r5.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)