Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 635394 - dev-qt/qtcore:4 with sys-libs/glibc-2.25-r8: moc is broken (was =media-libs/phonon-vlc-0.9.1-r1[qt4] phonon-backend-vlc-0.9.1/src/audio/audiooutput.h:52: Parse error at "defined")
Summary: dev-qt/qtcore:4 with sys-libs/glibc-2.25-r8: moc is broken (was =media-libs/p...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Stabilization (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
: 635396 635848 635884 635986 636032 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-10-25 08:14 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2017-12-24 11:57 UTC (History)
6 users (show)

See Also:
Package list:
dev-qt/qtcore-4.8.7-r3
Runtime testing required: ---
stable-bot: sanity-check+


Attachments
build.log (build.log,24.48 KB, text/plain)
2017-10-25 08:14 UTC, Lars Wendler (Polynomial-C) (RETIRED)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-10-25 08:14:34 UTC
Created attachment 500014 [details]
build.log

Command
-------
/usr/lib64/qt4/bin/moc -I/var/tmp/portage/media-libs/phonon-vlc-0.9.1-r1/work/phonon-backend-vlc-0.9.1-qt4/src -I/var/tmp/portage/media-libs/phonon-vlc-0.9.1-r1/work/phonon-backend-vlc-0.9.1-qt4/src/phonon_vlc_autogen/include -I/var/tmp/portage/media-libs/phonon-vlc-0.9.1-r1/work/phonon-backend-vlc-0.9.1/src -I/usr/include/KDE -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/usr/include/vlc/plugins -I/usr/include -I/usr/include -I/usr/include -DPHONON_BACKEND_VERSION_4_9 -DPHONON_EXPERIMENTAL "-DPHONON_LIB_INSTALL_DIR=\"lib64\"" -DPHONON_NO_GRAPHICSVIEW "-DPHONON_VLC_VERSION=\"0.9.1\"" -D_BSD_SOURCE -DPHONON_BACKEND_VERSION_4_9 -o /var/tmp/portage/media-libs/phonon-vlc-0.9.1-r1/work/phonon-backend-vlc-0.9.1-qt4/src/phonon_vlc_autogen/PZONOMFGYT/moc_audiooutput.cpp /var/tmp/portage/media-libs/phonon-vlc-0.9.1-r1/work/phonon-backend-vlc-0.9.1/src/audio/audiooutput.h

Output
------
/var/tmp/portage/media-libs/phonon-vlc-0.9.1-r1/work/phonon-backend-vlc-0.9.1/src/audio/audiooutput.h:52: Parse error at "defined"

make[2]: *** [src/CMakeFiles/phonon_vlc_autogen.dir/build.make:58: src/CMakeFiles/phonon_vlc_autogen] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-libs/phonon-vlc-0.9.1-r1/work/phonon-backend-vlc-0.9.1-qt4'
make[1]: *** [CMakeFiles/Makefile2:156: src/CMakeFiles/phonon_vlc_autogen.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/media-libs/phonon-vlc-0.9.1-r1/work/phonon-backend-vlc-0.9.1-qt4'
make: *** [Makefile:130: all] Error 2
 * ERROR: media-libs/phonon-vlc-0.9.1-r1::gentoo failed (compile phase):
 *   emake failed
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-10-25 08:24:20 UTC
*** Bug 635396 has been marked as a duplicate of this bug. ***
Comment 2 Andreas Sturmlechner gentoo-dev 2017-10-25 17:27:47 UTC
Probably fixed by https://cgit.kde.org/phonon-vlc.git/commit/?id=b4fd0fbcdb2de612b8363aae4ed1ca6da53bf397 ?
Comment 3 白川間瀬流 2017-10-25 18:03:19 UTC
Nope

/var/tmp/portage/media-libs/phonon-vlc-9999/work/phonon-vlc-9999/src/audio/audiooutput.h:52: Parse error at "defined"

But imho its unrelated to phonon-vlc as this exact version, without any patches, compiles just fine on archlinux.
Comment 4 Michael Palimaka (kensington) gentoo-dev 2017-10-26 11:52:19 UTC
This is triggered by sys-libs/glibc-2.25-r8, but I believe moc is actually to blame.
Comment 5 Larry the Git Cow gentoo-dev 2017-10-26 12:11:22 UTC
The bug has been referenced in the following commit(s):

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

commit c4e4d38735de346d371854586b1fea91a043d391
Author:     Michael Palimaka <kensington@gentoo.org>
AuthorDate: 2017-10-26 12:10:15 +0000
Commit:     Michael Palimaka <kensington@gentoo.org>
CommitDate: 2017-10-26 12:11:12 +0000

    dev-qt/qtcore: improve moc patch to solve breakage with sys-libs/glibc-2.25-r8
    
    Patch from Fedora.
    
    Bug: https://bugs.gentoo.org/635394
    Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-qt/qtcore/files/qtcore-4.8.7-moc.patch | 17 ++++++
 dev-qt/qtcore/qtcore-4.8.7-r3.ebuild       | 92 ++++++++++++++++++++++++++++++
 2 files changed, 109 insertions(+)}
Comment 6 Michael Palimaka (kensington) gentoo-dev 2017-10-26 12:12:28 UTC
We need to stabilise this ASAP.
Comment 7 Michael Palimaka (kensington) gentoo-dev 2017-10-30 12:10:45 UTC
Arches, please test and stabilise dev-qt/qtcore-4.8.7-r3. The only difference between this and the previous revision is an updated moc patch that resolves a build failure issue in some revdeps trigged by 2.25-r8 (ie. current stable is broken).
Comment 8 Michael Palimaka (kensington) gentoo-dev 2017-10-30 12:43:35 UTC
*** Bug 635884 has been marked as a duplicate of this bug. ***
Comment 9 Michael Palimaka (kensington) gentoo-dev 2017-10-30 12:47:44 UTC
*** Bug 635848 has been marked as a duplicate of this bug. ***
Comment 10 Michael Palimaka (kensington) gentoo-dev 2017-10-31 13:46:32 UTC
*** Bug 636032 has been marked as a duplicate of this bug. ***
Comment 11 Michael Palimaka (kensington) gentoo-dev 2017-10-31 13:52:58 UTC
*** Bug 635986 has been marked as a duplicate of this bug. ***
Comment 12 Sergei Trofimovich (RETIRED) gentoo-dev 2017-11-01 07:27:06 UTC
ia64 stable
Comment 13 Stabilization helper bot gentoo-dev 2017-11-01 08:01:28 UTC
An automated check of this bug failed - repoman reported dependency errors: 

> dependency.bad dev-qt/qtcore/qtcore-4.8.7-r3.ebuild: PDEPEND: hppa(default/linux/hppa/13.0) ['~dev-qt/qttranslations-4.8.7', '~dev-qt/qtgui-4.8.7[aqua=,debug=,glib=,qt3support,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]']
> dependency.bad dev-qt/qtcore/qtcore-4.8.7-r3.ebuild: RDEPEND: hppa(default/linux/hppa/13.0) ['dev-qt/qtchooser']
Comment 14 Stabilization helper bot gentoo-dev 2017-11-03 13:00:54 UTC
An automated check of this bug succeeded - the previous repoman errors are now resolved.
Comment 15 Larry the Git Cow gentoo-dev 2017-11-03 13:14:29 UTC
The bug has been referenced in the following commit(s):

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

commit 64e551d79336e930c8a2886b9d0a6a1eea4a374f
Author:     Michael Palimaka <kensington@gentoo.org>
AuthorDate: 2017-11-03 13:14:10 +0000
Commit:     Michael Palimaka <kensington@gentoo.org>
CommitDate: 2017-11-03 13:14:18 +0000

    dev-qt/qtcore: stabilise 4.8.7-r3 for amd64/x86
    
    Bug: https://bugs.gentoo.org/635394
    Package-Manager: Portage-2.3.8, Repoman-2.3.4

 dev-qt/qtcore/qtcore-4.8.7-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)}
Comment 16 Sergei Trofimovich (RETIRED) gentoo-dev 2017-11-03 23:26:02 UTC
sparc stable (thanks to Rolf Eike Beer)
Comment 17 Tobias Klausmann (RETIRED) gentoo-dev 2017-11-08 12:53:38 UTC
Stable on alpha.
Comment 18 Sergei Trofimovich (RETIRED) gentoo-dev 2017-11-13 22:41:21 UTC
ppc64 stable
Comment 19 Sergei Trofimovich (RETIRED) gentoo-dev 2017-11-18 17:54:52 UTC
ppc stable
Comment 20 Markus Meier gentoo-dev 2017-12-24 11:57:44 UTC
arm stable, all arches done.