NetBSD Problem Report #7149

Received: (qmail 14200 invoked from network); 13 Mar 1999 17:40:13 -0000
Message-Id: <199903131740.MAA15014@acheron.middleboro.ma.us>
Date: Sat, 13 Mar 1999 12:40:09 -0500 (EST)
From: mason@acheron.middleboro.ma.us
Reply-To: mason@acheron.middleboro.ma.us
To: gnats-bugs@gnats.netbsd.org
Subject: mc package fails to link under -current
X-Send-Pr-Version: 3.95

>Number:         7149
>Category:       pkg
>Synopsis:       mc package fails to link under -current
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    gnats-admin
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 13 09:50:00 +0000 1999
>Closed-Date:    Sun Mar 14 23:06:33 +0000 1999
>Last-Modified:  Sun Mar 14 23:07:46 +0000 1999
>Originator:     Mason Loring Bliss
>Release:        1999.03.02, pkgsrc 1999.03.13
>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
>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.

>Release-Note:
>Audit-Trail:

From: Geoff Wing <gcw@pobox.com>
To: gnats-bugs@netbsd.org
Cc:  Subject: Re: pkg/7149: mc package fails to link under -current
Date: Mon, 15 Mar 1999 09:35:56 +1100

 See

     Subject: Re: pkg/6773

     Synopsis: misc/mc doesn't depend on libslang-1.2.2

     State-Changed-From-To: open->analyzed
     State-Changed-By: tv
     State-Changed-When: Sat Jan 9 08:16:15 PST 1999
     State-Changed-Why: 
     `mybug'.  I plan on updating mc, anyway, as it's horribly out of date.
 -- 
 Geoff Wing   <gcw@pobox.com>            Mobile : (Australia) 0412 162 441
 Work URL: http://www.primenet.com.au/   Ego URL: http://pobox.com/~gcw/
State-Changed-From-To: open->closed 
State-Changed-By: tron 
State-Changed-When: Sun Mar 14 15:06:33 PST 1999 
State-Changed-Why:  
The new "mc-4.5.25" package definitely works with the "libslang-1.2.2" package. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.