Compile fails. (I've fixed the bug in a local overlay)
[ebuild R ] media-gfx/graphviz-2.22.2-r1 USE="cairo gtk jpeg png python -doc -examples -gnome -java -lasi -nls -perl -ruby -tcl" 0 kB [1=>0]
shapes.c:2361: warning: passing argument 1 of 'find_user_shape' discards qualifiers from pointer target type
Reproducible: Couldn't Reproduce
Steps to Reproduce:
I had to add a patch to a local overlay ebuild here in order to get graphviz installed. Now I can't reproduce, even if I emerge -C graphviz first. Sorry. :\
The error was however reliably reproducible until I added my local ebuild.
(Yes I'm sure I am not building my ebuild with patch now.)
Created attachment 187741 [details]
Working ebuild, apply patch and depend on >=libltdl-2.0 per #261658
Created attachment 187743 [details, diff]
Patch changing find_user_shape() argument from char* to const char*
(In reply to comment #0)
> shapes.c:2361: warning: passing argument 1 of 'find_user_shape' discards qualifiers from pointer target type
Because I can't reproduce I copypasted this error from another compile. I am unsure if I got a warning or error during the failing emerge, but emerge did die.
Thank you for your report, Peter.
This is not an error but a warning so it does not harm. Please, report your patch upstream so they could fix it. Most probably emerge died because of bug 265859 which I'm going to fix in a moment.