Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 704322 - app-misc/sleepyhead-1.0.0_beta2 : /.../qglobal.h:1044:7: error: invalid conversion from long int to QDebug::Stream* [-fpermissive]
Summary: app-misc/sleepyhead-1.0.0_beta2 : /.../qglobal.h:1044:7: error: invalid conve...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Richard Freeman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-30 21:43 UTC by Toralf Förster
Modified: 2020-03-23 18:07 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.08 KB, text/plain)
2019-12-30 21:43 UTC, Toralf Förster
Details
app-misc:sleepyhead-1.0.0_beta2:20191230-211606.log (app-misc:sleepyhead-1.0.0_beta2:20191230-211606.log,37.19 KB, text/plain)
2019-12-30 21:43 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,144.41 KB, text/plain)
2019-12-30 21:43 UTC, Toralf Förster
Details
environment (environment,82.58 KB, text/plain)
2019-12-30 21:43 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.36 KB, application/x-bzip)
2019-12-30 21:43 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,23.72 KB, application/x-bzip)
2019-12-30 21:43 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-12-30 21:43:21 UTC
/usr/include/qt5/QtCore/qglobal.h: In instantiation of ‘constexpr T qExchange(T&, U&&) [with T = QDebug::Stream*; U = long int]’:
/usr/include/qt5/QtCore/qdebug.h:118:55:   required from here
/usr/include/qt5/QtCore/qglobal.h:1044:7: error: invalid conversion from ‘long int’ to ‘QDebug::Stream*’ [-fpermissive]
 1044 |     t = std::forward<U>(newValue);
      |     ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |       |

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-libressl-20191227-172117

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

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

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
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.40.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 <==
Mon, 30 Dec 2019 20:07:42 +0000

emerge -qpvO app-misc/sleepyhead
[ebuild  N    ] app-misc/sleepyhead-1.0.0_beta2
Comment 1 Toralf Förster gentoo-dev 2019-12-30 21:43:24 UTC
Created attachment 601962 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-12-30 21:43:27 UTC
Created attachment 601964 [details]
app-misc:sleepyhead-1.0.0_beta2:20191230-211606.log
Comment 3 Toralf Förster gentoo-dev 2019-12-30 21:43:30 UTC
Created attachment 601966 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-12-30 21:43:33 UTC
Created attachment 601968 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-12-30 21:43:36 UTC
Created attachment 601970 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-12-30 21:43:39 UTC
Created attachment 601972 [details]
temp.tbz2
Comment 7 harre 2020-01-04 03:12:15 UTC
You should consider switching to Oscar which is forked of sleepyhead and is actively maintained.

I get same error in Oscar and have filed an issue for it.


https://gitlab.com/pholy/OSCAR-code/issues/5

For now until upstream have fixed it I have added the compile flag -fpermissive to dodge this issue.
Comment 8 Richard Freeman gentoo-dev 2020-03-23 18:07:09 UTC
sleepyhead has been removed from the tree - upstream is dead and has been replaced by oscar (not yet in the repo).