Subject: pkg/31087: devel/p5-Compress-Zlib broken
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Hauke Fath <hf@spg.tu-darmstadt.de>
List: pkgsrc-bugs
Date: 08/29/2005 14:16:00
>Number:         31087
>Category:       pkg
>Synopsis:       devel/p5-Compress-Zlib fails to build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 29 14:16:00 +0000 2005
>Originator:     Hauke Fath <hf@spg.tu-darmstadt.de>
>Release:        NetBSD 2.0_STABLE
>Organization:
-- 
/~\  The ASCII Ribbon Campaign                      Hauke Fath
\ /    No HTML/RTF in email	          Institut für Nachrichtentechnik
 X     No Word docs in email	                    TU Darmstadt
/ \  Respect for open standards                Ruf +49-6151-16-3281
>Environment:
	
	
System: NetBSD bounce 2.0_STABLE NetBSD 2.0_STABLE (BOUNCE) #2: Sat Apr 30 00:02:48 CEST 2005 hf@heiligenberg:/var/obj/netbsd-builds/2_0/i386/sys/arch/i386/compile/BOUNCE i386
Architecture: i386
Machine: i386
>Description:

The devel/p5-Compress-Zlib package fails to build with

===> Configuring for p5-Compress-Zlib-1.35nb1
Parsing config.in...
Looks Good.
Up/Downgrade complete.
Checking if your kit is complete...
Looks good
Writing Makefile for Compress::Zlib
===> Building for p5-Compress-Zlib-1.35nb1
cp Zlib.pm blib/lib/Compress/Zlib.pm
AutoSplitting blib/lib/Compress/Zlib.pm (blib/lib/auto/Compress/Zlib)
/usr/pkg/bin/perl /usr/pkg/lib/perl5/5.8.0/ExtUtils/xsubpp  -typemap /usr/pkg/lib/perl5/5.8.0/ExtUtils/typemap -typemap typemap  Zlib.xs > Zlib.xsc && mv Zlib.xsc Zlib.c
cc -c  -I/usr/include  -fno-strict-aliasing -pipe -I/usr/pkg/include -O2 -mcpu=i586 -march=pentium4 -I/usr/include -I/usr/pkg/include   -I/usr/include -I/usr/pkg/include    -DVERSION=\"1.35\"  -DXS_VERSION=\"1.35\" -DPIC -fPIC "-I/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE"   Zlib.c
In file included from Zlib.xs:22:
/usr/src/pkgsrc/devel/p5-Compress-Zlib/work/.buildlink/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE/perl.h:3856:22: reentr.inc: No such file or directory
*** Error code 1

>How-To-Repeat:

Build devel/p5-Compress-Zlib because older versions have security
issues. It first forces you to update Perl to 5.8.7nb3 which works
fine, then fails to build with the above error (missing include).

The work log ends with

    (logic) pop:  -I/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE
    (logic) to:   -I/usr/src/pkgsrc/devel/p5-Compress-Zlib/work/.buildlink/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE
    (logic) push: -I/usr/src/pkgsrc/devel/p5-Compress-Zlib/work/.buildlink/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE
    (logic) pop:  Zlib.c
    (logic) to:   Zlib.c [untransformed]
    (logic) push: Zlib.c
    (logic) pop:  -I/usr/src/pkgsrc/devel/p5-Compress-Zlib/work/.buildlink/include
    (logic) to:   -I/usr/src/pkgsrc/devel/p5-Compress-Zlib/work/.buildlink/include
    (logic) push: -I/usr/src/pkgsrc/devel/p5-Compress-Zlib/work/.buildlink/include
    (logic) pop:  -L/usr/src/pkgsrc/devel/p5-Compress-Zlib/work/.buildlink/lib
    (logic) to:   -L/usr/src/pkgsrc/devel/p5-Compress-Zlib/work/.buildlink/lib
    (logic) push: -L/usr/src/pkgsrc/devel/p5-Compress-Zlib/work/.buildlink/lib
    (cmd-sink) pop: -c
    (cmd-sink) pop: 
    (cmd-sink) pop: -fno-strict-aliasing
    (cmd-sink) pop: -pipe
    (cmd-sink) pop: -I/usr/src/pkgsrc/devel/p5-Compress-Zlib/work/.buildlink/include
    (cmd-sink) pop: -O2
    (cmd-sink) pop: -mcpu=i586
    (cmd-sink) pop: -march=pentium4
    (cmd-sink) pop: 
    (cmd-sink) pop: -I/usr/src/pkgsrc/devel/p5-Compress-Zlib/work/.buildlink/include
    (cmd-sink) pop: 
    (cmd-sink) pop: -I/usr/src/pkgsrc/devel/p5-Compress-Zlib/work/.buildlink/include
    (cmd-sink) pop: -DVERSION="1.35"
    (cmd-sink) pop: -DXS_VERSION="1.35"
    (cmd-sink) pop: -DPIC
    (cmd-sink) pop: -fPIC
    (cmd-sink) pop: -I/usr/src/pkgsrc/devel/p5-Compress-Zlib/work/.buildlink/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE
    (cmd-sink) pop: Zlib.c
    (cmd-sink) pop: -I/usr/src/pkgsrc/devel/p5-Compress-Zlib/work/.buildlink/include
    (cmd-sink) pop: -L/usr/src/pkgsrc/devel/p5-Compress-Zlib/work/.buildlink/lib
<.> /usr/src/pkgsrc/devel/p5-Compress-Zlib/work/.gcc/bin/gcc -c -fno-strict-aliasing -pipe -I/usr/src/pkgsrc/devel/p5-Compress-Zlib/work/.buildlink/include -O2 -mcpu=i586 -march=pentium4 -DVERSION=\"1.35\" -DXS_VERSION=\"1.35\" -DPIC -fPIC -I/usr/src/pkgsrc/devel/p5-Compress-Zlib/work/.buildlink/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE Zlib.c -L/usr/src/pkgsrc/devel/p5-Compress-Zlib/work/.buildlink/lib


>Fix:
	Somewhat urgent, given the security warnings (DOS vulnerability).

>Unformatted: