Subject: toolchain/30279: X11 version used when building sets is inconsistent
To: None <toolchain-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 05/19/2005 13:54:00
>Number:         30279
>Category:       toolchain
>Synopsis:       X11 version used when building sets is inconsistent
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 19 13:54:00 +0000 2005
>Originator:     Martin Husemann
>Release:        NetBSD 3.99.3
>Organization:
>Environment:
System: NetBSD sunny-weather.duskware.de 3.99.3 NetBSD 3.99.3 (SUNNY) #18: Mon May 16 20:24:56 CEST 2005 martin@sunny-weather.duskware.de:/usr/src/sys/arch/sparc64/compile/SUNNY sparc64
Architecture: sparc64
Machine: sparc64
>Description:

When building a NetBSD releas (with build.sh), it depends on the host arch
which X11 sets are created. This is obviously pretty bad.

>How-To-Repeat:

On an i386 and a sparc64 machine, which both have sparc64 tools build
in /usr/tools, try:

cd /usr/src/distrib/sets
/usr/tools/bin/nbmake-sparc64 print_x11_version
make print_x11_version


On sparc64, both results will be "4".
On i386, the result for sparc64 will be ""

I bet this works for any other arch, so that the native tools always result
in "4" instead of "". But if I build.sh -x a release, I want src/x11 sets,
i.e. xserver.tgz instead of xserver4.tgz.

A separate issue is, why we bother to have support for the "4" variant at
all when creating sets. Not even postinstall supports the "4" variant, so
we should eventually get rid of it completely.

>Fix:
n/a