Subject: pkg/12672: pkg//ispell-british uses /*usr*/tmp
To: None <gnats-bugs@gnats.netbsd.org>
From: None <cagney@tpgi.com.au>
List: netbsd-bugs
Date: 04/15/2001 15:14:29
>Number:         12672
>Category:       pkg
>Synopsis:       pkg//ispell-british uses /*usr*/tmp
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 15 15:15:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.5.1_BETA
>Organization:
	
>Environment:

System: NetBSD 1.5.1_BETA NetBSD 1.5.1_BETA (NETTLE) #0: Sat Apr 14 19:56:20 PDT 2001 root@dhcp9:/usr/src/sys/arch/macppc/compile/NETTLE macppc

>Description:

The ispell-british package uses /usr/tmp. Should it use /var/tmp?

>How-To-Repeat:

Note the output from sort below.  There is no /usr/tmp on my very fresh 1.5.1
beta system.

===> Building for ispell-british-3.1.20
set +vx;  for var in BINDIR CC CFLAGS COUNTSUFFIX DEFDICT DEFHASH DEFLANG  ELISPDIR EMACS HASHSUFFIX INSTALL  LANGUAGES LIBDIR LIBES LINT LINTFLAGS  MAKE_SORTTMP MAN1DIR MAN1EXT MAN4DIR MAN4EXT MASTERHASH  MSGLANG REGLIB STATSUFFIX  TERMLIB TEXINFODIR YACC  ; do  cat config.X local.h  | sed -n -e "s/^#define[  ]*$var[         ]*"'"'"/$var=/p"  | sed -e 's/".*$/'"'/" -e "s/=/='/"  | tail -1;  done > config.sh;  echo 'case "$MAKE_SORTTMP" in "")  SORTTMP="-e /!!SORTTMP!!/s/=.*$/=/";; *) SORTTMP=;; esac'  
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
 >> config.sh
 make LANGUAGE_TARGET=all SHELLDEBUG=+vx language-subdirs
 + cd languages/british
 + eval make BUILD=build DBUILD=build CBUILD=build SHELLDEBUG=+vx  'MASTERDICTS=british.xlg' 'HASHFILES=britishxlg.hash' 'EXTRADICT=' all
 + make BUILD=build DBUILD=build CBUILD=build SHELLDEBUG=+vx MASTERDICTS=british.xlg HASHFILES=britishxlg.hash EXTRADICT= all
 rm -f english.[0-3] american.[0-2] altamer.[012] british.[012]
 make -f ../english/Makefile 'DBUILD=' VARIANTS=british  'EXTRADICT=' 'SHELLDEBUG=+vx'  'AFFIXES=../english/english.aff'  english.xlg
 + eval sort -u -t/ +0f -1 +0 -T ${TMPDIR-/usr/tmp} -o english.xlg english.0 english.1 english.2 english.3 british.0 british.1 british.2
 + sort -u -t/ +0f -1 +0 -T /usr/tmp -o english.xlg english.0 english.1 english.2 english.3 british.0 british.1 british.2
 error 2:/usr/tmp/sort0240200001
 *** Error code 2