Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Mar 2010 13:31:48 GMT
From:      Pascal Stumpf <Pascal.Stumpf@cubes.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/145108: libpng update breaks print/teTeX-base
Message-ID:  <201003281331.o2SDVmHM032990@www.freebsd.org>
Resent-Message-ID: <201003281340.o2SDe6Nm007168@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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

>Description:
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
/dvipdfm'
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.
>How-To-Repeat:
cd /usr/ports/print/teTeX-base && make install clean
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003281331.o2SDVmHM032990>