Re: Strange Inverse Result [OSX Snow Leopard]

Ryan Schmidt <[email protected]> Sat, 10 Oct 2009 19:25:31 -0500
Newsgroups gmane.comp.video.image-magick.bugs
Message-ID <[email protected]>
On Oct 10, 2009, at 10:27,  
[email protected] wrote:

>> The + symbol is black and the background is white
>
> Which version of ImageMagick are you using?  Which version of TIFF?   
> We're
> using ImageMagick 6.5.6-10 and libtiff 3.9.1 and we get the expected  
> results,
> black background and a white +.

I am the maintainer of ImageMagick in MacPorts and I am able to  
reproduce the issue with ImageMagick @6.5.6-1_0+q8+universal and  
@6.5.6-10_0+q8+universal on Snow Leopard (with tiff @3.9.1_0+macosx 
+universal). On my machine, ImageMagick and all its dependencies are  
built universal, for x86_64 and i386.

Perhaps building universal is the problem. Billy, are you building  
with the universal variant as well? If so, you could try rebuilding  
everything without it. I have not yet had a chance to test without it.

If universal is the issue, maybe ImageMagick or tiff or one of the  
other dependencies is trying to detect the bit size at configure time  
(which wouldn't work right since configure is run only once and then  
serves both architectures) instead of using __LP64__ #defines at build  
time (which would work fine). If we find which software is doing this,  
we could also switch it to use the muniversal portgroup in MacPorts,  
which configures and builds for each architecture separately instead  
of together, and then merges the result. This method sometimes has its  
own set of issues, however. FYI, tiff is already using muniversal in  
MacPorts.