-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ryan Tandy wrote:
> gentuxx wrote:
> revdep-rebuild tells me that I need to remerge ImageMagick, but then
> fails during the remerge.  This is the error I get:
>
> libxml2  -O2 -march=pentium4 -fomit-frame-pointer -Wall -pthread -MT
> coders/coders_png_la-png.lo -MD -MP -MF
> "coders/.deps/coders_png_la-png.Tpo" -c -o coders/coders_png_la-png.lo
> `test -f 'coders/png.c' || echo './'`coders/png.c; \
> then mv -f "coders/.deps/coders_png_la-png.Tpo"
> "coders/.deps/coders_png_la-png.Plo"; else rm -f
> "coders/.deps/coders_png_la-png.Tpo"; exit 1; fi
> coders/png.c: In function 'ReadOnePNGImage':
> coders/png.c:1755: warning: implicit declaration of function
> 'png_access_version'
> coders/png.c:1764: error: 'png_ptr' undeclared (first use in this
> function)
> coders/png.c:1764: error: (Each undeclared identifier is reported only
> once
> coders/png.c:1764: error: for each function it appears in.)
> make: *** [coders/coders_png_la-png.lo] Error 1
> make: *** Waiting for unfinished jobs....
>
> !!! ERROR: media-gfx/imagemagick-6.2.5.5 failed.
> Call stack:
>   ebuild.sh, line 1539:   Called dyn_compile
>   ebuild.sh, line 939:   Called src_compile
>   imagemagick-6.2.5.5.ebuild, line 86:   Called die
>
> Any ideas?
>
> >>
>
> > Try remerging libpng and/or libxml2.
>
>
Thanks for the response, but, unfortunately, that didn't help.  I
re-ran revdep-rebuild with the -pv options this time, and realized
that tetex and graphviz also need to be recompiled.  They were also
immediately before imagemagick in the rebuild order.  I checked
`equery depgraph' and both were in the depgraph for imagemagick, so I
recompiled both of those and ran `fix_libtool_files.sh'.  That didn't
seem to work either.

I was able to capture this when it failed:

ImageMagick is configured as follows. Please verify that this
configuration
matches your expectations.

Host system type : i686-pc-linux-gnu

                  Option                        Value
- -------------------------------------------------------------------------
Shared libraries  --enable-shared=yes           yes
Static libraries  --enable-static=yes           yes
Module support    --with-modules=yes            yes
GNU ld            --with-gnu-ld=yes             yes
Quantum depth     --with-quantum-depth=16       16

Delegate Configuration:
BZLIB             --with-bzlib=no               no
DPS               --with-dps=yes                no
FlashPIX          --with-fpx=no         no
FreeType 2.0      --with-ttf=yes                yes
GhostPCL          None                          pcl6 (unknown)
Ghostscript       None                          gs (8.15.2)
Ghostscript fonts
- --with-gs-font-dir=/usr/share/fonts/default/ghostscript    
/usr/share/fonts/default/ghostscript/
Ghostscript lib   --with-gslib=no               no
Graphviz          --with-gvc=no         no
JBIG              --with-jbig=no                no
JPEG v1           --with-jpeg=yes               yes
JPEG-2000         --with-jp2=no         no
LCMS              --with-lcms=no                no
Magick++          --with-magick-plus-plus=yes   yes
PERL              --with-perl=no                no
PNG               --with-png=yes                yes
TIFF              --with-tiff=no                no
Windows fonts     --with-windows-font-dir=      none
WMF               --with-wmf=no         no
X11               --with-x=yes                  yes
XML               --with-xml=yes                yes
ZLIB              --with-zlib=yes               yes


What's interesting to me is that all of the "expected" option/value
pairs match and/or make sense except for DPS.  So I installed gtkDPS
to see if that would make any difference.  The DPS option was now
enabled as expected, but the compile still fails in the same spot.

> --
> gentux
> echo "hfouvyyAhnbjm/dpn" | perl -pe 's/(.)/chr(ord($1)-1)/ge'
>
> gentux's gpg fingerprint ==> 5495 0388 67FF 0B89 1239  D840 4CF0
> 39E2 18D3 4A9E
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFEsGmCTPA54hjTSp4RAhREAJsHwvHGQrHvsIIZxqUL6MusRZOSOQCfWP05
hYh8Lec3eRXmI+a6iuwFzbM=
=s5Ca
-----END PGP SIGNATURE-----

-- 
gentoo-user@gentoo.org mailing list

Reply via email to