Subject: pkg/8744: emacs pkg won't build in -current on x86
To: None <gnats-bugs@gnats.netbsd.org>
From: None <perry@piermont.com>
List: netbsd-bugs
Date: 11/04/1999 08:04:19
>Number:         8744
>Category:       pkg
>Synopsis:       emacs pkg won't build in -current on x86
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager (NetBSD software packages system bug manager)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov  4 08:03:00 1999
>Last-Modified:
>Originator:     Perry E. Metzger
>Organization:
Perry Metzger		perry@piermont.com
--
"Ask not what your country can force other people to do for you..."
>Release:        NetBSD-current November 2, 1999
>Environment:
	
System: NetBSD snark.piermont.com 1.4M NetBSD 1.4M (SNARK) #0: Wed Oct 27 14:25:04 EDT 1999 perry@snark.piermont.com:/usr/src/sys/arch/i386/compile/SNARK i386


>Description:
	This happens when I do a "make install" in
	pkgsrc/editors/emacs

gmake[1]: Circular unexelf.c <- unexelf.c dependency dropped.
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.c  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    
unexelf.c:478: warning: `PT_LOAD' redefined
/usr/include/sys/exec_elf.h:192: warning: this is the location of the previous definition
unexelf.c:479: warning: `SHT_SYMTAB' redefined
/usr/include/sys/exec_elf.h:232: warning: this is the location of the previous definition
unexelf.c:480: warning: `SHT_DYNSYM' redefined
/usr/include/sys/exec_elf.h:241: warning: this is the location of the previous definition
unexelf.c:481: warning: `SHT_NULL' redefined
/usr/include/sys/exec_elf.h:230: warning: this is the location of the previous definition
unexelf.c:482: warning: `SHT_NOBITS' redefined
/usr/include/sys/exec_elf.h:238: warning: this is the location of the previous definition
unexelf.c:483: warning: `SHT_REL' redefined
/usr/include/sys/exec_elf.h:239: warning: this is the location of the previous definition
unexelf.c:484: warning: `SHT_RELA' redefined
/usr/include/sys/exec_elf.h:234: warning: this is the location of the previous definition
unexelf.c:486: warning: `SHN_UNDEF' redefined
/usr/include/sys/exec_elf.h:338: warning: this is the location of the previous definition
unexelf.c:487: warning: `SHN_ABS' redefined
/usr/include/sys/exec_elf.h:340: warning: this is the location of the previous definition
unexelf.c:488: warning: `SHN_COMMON' redefined
/usr/include/sys/exec_elf.h:341: warning: this is the location of the previous definition
unexelf.c: In function `unexec':
unexelf.c:881: `Elf_pt_load' undeclared (first use in this function)
unexelf.c:881: (Each undeclared identifier is reported only once
unexelf.c:881: for each function it appears in.)
unexelf.c:1041: `Elf_sht_symtab' undeclared (first use in this function)
unexelf.c:1041: `Elf_sht_dynsym' undeclared (first use in this function)
unexelf.c:1046: `Elf_sht_null' undeclared (first use in this function)
unexelf.c:1046: `Elf_sht_nobits' undeclared (first use in this function)
unexelf.c:1108: `Elf_eshn_undefined' undeclared (first use in this function)
unexelf.c:1109: `Elf_eshn_absolute' undeclared (first use in this function)
unexelf.c:1110: `Elf_eshn_common' undeclared (first use in this function)
unexelf.c:1149: `Elf_sht_rel' undeclared (first use in this function)
unexelf.c:1150: `Elf_sht_rela' undeclared (first use in this function)
gmake[1]: *** [temacs] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/editors/emacs/work/emacs-20.3/src'
gmake: *** [src] Error 2
*** Error code 2

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.


>How-To-Repeat:
	cd /usr/pkgsrc/editors/emacs; make install
>Fix:
	unknown.
>Audit-Trail:
>Unformatted: