NetBSD Problem Report #57008

From greywolf@starwolf.com  Tue Sep 13 08:03:00 2022
Return-Path: <greywolf@starwolf.com>
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 C70671A923A
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 13 Sep 2022 08:02:59 +0000 (UTC)
Message-Id: <20220913064639.0F1B615611@valentina.serenity.starwolf.com>
Date: Mon, 12 Sep 2022 23:46:39 -0700 (PDT)
From: greywolf@starwolf.com
Reply-To: greywolf@starwolf.com
To: gnats-bugs@NetBSD.org
Subject: CD-ROM built without dynamic root has no /usr/libexec/ld.elf_so
X-Send-Pr-Version: 3.95

>Number:         57008
>Category:       install
>Synopsis:       /usr/src/distrib/sets/lists/base/shl.mi ld.elf_so mis-tagged
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 13 08:05:00 +0000 2022
>Originator:     greywolf@starwolf.com
>Release:        NetBSD 9.99.99
>Organization:

				--*greywolf;
>Environment:


System: NetBSD valentina.serenity.starwolf.com 9.99.99 NetBSD 9.99.99 (VALENTINA_NVMM) #0: Sat Sep 10 18:57:48 PDT 2022 greywolf@valentina.serenity.starwolf.com:/usr/src/sys/arch/amd64/compile/VALENTINA_NVMM amd64
Architecture: x86_64
Machine: amd64
>Description:
	When building 'release', the cdrom/boot.iso image does not have
	/usr/libexec/ld.elf_so present on it.  I believe this is because,
	in /usr/src/distrib/sets/lists/base/shl.mi, /usr/libexec/ld.elf_so is
	tagged with "dynamicroot".  /libexec/ld.elf_so would be understandable,
	however, even with a static root, the binaries under /usr are NOT
	statically linked and still require a dynamic linker.

	In particular, on the CDROM, one kind of needs "sysinst" to work --
	which it does not if ld.elf_so is missing.

>How-To-Repeat:
	put MKDYNAMICROOT=no in /etc/mk.conf
	build.sh {other-args} release
>Fix:
	Change the tag in distrib/sets/lists/base/shl.mi for 
	/usr/libexec/ld.elf_so from dynamicroot to compatfile or something
	else meaningful.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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-2022 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.