Bug 414050 - libktorrent git-version fails to build on Gentoo
Summary: libktorrent git-version fails to build on Gentoo
Status: RESOLVED FIXED
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-12 01:00 UTC by Michael
Modified: 2019-11-14 13:31 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Build log (41.35 KB, text/x-log)
2019-11-12 01:00 UTC, Michael
Details
emerge --info output (7.68 KB, application/x-info)
2019-11-12 01:01 UTC, Michael
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael 2019-11-12 01:00:29 UTC
Created attachment 123849 [details]
Build log

SUMMARY 
libktorrent git-version fails to build on Gentoo with:

/var/tmp/portage/net-libs/libktorrent-9999/work/libktorrent-9999/src/util/fileops.cpp:369:36: error: invalid user-defined conversion from 'QByteArray' to 'const char*' [-fpermissive]

Full build log is attached. 

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.64
Qt Version: 5.13.2

ADDITIONAL INFORMATION
Comment 1 Michael 2019-11-12 01:01:05 UTC
Created attachment 123850 [details]
emerge --info output
Comment 2 Andreas Sturmlechner 2019-11-14 12:58:27 UTC
Interestingly it builds just fine for me, that's even with Qt 5.14.0_beta3.
Comment 3 Michael 2019-11-14 13:03:35 UTC
(In reply to andreas.sturmlechner from comment #2)
> Interestingly it builds just fine for me, that's even with Qt 5.14.0_beta3.

So there's a good chance it's gentoo-specific?
Comment 4 Christoph Feck 2019-11-14 13:20:07 UTC
Git commit 1e8ce6e98d7ca0088624778964b9aed4696ce030 by Christoph Feck.
Committed on 14/11/2019 at 13:19.
Pushed by cfeck into branch 'master'.

Fix build with XFS

M  +1    -1    src/util/fileops.cpp

https://commits.kde.org/libktorrent/1e8ce6e98d7ca0088624778964b9aed4696ce030
Comment 5 Michael 2019-11-14 13:31:43 UTC
(In reply to Christoph Feck from comment #4)
> Git commit 1e8ce6e98d7ca0088624778964b9aed4696ce030 by Christoph Feck.
> Committed on 14/11/2019 at 13:19.
> Pushed by cfeck into branch 'master'.
> 
> Fix build with XFS
> 
> M  +1    -1    src/util/fileops.cpp
> 
> https://commits.kde.org/libktorrent/1e8ce6e98d7ca0088624778964b9aed4696ce030

That worked, thank you!