Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 371033

Summary: dev-python/pythonmagick Image.h:122:47: error: reference to 'ssize_t' is ambiguous
Product: Gentoo Linux Reporter: Nico Schlömer <nico.schloemer>
Component: New packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log
dev-python/pythonmagick build info
Puts Boost namespace usage last

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.