| Summary: | graphics/png fails to build due to test failure (tIME...) | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Gerald Pfeifer <gerald> |
| Component: | Individual Port(s) | Assignee: | Andrey A. Chernov <ache> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-ports-bugs->ache Over to maintainer (via the GNATS Auto Assign Tool) State Changed From-To: open->feedback I can't reproduce that, ports building cluster too. I don't have Warning: versions are different between png.h and png.c png.h version: 1.2.38 png.c version: 1.2.35 lines. Seems obsoleted png.h somewhere in the way on your machine. Check CFLAGS and look at compiler command have -I. and don't have other -I... State Changed From-To: feedback->closed I had seen this using portupgrade -a, which should have taken care of it and could reproduce it also in standalone mode. That said, of course now that I tested again it worked. Just for the record: # find /usr/local -name '*png*' | egrep -v '.png$' /usr/local/bin/gifspnge /usr/local/share/doc/libungif/gifspnge.html # make install cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -I/usr/local/include -L/usr/local/lib -I. -c pngwutil.c -o pngwutil.So I am pretty sure that your diagnosis is right on target -- thanks a lot and sorry for bothering you. I am just a bit wondering/worried that the postupgrade tool didn't handle this. |
Trying to build graphics/png, I get the following failure: ===> Building for png-1.2.38 ./pngtest Testing libpng version 1.2.38 with zlib version 1.2.3 libpng version 1.2.35 - February 14, 2009 Copyright (c) 1998-2008 Glenn Randers-Pehrson Copyright (c) 1996-1997 Andreas Dilger Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc. library (10235): libpng version 1.2.35 - February 14, 2009 pngtest (10238): libpng version 1.2.38 - July 16, 2009 sizeof(png_struct)=636, sizeof(png_info)=288 Warning: versions are different between png.h and png.c png.h version: 1.2.38 png.c version: 1.2.35 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 rwrwrwrwrw Testing 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 1 error *** Error code 1 Stop in /usr/test/FreeBSD/ports/graphics/png. How-To-Repeat: Possibly specific to my 6.2 system or the fact that the ports tree is NFS-mounted? "Warning: versions are different between png.h and png.c" also look there may be an issue?