Subject: bin/10230: ar(1) chokes on qpopper 3.0.2 build
To: None <gnats-bugs@gnats.netbsd.org>
From: None <itojun@itojun.org>
List: netbsd-bugs
Date: 05/30/2000 01:34:13
>Number: 10230
>Category: bin
>Synopsis: ar(1) chokes on qpopper 3.0.2 build
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue May 30 01:35:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Jun-ichiro itojun Hagino
>Release: 1.4.2
>Organization:
itojun.org
>Environment:
System: NetBSD lychee.itojun.org 1.4.2 NetBSD 1.4.2 (LYCHEE.v6) #925: Mon May 29 09:32:54 JST 2000 itojun@lychee.itojun.org:/export/home/itojun/k/kame/netbsd/sys/arch/i386/compile/LYCHEE.v6 i386
>Description:
qualcomm qpopper 3.0.2 checks if ar(1) chokes on damaged archive file.
NetBSD 1.4.2/i386 /usr/bin/ar does not handle it well.
NetBSD 1.4Z /usr/bin/ar is okay.
>How-To-Repeat:
% tar zxf qpopper3.0.2.tar.gz
% cd qpopper3.0.2
% ./configure
Script started on Tue May 30 17:21:52 2000
itojun[lychee:/home/itojun/work/kame-apps/qpopper3] ./configure
loading cache ./config.cache
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for bison... bison -y
checking for flex... flex
checking for yywrap in -lfl... yes
checking for ar... ar
checking for ranlib... ranlib
checking for POSIXized ISC... no
checking for gperf... no
checking for cperf... no
warning:: not found
checking for gcc version 2.7.2.3... no
checking if ar chokes on -r... Segmentation fault
Segmentation fault
ar fails
configure: error: ar doesn't work
itojun[lychee:/home/itojun/work/kame-apps/qpopper3] cat config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:578: checking whether make sets ${MAKE}
configure:607: checking for gcc
configure:720: checking whether the C compiler (gcc ) works
configure:736: gcc -o conftest conftest.c 1>&5
configure:762: checking whether the C compiler (gcc ) is a cross-compiler
configure:767: checking whether we are using GNU C
configure:776: gcc -E conftest.c
configure:795: checking whether gcc accepts -g
configure:831: checking for bison
configure:864: checking for flex
configure:898: checking for yywrap in -lfl
configure:917: gcc -o conftest -g -O2 conftest.c -lfl 1>&5
configure:944: checking for ar
configure:977: checking for ranlib
configure:1005: checking for POSIXized ISC
configure:1030: checking for gperf
configure:1030: checking for cperf
configure:1152: checking for gcc version 2.7.2.3
configure:1166: checking if ar chokes on -r
itojun[lychee:/home/itojun/work/kame-apps/qpopper3] sh -x ./configure |&tail -30
+ test -f /bin/cperf
+ IFS=
+ GPERF=
+ test -n
+ echo no
no
+ test -n
+ test -n
+ GPERF=echo configure: warning: Unable to find gperf/cperf 1>&2
warning:: not found
+ test = yes
+ test yes = yes
+ echo -n checking for gcc version 2.7.2.3...
checking for gcc version 2.7.2.3... + echo configure:1152: checking for gcc version 2.7.2.3
+ gcc+ grep --version 2\.7\.2\.3
+ echo no
no
+ echo -n checking if ar chokes on -r...
checking if ar chokes on -r... + echo configure:1166: checking if ar chokes on -r
+ ar -r junque.ar configure.in
Segmentation fault
+ ar r junque.ar configure.in
Segmentation fault
+ echo ar fails
ar fails
+ echo configure: error: ar doesn't work
configure: error: ar doesn't work
+ exit 1
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: