Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 869395 - games-action/polymc-1.4.2:0 - /.../PollServer.cpp: error: invalid use of incomplete type class QDebug
Summary: games-action/polymc-1.4.2:0 - /.../PollServer.cpp: error: invalid use of inco...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Thiago
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-09-09 21:50 UTC by Toralf Förster
Modified: 2022-09-12 08:50 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,20.35 KB, text/plain)
2022-09-09 21:50 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,65.38 KB, application/x-bzip)
2022-09-09 21:50 UTC, Toralf Förster
Details
environment (environment,156.01 KB, text/plain)
2022-09-09 21:51 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,31.07 KB, application/x-bzip)
2022-09-09 21:51 UTC, Toralf Förster
Details
games-action:polymc-1.4.2:20220909-214325.log (games-action:polymc-1.4.2:20220909-214325.log,70.64 KB, text/plain)
2022-09-09 21:51 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.04 KB, application/x-bzip)
2022-09-09 21:51 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,39.25 KB, application/x-bzip)
2022-09-09 21:51 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 2022-09-09 21:50:57 UTC
too long lines were shrinked:

[65/449] /usr/bin/x86_64-pc-linux-gnu-g++ -DQT_CORE_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -I/var/tmp/portage/games-action/polymc-1.4.2/work/PolyMC-1.4.2_build/libraries/katabasis -I/var/tmp/portage/games-action/polymc-1.4.2/work/PolyMC-1.4.2/libraries/katabasis -I/var/tmp/portage/games-action/polymc-1.
FAILED: libraries/katabasis/CMakeFiles/Katabasis.dir/src/PollServer.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DQT_CORE_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -I/var/tmp/portage/games-action/polymc-1.4.2/work/PolyMC-1.4.2_build/libraries/katabasis -I/var/tmp/portage/games-action/polymc-1.4.2/work/PolyMC-1.4.2/libraries/katabasis -I/var/tmp/portage/games-action/polymc-1.4.2/work/
/var/tmp/portage/games-action/polymc-1.4.2/work/PolyMC-1.4.2/libraries/katabasis/src/PollServer.cpp: In member function void Katabasis::PollServer::onPollTimeout():
/var/tmp/portage/games-action/polymc-1.4.2/work/PolyMC-1.4.2/libraries/katabasis/src/PollServer.cpp:60:11: error: invalid use of incomplete type class QDebug
   60 |     qDebug() << "PollServer::onPollTimeout: retrying";
      |           ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j4-20220905-210005

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.3.0
 [2] x86_64-pc-linux-gnu-12.2.1 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Rust versions:
  [1]   rust-bin-1.62.1 *
GENTOO_VM=openjdk-bin-8  CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-8.332_p09"
JAVACFLAGS="-source 1.8 -target 1.8" COMPILER=""
The following VMs are available for generation-2:
1)	OpenJDK 17.0.3_p7 [openjdk-17]
2)	Eclipse Temurin JDK 11.0.15_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-17 
  [2]   openjdk-bin-8  system-vm
  [3]   openjdk-bin-11 

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit a8e7a085d53dcc0b59939d544b1d87f9e2025ca9
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Sep 9 20:57:37 2022 +0000

    2022-09-09 20:57:36 UTC

emerge -qpvO games-action/polymc
[ebuild  N    ] games-action/polymc-1.4.2  USE="-debug -lto -test"
Comment 1 Toralf Förster gentoo-dev 2022-09-09 21:50:58 UTC
Created attachment 804304 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-09 21:50:59 UTC
Created attachment 804307 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-09-09 21:51:00 UTC
Created attachment 804310 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-09-09 21:51:02 UTC
Created attachment 804313 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-09-09 21:51:03 UTC
Created attachment 804316 [details]
games-action:polymc-1.4.2:20220909-214325.log
Comment 6 Toralf Förster gentoo-dev 2022-09-09 21:51:04 UTC
Created attachment 804319 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-09 21:51:05 UTC
Created attachment 804322 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-09-12 08:50:31 UTC
The bug has been closed via the following commit(s):

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

commit a3f3d54c771487ec68a71bbd5d1fb1054d3fd51f
Author:     Thiago Donato Ferreira <flowlnlnln@gmail.com>
AuthorDate: 2022-09-10 21:06:29 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2022-09-12 08:44:42 +0000

    games-action/polymc: add patch for explicit include in PollServer
    
    This seems to be a problem with early 5.12 Qt versions, since newer
    versions don't have this problem. Somewhere along the way, QDebug was
    probably added as a implicit include to this file.
    
    Closes: https://bugs.gentoo.org/869395
    Signed-off-by: Thiago Donato Ferreira <flowlnlnln@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/27201
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 .../polymc/files/polymc-1.4.1-include_QDebug.patch       | 16 ++++++++++++++++
 .../{polymc-1.4.1-r1.ebuild => polymc-1.4.1-r2.ebuild}   |  4 ++++
 .../{polymc-1.4.2.ebuild => polymc-1.4.2-r1.ebuild}      |  4 ++++
 games-action/polymc/polymc-9999.ebuild                   |  4 ++++
 4 files changed, 28 insertions(+)