NetBSD Problem Report #44942

From  Sat May  7 00:12:16 2011
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id 1D68663BBEC
	for <>; Sat,  7 May 2011 00:12:16 +0000 (UTC)
Message-Id: <>
Date: Sat,  7 May 2011 00:12:16 +0000 (UTC)
Subject: certain generated xsrc files don't rebuild
X-Send-Pr-Version: 3.95

>Number:         44942
>Category:       xsrc
>Synopsis:       certain generated xsrc files don't rebuild
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 07 00:15:00 +0000 2011
>Originator:     David A. Holland
>Release:        (current)

There's an ugly mess in that generates .pc files. There are
other less prominent rules in there that also contribute content to
build products. None of these build products depend on, so -u won't regenerate them when changes. This causes
update builds to diverge from fresh builds and sometimes break, or
break X apps. See PR 43942 for an example.

However, depending on is undesirable and messy because we
rely on make's include path to find it.



Change all the nontrivial build rules into standalone shell scripts
and make the build products depend on the shell scripts that generate
them. This is not entirely trivial.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.