Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 700090 - net-libs/libktorrent-2.1.1 : /.../fileops.cpp:369:36: error: invalid user-defined conversion from QByteArray to const char* [-fpermissive]
Summary: net-libs/libktorrent-2.1.1 : /.../fileops.cpp:369:36: error: invalid user-def...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-14 16:32 UTC by Toralf Förster
Modified: 2019-11-14 17:31 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.04 KB, text/plain)
2019-11-14 16:32 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,193.78 KB, text/plain)
2019-11-14 16:32 UTC, Toralf Förster
Details
environment (environment,110.40 KB, text/plain)
2019-11-14 16:32 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.30 KB, application/x-bzip)
2019-11-14 16:33 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,6.03 KB, application/x-bzip)
2019-11-14 16:33 UTC, Toralf Förster
Details
net-libs:libktorrent-2.1.1:20191114-011410.log (net-libs:libktorrent-2.1.1:20191114-011410.log,39.26 KB, text/plain)
2019-11-14 16:33 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,30.75 KB, application/x-bzip)
2019-11-14 16:33 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 2019-11-14 16:32:50 UTC
/var/tmp/portage/net-libs/libktorrent-2.1.1/work/libktorrent-2.1.1/src/util/fileops.cpp: In function ‘bool bt::XfsPreallocate(const QString&, bt::Uint64)’:
/var/tmp/portage/net-libs/libktorrent-2.1.1/work/libktorrent-2.1.1/src/util/fileops.cpp:369:36: error: invalid user-defined conversion from ‘QByteArray’ to ‘const char*’ [-fpermissive]
  369 |   int fd = ::open(QFile::encodeName(path), O_RDWR | O_LARGEFILE);
      |                   ~~~~~~~~~~~~~~~~~^~~~~~
In file included from /usr/include/qt5/QtCore/QByteArray:1,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-libressl-20191109-191923

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.0 (tags/RELEASE_900/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.0
Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.39.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.13.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Thu, 14 Nov 2019 01:06:22 +0000

emerge -qpvO net-libs/libktorrent
[ebuild  N    ] net-libs/libktorrent-2.1.1  USE="-debug -test"
Comment 1 Toralf Förster gentoo-dev 2019-11-14 16:32:53 UTC
Created attachment 596084 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-11-14 16:32:56 UTC
Created attachment 596086 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-11-14 16:32:59 UTC
Created attachment 596088 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-11-14 16:33:02 UTC
Created attachment 596090 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-11-14 16:33:05 UTC
Created attachment 596092 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-11-14 16:33:08 UTC
Created attachment 596094 [details]
net-libs:libktorrent-2.1.1:20191114-011410.log
Comment 7 Toralf Förster gentoo-dev 2019-11-14 16:33:11 UTC
Created attachment 596096 [details]
temp.tbz2
Comment 8 Andreas Sturmlechner gentoo-dev 2019-11-14 16:34:16 UTC
Is that with XFS?
Comment 9 Toralf Förster gentoo-dev 2019-11-14 16:54:12 UTC
(In reply to Andreas Sturmlechner from comment #8)
> Is that with XFS?

The file system is BTRFS.
Comment 10 Larry the Git Cow gentoo-dev 2019-11-14 17:31:59 UTC
The bug has been closed via the following commit(s):

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

commit a51bb03daa7f2c74449464ce7d7f1d95aef88151
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-11-14 17:30:12 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-11-14 17:31:39 +0000

    net-libs/libktorrent: Fix build
    
    Broken all of a sudden by... who knows what.
    
    Closes: https://bugs.gentoo.org/700090
    Package-Manager: Portage-2.3.79, Repoman-2.3.18
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../files/libktorrent-2.1.1-fileops.patch          | 25 ++++++++++++++++++++++
 net-libs/libktorrent/libktorrent-2.1.1.ebuild      |  5 ++++-
 2 files changed, 29 insertions(+), 1 deletion(-)