Subject: pkg/7149: mc package fails to link under -current
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mason@acheron.middleboro.ma.us>
List: netbsd-bugs
Date: 03/13/1999 12:40:09
>Number: 7149
>Category: pkg
>Synopsis: mc package fails to link under -current
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Mar 13 09:50:00 1999
>Last-Modified:
>Originator: Mason Loring Bliss
>Organization:
Mason Loring Bliss (( "In the drowsy dark cave of the mind dreams
mason@acheron.middleboro.ma.us )) build their nest with fragments dropped
http://acheron.ne.mediaone.net (( from day's caravan." - Rabindranath Tagore
>Release: 1999.03.02, pkgsrc 1999.03.13
>Environment:
System: NetBSD acheron.middleboro.ma.us 1.3K NetBSD 1.3K (MLB) #8: Wed Mar 3 13:19:36 EST 1999 root@acheron.middleboro.ma.us:/usr/src/sys/arch/i386/compile/MLB i386
>Description:
Midnight Commander fails to build with semi-old libslang installed. (The
libslang in question is the same version as the -current libslang, so I
assume something that there was something odd with the old installation.)
It would be interesting to see if anyone who's got libslang built from
pkgsrc but who doesn't have mc built at the moment can reproduce this -
I didn't think to check ownership (etc) on the old libslang libraries
before reinstalling from pkgsrc.
cc -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Lno/lib -o mc dir.o util.o screen.o dialog.o key.o keyxdef.o menu.o file.o win.o color.o help.o find.o profile.o user.o view.o ext.o mouse.o setup.o dlg.o option.o tree.o widget.o chmod.o mad.o wtools.o info.o cons.handler.o chown.o subshell.o terms.o boxes.o hotlist.o achown.o layout.o fsusage.o mountlist.o regex.o complete.o slint.o command.o cmd.o main.o panelize.o learn.o listmode.o utilunix.o background.o rxvt.o popt.o text.o -L../vfs -L../slang -L../edit -lvfs -lmcslang -ledit -lintl -lm -ltermcap -lcrypt -ltermcap
util.o: warning: getwd() possibly used unsafely, consider using getcwd()
user.o: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp()
ext.o: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp()
slint.o: Undefined symbol `__SLsys_getkey' referenced from text segment
slint.o: Undefined symbol `__SLsys_input_pending' referenced from text segment
vfs.o: warning: getwd() possibly used unsafely, consider using getcwd()
vfs.o: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp()
tar.o: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp()
extfs.o: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp()
ftpfs.o: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp()
editcmd.o: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp()
collect2: ld returned 1 exit status
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
>How-To-Repeat:
cd /usr/pkgsrc/misc/mc && make
>Fix:
Remove and rebuild libslang.
>Audit-Trail:
>Unformatted: