Bug 18587 - Cairo 1.4.10 does not yet support the requested image format: Depth 8 ...
Summary: Cairo 1.4.10 does not yet support the requested image format: Depth 8 ...
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 1.4.10
Hardware: All AIX
: highest critical
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-18 00:27 UTC by ZHI XIANG LI
Modified: 2009-06-17 06:18 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
script to download the prerequisite rpm for Firefox Installation on AIX. (5.64 KB, text/plain)
2008-11-18 00:27 UTC, ZHI XIANG LI
Details

Description ZHI XIANG LI 2008-11-18 00:27:29 UTC
Created attachment 20395 [details]
script to download the prerequisite rpm for Firefox Installation on AIX.

ratsuite34:/tmp/lizhix/Firefox# /usr/bin/firefox
Error: Cairo 1.4.10 does not yet support the requested image format:
        Depth: 8
        Alpha mask: 0x00000000
        Red   mask: 0x00000007
        Green mask: 0x00000038
        Blue  mask: 0x000000c0
Please file an enhancement request (quoting the above) at:
http://bugs.freedesktop.org/enter_bug.cgi?product=cairo
The assert subroutine failed: NOT_REACHED, file cairo-image-surface.c, line 199
/usr/mozilla/firefox/run-mozilla.sh[36]: 471206 IOT/Abort trap(coredump)



I have downloaded the Firefox installation image for AIX from: 
http://www-03.ibm.com/systems/p/os/aix/browsers/index.html

I have FTP the installation files to the ratsuite34.
While I am installing the Firefox, the prerequisite rpm files must be installed first: 

The following RPM images are required before Firefox.base.rte can be installed:

gtk2-2.8.3-9.aix5.1.ppc.rpm
atk-1.10.3-2.aix5.1.ppc.rpm
cairo-1.4.10-1.aix5.2.ppc.rpm
expat-1.95.7-4.aix5.1.ppc.rpm
fontconfig-2.2.2-6.aix5.2.ppc.rpm
freetype2-2.1.7-5.aix5.1.ppc.rpm
gettext-0.10.40-6.aix5.1.ppc.rpm
glib2-2.8.1-3.aix5.1.ppc.rpm
gtk2-2.8.3-9.aix5.1.ppc.rpm
libjpeg-6b-6.aix5.1.ppc.rpm
libpng-1.2.8-5.aix5.1.ppc.rpm
libtiff-3.6.1-4.aix5.1.ppc.rpm
pango-1.10.0-2.aix5.1.ppc.rpm
xcursor-1.1.7-2.aix5.2.ppc.rpm
xft-2.1.6-5.aix5.1.ppc.rpm
xrender-0.9.1-2.aix5.2.ppc.rpm
zlib-1.2.3-3.aix5.1.ppc.rpm

While I am installing the rpm files, the error is:
ratsuite34:/tmp/lizhix/Firefox# ./download-prerequisites.sh
Downloading ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/atk/atk-1.10.3-2.aix5.1.ppc.rpm... DONE
Downloading ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/cairo/cairo-1.4.10-1.aix5.2.ppc.rpm... FAILED
ratsuite34:/tmp/lizhix/Firefox#

The checksum in the script for the cairo rpm is:
410202956 993580 cairo-1.4.10-1.aix5.2.ppc.rpm

I attached the script (download-prerequisites.sh) in the attachment. 

I comment out the checksum for this file in the script (download-prerequisites.sh) and downloaded all the required rpm files, and the rpm is installed successfully; then I have installed the firefox successfully to this server.

However, when I start Firefox, I got the error:

ratsuite34:/tmp/lizhix/Firefox# /usr/bin/firefox
Error: Cairo 1.4.10 does not yet support the requested image format:
        Depth: 8
        Alpha mask: 0x00000000
        Red   mask: 0x00000007
        Green mask: 0x00000038
        Blue  mask: 0x000000c0
Please file an enhancement request (quoting the above) at:
http://bugs.freedesktop.org/enter_bug.cgi?product=cairo
The assert subroutine failed: NOT_REACHED, file cairo-image-surface.c, line 199
/usr/mozilla/firefox/run-mozilla.sh[36]: 471206 IOT/Abort trap(coredump)
ratsuite34:/tmp/lizhix/Firefox# 

CONCLUSION: the cairo-1.4.10-1.aix5.2.ppc.rpm is having problems. 
I checked this rpm files downloaded from:
ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/cairo/cairo-1.4.10-1.aix5.2.ppc.rpm
the timestamp for this file is 9:02 10/24/2008. 
This file is uploaded to ibm website recently. and is having problems.

I will try to find a correct version of this rpm and fix the problems when ready!!  I will raise a bug report to http://bugs.freedesktop.org/enter_bug.cgi?product=cairo

