Bug 1923550 - trojita: FTBFS in Fedora rawhide/f34
Summary: trojita: FTBFS in Fedora rawhide/f34
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: trojita
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kevin Kofler
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F34FTBFS
TreeView+ depends on / blocked
 
Reported: 2021-02-01 17:13 UTC by Fedora Release Engineering
Modified: 2022-02-04 01:22 UTC (History)
3 users (show)

Fixed In Version: trojita-0.7.0.1-0.12.20220117git266c757.fc36
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-01-26 13:16:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2021-02-01 17:13 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2021-02-01 17:13 UTC, Fedora Release Engineering
no flags Details
state.log (1.08 KB, text/plain)
2021-02-01 17:13 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2021-02-01 17:13:49 UTC
trojita failed to build from source in Fedora rawhide/f34

https://koji.fedoraproject.org/koji/taskinfo?taskID=60912372


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Please fix trojita at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
trojita will be orphaned. Before branching of Fedora 35,
trojita will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2021-02-01 17:13:51 UTC
Created attachment 1753603 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2021-02-01 17:13:53 UTC
Created attachment 1753604 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2021-02-01 17:13:54 UTC
Created attachment 1753605 [details]
state.log

Comment 4 Kevin Kofler 2021-02-01 18:28:46 UTC
Looks like a test is missing a dependency on Qt5Qml, which was apparently moved from an interface dependency to a private dependency of one of the already present dependencies of the test:

/usr/bin/ld: ImapAccess.cpp.o (symbol from plugin): undefined reference to symbol '_ZTSSt19_Sp_make_shared_tag@@Qt_5'
/usr/bin/ld: /usr/lib64/libQt5Qml.so.5: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/test_Composer_responses.dir/build.make:149: test_Composer_responses] Error 1

Comment 5 Ben Cotton 2021-02-09 15:56:02 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle.
Changing version to 34.

Comment 6 Kevin Kofler 2022-01-26 13:16:11 UTC
https://koji.fedoraproject.org/koji/buildinfo?buildID=1908152 built successfully.

Comment 7 Kevin Kofler 2022-01-26 13:38:15 UTC
Fun, this builds in Rawhide (so I am keeping this FTBFS bug closed), in F35 too, but the error still occurs on F34!

Comment 8 Kevin Kofler 2022-01-26 14:15:22 UTC
This hack makes it build on F34:

%if 0%{?fedora} == 34
# work around strange F34-only FTBFS (#1923550)
%global __global_ldflags %{build_ldflags} -Wl,--copy-dt-needed-entries
%endif

Comment 9 Kevin Kofler 2022-01-26 14:17:16 UTC
_ZTSSt19_Sp_make_shared_tag@@Qt_5 is typeinfo name for std::_Sp_make_shared_tag versioned with Qt_5. This sounds like a really strange toolchain issue. As I said, this problem does not occur on F35 and Rawhide.

Comment 10 Fedora Update System 2022-01-27 03:50:41 UTC
FEDORA-2022-46fefaadfd has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2022-46fefaadfd

Comment 11 Fedora Update System 2022-01-27 22:33:45 UTC
FEDORA-2022-46fefaadfd has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-46fefaadfd`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-46fefaadfd

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2022-02-04 01:22:09 UTC
FEDORA-2022-46fefaadfd has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.