Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 240940 - media-libs/gegl-0.0.20 - ** (lt-gegl:4782): WARNING **: GeglChantpng-load_c is /var/tmp/portage/media-libs/gegl-0.0.20/temp/gegl-magick.png really a PNG file?
Summary: media-libs/gegl-0.0.20 - ** (lt-gegl:4782): WARNING **: GeglChantpng-load_c i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 240433
  Show dependency tree
 
Reported: 2008-10-09 23:14 UTC by Ed Tomlinson
Modified: 2008-10-26 18:13 UTC (History)
2 users (show)

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


Attachments
build.log of my successful build (media-libs:gegl-0.0.20:20081010-192537.log,408.00 KB, text/plain)
2008-10-10 20:25 UTC, Rafał Mużyło
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Tomlinson 2008-10-09 23:14:52 UTC
I get the following errors after following the steps in 240433 to correct build errors:

make[4]: Entering directory `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20/docs/gallery'
--[Updating sample compositions]--
./clones.xml
convert: no decode delegate for this image format `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20/docs/gallery/data/car-stack.jpg'.
convert: missing an image filename `/var/tmp/portage/media-libs/gegl-0.0.20/temp/gegl-magick.png'.

** (lt-gegl:4782): WARNING **: GeglChantpng-load_c is /var/tmp/portage/media-libs/gegl-0.0.20/temp/gegl-magick.png really a PNG file?
make[5]: *** [clones.png] Error 255
./OpenRaster-00.xml
convert: no decode delegate for this image format `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20/docs/gallery/data/romedalen.jpg'.
convert: missing an image filename `/var/tmp/portage/media-libs/gegl-0.0.20/temp/gegl-magick.png'.

** (lt-gegl:4816): WARNING **: GeglChantpng-load_c is /var/tmp/portage/media-libs/gegl-0.0.20/temp/gegl-magick.png really a PNG file?
make[5]: *** [OpenRaster-00.png] Error 255
./OpenRaster-01.xml
convert: no decode delegate for this image format `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20/docs/gallery/data/romedalen.jpg'.
convert: missing an image filename `/var/tmp/portage/media-libs/gegl-0.0.20/temp/gegl-magick.png'.

** (lt-gegl:4846): WARNING **: GeglChantpng-load_c is /var/tmp/portage/media-libs/gegl-0.0.20/temp/gegl-magick.png really a PNG file?
make[5]: *** [OpenRaster-01.png] Error 255
./OpenRaster-04.xml
convert: no decode delegate for this image format `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20/docs/gallery/data/romedalen.jpg'.
convert: missing an image filename `/var/tmp/portage/media-libs/gegl-0.0.20/temp/gegl-magick.png'.

** (lt-gegl:4876): WARNING **: GeglChantpng-load_c is /var/tmp/portage/media-libs/gegl-0.0.20/temp/gegl-magick.png really a PNG file?
make[5]: *** [OpenRaster-04.png] Error 255
make[4]: *** [images.stamp] Error 2
make[4]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20/docs/gallery'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20/docs/gallery'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20/docs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20'
make: *** [all] Error 2

Suspect there may be another dependency missing

Reproducible: Always

Actual Results:  
compile failed

Expected Results:  
compile works
Comment 1 Rafał Mużyło 2008-10-10 01:00:16 UTC
Post the useflags of your media-gfx/imagemagick.
Comment 2 Rafał Mużyło 2008-10-10 01:11:59 UTC
And yes, media-gfx/imagemagick seems to be a rdepend of gegl.
Comment 3 Andrew A. Gill 2008-10-10 06:32:14 UTC
I get the same error.

Here are my use flags for media-gfx/imagemagick-6.4.3.5

 + + X          : Adds support for X11
 + + bzip2      : Use the bzlib compression library
 - - djvu       : support DjVu, a PDF-like document format esp. suited for scann
ed documents
 + + doc        : Adds extra documentation (API, Javadoc, etc)
 - - fontconfig : Support for configuring and customizing font access via media-
libs/fontconfig
 - - fpx        : enable media-libs/libfpx support
 + + graphviz   : Adds support for the Graphviz library
 - - gs         : enable ghostscript support
 - - hdri       : enable High Dynamic Range Images formats
 + + jbig       : enables jbig-kit support for tiff, Hylafax, ImageMagick, etc
 + + jpeg       : Adds JPEG image support
 + + jpeg2k     : Support for JPEG 2000, a wavelet-based image compression forma
t
 + + lcms       : Adds lcms support (color management engine)
 - - nocxx      : Disable support for C++ (DON'T USE THIS UNLESS YOU KNOW WHAT Y
OU'RE DOING)
 - - openexr    : Support for the OpenEXR graphics file format
 + + openmp     : build support for the OpenMP (support parallel computing), req
uires sys-devel/gcc-4.3 built with USE="openmp"
 + + perl       : Adds support/bindings for the Perl language
 + + png        : Adds support for libpng (PNG images)
 - - q32        : set quantum depth to 32
 - - q8         : set quantum depth to 8
 + + svg        : Adds support for SVG (Scalable Vector Graphics)
 + + tiff       : Adds support for the TIFF image format
 + + truetype   : Adds support for FreeType and/or FreeType2 fonts
 + + wmf        : Adds support for the Windows Metafile vector image format
 + + xml        : Add support for XML files
 + + zlib       : Adds support for zlib (de)compression
Comment 4 Gergan Penkov 2008-10-10 11:05:31 UTC
imagemagick is not a hard dependancy, try the build from bug# 240776
Comment 5 Ed Tomlinson 2008-10-10 11:06:49 UTC
(In reply to comment #1)
> Post the useflags of your media-gfx/imagemagick.



eix media-gfx/imagemagick
[U] media-gfx/imagemagick
     Available versions:  6.3.3 (~)6.3.4 6.3.5.10 6.3.8.3-r1 6.4.0.6 (~)6.4.2.0 (~)6.4.2.9 (~)6.4.3.5 {X bzip2 djvu doc fontconfig fpx graphviz gs hdri jbig jpeg jpeg2k lcms mpeg nocxx openexr openmp perl png q32 q8 svg tiff truetype wmf xml zlib}
     Installed versions:  6.4.0.6(11:19:13 AM 18/07/08)(X bzip2 perl truetype zlib -djvu -doc -fontconfig -fpx -graphviz -gs -hdri -jbig -jpeg -jpeg2k -lcms -nocxx -openexr -png -q32 -q8 -svg -tiff -wmf -xml)
     Homepage:            http://www.imagemagick.org/
     Description:         A collection of tools and libraries for many image formats
Comment 6 Ed Tomlinson 2008-10-10 11:41:06 UTC
If I rebuild imagemagic with these use options:

nstalled versions:  6.4.0.6(07:24:06 AM 10/10/08)(X bzip2 jpeg jpeg2k perl png tiff truetype wmf xml zlib -djvu -doc -fontconfig -fpx -graphviz -gs -hdri -jbig -lcms -nocxx -openexr -q32 -q8 -svg)

I get:
make[4]: Entering directory `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20/docs/gallery'
--[Updating sample compositions]--
./clones.xml

