Problem upgrading png

Quincey Koziol koziol at ncsa.uiuc.edu
Wed Oct 20 11:24:01 PDT 2004


Hi all,
    I haven't been able to upgrade to the latest version of the png library.
I keep getting this set of errors:

cc -fpic -DPIC -O -pipe -march=k6 -I. -DPNG_USE_PNGGCCRD  -c pnggccrd.c -o pngg
ccrd.So
building shared library libpng.so.5
gzip -cn libpng.3 > libpng.3.gz
gzip -cn libpngpf.3 > libpngpf.3.gz
gzip -cn png.5 > png.5.gz
cc -O -pipe -march=k6 -I. -DPNG_USE_PNGGCCRD  -c pngtest.c -o pngtest.o
cc -O -pipe -march=k6 -I. -DPNG_USE_PNGGCCRD  -L. -Wl,-rpath=/usr/ports/graphics/png/work/libpng-1.2.7 -o pngtest pngtest.o -lpng -lz -lm
./pngtest
Testing libpng version 1.2.7
with zlib   version 1.1.4

libpng version 1.2.6 - August 15, 2004
Copyright (c) 1998-2004 Glenn Randers-Pehrson
Copyright (c) 1996-1997 Andreas Dilger
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
library (10206): libpng version 1.2.6 - August 15, 2004 (header)
pngtest (10207): libpng version 1.2.7 - September 12, 2004 (header)
png_sizeof(png_struct)=604, png_sizeof(png_info)=288
Warning: versions are different between png.h and png.c
png.h version: 1.2.7
png.c version: 1.2.6

Testing pngtest.png:Testing pngtest.png:
Pass 0: rwrwrwrwrwrwrwrwrw
Pass 1: rwrwrwrwrwrwrwrwrw
Pass 2: rwrwrwrwrwrwrwrw
Pass 3: rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
Pass 4: rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
Pass 5: rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
rwrwrwrw
Pass 6: rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
rwrwrwrwrwTesting pngtest.png:
PASS (9782 zero samples)
Filter 0 was used 21 times
Filter 1 was used 15 times
Filter 2 was used 52 times
Filter 3 was used 10 times
Filter 4 was used 33 times
tIME = 7 Jun 1996 17:58:08 +0000
libpng FAILS test
*** Error code 1

Stop in /usr/ports/graphics/png/work/libpng-1.2.7.
*** Error code 1

Stop in /usr/ports/graphics/png.

    Any ideas on what's wrong?  This is with 4-STABLE from around early June...

        Quincey


More information about the freebsd-ports mailing list