NetBSD Problem Report #48724

From www@NetBSD.org  Sun Apr  6 23:11:42 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 525C1A4081
	for <gnats-bugs@gnats.NetBSD.org>; Sun,  6 Apr 2014 23:11:42 +0000 (UTC)
Message-Id: <20140406231140.AB9BDA5815@mollari.NetBSD.org>
Date: Sun,  6 Apr 2014 23:11:40 +0000 (UTC)
From: dhgutteridge@sympatico.ca
Reply-To: dhgutteridge@sympatico.ca
To: gnats-bugs@NetBSD.org
Subject: Set lists not updated for files made obsolete by GCC bump to 4.8.3
X-Send-Pr-Version: www-1.0

>Number:         48724
>Category:       install
>Synopsis:       Set lists not updated for files made obsolete by GCC bump to 4.8.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    install-manager
>State:          closed
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 06 23:15:01 +0000 2014
>Closed-Date:    Tue Oct 30 05:51:32 +0000 2018
>Last-Modified:  Tue Oct 30 05:51:32 +0000 2018
>Originator:     David H. Gutteridge
>Release:        Current
>Organization:
Sometimes no semblance of organization whatsoever
>Environment:
n/a
>Description:
Set lists that mark obsolete files (for instance
src/distrib/sets/lists/comp/md.amd64) haven't been updated since GCC
was updated to 4.8.3 to mark files in /usr/include/gcc-4.5 obsolete.

>How-To-Repeat:
Upgrade an arch that now has GCC 4.8.3 and notice that postinstall(8)
doesn't clear out /usr/include/gcc-4.5.
>Fix:
Update the sets. (Obviously this isn't a burning issue, though...)

>Release-Note:

>Audit-Trail:
From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: install/48724: Set lists not updated for files made obsolete by
 GCC bump to 4.8.3
Date: Sat, 26 Apr 2014 03:57:40 +0000

 On Sun, Apr 06, 2014 at 11:15:01PM +0000, dhgutteridge@sympatico.ca wrote:
  > Set lists that mark obsolete files (for instance
  > src/distrib/sets/lists/comp/md.amd64) haven't been updated since GCC
  > was updated to 4.8.3 to mark files in /usr/include/gcc-4.5 obsolete.
  > 
  > >How-To-Repeat:
  > Upgrade an arch that now has GCC 4.8.3 and notice that postinstall(8)
  > doesn't clear out /usr/include/gcc-4.5.
  > >Fix:
  > Update the sets. (Obviously this isn't a burning issue, though...)

 I think this is because ports were moved from 4.5 one by one. Are they
 all moved yet? (I don't know, I've been pretty out of touch lately)

 -- 
 David A. Holland
 dholland@netbsd.org

From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: install/48724: Set lists not updated for files made obsolete by GCC bump to 4.8.3
Date: Sat, 26 Apr 2014 07:26:17 +0200

 On Sat, Apr 26, 2014 at 04:00:01AM +0000, David Holland wrote:
 >  I think this is because ports were moved from 4.5 one by one. Are they
 >  all moved yet? (I don't know, I've been pretty out of touch lately)

 No, and some may never move officially (e.g. prep supports machines
 that gcc 4.8 can not generated code for and sun2 can't run gcc 4.8).

 We can make postinstall check the compiler version and do special cleanup.

 Martin

From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@NetBSD.org
Cc: install-manager@netbsd.org, gnats-admin@netbsd.org,
    netbsd-bugs@netbsd.org, dhgutteridge@sympatico.ca
Subject: re: install/48724: Set lists not updated for files made obsolete by GCC bump to 4.8.3
Date: Sat, 26 Apr 2014 16:39:54 +1000

 >  No, and some may never move officially (e.g. prep supports machines
 >  that gcc 4.8 can not generated code for and sun2 can't run gcc 4.8).

 note that sun2 can't really run gcc 4.5, which it currently
 ships with...


 .mrg.

From: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: install/48724: Set lists not updated for files made obsolete by
 GCC bump to 4.8.3
Date: Sat, 26 Apr 2014 09:02:47 +0200

 On Sat, Apr 26, 2014 at 04:00:01AM +0000, David Holland wrote:
 >  I think this is because ports were moved from 4.5 one by one. Are they
 >  all moved yet? (I don't know, I've been pretty out of touch lately)

 No, they aren't, see
 http://www.netbsd.org/developers/features/
  Thomas

State-Changed-From-To: open->suspended
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 26 Apr 2014 07:19:12 +0000
State-Changed-Why:
This should wait until gcc 4.5 itself actually goes away.


From: "David H. Gutteridge" <dhgutteridge@sympatico.ca>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: install/48724 (Set lists not updated for files made obsolete by GCC bump to 4.8.3)
Date: Wed, 12 Aug 2015 23:41:12 -0400

 I believe this can now be closed (excepting possible pull-ups to
 netbsd-7, if warranted), as commits in the past few days have
 addressed this.

 Thanks,

 Dave

State-Changed-From-To: suspended->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 06 Sep 2015 00:49:00 +0000
State-Changed-Why:
gcc 4.5 is gone from head now. (but I'm not sure about the state of the
set lists)


From: "David H. Gutteridge" <david@gutteridge.ca>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: install/48724 (Set lists not updated for files made obsolete by
 GCC bump to 4.8.3)
Date: Mon, 29 Oct 2018 22:20:48 -0400

 With the final commit below, this PR is complete, and can be closed.

 Thanks,

 Dave


 Module Name:    src
 Committed By:   mrg
 Date:           Sun Sep 30 00:42:17 UTC 2018

 Modified Files:
         src/distrib/sets/lists/comp: ad.m68k

 Log Message:
 add gcc 4.5 files.  updating a m68k system gave me:

 rmdir: /usr/include/gcc-4.5: Directory not empty
         Can't remove obsolete directory /usr/include/gcc-4.5

 because these two files were still present.


 To generate a diff of this commit:
 cvs rdiff -u -r1.57 -r1.58 src/distrib/sets/lists/comp/ad.m68k


State-Changed-From-To: open->closed
State-Changed-By: mrg@NetBSD.org
State-Changed-When: Tue, 30 Oct 2018 05:51:32 +0000
State-Changed-Why:
submitter said i fixed it!  yay me? :)


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.