Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#53295 - [qt4] moc boost parse error

Attached to Project: Arch Linux
Opened by Ross Whitfield (rew) - Monday, 13 March 2017, 18:25 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 15 March 2017, 18:56 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Felix Yan (felixonmars)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I'm seeing `/usr/include/boost/predef/language/stdc.h:52: Parse error at "defined"` type errors when using qt4 moc. As reported in https://bugzilla.redhat.com/show_bug.cgi?id=1396755 the patch found at http://pkgs.fedoraproject.org/cgit/rpms/qt.git/tree/qt-everywhere-opensource-src-4.8.6-QTBUG-22829.patch should fix these, can this patch be added?

Additional info:
* qt4 4.8.7-14
This task depends upon

Closed by  Antonio Rojas (arojas)
Wednesday, 15 March 2017, 18:56 GMT
Reason for closing:  Fixed
Additional comments about closing:  qt4 4.8.7-16
Comment by Antonio Rojas (arojas) - Monday, 13 March 2017, 19:57 GMT
This should be fixed already in -14, have you actually tried with this version?
Comment by Ross Whitfield (rew) - Monday, 13 March 2017, 20:00 GMT
Yes I tried -14. It looks like you only applied 1 out of the 2 patches from the bugzilla bug report required to completely fix the issue.
Comment by Ross Whitfield (rew) - Tuesday, 14 March 2017, 17:43 GMT
As an example try compiling `clementine` from Community, it fails with
/usr/include/glib-2.0/glib/gversionmacros.h:52: Parse error at "defined"
/usr/include/glib-2.0/gobject/gtype.h:52: Parse error at "defined"
errors, this is using qt4 4.8.7-14 and glibc 2.25-1

Downgrading glibc to 2.24-2 allows it to compile again.

Loading...