Subject: pkg/14966: print/a2ps: PAPERSIZE not honored in config; build hangs on 'sed'
To: None <gnats-bugs@gnats.netbsd.org>
From: None <tuinstra@northnet.org>
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
>Closed-Date:
>Last-Modified:
>Originator:     Dwight Tuinstra <tuinstra@northnet.org>
>Release:        NetBSD 1.5.2
>Organization:
>Environment:
System: NetBSD manticore.sylvanfalls.net 1.5.2 NetBSD 1.5.2 (MANTICORE) #1: Fri Dec 7 19:30:27 EST 2001 root@manticore.sylvanfalls.net:/lfs1/src.nb152/sys/arch/i386/compile/MANTICORE i386


>Description:
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/bsd.pkg.defaults.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-4.13.0.2] ===> Building for a2ps-4.13.0.2
     /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.am Makefile.amt
     sed -n '1,/^##m4-files-begin/p'  > Makefile.amt


>How-To-Repeat:
     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).

>Fix:
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.
>Release-Note:
>Audit-Trail:
>Unformatted: