Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895704 - dev-db/sqlitestudio-3.4.3 fails to compile (GCC-13-SYSTEM): ld: qrc_qmake_qmake_qm_files.o symbol number 3 references nonexistent SHT_SYMTAB_SHNDX section
Summary: dev-db/sqlitestudio-3.4.3 fails to compile (GCC-13-SYSTEM): ld: qrc_qmake_qma...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-13
  Show dependency tree
 
Reported: 2023-02-21 10:17 UTC by Agostino Sarubbo
Modified: 2023-10-21 18:54 UTC (History)
3 users (show)

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


Attachments
build.log.xz (build.log.xz,45.15 KB, application/x-xz)
2023-02-21 10:17 UTC, Agostino Sarubbo
Details
List of rebuilt packages, & gcc dates (rebuilds.txt,19.08 KB, text/plain)
2023-02-22 22:18 UTC, Bill Binder
Details

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

Issue: dev-db/sqlitestudio-3.4.3 fails to compile (GCC-13-SYSTEM).
Discovered on: amd64 (internal ref: gcc13_tinderbox)

NOTE:
(GCC-13-SYSTEM) in the summary means that the bug was found on a machine that runs gcc-13 but this bug MAY or MAY NOT BE related to the new compiler
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-21 10:17:04 UTC
Created attachment 853474 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Bill Binder 2023-02-22 13:37:17 UTC
Fails in the same region of the build when using gcc 12 on a basically stable system (by which I mean no core libraries are "~")

Made an ebuild for the previous version in GitHub, sqlitestudio 3.4.2. This worked after adding an additional patch to remove a curses library reference - as per commit c7dd094, "Removed unnecessary curses library linking".
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-22 13:44:08 UTC
Thanks bill!
Comment 4 Agostino Sarubbo gentoo-dev 2023-02-22 13:52:34 UTC
(In reply to Bill Binder from comment #2)
> Fails in the same region of the build when using gcc 12 on a basically
> stable system (by which I mean no core libraries are "~")

I don't get the failure with:
gcc version 12.2.1 20230121 (Gentoo 12.2.1_p20230121-r1 p10)
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-22 13:54:05 UTC
If we look at the list of commits between 3.4.2 and 3.4.3, very little changed..
Comment 6 Bill Binder 2023-02-22 22:18:21 UTC
Created attachment 854022 [details]
List of rebuilt packages, & gcc dates

I think my problem was caused by packages built last year with a different gcc version.

Version 3.4.3 built successfully on a stable laptop which got it's Gentoo install during 1st week of December 2022.

The oldest installs on my main PC were from Feb 2022 and were built with gcc 11.2. I rebuilt the oldest installs in batches of 100, retrying the sqlitestudio-3.4.3 after each batch - after the 4th batch (April->June), the sqlitestudio-3.4.3 build completed successfully.

List of rebuilds attached - nothing really stands out
Comment 7 onkobu 2023-04-28 18:15:50 UTC
As far as I remember qmake_qmake_qm_files is generated. This involves qtquickcompiler. And SHT_SYMTAB_SHNDX is something in the ELF binary…after linking took place?

I bumped the ebuild to 3.4.3 with one upstream change and a small fix disabling some unnecessary extras.
Comment 8 Andreas Sturmlechner gentoo-dev 2023-10-21 18:54:09 UTC
*** Bug 902991 has been marked as a duplicate of this bug. ***