Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 371033 - dev-python/pythonmagick Image.h:122:47: error: reference to 'ssize_t' is ambiguous
Summary: dev-python/pythonmagick Image.h:122:47: error: reference to 'ssize_t' is ambi...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-10 13:55 UTC by Nico Schlömer
Modified: 2011-06-10 17:02 UTC (History)
0 users

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


Attachments
build log (1307713700-install-dev-python_pythonmagick-0.9.5:0::gentoo.out,160.90 KB, text/plain)
2011-06-10 13:56 UTC, Nico Schlömer
Details
dev-python/pythonmagick build info (pythonmagick.info,12.21 KB, text/plain)
2011-06-10 13:57 UTC, Nico Schlömer
Details
Puts Boost namespace usage last (pythonmagick-0.9.5-fix_boost_ssize_ambiguity.patch,62.00 KB, patch)
2011-06-10 15:04 UTC, Nico Schlömer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Schlömer 2011-06-10 13:55:48 UTC
Hi,

I just tried to install dev-python/pythonmagick but the compilation process failed with error messages of the kind

/usr/include/ImageMagick/Magick++/Image.h:122:47: error: reference to 'ssize_t' is ambiguous

A full build log is attached.
This appears to be the same problem as described in the Debian bug <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=587115>.

Cheers,
Nico

Reproducible: Always
Comment 1 Nico Schlömer 2011-06-10 13:56:09 UTC
Created attachment 276507 [details]
build log
Comment 2 Nico Schlömer 2011-06-10 13:57:24 UTC
Created attachment 276509 [details]
dev-python/pythonmagick build info
Comment 3 Nico Schlömer 2011-06-10 15:04:45 UTC
Created attachment 276519 [details, diff]
Puts Boost namespace usage last

Okay, I gues I've figured it out:
The issue is very much related to <http://permalink.gmane.org/gmane.comp.video.image-magick.bugs/3292>, with Boost's ssize declared prematurely. Putting the namespace declaration last fixes this.

Patch attached.

I'll contact upstream about this, too.
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-06-10 17:02:24 UTC
Update media-gfx/imagemagick.