From owner-freebsd-bugs Mon May 21 2:30: 5 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 48A6C37B43E for ; Mon, 21 May 2001 02:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f4L9U2j77732; Mon, 21 May 2001 02:30:02 -0700 (PDT) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CB19A37B506 for ; Mon, 21 May 2001 02:22:46 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f4L9Mks76938; Mon, 21 May 2001 02:22:46 -0700 (PDT) (envelope-from nobody) Message-Id: <200105210922.f4L9Mks76938@freefall.freebsd.org> Date: Mon, 21 May 2001 02:22:46 -0700 (PDT) From: ask@wisdom.weizmann.ac.il To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/27491: buildworld failed due to kbdcontrol Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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