NetBSD Problem Report #56333

From cjep@netbsd.org  Wed Jul 28 16:46:49 2021
Return-Path: <cjep@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 D4C761A921F
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 28 Jul 2021 16:46:49 +0000 (UTC)
Message-Id: <20210728164648.3B57B1A9245@mollari.NetBSD.org>
Date: Wed, 28 Jul 2021 16:46:48 +0000 (UTC)
From: cjep@netbsd.org
Reply-To: cjep@netbsd.org
To: gnats-bugs@NetBSD.org
Subject: Building X with build.sh breaks in gallium.old on various build hosts
X-Send-Pr-Version: 3.95

>Number:         56333
>Category:       xsrc
>Synopsis:       Building X with build.sh breaks in gallium.old on various build hosts
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    cjep
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 28 16:50:01 +0000 2021
>Closed-Date:    Thu Jul 29 19:57:58 +0000 2021
>Last-Modified:  Thu Jul 29 19:57:58 +0000 2021
>Originator:     Chris Pinnock
>Release:        Recent NetBSD-current sources as of 28th July
>Organization:
>Environment:
Seen on various build hosts:
NetBSD/macppc 9.99.87 building NetBSD/macppc current
OpenBSD/amd64 building various targets
Darwin building various targets

>Description:

The build fails when building gallium.old:
--- install-static ---
#   install  /home/cjep/src/NetBSD/current/src/../objects/macppc/destdir.macppc/usr/X11R7/lib/libX11_p.a
/home/cjep/src/NetBSD/current/src/../objects/macppc/tooldir.NetBSD-9.99.87-macppc/bin/powerpc--netbsd-install -U -M /home/cjep/src/NetBSD/current/src/../objects/macppc/destdir.macppc/METALOG -D /home/cjep/src/NetBSD/current/src/../objects/macppc/destdir.macppc -h sha256 -N /home/cjep/src/NetBSD/current/src/etc -c -p -r -o root -g wheel -m 444   libX11_p.a /home/cjep/src/NetBSD/current/src/../objects/macppc/destdir.macppc/usr/X11R7/lib/libX11_p.a
dependall-dri.old ===> external/mit/xorg/lib	(with: dependall-gallium.old dependall-fontconfig dependall-libSM)
dependall ===> external/mit/xorg/lib/gallium.old
nbmake[4]: nbmake[4]: don't know how to make link_uniform_block_active_visitor.h. Stop
nbmake[4]: stopped in /home/cjep/src/NetBSD/current/src/external/mit/xorg/lib/gallium.old
*** Failed target:  dependall-gallium.old
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="external/mit/xorg/lib/"; real="/home/cjep/src/NetBSD/current/src/external/mit/xorg/lib" ;; *) this="external/mit/xorg/lib/${dir}/"; real="/home/cjep/src/NetBSD/current/src/external/mit/xorg/lib/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /home/cjep/src/NetBSD/current/src/../objects/macppc/tooldir.NetBSD-9.99.87-macppc/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget gallium.old dependall
*** Error code 2
Stop.
nbmake[3]: stopped in /home/cjep/src/NetBSD/current/src/external/mit/xorg/lib

>How-To-Repeat:
On NetBSD/macppc, build.sh including X targetting macppc.
On Darwin, build.sh including X targetting acorn32, algor and many other
platforms.

>Fix:
Maybe look at the includes in the gallium Makefiles - perhaps they should
be replaced with their old.mk counterparts, but I haven't been able to make
much more progress.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: xsrc-manager->cjep
Responsible-Changed-By: cjep@NetBSD.org
Responsible-Changed-When: Wed, 28 Jul 2021 18:16:05 +0000
Responsible-Changed-Why:
Take


State-Changed-From-To: open->feedback
State-Changed-By: cjep@NetBSD.org
State-Changed-When: Wed, 28 Jul 2021 18:16:05 +0000
State-Changed-Why:
Looks like a stuffed xsrc directory (believe it or not on 3 different machines...). Will recheck and update here later on.


State-Changed-From-To: feedback->closed
State-Changed-By: cjep@NetBSD.org
State-Changed-When: Thu, 29 Jul 2021 19:57:58 +0000
State-Changed-Why:
Turned out to be user error (xsrc checked out wrongly in three different ways
on three different machines...).


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.