NetBSD Problem Report #57607

From www@netbsd.org  Wed Sep  6 13:16:57 2023
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 07F271A9239
	for <gnats-bugs@gnats.NetBSD.org>; Wed,  6 Sep 2023 13:16:57 +0000 (UTC)
Message-Id: <20230906131655.B68551A923A@mollari.NetBSD.org>
Date: Wed,  6 Sep 2023 13:16:55 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: external lib/Makefile needs build_install treatment
X-Send-Pr-Version: www-1.0

>Number:         57607
>Category:       lib
>Synopsis:       external lib/Makefile needs build_install treatment
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 06 13:20:00 +0000 2023
>Last-Modified:  Wed Sep 06 14:05:01 +0000 2023
>Originator:     Taylor R Campbell
>Release:        current
>Organization:
The NetBSD Buildinstallation
>Environment:
>Description:
Like in https://gnats.netbsd.org/57461, the following library directories (found by searching for `.WAIT' in **/lib/Makefile) probably need the build_install treatment:

crypto/external/bsd/heimdal/lib
crypto/external/bsd/netpgp/lib
external/apache2/llvm/lib
external/bsd/atf/lib
external/bsd/elftoolchain/lib
external/bsd/libevent/lib
external/bsd/openldap/lib
external/cddl/osnet/lib
external/gpl3/gcc.old/lib
external/gpl3/gcc/lib
external/ibm-public/postfix/lib
external/mit/xorg/lib

Some of these may be false alarms, if they only install private libraries and reach over with LIBDPLIBS or PROGDPLIBS so they don't require dependall && install in their dependencies before dependall can run in them.
>How-To-Repeat:
incremental builds after shlib major bumps
>Fix:
Yes, please!

>Audit-Trail:
From: Joerg Sonnenberger <joerg@bec.de>
To: gnats-bugs@netbsd.org
Cc: lib-bug-people@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org
Subject: Re: lib/57607: external lib/Makefile needs build_install treatment
Date: Wed, 6 Sep 2023 16:03:01 +0200

 On Wed, Sep 06, 2023 at 01:20:00PM +0000, campbell+netbsd@mumble.net wrote:
 > Like in https://gnats.netbsd.org/57461, the following library directories (found by searching for `.WAIT' in **/lib/Makefile) probably need the build_install treatment:
 > 
 > external/apache2/llvm/lib

 Only builds static libraries and llvm/librt only builds PIC archives.
 The latter is only used by Xorg and that's in a separate .WAIT block
 from src/lib/Makefile.

 Joerg

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