NetBSD Problem Report #57846
From www@netbsd.org Sat Jan 13 14:32:12 2024
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 892C11A9239
for <gnats-bugs@gnats.NetBSD.org>; Sat, 13 Jan 2024 14:32:12 +0000 (UTC)
Message-Id: <20240113143210.DF4441A923A@mollari.NetBSD.org>
Date: Sat, 13 Jan 2024 14:32:10 +0000 (UTC)
From: logix@foobar.franken.de
Reply-To: logix@foobar.franken.de
To: gnats-bugs@NetBSD.org
Subject: erroneous entries in ad.mips when building evbmips64-eb with MKDEBUG=yes
X-Send-Pr-Version: www-1.0
>Number: 57846
>Category: port-mips
>Synopsis: erroneous entries in ad.mips when building evbmips64-eb with MKDEBUG=yes
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-mips-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jan 13 14:35:00 +0000 2024
>Originator: Harold Gutch
>Release: NetBSD 10.0 RC2
>Organization:
>Environment:
Linux h-Precision-T3600 6.5.0-14-generic #14-Ubuntu SMP PREEMPT_DYNAMIC Tue Nov 14 14:59:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
(Ubuntu 23.10)
>Description:
Building evbmips64-eb with MKDEBUG=yes gets until the end where it checks the set lists, where this happens:
checkflist ===> distrib/sets
--- check_DESTDIR ---
--- checkflist ---
[...]
====== 6 missing files in DESTDIR ========
Files in flist but missing from DESTDIR.
File wasn't installed ?
------------------------------------------
./usr/libdata/debug/netbsd-msk0-XLSATX32.debug
./usr/libdata/debug/netbsd-msk0-XLSATX64.debug
./usr/libdata/debug/netbsd-sd0a-XLSATX32.debug
./usr/libdata/debug/netbsd-sd0a-XLSATX64.debug
./usr/libdata/debug/netbsd-wm0-XLSATX32.debug
./usr/libdata/debug/netbsd-wm0-XLSATX64.debug
======== end of 6 missing files ==========
*** Failed target: checkflist
*** Failed commands:
${SETSCMD} ${.CURDIR}/checkflist ${MAKEFLIST_FLAGS} ${CHECKFLIST_FLAGS} ${METALOG.unpriv}
The "missing files" are from src/distrib/sets/lists/debug/ad.mips and the last time this was touched was about 2 years ago: https://mail-index.netbsd.org/source-changes/2022/01/02/msg136320.html .
>How-To-Repeat:
./build.sh -u -U -j 16 -m evbmips64-eb -O ../obj-evbmips64-eb -V MKDEBUG=yes -V MKCROSSGDB=yes tools
./build.sh -u -U -j 16 -m evbmips64-eb -O ../obj-evbmips64-eb -V MKDEBUG=yes -V MKCROSSGDB=yes release
MKCROSSGDB is probably a red herring, this is very likely to be triggered even without. But in the off chance that this is needed, I needed the patch from misc/57841 in order to build this on Ubuntu 23.10 which comes with gcc 13.2.0. Most likely all of this happens in any other environment too, including building this on NetBSD.
>Fix:
Yes please, ideally before the 10.0 release.
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.