Page 1 of 2

Solaris compilation warnings

Posted: 2011-05-25T08:39:26-07:00
by axelrose
Hello,

I successfully compile ImageMagick under Solaris with two minor problems:

1. Failed validation

Code: Select all

FAIL: tests/validate-formats-in-memory.sh (exit: 134)
=====================================================

Assertion failed: data != (const unsigned char *) NULL, file magick/blob.c, line 3966, function WriteBlob
Version: ImageMagick 6.6.9-8 2011-05-25 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC
I ignore this because all other tests pass.
It's inconvenient though because my build script gets an exit 2.


2. A load of warnings from the used "cc" compilier (Solaris Studio 12)
I sorted them. Perhaps anybody cares ...

Code: Select all

"./magick/deprecate.h", line 103: warning:  attribute "deprecated" is unknown, ignored
"./magick/deprecate.h", line 183: warning:  attribute "format" is unknown, ignored
"./magick/exception.h", line 157: warning:  attribute "format" is unknown, ignored
"./magick/log.h", line 81: warning:  attribute "format" is unknown, ignored
"./magick/magick-type.h", line 152: warning: enumerator value overflows INT_MAX (2147483647)
"./magick/memory_.h", line 35: warning:  attribute "nonnull" is unknown, ignored
"./magick/property.h", line 39: warning:  attribute "format" is unknown, ignored
"./magick/property.h", line 41: warning:  attribute "format" is unknown, ignored
"./magick/string_.h", line 71: warning:  attribute "nonnull" is unknown, ignored
"./magick/string_.h", line 81: warning:  attribute "format" is unknown, ignored
"./magick/string_.h", line 98: warning:  attribute "nonnull" is unknown, ignored
"./wand/deprecate.h", line 101: warning:  attribute "deprecated" is unknown, ignored
"coders/bmp.c", line 1129: warning: statement not reached
"coders/bmp.c", line 1229: warning: statement not reached
"coders/bmp.c", line 1284: warning: statement not reached
"coders/bmp.c", line 1833: warning: statement not reached
"coders/bmp.c", line 822: warning: statement not reached
"coders/bmp.c", line 824: warning: statement not reached
"coders/bmp.c", line 826: warning: statement not reached
"coders/bmp.c", line 914: warning: statement not reached
"coders/bmp.c", line 927: warning: statement not reached
"coders/cut.c", line 487: warning: statement not reached
"coders/dcm.c", line 3070: warning: statement not reached
"coders/dds.c", line 280: warning: statement not reached
"coders/dds.c", line 339: warning: statement not reached
"coders/dds.c", line 346: warning: statement not reached
"coders/dib.c", line 1218: warning: statement not reached
"coders/dib.c", line 847: warning: statement not reached
"coders/gif.c", line 1067: warning: statement not reached
"coders/gif.c", line 1252: warning: statement not reached
"coders/gif.c", line 1261: warning: statement not reached
"coders/gif.c", line 1297: warning: statement not reached
"coders/gif.c", line 1306: warning: statement not reached
"coders/gif.c", line 1333: warning: statement not reached
"coders/gif.c", line 1860: warning: statement not reached
"coders/histogram.c", line 259: warning: statement not reached
"coders/hrz.c", line 313: warning: statement not reached
"coders/icon.c", line 286: warning: statement not reached
"coders/icon.c", line 573: warning: statement not reached
"coders/ipl.c", line 231: warning: statement not reached
"coders/mat.c", line 732: warning: statement not reached
"coders/mat.c", line 832: warning: statement not reached
"coders/mat.c", line 853: warning: statement not reached
"coders/meta.c", line 1124: warning: statement not reached
"coders/meta.c", line 1172: warning: statement not reached
"coders/meta.c", line 1188: warning: statement not reached
"coders/meta.c", line 1197: warning: statement not reached
"coders/meta.c", line 1210: warning: statement not reached
"coders/meta.c", line 1276: warning: statement not reached
"coders/meta.c", line 1306: warning: statement not reached
"coders/meta.c", line 1355: warning: statement not reached
"coders/miff.c", line 1148: warning: statement not reached
"coders/miff.c", line 2216: warning: statement not reached
"coders/mpc.c", line 1347: warning: statement not reached
"coders/mpc.c", line 836: warning: statement not reached
"coders/palm.c", line 545: warning: statement not reached
"coders/pcd.c", line 203: warning: statement not reached
"coders/pcd.c", line 282: warning: statement not reached
"coders/pcl.c", line 800: warning: statement not reached
"coders/pcl.c", line 815: warning: statement not reached
"coders/pcl.c", line 826: warning: statement not reached
"coders/pdb.c", line 422: warning: statement not reached
"coders/pdb.c", line 523: warning: statement not reached
"coders/pdf.c", line 2044: warning: statement not reached
"coders/pdf.c", line 2139: warning: statement not reached
"coders/pdf.c", line 2230: warning: statement not reached
"coders/pdf.c", line 2430: warning: statement not reached
"coders/pict.c", line 1105: warning: statement not reached
"coders/pict.c", line 1157: warning: statement not reached
"coders/png.c", line 1711: warning: statement not reached
"coders/png.c", line 1719: warning: statement not reached
"coders/png.c", line 3290: warning: statement not reached
"coders/png.c", line 3634: warning: statement not reached
"coders/png.c", line 4153: warning: statement not reached
"coders/png.c", line 5865: warning: statement not reached
"coders/png.c", line 8168: warning: statement not reached
"coders/pnm.c", line 1250: warning: statement not reached
"coders/psd.c", line 1019: warning: statement not reached
"coders/psd.c", line 1065: warning: statement not reached
"coders/psd.c", line 1209: warning: statement not reached
"coders/psd.c", line 925: warning: statement not reached
"coders/raw.c", line 492: warning: statement not reached
"coders/raw.c", line 512: warning: statement not reached
"coders/raw.c", line 520: warning: statement not reached
"coders/raw.c", line 540: warning: statement not reached
"coders/sfw.c", line 271: warning: statement not reached
"coders/sfw.c", line 293: warning: statement not reached
"coders/sgi.c", line 333: warning: statement not reached
"coders/sun.c", line 384: warning: statement not reached
"coders/tiff.c", line 1049: warning: statement not reached
"coders/tiff.c", line 1060: warning: statement not reached
"coders/tiff.c", line 1111: warning: statement not reached
"coders/tiff.c", line 1228: warning: statement not reached
"coders/tiff.c", line 1286: warning: statement not reached
"coders/tiff.c", line 1449: warning: statement not reached
"coders/tiff.c", line 1458: warning: statement not reached
"coders/tiff.c", line 1557: warning: statement not reached
"coders/tiff.c", line 1564: warning: statement not reached
"coders/tiff.c", line 1982: warning: statement not reached
"coders/tiff.c", line 998: warning: statement not reached
"coders/tim.c", line 380: warning: statement not reached
"coders/viff.c", line 483: warning: statement not reached
"coders/wpg.c", line 1131: warning: statement not reached
"coders/wpg.c", line 1169: warning: statement not reached
"coders/wpg.c", line 1410: warning: statement not reached
"coders/xcf.c", line 1306: warning: statement not reached
"magick/blob.c", line 1947: warning: statement not reached
"magick/blob.c", line 2631: warning:  attribute "unused" is unknown, ignored
"magick/blob.c", line 2632: warning:  attribute "unused" is unknown, ignored
"magick/blob.c", line 3685: warning: statement not reached
"magick/blob.c", line 3809: warning: argument #1 is incompatible with prototype:
"magick/cache.c", line 1202: warning:  attribute "unused" is unknown, ignored
"magick/cipher.c", line 614: warning: statement not reached
"magick/cipher.c", line 623: warning: statement not reached
"magick/cipher.c", line 815: warning: statement not reached
"magick/cipher.c", line 824: warning: statement not reached
"magick/colorspace.c", line 2175: warning: statement not reached
"magick/composite.c", line 1184: warning:  attribute "unused" is unknown, ignored
"magick/composite.c", line 203: warning:  attribute "unused" is unknown, ignored
"magick/composite.c", line 670: warning:  attribute "unused" is unknown, ignored
"magick/composite.c", line 996: warning:  attribute "unused" is unknown, ignored
"magick/constitute.c", line 1055: warning: statement not reached
"magick/constitute.c", line 245: warning:  attribute "unused" is unknown, ignored
"magick/constitute.c", line 246: warning:  attribute "unused" is unknown, ignored
"magick/deprecate.c", line 1211: warning: statement not reached
"magick/deprecate.c", line 4117: warning:  attribute "unused" is unknown, ignored
"magick/deprecate.c", line 4341: warning: statement not reached
"magick/deprecate.c", line 6134: warning:  attribute "unused" is unknown, ignored
"magick/distort.c", line 410: warning: statement not reached
"magick/draw.c", line 1768: warning: statement not reached
"magick/draw.c", line 1780: warning: statement not reached
"magick/draw.c", line 453: warning:  attribute "unused" is unknown, ignored
"magick/draw.c", line 699: warning:  attribute "unused" is unknown, ignored
"magick/effect.c", line 1416: warning: statement not reached
"magick/effect.c", line 1829: warning: statement not reached
"magick/effect.c", line 224: warning: statement not reached
"magick/effect.c", line 259: warning: statement not reached
"magick/effect.c", line 2673: warning: statement not reached
"magick/effect.c", line 3478: warning: statement not reached
"magick/effect.c", line 5238: warning: statement not reached
"magick/effect.c", line 543: warning: statement not reached
"magick/effect.c", line 578: warning: statement not reached
"magick/effect.c", line 873: warning: statement not reached
"magick/enhance.c", line 1770: warning: statement not reached
"magick/exception.c", line 256: warning:  attribute "unused" is unknown, ignored
"magick/exception.c", line 298: warning:  attribute "unused" is unknown, ignored
"magick/exception.c", line 340: warning:  attribute "unused" is unknown, ignored
"magick/fx.c", line 1633: warning: statement not reached
"magick/fx.c", line 2961: warning: statement not reached
"magick/fx.c", line 5386: warning: statement not reached
"magick/layer.c", line 1041: warning: statement not reached
"magick/locale.c", line 728: warning:  attribute "unused" is unknown, ignored
"magick/log.c", line 783: warning:  attribute "unused" is unknown, ignored
"magick/module.c", line 863: warning:  attribute "unused" is unknown, ignored
"magick/morphology.c", line 1033: warning: statement not reached
"magick/morphology.c", line 2124: warning: statement not reached
"magick/option.c", line 2120: warning:  attribute "unused" is unknown, ignored
"magick/paint.c", line 192: warning: statement not reached
"magick/paint.c", line 607: warning: statement not reached
"magick/profile.c", line 1020: warning: statement not reached
"magick/profile.c", line 1146: warning: statement not reached
"magick/profile.c", line 1150: warning: statement not reached
"magick/profile.c", line 1154: warning: statement not reached
"magick/profile.c", line 1158: warning: statement not reached
"magick/profile.c", line 1162: warning: statement not reached
"magick/profile.c", line 1170: warning: statement not reached
"magick/profile.c", line 1188: warning: statement not reached
"magick/profile.c", line 1199: warning: statement not reached
"magick/profile.c", line 840: warning:  attribute "unused" is unknown, ignored
"magick/property.c", line 1571: warning:  attribute "unused" is unknown, ignored
"magick/property.c", line 1572: warning:  attribute "unused" is unknown, ignored
"magick/property.c", line 1678: warning: constant promoted according to the 1999 ISO C standard
"magick/property.c", line 1681: warning: constant promoted according to the 1999 ISO C standard
"magick/property.c", line 1875: warning: constant promoted according to the 1999 ISO C standard
"magick/property.c", line 1878: warning: constant promoted according to the 1999 ISO C standard
"magick/resize.c", line 140: warning:  attribute "unused" is unknown, ignored
"magick/resize.c", line 156: warning:  attribute "unused" is unknown, ignored
"magick/resize.c", line 169: warning:  attribute "unused" is unknown, ignored
"magick/resize.c", line 183: warning:  attribute "unused" is unknown, ignored
"magick/resize.c", line 184: warning:  attribute "unused" is unknown, ignored
"magick/resize.c", line 1905: warning:  attribute "unused" is unknown, ignored
"magick/resize.c", line 1906: warning:  attribute "unused" is unknown, ignored
"magick/resize.c", line 262: warning:  attribute "unused" is unknown, ignored
"magick/resize.c", line 2700: warning: statement not reached
"magick/resize.c", line 273: warning:  attribute "unused" is unknown, ignored
"magick/resize.c", line 284: warning:  attribute "unused" is unknown, ignored
"magick/resize.c", line 2888: warning: statement not reached
"magick/resize.c", line 335: warning:  attribute "unused" is unknown, ignored
"magick/resize.c", line 348: warning:  attribute "unused" is unknown, ignored
"magick/resize.c", line 363: warning:  attribute "unused" is unknown, ignored
"magick/resize.c", line 463: warning:  attribute "unused" is unknown, ignored
"magick/resize.c", line 476: warning:  attribute "unused" is unknown, ignored
"magick/resource.c", line 668: warning:  attribute "unused" is unknown, ignored
"magick/shear.c", line 925: warning: statement not reached
"magick/stream.c", line 669: warning:  attribute "unused" is unknown, ignored
"magick/token.c", line 269: warning: end-of-loop code not reached
"magick/xml-tree.c", line 1353: warning:  attribute "unused" is unknown, ignored
"magick/xml-tree.c", line 1390: warning: statement not reached
"wand/animate.c", line 229: warning:  attribute "unused" is unknown, ignored
"wand/compare.c", line 369: warning: statement not reached
"wand/conjure.c", line 133: warning:  attribute "unused" is unknown, ignored
"wand/display.c", line 264: warning:  attribute "unused" is unknown, ignored
"wand/drawing-wand.c", line 269: warning:  attribute "format" is unknown, ignored
"wand/drawing-wand.c", line 271: warning:  attribute "format" is unknown, ignored
"wand/import.c", line 221: warning:  attribute "unused" is unknown, ignored
"wand/mogrify.c", line 348: warning:  attribute "unused" is unknown, ignored
"wand/mogrify.c", line 3562: warning:  attribute "unused" is unknown, ignored
Regards, Axel.

