Subject: pkg/14966: print/a2ps: PAPERSIZE not honored in config; build hangs on 'sed'
To: None <>
From: None <>
List: netbsd-bugs
Date: 12/16/2001 15:59:37
>Number:         14966
>Category:       pkg
>Synopsis:       print/a2ps: PAPERSIZE not honored in config; build hangs on 'sed'
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 16 12:59:00 PST 2001
>Originator:     Dwight Tuinstra <>
>Release:        NetBSD 1.5.2
System: NetBSD 1.5.2 NetBSD 1.5.2 (MANTICORE) #1: Fri Dec 7 19:30:27 EST 2001 i386

After updating my pkgsrc tree (12/16/01) and doing a 'make clean' 
in the a2ps directory, two bogons appear when I issue the
'make' command.  Configuration appears to work ok, but then:

  1) As a last message, configure reports that it believes I
    use A4 paper, despite PAPERSIZE being set to Letter in
    both /etc/mk.conf and /usr/pkgsrc/mk/
    This even occurs when I use an '=' operator rather than '=?'
    to set PAPERSIZE in both files.

  2) Just after building begins, there is a call to sed which
     has a quoted script, but no input file, hanging the build:

     ===> build-message [a2ps-] ===> Building for a2ps-
     /usr/bin/touch /lfs1/pkgsrc/print/a2ps/work/a2ps-4.13/doc/*.info
     /usr/bin/touch /lfs1/pkgsrc/print/a2ps/work/a2ps-4.13/doc/*.dvi
     make  all-recursive
     Making all in auxdir
     Making all in m4
     rm -f Makefile.amt
     sed -n '1,/^##m4-files-begin/p'  > Makefile.amt

     This persists across 'make clean' commands. Happens every time,
     whether at console or in GUI, in bash or tcsh, with makefile
     shell set to /bin/sh or /usr/pkg/bin/bash (as suggested in the
     most closely related problem on the a2ps Known Bugs site).

Not known (tried messing with it a bit but to no avail).
     The a2ps site doesn't have the problem listed on their Known
     Bugs page.