Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265492 - media-gfx/graphviz-2.22.2-r1 and 2.22.1 compile fails: find_user_shape() argument discards qualifiers
Summary: media-gfx/graphviz-2.22.2-r1 and 2.22.1 compile fails: find_user_shape() argu...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-08 23:26 UTC by Peter Stuge
Modified: 2009-05-19 12:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Working ebuild, apply patch and depend on >=libltdl-2.0 per #261658 (graphviz-2.22.2-r1.ebuild,5.56 KB, text/plain)
2009-04-08 23:30 UTC, Peter Stuge
Details
Patch changing find_user_shape() argument from char* to const char* (2.22.2-findusershape-const_char.patch,2.02 KB, patch)
2009-04-08 23:31 UTC, Peter Stuge
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Stuge 2009-04-08 23:26:30 UTC
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.)

Actual Results:  
Failed compile.

Expected Results:  
Successful compile.
Comment 1 Peter Stuge 2009-04-08 23:30:26 UTC
Created attachment 187741 [details]
Working ebuild, apply patch and depend on >=libltdl-2.0 per #261658
Comment 2 Peter Stuge 2009-04-08 23:31:09 UTC
Created attachment 187743 [details, diff]
Patch changing find_user_shape() argument from char* to const char*
Comment 3 Peter Stuge 2009-04-08 23:34:32 UTC
(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.
Comment 4 Peter Volkov (RETIRED) gentoo-dev 2009-05-19 12:04:55 UTC
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.