Re: Solaris compilation warnings

Posted: 2011-05-25T09:30:23-07:00
by magick
Can you post a URL to tests/validate-formats-in-memory.log. It will help identify which unit test failed. Thanks.

Re: Solaris compilation warnings

Posted: 2011-05-25T13:12:57-07:00
by axelrose
It's rather short and doesn't point to a specific test.
Here it is:

Code: Select all

FAIL: tests/validate-formats-in-memory.sh (exit: 134)
=====================================================

Assertion failed: data != (const unsigned char *) NULL, file magick/blob.c, line 3966, function WriteBlob
Version: ImageMagick 6.6.9-8 2011-05-25 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC

ImageMagick Validation Suite (FormatsInMemory)

validate image formats in memory:
  test 0: ART/Undefined/TrueColor/8-bits... pass.
  test 1: ART/Undefined/TrueColorMatte/8-bits... pass.
  test 2: ART/Undefined/Grayscale/8-bits... pass.
  test 3: ART/Undefined/GrayscaleMatte/8-bits... pass.
  test 4: ART/Undefined/Palette/8-bits... pass.
  test 5: ART/Undefined/PaletteMatte/8-bits... pass.
  test 6: ART/Undefined/PaletteBilevelMatte/8-bits... pass.
  test 7: ART/Undefined/Bilevel/1-bits... pass.
  test 8: ART/Undefined/ColorSeparation/8-bits... pass.
  test 9: ART/Undefined/ColorSeparationMatte/8-bits... pass.
  test 10: ART/Undefined/TrueColor/10-bits... pass.
  test 11: ART/Undefined/TrueColor/12-bits... pass.
  test 12: ART/Undefined/TrueColor/16-bits... pass.
  test 13: AVS/Undefined/TrueColor/8-bits... pass.
  test 14: AVS/Undefined/TrueColorMatte/8-bits... pass.
  test 15: AVS/Undefined/Grayscale/8-bits... pass.
  test 16: AVS/Undefined/GrayscaleMatte/8-bits... pass.
  test 17: AVS/Undefined/Palette/8-bits... pass.
  test 18: AVS/Undefined/PaletteMatte/8-bits... pass.
  test 19: AVS/Undefined/PaletteBilevelMatte/8-bits... pass.
  test 20: AVS/Undefined/Bilevel/1-bits... pass.
  test 21: AVS/Undefined/ColorSeparation/8-bits... pass.
  test 22: AVS/Undefined/ColorSeparationMatte/8-bits... pass.
  test 23: AVS/Undefined/TrueColor/10-bits... pass.
  test 24: AVS/Undefined/TrueColor/12-bits... pass.
  test 25: AVS/Undefined/TrueColor/16-bits... pass.
  test 26: BMP/Undefined/TrueColor/8-bits... pass.
  test 27: BMP/Undefined/TrueColorMatte/8-bits... pass.
  test 28: BMP/Undefined/Grayscale/8-bits... pass.
  test 29: BMP/Undefined/GrayscaleMatte/8-bits... pass.
  test 30: BMP/Undefined/Palette/8-bits... pass.
  test 31: BMP/Undefined/PaletteMatte/8-bits... pass.
  test 32: BMP/Undefined/PaletteBilevelMatte/8-bits... pass.
  test 33: BMP/Undefined/Bilevel/1-bits... pass.
  test 34: BMP/Undefined/ColorSeparation/8-bits... pass.
  test 35: BMP/Undefined/ColorSeparationMatte/8-bits... pass.
  test 36: BMP/Undefined/TrueColor/10-bits... pass.
  test 37: BMP/Undefined/TrueColor/12-bits... pass.
  test 38: BMP/Undefined/TrueColor/16-bits... pass.
  test 39: CIN/Undefined/TrueColor/8-bits... pass.
  test 40: CIN/Undefined/TrueColorMatte/8-bits... pass.
  test 41: CIN/Undefined/Grayscale/8-bits... pass.
  test 42: CIN/Undefined/GrayscaleMatte/8-bits... pass.
  test 43: CIN/Undefined/Palette/8-bits... pass.
  test 44: CIN/Undefined/PaletteMatte/8-bits... pass.
  test 45: CIN/Undefined/PaletteBilevelMatte/8-bits... pass.
  test 46: CIN/Undefined/Bilevel/1-bits... pass.
  test 47: CIN/Undefined/ColorSeparation/8-bits... pass.
  test 48: CIN/Undefined/ColorSeparationMatte/8-bits... pass.
  test 49: CIN/Undefined/TrueColor/10-bits... pass.
  test 50: CIN/Undefined/TrueColor/12-bits... pass.
  test 51: CIN/Undefined/TrueColor/16-bits... pass.
  test 52: CMYK/Undefined/TrueColor/8-bits... pass.
  test 53: CMYK/Undefined/TrueColorMatte/8-bits... pass.
  test 54: CMYK/Undefined/Grayscale/8-bits... pass.
  test 55: CMYK/Undefined/GrayscaleMatte/8-bits... pass.
  test 56: CMYK/Undefined/Palette/8-bits... pass.
  test 57: CMYK/Undefined/PaletteMatte/8-bits... pass.
  test 58: CMYK/Undefined/PaletteBilevelMatte/8-bits... pass.
  test 59: CMYK/Undefined/Bilevel/1-bits... pass.
  test 60: CMYK/Undefined/ColorSeparation/8-bits... pass.
  test 61: CMYK/Undefined/ColorSeparationMatte/8-bits... pass.
  test 62: CMYK/Undefined/TrueColor/10-bits... pass.
  test 63: CMYK/Undefined/TrueColor/12-bits... pass.
  test 64: CMYK/Undefined/TrueColor/16-bits... pass.
  test 65: CMYKA/Undefined/TrueColor/8-bits... pass.
  test 66: CMYKA/Undefined/TrueColorMatte/8-bits... pass.
  test 67: CMYKA/Undefined/Grayscale/8-bits... pass.
  test 68: CMYKA/Undefined/GrayscaleMatte/8-bits... pass.
  test 69: CMYKA/Undefined/Palette/8-bits... pass.
  test 70: CMYKA/Undefined/PaletteMatte/8-bits... pass.
  test 71: CMYKA/Undefined/PaletteBilevelMatte/8-bits... pass.
  test 72: CMYKA/Undefined/Bilevel/1-bits... pass.
  test 73: CMYKA/Undefined/ColorSeparation/8-bits... pass.
  test 74: CMYKA/Undefined/ColorSeparationMatte/8-bits... pass.
  test 75: CMYKA/Undefined/TrueColor/10-bits... pass.
  test 76: CMYKA/Undefined/TrueColor/12-bits... pass.
  test 77: CMYKA/Undefined/TrueColor/16-bits... pass.
  test 78: DCX/Undefined/TrueColor/8-bits... pass.
  test 79: DCX/Undefined/TrueColorMatte/8-bits... pass.
  test 80: DCX/Undefined/Grayscale/8-bits... pass.
  test 81: DCX/Undefined/GrayscaleMatte/8-bits... pass.
  test 82: DCX/Undefined/Palette/8-bits... pass.
  test 83: DCX/Undefined/PaletteMatte/8-bits... pass.
  test 84: DCX/Undefined/PaletteBilevelMatte/8-bits... pass.
  test 85: DCX/Undefined/Bilevel/1-bits... pass.
  test 86: DCX/Undefined/ColorSeparation/8-bits... pass.
  test 87: DCX/Undefined/ColorSeparationMatte/8-bits... pass.
  test 88: DCX/Undefined/TrueColor/10-bits... pass.
  test 89: DCX/Undefined/TrueColor/12-bits... pass.
  test 90: DCX/Undefined/TrueColor/16-bits... pass.
  test 91: DPX/Undefined/TrueColor/8-bits... pass.
  test 92: DPX/Undefined/TrueColorMatte/8-bits... pass.
  test 93: DPX/Undefined/Grayscale/8-bits... pass.
  test 94: DPX/Undefined/GrayscaleMatte/8-bits... pass.
  test 95: DPX/Undefined/Palette/8-bits... pass.
  test 96: DPX/Undefined/PaletteMatte/8-bits... pass.
  test 97: DPX/Undefined/PaletteBilevelMatte/8-bits... pass.
  test 98: DPX/Undefined/Bilevel/1-bits... pass.
  test 99: DPX/Undefined/ColorSeparation/8-bits... pass.
  test 100: DPX/Undefined/ColorSeparationMatte/8-bits... pass.
  test 101: DPX/Undefined/TrueColor/10-bits... pass.
  test 102: DPX/Undefined/TrueColor/12-bits... pass.
  test 103: DPX/Undefined/TrueColor/16-bits... pass.
  test 104: GIF/Undefined/TrueColor/8-bits... pass.
  test 105: GIF/Undefined/TrueColorMatte/8-bits... pass.
  test 106: GIF/Undefined/Grayscale/8-bits... pass.
  test 107: GIF/Undefined/GrayscaleMatte/8-bits... pass.
  test 108: GIF/Undefined/Palette/8-bits... pass.
  test 109: GIF/Undefined/PaletteMatte/8-bits... pass.
  test 110: GIF/Undefined/PaletteBilevelMatte/8-bits... pass.
  test 111: GIF/Undefined/Bilevel/1-bits... pass.
  test 112: GIF/Undefined/ColorSeparation/8-bits... pass.
  test 113: GIF/Undefined/ColorSeparationMatte/8-bits... pass.
  test 114: GIF/Undefined/TrueColor/10-bits... pass.
  test 115: GIF/Undefined/TrueColor/12-bits... pass.
  test 116: GIF/Undefined/TrueColor/16-bits... pass.
  test 117: GIF87/Undefined/TrueColor/8-bits... pass.
  test 118: GIF87/Undefined/TrueColorMatte/8-bits... pass.
  test 119: GIF87/Undefined/Grayscale/8-bits... pass.
  test 120: GIF87/Undefined/GrayscaleMatte/8-bits... pass.
  test 121: GIF87/Undefined/Palette/8-bits... pass.
  test 122: GIF87/Undefined/PaletteMatte/8-bits... pass.
  test 123: GIF87/Undefined/PaletteBilevelMatte/8-bits... pass.
  test 124: GIF87/Undefined/Bilevel/1-bits... pass.
  test 125: GIF87/Undefined/ColorSeparation/8-bits... pass.
  test 126: GIF87/Undefined/ColorSeparationMatte/8-bits... pass.
  test 127: GIF87/Undefined/TrueColor/10-bits... pass.
  test 128: GIF87/Undefined/TrueColor/12-bits... pass.
  test 129: GIF87/Undefined/TrueColor/16-bits... pass.
  test 130: GRAY/Undefined/TrueColor/8-bits... pass.
  test 131: GRAY/Undefined/TrueColorMatte/8-bits... pass.
  test 132: GRAY/Undefined/Grayscale/8-bits... pass.
  test 133: GRAY/Undefined/GrayscaleMatte/8-bits... pass.
  test 134: GRAY/Undefined/Palette/8-bits... pass.
  test 135: GRAY/Undefined/PaletteMatte/8-bits... pass.
  test 136: GRAY/Undefined/PaletteBilevelMatte/8-bits... pass.
  test 137: GRAY/Undefined/Bilevel/1-bits... pass.
  test 138: GRAY/Undefined/ColorSeparation/8-bits... pass.
  test 139: GRAY/Undefined/ColorSeparationMatte/8-bits... pass.
  test 140: GRAY/Undefined/TrueColor/10-bits... pass.
  test 141: GRAY/Undefined/TrueColor/12-bits... pass.
  test 142: GRAY/Undefined/TrueColor/16-bits... pass.
  test 143: HRZ/Undefined/TrueColor/8-bits... pass.
  test 144: HRZ/Undefined/TrueColorMatte/8-bits... pass.
  test 145: HRZ/Undefined/Grayscale/8-bits... pass.
  test 146: HRZ/Undefined/GrayscaleMatte/8-bits... pass.
  test 147: HRZ/Undefined/Palette/8-bits... pass.
  test 148: HRZ/Undefined/PaletteMatte/8-bits... pass.
  test 149: HRZ/Undefined/PaletteBilevelMatte/8-bits... pass.
  test 150: HRZ/Undefined/Bilevel/1-bits... pass.
  test 151: HRZ/Undefined/ColorSeparation/8-bits... pass.
  test 152: HRZ/Undefined/ColorSeparationMatte/8-bits... pass.
  test 153: HRZ/Undefined/TrueColor/10-bits... pass.
  test 154: HRZ/Undefined/TrueColor/12-bits... pass.
  test 155: HRZ/Undefined/TrueColor/16-bits... pass.
  test 156: ICB/Undefined/TrueColor/8-bits... pass.
  test 157: ICB/Undefined/TrueColorMatte/8-bits... pass.
  test 158: ICB/Undefined/Grayscale/8-bits... pass.
  test 159: ICB/Undefined/GrayscaleMatte/8-bits... pass.
  test 160: ICB/Undefined/Palette/8-bits... pass.
  test 161: ICB/Undefined/PaletteMatte/8-bits... pass.
  test 162: ICB/Undefined/PaletteBilevelMatte/8-bits... pass.
  test 163: ICB/Undefined/Bilevel/1-bits... pass.
  test 164: ICB/Undefined/ColorSeparation/8-bits... pass.
  test 165: ICB/Undefined/ColorSeparationMatte/8-bits... pass.
  test 166: ICB/Undefined/TrueColor/10-bits... pass.
  test 167: ICB/Undefined/TrueColor/12-bits... pass.
  test 168: ICB/Undefined/TrueColor/16-bits... pass.
  test 169: ICO/Undefined/TrueColor/8-bits... pass.
  test 170: ICO/Undefined/TrueColorMatte/8-bits... pass.
  test 171: ICO/Undefined/Grayscale/8-bits... pass.
  test 172: ICO/Undefined/GrayscaleMatte/8-bits... pass.
  test 173: ICO/Undefined/Palette/8-bits... pass.
  test 174: ICO/Undefined/PaletteMatte/8-bits... pass.
  test 175: ICO/Undefined/PaletteBilevelMatte/8-bits... pass.
  test 176: ICO/Undefined/Bilevel/1-bits... pass.
  test 177: ICO/Undefined/ColorSeparation/8-bits... pass.
  test 178: ICO/Undefined/ColorSeparationMatte/8-bits... pass.
  test 179: ICO/Undefined/TrueColor/10-bits... pass.
  test 180: ICO/Undefined/TrueColor/12-bits... pass.
  test 181: ICO/Undefined/TrueColor/16-bits... pass.
  test 182: ICON/Undefined/TrueColor/8-bits... pass.
  test 183: ICON/Undefined/TrueColorMatte/8-bits... pass.
  test 184: ICON/Undefined/Grayscale/8-bits... pass.
  test 185: ICON/Undefined/GrayscaleMatte/8-bits... pass.
  test 186: ICON/Undefined/Palette/8-bits... pass.
  test 187: ICON/Undefined/PaletteMatte/8-bits... pass.
  test 188: ICON/Undefined/PaletteBilevelMatte/8-bits... pass.
  test 189: ICON/Undefined/Bilevel/1-bits... pass.
  test 190: ICON/Undefined/ColorSeparation/8-bits... pass.
  test 191: ICON/Undefined/ColorSeparationMatte/8-bits... pass.
  test 192: ICON/Undefined/TrueColor/10-bits... pass.
  test 193: ICON/Undefined/TrueColor/12-bits... pass.
  test 194: ICON/Undefined/TrueColor/16-bits... pass.
  test 195: JNG/Undefined/TrueColor/8-bits... pass.
  test 196: JNG/Undefined/TrueColorMatte/8-bits... pass.
  test 197: JNG/Undefined/Grayscale/8-bits