(lt-gegl:11137): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `GeglTileHandler'
**
ERROR:gegl-buffer.c:533:gegl_buffer_constructor: assertion failed: (backend)
/bin/sh: line 1: 11137 Aborted                 GEGL_DEBUG_TIME=yes GEGL_SWAP=RAM GEGL_PATH=../../operations ../../bin/gegl clones.xml -o `echo clones.png | sed s?./??` > `echo clones.png | sed s?./?? | sed -e s/png/txt/`
make[5]: *** [clones.png] Error 134
./OpenRaster-00.xml

(lt-gegl:11171): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `GeglTileHandler'
**
ERROR:gegl-buffer.c:533:gegl_buffer_constructor: assertion failed: (backend)
/bin/sh: line 1: 11171 Aborted                 GEGL_DEBUG_TIME=yes GEGL_SWAP=RAM GEGL_PATH=../../operations ../../bin/gegl OpenRaster-00.xml -o `echo OpenRaster-00.png | sed s?./??` > `echo OpenRaster-00.png | sed s?./?? | sed -e s/png/txt/`
make[5]: *** [OpenRaster-00.png] Error 134
./OpenRaster-01.xml

(lt-gegl:11200): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
./OpenRaster-04.xml

(lt-gegl:11229): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `GeglTileHandler'
**
ERROR:gegl-buffer.c:533:gegl_buffer_constructor: assertion failed: (backend)
/bin/sh: line 1: 11229 Aborted                 GEGL_DEBUG_TIME=yes GEGL_SWAP=RAM GEGL_PATH=../../operations ../../bin/gegl OpenRaster-04.xml -o `echo OpenRaster-04.png | sed s?./??` > `echo OpenRaster-04.png | sed s?./?? | sed -e s/png/txt/`
make[5]: *** [OpenRaster-04.png] Error 134
make[4]: *** [images.stamp] Error 2
make[4]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20/docs/gallery'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20/docs/gallery'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20/docs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20'
make: *** [all] Error 2

ideas?

Comment 7 Andrew A. Gill 2008-10-10 15:19:31 UTC
(In reply to comment #4)
> imagemagick is not a hard dependancy, try the build from bug# 240776

Nothing doing.  Same error.
Comment 8 Rafał Mużyło 2008-10-10 20:25:49 UTC
Created attachment 167920 [details]
build.log of my successful build

As standard way doesn't seem to work, let's try to do it a bit backwards.
This is build.log of my successful build.
Note, that whoever commit the ebuild, failed to
notice the difference between use_enable and use_with
(but I've seen such problems even in the upstream packages).

media-gfx/imagemagick-6.4.3.5  USE="X bzip2 djvu doc fontconfig fpx graphviz gs jbig jpeg jpeg2k lcms openmp perl png svg tiff truetype wmf xml zlib -hdri -nocxx -openexr -q32 -q8"
media-libs/gegl-0.0.20  USE="cairo ffmpeg gtk jpeg sdl svg -debug -doc -openexr"

On a related note: convert seems to be called from the lib sources,
so the dependency might be much stronger.

BTW, would it be possible to disable only some of the docs ?
Comment 9 Andrew A. Gill 2008-10-10 20:59:53 UTC
(In reply to comment #8)
> 
> media-libs/gegl-0.0.20  USE="cairo ffmpeg gtk jpeg sdl svg -debug -doc

That's it.  Turn off the docs and it compiles fine.
Comment 10 Ed Tomlinson 2008-10-10 23:28:31 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > 
> > media-libs/gegl-0.0.20  USE="cairo ffmpeg gtk jpeg sdl svg -debug -doc
> 
> That's it.  Turn off the docs and it compiles fine.

Confirmed

With the above use flags it compiles here too.
Comment 11 Hanno Böck gentoo-dev 2008-10-26 10:39:43 UTC
Is this still a problem (with doc enabled)? I've committed a major reworked ebuild on 13th oct, last comment here was on 10th.
Comment 12 Ed Tomlinson 2008-10-26 18:01:22 UTC
(In reply to comment #11)
> Is this still a problem (with doc enabled)? I've committed a major reworked
> ebuild on 13th oct, last comment here was on 10th.

Confirming.  It now works with doc enabled.

Comment 13 Hanno Böck gentoo-dev 2008-10-26 18:13:17 UTC
fixed