| Summary: | media-gfx/sam2p-0.49.1 on El Captain (prefix): cannot compute depends | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Han <jkmls> |
| Component: | Current packages | Assignee: | TeX project <tex> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | gibgibon, kentnl, michael, prefix |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Extend sam2p dependency detection script to cope with various new and changed error and warning messages of gcc and clang
Adjust to changed clang warning message format. |
||
|
Description
Han
2016-09-02 14:24:17 UTC
Created attachment 444808 [details, diff]
Extend sam2p dependency detection script to cope with various new and changed error and warning messages of gcc and clang
Here's the actual patch with what I remember of what it does: Extend sam2p dependency detection script to cope with various new error and warning messages of gcc and clang.
This issue doesn't look prefix specific. Replicated failure in chroot: checking size of bool... 1 configure: creating ./config.status config.status: creating Makehelp config.status: creating config.h running gmake Makedep... error configure: error: cannot compute depends Created attachment 518964 [details, diff] Adjust to changed clang warning message format. Yes, it's the general problem that ccdep.pl parses compiler messages. Whenever any compiler message changes, it breaks. Prefix on Mac triggers this more readily because clang is the default compiler there. Upstream is aware of the general issue and has done some work to make ccdep.pl more robust: https://github.com/pts/sam2p/commit/909cbb833ceda9dbbf16c207a51390c7766ed54d. With 0.49.4 I needed only the attached patch to adjust it to clang-5's changed warning message format. I haven't reported this upstream yet due to lack of time to put the report together. Could one of you do this? GCC is used by default nowadays, so this probably is now a different topic |