Your message dated Sun, 25 Sep 2005 07:32:08 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#329812: fixed in libpng 1.2.8rel-4
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 23 Sep 2005 14:16:17 +0000
>From [EMAIL PROTECTED] Fri Sep 23 07:16:17 2005
Return-path: <[EMAIL PROTECTED]>
Received: from farad.aurel32.net [82.232.2.251] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1EIoLZ-0002F6-00; Fri, 23 Sep 2005 07:16:17 -0700
Received: from hertz.aurel32.net ([2001:618:400:fc13:2e0:18ff:fea3:b80f])
        by farad.aurel32.net with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32)
        (Exim 4.50)
        id 1EIoLX-0007EA-PP; Fri, 23 Sep 2005 16:16:15 +0200
Received: from aurel32 by hertz.aurel32.net with local (Exim 4.52)
        id 1EIoLX-0009Us-Kx; Fri, 23 Sep 2005 16:16:15 +0200
Content-Type: multipart/mixed; boundary="===============0087526773=="
MIME-Version: 1.0
From: Aurelien Jarno <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: libpng: FTBFS when awk is provided by gawk
X-Mailer: reportbug 3.17
Date: Fri, 23 Sep 2005 16:16:15 +0200
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.8 required=4.0 tests=BAYES_00,FROM_ENDS_IN_NUMS,
        HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2005_01_02

This is a multi-part MIME message sent by reportbug.

--===============0087526773==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: libpng
Version: 1.2.8rel-3
Severity: serious
Tags: patch

Hi,

libpng fails to build when awk is provided by gawk, but builds well when
awk is provided by mawk. See below:

...

