Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 635884 - media-sound/clementine-1.3.1 fails to build - gversionmacros.h:52: Parse error at "defined"
Summary: media-sound/clementine-1.3.1 fails to build - gversionmacros.h:52: Parse erro...
Status: RESOLVED DUPLICATE of bug 635394
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Fat-Zer
URL: https://github.com/clementine-player/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-30 11:12 UTC by Sergio
Modified: 2017-10-30 12:43 UTC (History)
5 users (show)

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


Attachments
emerge --info media-sound/clementine (emerge--info-clementine.txt,20.08 KB, text/plain)
2017-10-30 11:14 UTC, Sergio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergio 2017-10-30 11:12:12 UTC
I run (in two computers) in a compilation error, exactly described here: https://bugzilla.redhat.com/show_bug.cgi?id=1396755
I don't arrive to understand the deps tree, but the error arrived after a glibc update.

The problem has been recognized and resolved upstream: https://github.com/clementine-player/Clementine/commit/2d1b425493797b24bca9e190f9b57fb694a04f2e

I suppose that a similar patch could be adopted for this version of clementine. They made so in Arch/AUR (https://aur.archlinux.org/cgit/aur.git/commit/?h=clementine-git&id=bd90f661cdb4882e2af0aba111317afe105eb63e) before the upstream solution.

Reproducible: Always

Steps to Reproduce:
1. update to sys-libs/glibc-2.25-r8 (not sure that this is relevant)
2. emerge media-sound/clementine
3.
Actual Results:  
~~~~ snippet ~~~~
[ 10%] Generating covers/moc_albumcoverexporter.cxx
cd /var/tmp/portage/media-sound/clementine-1.3.1-r5/work/clementine-1.3.1_build/src/core && /usr/lib64/qt4/bin/moc @/var/tmp/portage/media-sound/clementine-1.3.1-r5/work/clementine-1.3.1_build/src/core/moc_taskmanager.cxx_parameters
cd /var/tmp/portage/media-sound/clementine-1.3.1-r5/work/clementine-1.3.1_build/src/covers && /usr/lib64/qt4/bin/moc @/var/tmp/portage/media-sound/clementine-1.3.1-r5/work/clementine-1.3.1_build/src/covers/moc_albumcoverexporter.cxx_parameters
/usr/include/glib-2.0/glib/gversionmacros.h:52: Parse error at "defined"
make[2]: *** [src/CMakeFiles/clementine_lib.dir/build.make:309: src/core/moc_organise.cxx] Error 1

Expected Results:  
Successful compilation.

emerge --info below
Comment 1 Sergio 2017-10-30 11:14:29 UTC
Created attachment 500972 [details]
emerge --info media-sound/clementine
Comment 2 Michael Palimaka (kensington) gentoo-dev 2017-10-30 12:08:03 UTC
Please try updating to qtcore-4.8.7-r3 and trying clementine again.
Comment 3 Sergio 2017-10-30 12:41:44 UTC
Done.
media-sound/clementine-1.3.1-r5 built successfully after upgrading to dev-qt/qtcore-4.8.7-r3
Comment 4 Michael Palimaka (kensington) gentoo-dev 2017-10-30 12:43:35 UTC

*** This bug has been marked as a duplicate of bug 635394 ***