Summary: | dev-python/pillow-5.3.0 in gentoo prefix: gcc-7.3.0 cannot parse binary operator before token "(" | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Horea Christian <gentoo> |
Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
emerge --info |
Description
Horea Christian
2018-11-04 00:48:07 UTC
Created attachment 553998 [details]
build.log
Created attachment 554000 [details]
emerge --info
Looks as if this package is too old or your compiler too new. Are you sure gcc-7.3 is in use? I no longer get this bug when trying to emerge =dev-python/pillow-5.3.0 on Prefix, I now get https://bugs.gentoo.org/673132 I am unsure whether this is a new bug which blocks the build system from reaching this bug here, or if this bug has quietly stopped happening, and there was another issue just waiting behind it. *** Bug 673132 has been marked as a duplicate of this bug. *** bug #673132 has the exact same compilation problem. /gentoo/usr/include/sys/cdefs.h:467:49: error: missing binary operator before token "(" #if __GNUC_PREREQ (4,8) || __glibc_clang_prereq (3,5) ^ __GNUC_PREREQ is a glibc thing, your headers come from your Prefix, but they probably don't match with your running glibc. How was your prefix bootstrapped? Do you run RAP? Yes, I ran the RAP script The pillow part of this PR on github solves the issue. https://github.com/gentoo/gentoo/pull/9822 It would be really great if you could help get this merged. Ah, so pillow is likely picking up the host compiler. I've pushed the Pillow fix now. (In reply to James Le Cuirot from comment #11) > I've pushed the Pillow fix now. Thank you James! |