Summary: | media-gfx/sam2p-0.49.1 fails to build with gcc-4.8.0 (?) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Patrick Lauer <patrick> |
Component: | New packages | Assignee: | TeX project <tex> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | carlphilippreh, cruzki123, gentoo, kaikaikai, rei4dan, spider.ch |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 461954 | ||
Attachments: | Patch for gcc-4.8 |
Description
Patrick Lauer
2013-03-27 05:47:08 UTC
Almost certainly caused by gcc-4.8.x as this package tends to break with each version due to the odd .pl script it ships with. Perhaps you can verify by trying with gcc-4.7.x or older? Created attachment 346022 [details, diff]
Patch for gcc-4.8
The first part of the patch contains two fixes that upstream did for gcc-4.8. The second part removes a stray comma that gcc-4.8 also complains about.
Had the same problem with gcc 4.8.1 on my x64 system. I can confirm that Philipps patch fixes the problem. Thanks Philipp! (In reply to Samuli Suominen from comment #1) > Almost certainly caused by gcc-4.8.x as this package tends to break with > each version due to the odd .pl script it ships with. > Perhaps you can verify by trying with gcc-4.7.x or older? I was able to build the patched sam2p with gcc-4.7.3. No particular warning/error, at the moment at least. (In reply to Philipp from comment #2) > Created attachment 346022 [details, diff] [details, diff] > Patch for gcc-4.8 > > The first part of the patch contains two fixes that upstream did for > gcc-4.8. The second part removes a stray comma that gcc-4.8 also complains > about. applied, thanks (similar patch has landed upstream) |