Re: Solaris compilation warnings

Posted: 2011-05-25T15:38:13-07:00
by magick
That looks like a JNG / PNG bug. I forwarded this to the PNG developer, stand by for a response.

Re: Solaris compilation warnings

Posted: 2011-05-25T18:40:04-07:00
by glennrp
I was working in that area recently. Please try 6.6.9-10 or 6.7.0-0.

Glenn

Re: Solaris compilation warnings

Posted: 2011-05-26T01:34:44-07:00
by axelrose
6.7.0-0 doesn't compile at all.

Code: Select all

  CC     magick/magick_libMagickCore_la-locale.lo
/bin/bash ./libtool --silent --tag=CC   --mode=compile cc -xc99=all -xc99=all -DHAVE_CONFIG_H -I. -I./config  -I./ltdl -I./ltdl  -I/my/path/tools/ImageMagick-6.7.0-0/include/freetype2 -I/my/path/tools/ImageMagick-6.7.0-0/include -I/my/path/tools/ImageMagick-6.7.0-0/include -I/my/path/tools/ImageMagick-6.7.0-0/include/libxml2  -xopenmp -features=extensions -xarch=sse2 -v -D_REENTRANT -c -o magick/magick_libMagickCore_la-locale.lo `test -f 'magick/locale.c' || echo './'`magick/locale.c
cc: Warning: Optimizer level changed from 0 to 3 to support parallelized code.
"./magick/magick-type.h", line 152: warning: enumerator value overflows INT_MAX (2147483647)
"./magick/exception.h", line 157: warning:  attribute "format" is unknown, ignored
"./magick/exception.h", line 160: warning:  attribute "format" is unknown, ignored
"./magick/locale_.h", line 68: warning:  attribute "format" is unknown, ignored
"./magick/locale_.h", line 70: warning:  attribute "format" is unknown, ignored
"./magick/locale_.h", line 72: warning:  attribute "format" is unknown, ignored
"./magick/locale_.h", line 74: warning:  attribute "format" is unknown, ignored
"./magick/string_.h", line 71: warning:  attribute "nonnull" is unknown, ignored
"./magick/string_.h", line 73: warning:  attribute "nonnull" is unknown, ignored
"./magick/string_.h", line 94: warning:  attribute "nonnull" is unknown, ignored
"./magick/log.h", line 81: warning:  attribute "format" is unknown, ignored
"./magick/log.h", line 83: warning:  attribute "format" is unknown, ignored
"./magick/memory_.h", line 35: warning:  attribute "nonnull" is unknown, ignored
"magick/locale.c", line 93: warning: no explicit type given
"magick/locale.c", line 94: syntax error before or at: c_locale
"magick/locale.c", line 94: warning: old-style declaration or incorrect type for: c_locale
"magick/locale.c", line 94: non-constant initializer: op "NAME"
"magick/locale.c", line 94: syntax error before or at: 0
"magick/locale.c", line 94: warning: syntax error:  empty declaration
"magick/locale.c", line 125: warning: no explicit type given
"magick/locale.c", line 125: identifier redeclared: locale_t
        current : static int
        previous: volatile int : "magick/locale.c", line 93
