<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>159562</bug_id>
          
          <creation_ts>2006-12-31 05:18 0000</creation_ts>
          <short_desc>stabilize media-libs/libpng-1.2.14</short_desc>
          <delta_ts>2007-07-31 03:26:01 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Library</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>vapier@gentoo.org</reporter>
          <assigned_to>graphics@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2006-12-31 05:18:35 0000</bug_when>
            <thetext>mmm pretty pictures</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>omgponies3@gmail.com</who>
            <bug_when>2006-12-31 10:00:46 0000</bug_when>
            <thetext>media-libs/libpng-1.2.14 USE=&quot;-doc&quot;

on x86:
1: emerges ok
2: passes collision test
3: revdep-rebuild reports nothing broken

emerge --info:

Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r5 i686)
=================================================================
System uname: 2.6.18-gentoo-r5 i686 Genuine Intel(R) CPU           T2500  @ 2.00GHz
Gentoo Base System version 1.12.6
Last Sync: Sun, 31 Dec 2006 17:00:03 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-O2 -march=prescott -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/share/X11/xkb&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo&quot;
CXXFLAGS=&quot;-O2 -march=prescott -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict test&quot;
GENTOO_MIRRORS=&quot;http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo&quot;
MAKEOPTS=&quot;-j5&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=&apos;/distfiles&apos; --exclude=&apos;/local&apos; --exclude=&apos;/packages&apos;&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;x86 X a52 aac aalib acpi alsa alsa_cards_hda-intel alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apm berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups dbus divx dlloader dri dvd dvdread elibc_glibc emacs encode ffmpeg firefox flac fortran gdbm gnome gpm gstreamer gtk gtk2 hal iconv input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 isdnlog ithreads java jpeg jpeg2k kernel_linux ldap libg++ mad mmx mmxext mono mp3 mp4 mpeg ncurses nls nptl nptlonly nsplugin nvidia ogg openal opengl oss pam pcre perl png ppds pppd python quicktime readline realmedia reflection session spl sse sse2 sse3 ssl tcpd threads truetype-fonts type1-fonts udev unicode userland_GNU vcd video_cards_nvidia vidix win32codecs wmf wmp x264 xine xml xorg xv xvid zlib&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ticho@gentoo.org</who>
            <bug_when>2007-01-01 17:42:01 0000</bug_when>
            <thetext>Pwetty pictuwes!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gustavoz@gentoo.org</who>
            <bug_when>2007-01-02 05:06:55 0000</bug_when>
            <thetext>sparc stable.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jer@gentoo.org</who>
            <bug_when>2007-01-02 21:19:59 0000</bug_when>
            <thetext>Stable for HPPA.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kloeri@gentoo.org</who>
            <bug_when>2007-01-03 16:41:03 0000</bug_when>
            <thetext>Stable on Alpha.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>thirtyyearswar@mindspring.com</who>
            <bug_when>2007-01-04 13:21:47 0000</bug_when>
            <thetext>With +doc, compilation of 1.2.14 fails due to bad checksum:

!!! Digest verification failed:
!!! /usr/portage/distfiles/libpng-manual.txt
!!! Reason: Failed on MD5 verification
!!! Got: f80fa089a55945105eacda04e6a4ae36
!!! Expected: a3e91d819c1a925c89b2d114336afa02

1.2.14-r1 compiles fine with +doc. 1.2.14 compiles fine with -doc.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2007-01-04 13:51:17 0000</bug_when>
            <thetext>that doesnt make any sense considering both ebuilds get the hash from the same exact file</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mcummings@gentoo.org</who>
            <bug_when>2007-01-06 14:46:37 0000</bug_when>
            <thetext>amd64 is in the house</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>miken700@yahoo.com</who>
            <bug_when>2007-01-06 17:26:20 0000</bug_when>
            <thetext>(In reply to comment #6)
&gt; With +doc, compilation of 1.2.14 fails due to bad checksum:
&gt; 
&gt; !!! Digest verification failed:
&gt; !!! /usr/portage/distfiles/libpng-manual.txt
&gt; !!! Reason: Failed on MD5 verification
&gt; !!! Got: f80fa089a55945105eacda04e6a4ae36
&gt; !!! Expected: a3e91d819c1a925c89b2d114336afa02
&gt; 
&gt; 1.2.14-r1 compiles fine with +doc. 1.2.14 compiles fine with -doc.
&gt; 

This might be due to the file on the server being updated. It was updated on Jan 15 and possibly earlier. I think this file should probably be pulled from the tarball&apos;s libpng.txt rather than downloaded separately. See my post in the forums at &lt; http://forums.gentoo.org/viewtopic-p-3824510.html#3824510 &gt;.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>altstadt@telus.net</who>
            <bug_when>2007-01-06 18:22:22 0000</bug_when>
            <thetext>I&apos;m pretty sure that this is another symptom of the same problem:

~ # emerge -pv libpng

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] media-libs/libpng-1.2.14 [1.2.13] USE=&quot;doc&quot; 0 kB 

