Bug 61535 - No default /etc/libmap.conf
Summary: No default /etc/libmap.conf
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 5.2-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-18 16:00 UTC by Robert M. Zigweid
Modified: 2004-04-23 16:02 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert M. Zigweid 2004-01-18 16:00:37 UTC
There appears to be no default /etc/libmap.conf.  There are ports, such as kdelib3 which do not compile under the default configuration, creating an error.  The recommended fix for this problem is to use /etc/libmap.conf.  Due to the popularity of packages such as kde, and the issues with switching the PTHREADS implementation, there should be a default setup available via mergemaster or somesuch.

The error from kdelibs3 was found while running portinstall.  

./dcop/dcopidl/dcopidl ./ksycoca.h > ksycoca.kidl || ( rm -f ksycoca.kidl ; fal
se )
Fatal error 'Spinlock called when not threaded.' at line 83 in file /usr/src/lib
/libpthread/thread/thr_spinlock.c (errno = 0)
Abort trap (core dumped) 
gmake[3]: *** [ksycoca.kidl] Error 1
gmake[3]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.1.4/kdecore'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.1.4/kdecore'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.1.4'
gmake: *** [all] Error 2

How-To-Repeat: portinstall kdelibs3 without PTHREAD_LIBS set (or changed from the default) and no existing /etc/libmap.conf
Comment 1 Tilman Keskinoz freebsd_committer freebsd_triage 2004-04-23 16:02:15 UTC
State Changed
From-To: open->closed

libmap.conf is not needed by default. Please read the corresponding 
UPDATING entry.