"magick/locale.c", line 125: syntax error before or at: AcquireCLocale
"magick/locale.c", line 125: warning: old-style declaration or incorrect type for: AcquireCLocale
"magick/locale.c", line 165: syntax error before or at: 0
"magick/locale.c", line 1035: warning:  attribute "unused" is unknown, ignored
cc: acomp failed for magick/locale.c
make[1]: *** [magick/magick_libMagickCore_la-locale.lo] Error 1
make[1]: Leaving directory `/my/path/install/build-6700/imagemagick/ImageMagick-6.7.0-0'
make: *** [all] Error 2
I did crosscheck with a recompilation of 6.6.9-8. This is still working.

Regards, Axel

Re: Solaris compilation warnings

Posted: 2011-05-26T05:33:09-07:00
by magick
6.7.0-1 has a patch that should permit ImageMagick to compile under Solaris. If not, let us know. Thanks.

Re: Solaris compilation warnings

Posted: 2011-05-26T08:42:31-07:00
by axelrose
Thanks very much indeed for this quick correction.

Compilation is now possible again under Solaris.

Validation still fails, now with gremlin characters in the log file:
http://dl.dropbox.com/u/84530/IM/valida ... memory.log

Re: Solaris compilation warnings

Posted: 2011-05-26T09:01:08-07:00
by magick
Now that certainly does not seem right. Unfortunately we do not have a Solaris box to debug this problem. We're getting correct results under Fedora, Redhat, CentOS, Cygwin, Windows, and MSYS.

Re: Solaris compilation warnings

Posted: 2011-05-26T09:16:17-07:00
by axelrose
I'd be happy if I could debug this for you.

Just give me the printf() statements or a patch file.
I could access a subversion or git repository too.

Re: Solaris compilation warnings

Posted: 2011-05-26T10:48:08-07:00
by magick
Let's start with a sanity check. Post the output of this command:
  • convert rose: rose.png
    identify -verbose rose.png

Re: Solaris compilation warnings

Posted: 2011-05-26T11:40:06-07:00
by axelrose
I haven't done the "make install" step yet.
Sitting in the source tree of 6.7.0-1

Code: Select all

> utilities/convert rose: /tmp/rose.png
> utilities/identify /tmp/rose.png
)????p?-??@ )????p?-??@ -6.7823572748394939838e+301x-5.0613510730035206353e+302 -6.7823572748394787567e+301x-5.0613510730035206353e+302-6.7826393110252845e+301-4.1737856487134993756e+302 -6.7823572748395092108e+301-bit DirectClass  -67823572748394939837881256248799695304009469585440242923998815515509138953745109129682704309542241114130926906468908607537930077674363619434883647931839934431609459447229938253161807068828699022504947659830766447630648704903493486005973517622860873815267914560465905636629020312682179886185933426393088.000u 0:4274495020.134485096

Re: Solaris compilation warnings

Posted: 2011-05-26T12:20:45-07:00
by magick
It looks like a locale problem. Can you post a URL to your magick/magick-config.h?

Re: Solaris compilation warnings

Posted: 2011-05-26T12:38:39-07:00
by axelrose

Re: Solaris compilation warnings

Posted: 2011-05-26T18:38:29-07:00
by magick
Look for ImageMagick-6.7.0-2 tomorrow. We have a patch to fix the problem you reported. Thanks.