NetBSD Problem Report #50132

From wiz@yt.nih.at  Thu Aug  6 09:00:21 2015
Return-Path: <wiz@yt.nih.at>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 4F83DA5858
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  6 Aug 2015 09:00:21 +0000 (UTC)
Message-Id: <20150806090011.84E442AC10F@yt.nih.at>
Date: Thu,  6 Aug 2015 11:00:11 +0200 (CEST)
From: Thomas Klausner <wiz@NetBSD.org>
Reply-To: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@NetBSD.org
Subject: MKREPRO: Problem with radeon.html
X-Send-Pr-Version: 3.95

>Number:         50132
>Category:       xsrc
>Synopsis:       MKREPRO: Problem with radeon.html
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 06 09:05:00 +0000 2015
>Closed-Date:    
>Last-Modified:  Sun Mar 22 10:01:02 +0000 2020
>Originator:     Thomas Klausner
>Release:        NetBSD 7.99.20
>Organization:
Curiosity is the very basis of education and if you tell me that 
curiosity killed the cat, I say only that the cat died nobly.
- Arnold Edinborough
>Environment:


Architecture: x86_64
Machine: amd64
>Description:
In two consecutive builds with MKREPRO, I got two different versions of
/usr/X11R7/man/html4/radeon.html installed. Here's the start of the diff:

diff -r amd64.gcc.20150806.build1/usr/X11R7/man/html4/radeon.html amd64.gcc.20150806/usr/X11R7/man/html4/radeon.html
28c28
< <h1>NAME</h1> radeon &#45; ATI RADEON video driver</div>
---
> <h1>NAME</h1> radeon &#45; ATI/AMD RADEON video driver</div>
35c35
< <h1>DESCRIPTION</h1> radeon is an Xorg driver for ATI RADEON-based video cards with the following features:<p>
---
> <h1>DESCRIPTION</h1> radeon is an Xorg driver for ATI/AMD RADEON-based video cards with the following features:<p>
52,57d51
< TV-out support (only on RV/RS1xx, RV/RS2xx, R/RV/RS3xx. Experimental support on R/RV5xx, R/RV6xx, and R/RV7xx through the ATOMTvOut op
tion);  TV-out is not supported on cards that use the Rage Theatre chip for TV-out (R100, R200).</dd>
< </dl>
< <dl>
< <dt>
< &#8226;</dt>
< <dd>
64,69d57
< Full XAA 2D acceleration (only on R/RV/RS1xx, R/RV/RS2xx, R/RV/RS3xx, R/RV/RS4xx, R/RV5xx, RS6xx. XAA Render acceleration supported only on R
/RV100, R/RV/RS2xx and RS3xx);</dd>
< </dl>
< <dl>
< <dt>
< &#8226;</dt>
< <dd>
76,81d63
< Overlay XVideo acceleration (only on R/RV/RS1xx, R/RV/RS2xx, R/RV/RS3xx, R/RV/RS4xx);</dd>
< </dl>
< <dl>
< <dt>
< &#8226;</dt>
< <dd>


grepping through xsrc, I see these two copies of the man page

./external/mit/xf86-video-ati/dist/man/radeon.man:Radeon X700, M26 PCIE
./external/mit/xf86-video-ati-kms/dist/man/radeon.man:Radeon X700, M26 PCIe

It seems that one or the other is installed, non-deterministically.

>How-To-Repeat:
Run builds with MKREPRO twice.
>Fix:
Choose one of the two man pages and do not even try to install
the other one.

>Release-Note:

>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: xsrc/50132: MKREPRO: Problem with radeon.html
Date: Thu, 6 Aug 2015 11:08:08 +0200

 On Thu, Aug 06, 2015 at 09:05:00AM +0000, Thomas Klausner wrote:
 > >Fix:
 > Choose one of the two man pages and do not even try to install
 > the other one.

 To make things more complex, this probably is arch dependend.

 Martin

From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@NetBSD.org
Cc: xsrc-manager@netbsd.org, gnats-admin@netbsd.org,
    netbsd-bugs@netbsd.org
Subject: re: xsrc/50132: MKREPRO: Problem with radeon.html
Date: Fri, 07 Aug 2015 04:00:47 +1000

 i guess we need to install one of these are 'radeon_old' in whatever
 case we are installing the new and old ones, but only those.  ie, this
 needs slightly more work than simply renaming the man page for the
 pre-kms ati driver... but shouldn't be too difficult.


 .mrg.

From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/50132 CVS commit: src
Date: Sat, 19 Sep 2015 23:00:44 +0000

 Module Name:	src
 Committed By:	wiz
 Date:		Sat Sep 19 23:00:44 UTC 2015

 Modified Files:
 	src/distrib/sets/lists/xbase: mi
 	src/distrib/sets/lists/xserver: md.amd64 md.i386
 	src/etc/mtree: NetBSD.dist.Xorg
 	src/external/mit/xorg/server/drivers/xf86-video-radeon-kms: Makefile

 Log Message:
 Install radeon(4) from radeon-kms into x86 subdir.

 This way, there is no file name issue with radeon(4) from
 the old not-kms driver; and subdir man pages are preferred
 to non-subdir.

 Addresses MKREPRO issue from PR 50132.

 XXX: This will stop being correct if radeon-kms is ported to more
 platforms like sparc64.


 To generate a diff of this commit:
 cvs rdiff -u -r1.129 -r1.130 src/distrib/sets/lists/xbase/mi
 cvs rdiff -u -r1.83 -r1.84 src/distrib/sets/lists/xserver/md.amd64
 cvs rdiff -u -r1.101 -r1.102 src/distrib/sets/lists/xserver/md.i386
 cvs rdiff -u -r1.15 -r1.16 src/etc/mtree/NetBSD.dist.Xorg
 cvs rdiff -u -r1.1 -r1.2 \
     src/external/mit/xorg/server/drivers/xf86-video-radeon-kms/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->suspended
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Sat, 19 Sep 2015 23:09:55 +0000
State-Changed-Why:
Fixed well enough for now, will need further adjustments if radeon-kms
is ported to more architectures.


State-Changed-From-To: suspended->open
State-Changed-By: mrg@NetBSD.org
State-Changed-When: Sun, 22 Mar 2020 10:01:02 +0000
State-Changed-Why:
suspended change wrote:
>Fixed well enough for now, will need further adjustments if radeon-kms   
>is ported to more architectures.

well, radeon works on arm64 at least now days...


>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.