Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 May 2001 02:22:46 -0700 (PDT)
From:      ask@wisdom.weizmann.ac.il
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/27491: buildworld failed due to kbdcontrol
Message-ID:  <200105210922.f4L9Mks76938@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         27491
>Category:       misc
>Synopsis:       buildworld failed due to kbdcontrol
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 21 02:30:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Klimov
>Release:        5.0
>Organization:
WIS
>Environment:
It is changed after reinstall (4.3 -> 5.0)
>Description:
I downloaed FreeBSD 4.3 and installed it. I downloaded sources of -CURRENT
version, and try to `make buildworld'. Aftera while I got an error message:
===================================
cc -O -pipe -march=pentiumpro -Wall -I/usr/src/usr.sbin/sysinstall/../../gnu/lib/libdialog -I.   -I/usr/obj/usr/src/i386/usr/include -c /usr/src/usr.sbin/sysinstall/keymap.c
In file included from /usr/src/usr.sbin/sysinstall/keymap.c:40:
keymap.h:3606: `keymap_ua_koi8_u_shift_alt' undeclared here (not in a function)
keymap.h:3606: initializer element is not constant
keymap.h:3606: (near initialization for `keymapInfos[21].map')
*** Error code 1
===================================
After some investigation I found the reason:
the file `src/usr.sbin/sysinstall/Makefile' has rule to make `keymap.h', 
and this rule uses `kbdcontrol' to generate parts of `keymap.h'. 
Among other maps it has `ua.koi8-u.shift.alt', but it is not installed 
on the base system, so `kbdcontrol' generate error message, which is 
ignored, and I receive the above message. As a workaround I just 
removed `ua.koi8-u.shift.alt' from the makefile, and the compilation 
smoothly succesed. (Strangely enought, during installation the removed 
keymap was installed to the system.) My guess is that the behaviour of 
the `kbdcontrol' was changed so it could handle `-L' option 
(I didn't find it in man for 4.3), so developers never saw the problem.

>How-To-Repeat:
Install 4.3 and buildworld -CURRENT
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105210922.f4L9Mks76938>