Please waiting for my progress.. Thank you!!
Comment 1 Chris Wilson 2008-11-19 13:40:03 UTC
Support for 8-bit xlib surfaces was added to 1.6. It is highly recommend that you upgrade to 1.8 for this and many other bug fixes.
Comment 2 ZHI XIANG LI 2009-04-14 06:08:36 UTC
Hi Chris,

  May I know where I can get a download of the Cairo 1.8 rpm package for
AIX OS?

Thank you very much!!





bugzilla-daemon@freedesktop.org wrote on 2008-11-20 05:40:04:

> bugzilla-daemon@freedesktop.org
> 2008-11-20 05:40
>
> To
>
> Zhi Xiang Li/China/IBM@IBMCN
>
> cc
>
> Subject
>
> [Bug 18587] Cairo 1.4.10 does not yet support the requested image
> format: Depth 8 ...
>
> http://bugs.freedesktop.org/show_bug.cgi?id=18587
>
>
> Chris Wilson <chris@chris-wilson.co.uk> changed:
>
>            What    |Removed                     |Added
>
----------------------------------------------------------------------------

>              Status|NEW                         |RESOLVED
>          Resolution|                            |FIXED
>
>
>
>
> --- Comment #1 from Chris Wilson <chris@chris-wilson.co.uk>
> 2008-11-19 13:40:03 PST ---
> Support for 8-bit xlib surfaces was added to 1.6. It is highly recommend
that
> you upgrade to 1.8 for this and many other bug fixes.
>
>
> --
> Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug.
> You reported the bug.
Comment 3 Chris Wilson 2009-04-14 06:15:58 UTC
A bit of googling found this package:
http://www.perzl.org/aix/index.php?n=Main.Cairo

Caveat lector, as always.
Comment 4 ZHI XIANG LI 2009-04-14 06:38:17 UTC
Thank you so much Chris!!
I will check and verify!
Comment 5 ZHI XIANG LI 2009-06-17 06:18:45 UTC
"Mozilla Firefox for AIX  2.0.0.17" runs well on AIX platform with using
the version of cairo-1.0.2-6.aix5.1.ppc.rpm file.

The following RPMs are available on the Firefox CD or from the AIX Toolbox
or from the following website:
http://www.ibm.com/servers/aix/products/aixos/linux/


ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/atk/atk-1.10.3-2.aix5.1.ppc.rpm
 ==> atk-1.10.3-2.aix5.1.ppc.rpm

ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/cairo/cairo-1.0.2-6.aix5.1.ppc.rpm
 ==> cairo-1.0.2-6.aix5.1.ppc.rpm

ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/expat/expat-1.95.7-4.aix5.1.ppc.rpm
 ==> expat-1.95.7-4.aix5.1.ppc.rpm

ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/fontconfig/fontconfig-2.2.2-6.aix5.2.ppc.rpm
 ==> fontconfig-2.2.2-6.aix5.2.ppc.rpm

ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/freetype2/freetype2-2.1.7-5.aix5.1.ppc.rpm
 ==> freetype2-2.1.7-5.aix5.1.ppc.rpm

ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/gettext/gettext-0.10.40-6.aix5.1.ppc.rpm
 ==> gettext-0.10.40-6.aix5.1.ppc.rpm

ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/glib2/glib2-2.8.1-3.aix5.1.ppc.rpm
 ==> glib2-2.8.1-3.aix5.1.ppc.rpm

ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/gtk2/gtk2-2.8.3-9.aix5.1.ppc.rpm
 ==> gtk2-2.8.3-9.aix5.1.ppc.rpm

ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/libjpeg/libjpeg-6b-6.aix5.1.ppc.rpm
 ==> libjpeg-6b-6.aix5.1.ppc.rpm

ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/libpng/libpng-1.2.8-5.aix5.1.ppc.rpm
 ==> libpng-1.2.8-5.aix5.1.ppc.rpm

ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/libtiff/libtiff-3.6.1-4.aix5.1.ppc.rpm
 ==> libtiff-3.6.1-4.aix5.1.ppc.rpm

ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/pango/pango-1.10.0-2.aix5.1.ppc.rpm
 ==> pango-1.10.0-2.aix5.1.ppc.rpm

ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/xcursor/xcursor-1.0.2-6.aix5.2.ppc.rpm
 ==> xcursor-1.0.2-6.aix5.2.ppc.rpm

ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/xft/xft-2.1.6-5.aix5.1.ppc.rpm
 ==> xft-2.1.6-5.aix5.1.ppc.rpm

ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/xrender/xrender-0.8.4-9.aix5.2.ppc.rpm
 ==> xrender-0.8.4-9.aix5.2.ppc.rpm

ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/zlib/zlib-1.2.3-3.aix5.1.ppc.rpm
 ==> zlib-1.2.3-3.aix5.1.ppc.rpm

This problem is now resolved.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.