On 10/03/2012 06:20 AM, Sonam gupta wrote:
Hi,

I am upgrading Imagemagick to Imagemagick-6.7.8-6. After running 'gmake publish', I installed the updated
Imagemagick package on S12_04 test system.

While testing Imagemagick-6.7.8-6, I came across an issue

$ convert sprite.jpg sprite.pdf
convert: no decode delegate for this image format `sprite.jpg' @ error/constitute.c/ReadImage/550. convert: no images defined `sprite.pdf' @ error/convert.c/ConvertImageCommand/3044.

On running 'truss' on this I found the following:
stat64("/usr/lib/ImageMagick-6.7.8/modules-Q16/coders/jpeg.la", 0xFEFEC780) Err#2 ENOENT

On copying the 'jpeg.la' manually on to the test machine 'convert' command works without any error.

Later I added the entries for coders files (*.la) in imagemagick.p5m file but on running 'gmake publish',
these get excluded from the manifest file in the repo directory.

All '*.la' files are dropped in userland
https://grok.cz.oracle.com/source/xref/userland-default/transforms/libtool-drop#2

Certain commands like 'convert' in Imagemagick-6.7.8-6 require these '*.la' files.

How do I get these published in repo using 'gmake publish' ?

The first thing I'd ask, is there no configure option that allows convert to work in
a different way, so that these .la files aren't needed?

If that's not possible, then maybe (I haven't tried this) you can set:

PKGMOGRIFY_TRANSFORMS =

in your component Makefile (and rebuild/republish).

Hopefully this will override the existing:

PKGMOGRIFY_TRANSFORMS +=        $(WS_TOP)/transforms/libtool-drop

in .../makefile-rules/ips.mk


_______________________________________________
userland-discuss mailing list
userland-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/userland-discuss

Reply via email to