ports/145108: libpng update breaks print/teTeX-base

Pascal Stumpf Pascal.Stumpf at cubes.de
Sun Mar 28 13:40:06 UTC 2010

>Number:         145108
>Category:       ports
>Synopsis:       libpng update breaks print/teTeX-base
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 28 13:40:05 UTC 2010
>Originator:     Pascal Stumpf
>Release:        8.0-STABLE
FreeBSD xxx 8.0-STABLE FreeBSD 8.0-STABLE #1: Sun Mar 21 14:23:38 CET 2010     root at xxx:/usr/obj/usr/src/sys/CUSTOM  amd64

Build of print/teTeX-base fails after recent png update to 1.4.1: 

cc -o dvipdfm pdfdev.o pdfdoc.o dvi.o mfileio.o mem.o jpeg.o numbers.o pdfobj.o
pdfparse.o pdfspecial.o tfm.o type1.o dvipdfm.o epdf.o vf.o t1crypt.o pkfont.o t
pic.o thumbnail.o pngimage.o htex.o mpost.o psimage.o psspecial.o colorsp.o enco
dings.o ttf.o  -L/usr/local/lib -lpng -lz ../kpathsea/.libs/libkpathsea.a -lm
psimage.o(.text+0x7e): In function `ps_include':
: warning: warning: tmpnam() possibly used unsafely; consider using mkstemp()
thumbnail.o(.text+0xeb): In function `do_thumbnail':
: undefined reference to `png_check_sig'
pngimage.o(.text+0x3dd): In function `check_for_png':
: undefined reference to `png_check_sig'
gmake[2]: *** [dvipdfm] Error 1
gmake[2]: Leaving directory `/usr/ports/print/teTeX-base/work/tetex-src-3.0/texk
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/usr/ports/print/teTeX-base/work/tetex-src-3.0/texk
gmake: *** [all] Error 1
*** Error code 1

Stop in /usr/ports/print/teTeX-base.

Apparently, the png_check_sig function was replaced/renamed in png-1.4.1, so some ports need patching to reflect that.
cd /usr/ports/print/teTeX-base && make install clean


More information about the freebsd-ports-bugs mailing list