awk -F '[\t [\]();]' -v PNGMAJ=0 'BEGIN{printf("PNG12_%s {global:\n",PNGMAJ)}\
{ for (i=1;i+2<=NF;++i)\
        if ($(i)=="PNG_FUNCTION_EXPORT" && $(i+2)=="END")\
                print $(i+1) ";";\
for (i=1;i+1<=NF;++i)\
        if ($(i)=="PNG_DATA_EXPORT")\
                print $(i+1) ";";}\
END{print "local: *; };"}' >libpng.syms.new
awk: warning: escape sequence `\]' treated as plain `]'
rm -f libpng.syms
mv libpng.syms.new libpng.syms
gcc -shared -lz -lm -Wl,-soname,libpng12.so.0 \
-Wl,-version-script,libpng.syms \
-o libpng12.so.0.1.2.8 \
png.pic.o pngset.pic.o pngget.pic.o pngrutil.pic.o pngtrans.pic.o 
pngwutil.pic.o pngread.pic.o pngrio.pic.o pngwio.pic.o pngwrite.pic.o 
pngrtran.pic.o pngwtran.pic.o pngmem.pic.o pngerror.pic.o pngpread.pic.o
/usr/bin/ld:libpng.syms:2: syntax error in VERSION script
collect2: ld returned 1 exit status
make[1]: *** [libpng12.so.0.1.2.8] Error 1
make[1]: Leaving directory `/build/buildd/libpng-1.2.8rel'
make: *** [debian/stamp-makefile-build] Error 2

...

awk is always installed on a Debian system (via base-files), but you
can't be sure which one of mawk and gawk will be installed. As libpng 
use mawk functionalities, you need to build-depends on it, and call mawk
instead of awk.

Please find attached a patch to do that.

I have set the severity of the bug to serious, but as mawk seems to be
the package installed by default on a system, you may want to decrease
the severity of the bug.

Bye,
Aurelien

-- System Information:
Debian Release: testing/unstable
Architecture: kfreebsd-i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: GNU/kFreeBSD 5.4-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

--===============0087526773==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="libpng_awk.patch"

diff -u libpng-1.2.8rel/debian/control libpng-1.2.8rel/debian/control
--- libpng-1.2.8rel/debian/control
+++ libpng-1.2.8rel/debian/control
@@ -2,7 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: Josselin Mouette <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4.2), zlib1g-dev, cdbs
+Build-Depends: debhelper (>= 4.2), zlib1g-dev, cdbs, mawk
 Standards-Version: 3.6.2
 
 Package: libpng12-0
diff -u libpng-1.2.8rel/debian/patches/makefile.patch 
libpng-1.2.8rel/debian/patches/makefile.patch
--- libpng-1.2.8rel/debian/patches/makefile.patch
+++ libpng-1.2.8rel/debian/patches/makefile.patch
@@ -35,7 +35,7 @@
  libpng.syms: png.h pngconf.h
        $(CC) $(CFLAGS) -E -DPNG_BUILDSYMS png.h |\
 -      awk -F '[\t [\]();]' 'BEGIN{print "{global:"}\
-+      awk -F '[\t [\]();]' -v PNGMAJ=$(PNGMAJ) 'BEGIN{printf("PNG12_%s 
{global:\n",PNGMAJ)}\
++      mawk -F '[\t [\]();]' -v PNGMAJ=$(PNGMAJ) 'BEGIN{printf("PNG12_%s 
{global:\n",PNGMAJ)}\
        { for (i=1;i+2<=NF;++i)\
                if ($$(i)=="PNG_FUNCTION_EXPORT" && $$(i+2)=="END")\
                        print $$(i+1) ";";\

--===============0087526773==--

---------------------------------------
Received: (at 329812-close) by bugs.debian.org; 25 Sep 2005 14:38:24 +0000
>From [EMAIL PROTECTED] Sun Sep 25 07:38:24 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1EJXY0-0004rV-00; Sun, 25 Sep 2005 07:32:08 -0700
From: Josselin Mouette <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#329812: fixed in libpng 1.2.8rel-4
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sun, 25 Sep 2005 07:32:08 -0700
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: libpng
Source-Version: 1.2.8rel-4

We believe that the bug you reported is fixed in the latest version of
libpng, which is due to be installed in the Debian FTP archive:

libpng12-0-udeb_1.2.8rel-4_i386.udeb
  to pool/main/libp/libpng/libpng12-0-udeb_1.2.8rel-4_i386.udeb
libpng12-0_1.2.8rel-4_i386.deb
  to pool/main/libp/libpng/libpng12-0_1.2.8rel-4_i386.deb
libpng12-dev_1.2.8rel-4_i386.deb
  to pool/main/libp/libpng/libpng12-dev_1.2.8rel-4_i386.deb
libpng3_1.2.8rel-4_all.deb
  to pool/main/libp/libpng/libpng3_1.2.8rel-4_all.deb
libpng_1.2.8rel-4.diff.gz
  to pool/main/libp/libpng/libpng_1.2.8rel-4.diff.gz
libpng_1.2.8rel-4.dsc
  to pool/main/libp/libpng/libpng_1.2.8rel-4.dsc



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Josselin Mouette <[EMAIL PROTECTED]> (supplier of updated libpng package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 25 Sep 2005 15:25:34 +0200
Source: libpng
Binary: libpng12-dev libpng12-0 libpng12-0-udeb libpng3
Architecture: source i386 all
Version: 1.2.8rel-4
Distribution: unstable
Urgency: low
Maintainer: Josselin Mouette <[EMAIL PROTECTED]>
Changed-By: Josselin Mouette <[EMAIL PROTECTED]>
Description: 
 libpng12-0 - PNG library - runtime
 libpng12-0-udeb - PNG library - minimal runtime library (udeb)
 libpng12-dev - PNG library - development
 libpng3    - PNG library - runtime
Closes: 329812 329886
Changes: 
 libpng (1.2.8rel-4) unstable; urgency=low
 .
   * makefile.patch:
     + Use PNG_PRIVATE to get the list of private symbols as well. It
       sucks, but they've been there for too long (closes: #329886).
     + Use mawk instead of awk (closes: #329812).
   * control: build-depend on mawk.
   * rules:
     + Use -O2, not -O3.
     + Actually run the tests.
     + Make use of x86_patches/ on x86 architectures.
   * x86_patches/mmxbuild.patch: build MMX routines in pnggccrd.c.
   * x86_patches/pnggccrd-PIC.patch: patch from Christian Aichinger
     to make the assembly routines PIC-compatible.
   * libpng12-0.shlibs: bump the shlibs version.
Files: 
 bfc0f4fe4eb13669d074e247b76d8136 634 libs optional libpng_1.2.8rel-4.dsc
 fc0ea54812bc5be68c14b1513202a90d 15597 libs optional libpng_1.2.8rel-4.diff.gz
 9eda66d0defa473a11eff4d2cbe3986e 836 oldlibs optional 
libpng3_1.2.8rel-4_all.deb
 9ef9c251783ca542db1d3a2b471590ea 112696 libs optional 
libpng12-0_1.2.8rel-4_i386.deb
 dcc106490f19206b43810fc21017a4fd 242750 libdevel optional 
libpng12-dev_1.2.8rel-4_i386.deb
 61ec625a493b5866e2012ef4fbf73483 68888 debian-installer optional 
libpng12-0-udeb_1.2.8rel-4_i386.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDNrQDrSla4ddfhTMRAheRAKDiNOw85Eiv+7z/sqZ7/3Jp1A0FHwCgsniO
jZBk25Ht877nvu2mKEnPREI=
=mH0H
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to