Subject: pkg/14114: Cannot build emacs anymore
To: None <gnats-bugs@gnats.netbsd.org>
From: Lennart Augustsson <augustss@augustsson.net>
List: netbsd-bugs
Date: 10/01/2001 16:36:50
>Number:         14114
>Category:       pkg
>Synopsis:       Cannot build emacs anymore
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 01 07:38:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Lennart Augustsson
>Release:        NetBSD-current 2001-10-01
>Organization:
>Environment:
System: NetBSD hobbes 1.5Y NetBSD 1.5Y (HOBBES) #24: Sat Sep 29 01:21:37 MEST 2001 augustss@hobbes:/usr/src/sys/arch/i386/compile/HOBBES i386
Architecture: i386
Machine: i386
>Description:
	Since the new tool chain was made the default I have been
	unable to build many packages, e.g., emacs.
>How-To-Repeat:
	Just try to build emacs
		cd pkgsrc/editors/emacs
		make
	And then you see
cc   `echo -R/usr/X11R6/lib  | sed -e 's/-R/-Wl,-rpath,/'`                         -o temacs  dispnew.o frame.o scroll.o xdisp.o xmenu.o window.o      charset.o coding.o category.o ccl.o    cm.o term.o xfaces.o xterm.o xfns.o xselect.o xrdb.o fontset.o         emacs.o keyboard.o macros.o keymap.o sysdep.o   buffer.o filelock.o insdel.o marker.o intervals.o textprop.o   minibuf.o fileio.o dired.o filemode.o  cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o 
        alloc.o data.o doc.o editfns.o callint.o        eval.o floatfns.o fns.o print.o lread.o        abbrev.o syntax.o unexelf.o  mocklisp.o bytecode.o    process.o callproc.o     region-cache.o  doprnt.o strftime.o       tparam.o lastfile.o gmalloc.o ralloc.o vm-limit.o  widget.o            ../lwlib/liblw.a -L/usr/X11R6/lib    -lXaw -lXmu  -lXt -lSM -lICE -lXext -lX11          -ltermcap        -lm    
/usr/X11R6/lib/libXaw.so: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp()
callproc.o: In function `Fcall_process_region':
callproc.o(.text+0x10f9): warning: mktemp() possibly used unsafely, use mkstemp() or mkdtemp()
/usr/bin/ld: warning: libXpm.so.4, needed by /usr/X11R6/lib/libXaw.so, not found (try using -rpath or -rpath-link)
/usr/X11R6/lib/libXaw.so: undefined reference to `XpmReadFileToPixmap'
collect2: ld returned 1 exit status

>Fix:
	It appears that ld is broken, so fix it.
>Release-Note:
>Audit-Trail:
>Unformatted: