From owner-freebsd-ports@FreeBSD.ORG Thu Jan 15 07:22:20 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8CE4510656C5; Thu, 15 Jan 2009 07:22:20 +0000 (UTC) (envelope-from pczanik@fang.fa.gau.hu) Received: from a.relay.invitel.net (a.relay.invitel.net [62.77.203.3]) by mx1.freebsd.org (Postfix) with ESMTP id 0AA9D8FC21; Thu, 15 Jan 2009 07:22:19 +0000 (UTC) (envelope-from pczanik@fang.fa.gau.hu) Received: from mail.invitel.hu (mail.invitel.hu [213.163.59.4]) by a.relay.invitel.net (Invitel Core SMTP Transmitter) with ESMTP id 2AB6511A524; Thu, 15 Jan 2009 08:22:18 +0100 (CET) Received: from [192.168.2.179] ([82.131.200.31]) by mail.invitel.hu (Invitel Messaging Server) with ESMTPA id <0KDI00A7A4H50MF0@invitel.hu>; Thu, 15 Jan 2009 08:22:17 +0100 (CET) Date: Thu, 15 Jan 2009 08:22:14 +0100 From: Peter Czanik In-reply-to: <496C5575.6090607@fang.fa.gau.hu> To: ports@freebsd.org Message-id: <496EE426.9040700@fang.fa.gau.hu> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-2 Content-transfer-encoding: 8BIT References: <496B0834.5000704@fang.fa.gau.hu> <496C5575.6090607@fang.fa.gau.hu> User-Agent: Thunderbird 2.0.0.19 (X11/20081227) Cc: ache@FreeBSD.org Subject: Re: graphics/png X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jan 2009 07:22:31 -0000 Hello, Peter Czanik írta: > Peter Czanik írta: > >> Hello, >> Recently graphics/png can't be packaged: >> >> libpng passes test >> ===> Installing for png-1.2.34 >> ===> Generating temporary packing list >> install -o root -g wheel -m 555 libpng-config /usr/local/bin >> ln -sf libpng-config /usr/local/bin/libpng12-config >> install -C -o root -g wheel -m 444 libpng.a /usr/local/lib >> install -s -o root -g wheel -m 444 libpng.so.5 /usr/local/lib >> ln -fs libpng.so.5 /usr/local/lib/libpng.so >> /usr/local/include/libpng/../png.h -> libpng/png.h >> /usr/local/include/libpng/../pngconf.h -> libpng/pngconf.h >> /usr/bin/sed -e 's|@PREFIX@|/usr/local|' >> /usr/tmp/usr/ports/graphics/png/work/libpng-1.2.34/scripts/libpng.pc.in >> >> >>> /usr/tmp/usr/ports/graphics/png/work/libpng-1.2.34/scripts/libpng.pc >>> >>> >> install -o root -g wheel -m 444 >> /usr/tmp/usr/ports/graphics/png/work/libpng-1.2.34/scripts/libpng.pc >> /usr/local/libdata/pkgconfig/libpng12.pc >> /bin/ln -sf libpng12.pc /usr/local/libdata/pkgconfig/libpng.pc >> ===> Running ldconfig >> /sbin/ldconfig -m /usr/local/lib >> ===> Registering installation for png-1.2.34 >> ===> Building package for png-1.2.34 >> tar: man/man3/libpng.3.gz: Cannot stat: No such file or directory >> tar: man/man3/libpngpf.3.gz: Cannot stat: No such file or directory >> tar: man/man5/png.5.gz: Cannot stat: No such file or directory >> tar: include/libpng/png.h: Cannot stat: No such file or directory >> tar: include/libpng/pngconf.h: Cannot stat: No such file or directory >> tar: Error exit delayed from previous errors. >> pkg_create: make_dist: tar command failed with code 256 >> Creating package /usr/packages/All/png-1.2.34.tbz >> Registering depends:. >> Creating bzip'd tar ball in '/usr/packages/All/png-1.2.34.tbz' >> *** Error code 1 >> >> Stop in /usr/ports/graphics/png. >> *** Error code 1 >> >> The following ugly hack serves me now as a workaround, but I'm quite >> sure, that it is not a proper one :) >> >> > Well, it is really not the proper patch, as packages depending on png > still can't be compiled. The basic problem seems to be, that header > files (png.h & Co.) are not installed (this failure is after an > unmodified png install): > " > checking for jpeg_read_header in -ljpeg... yes > configure: error: png.h not found. > ===> Script "configure" failed unexpectedly. > " > OK. Source of problem is found: If "WITHOUT_TOOLCHAIN= true" is set in /etc/rc.conf, then includes are not installed. The strange thing is, that other packages don't seem to be affected. A hundred other packages seem to compile fine... Bye, CzP