Total size of downloads: 0 kB
~ # emerge -uv libpng
Calculating dependencies... done!

&gt;&gt;&gt; Emerging (1 of 1) media-libs/libpng-1.2.14 to /
 * libpng-1.2.14.tar.bz2 MD5 ;-) ...                                                                                                                                                                       [ ok ]
 * libpng-1.2.14.tar.bz2 RMD160 ;-) ...                                                                                                                                                                    [ ok ]
 * libpng-1.2.14.tar.bz2 SHA1 ;-) ...                                                                                                                                                                      [ ok ]
 * libpng-1.2.14.tar.bz2 SHA256 ;-) ...                                                                                                                                                                    [ ok ]
 * libpng-1.2.14.tar.bz2 size ;-) ...                                                                                                                                                                      [ ok ]
&gt;&gt;&gt; Resuming download...
&gt;&gt;&gt; Downloading &apos;http://www.libpng.org/pub/png/libpng-manual.txt&apos;
--10:19:44--  http://www.libpng.org/pub/png/libpng-manual.txt
           =&gt; `/usr/portage/distfiles/libpng-manual.txt&apos;
Resolving www.libpng.org... 66.35.250.210
Connecting to www.libpng.org|66.35.250.210|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

    The file is already fully retrieved; nothing to do.

!!! Couldn&apos;t download &apos;libpng-manual.txt&apos;. Aborting.
~ # 
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>miken700@yahoo.com</who>
            <bug_when>2007-01-07 15:49:20 0000</bug_when>
            <thetext>Created an attachment (id=105825)
proposed patch for the doc issue

here&apos;s a proposed patch for the doc issue that works on my box (x86)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dertobi123@gentoo.org</who>
            <bug_when>2007-01-07 18:57:48 0000</bug_when>
            <thetext>ppc stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>corsair@gentoo.org</who>
            <bug_when>2007-01-09 07:56:21 0000</bug_when>
            <thetext>ppc64 stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2007-01-21 18:06:32 0000</bug_when>
            <thetext>all set</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>105825</attachid>
            <date>2007-01-07 15:49 0000</date>
            <desc>proposed patch for the doc issue</desc>
            <filename>libpng-manual-fix.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC91c3IvcG9ydGFnZS9tZWRpYS1saWJzL2xpYnBuZy9saWJwbmctMS4yLjE0LmVidWlsZAky
MDA3LTAxLTAzIDE3OjA2OjQ1LjAwMDAwMDAwMCAtMDgwMAorKysgL3Vzci9sb2NhbC9wb3J0YWdl
L21lZGlhLWxpYnMvbGlicG5nL2xpYnBuZy0xLjIuMTQuZWJ1aWxkCTIwMDctMDEtMDcgMDc6MDY6
MzMuMDAwMDAwMDAwIC0wODAwCkBAIC04LDggKzgsNyBAQAogCiBERVNDUklQVElPTj0iUG9ydGFi
bGUgTmV0d29yayBHcmFwaGljcyBsaWJyYXJ5IgogSE9NRVBBR0U9Imh0dHA6Ly93d3cubGlicG5n
Lm9yZy8iCi1TUkNfVVJJPSJtaXJyb3I6Ly9zb3VyY2Vmb3JnZS9saWJwbmcvJHtQfS50YXIuYnoy
Ci0JZG9jPyAoIGh0dHA6Ly93d3cubGlicG5nLm9yZy9wdWIvcG5nL2xpYnBuZy1tYW51YWwudHh0
ICkiCitTUkNfVVJJPSJtaXJyb3I6Ly9zb3VyY2Vmb3JnZS9saWJwbmcvJHtQfS50YXIuYnoyIgog
CiBMSUNFTlNFPSJhcy1pcyIKIFNMT1Q9IjEuMiIKQEAgLTIyLDcgKzIxLDYgQEAKIHNyY191bnBh
Y2soKSB7CiAJdW5wYWNrICR7UH0udGFyLmJ6MgogCWNkICIke1N9IgotCXVzZSBkb2MgJiYgY3Ag
IiR7RElTVERJUn0iL2xpYnBuZy1tYW51YWwudHh0IC4KIAogCWVwYXRjaCAiJHtGSUxFU0RJUn0i
LzEuMi43LWdlbnRvby5kaWZmCiAKQEAgLTQwLDcgKzM4LDcgQEAKIHNyY19pbnN0YWxsKCkgewog
CW1ha2UgREVTVERJUj0iJHtEfSIgaW5zdGFsbCB8fCBkaWUKIAlkb2RvYyBBTk5PVU5DRSBDSEFO
R0VTIEtOT1dOQlVHIFJFQURNRSBUT0RPIFkyS0lORk8KLQl1c2UgZG9jICYmIGRvZG9jIGxpYnBu
Zy1tYW51YWwudHh0CisJdXNlIGRvYyAmJiBkb2RvYyBsaWJwbmcudHh0CiB9CiAKIHBrZ19wb3N0
aW5zdCgpIHsK
</data>        

          </attachment>
    </bug>

</bugzilla>