From nobody@FreeBSD.org  Sat May  7 07:29:02 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 9E4111065672
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  7 May 2011 07:29:02 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 8DB448FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  7 May 2011 07:29:02 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p477T1N9059195
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 7 May 2011 07:29:01 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p477T1TQ059194;
	Sat, 7 May 2011 07:29:01 GMT
	(envelope-from nobody)
Message-Id: <201105070729.p477T1TQ059194@red.freebsd.org>
Date: Sat, 7 May 2011 07:29:01 GMT
From: Martin Birgmeier <martin.birgmeier@aon.at>
To: freebsd-gnats-submit@FreeBSD.org
Subject: split lang/gcc* ports in stable and devel versions
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: gerald@pfeifer.com

>Number:         156857
>Category:       ports
>Synopsis:       [repocopy] split lang/gcc45 in a devel and a stable version
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gerald
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 07 07:30:09 UTC 2011
>Closed-Date:    Mon Sep 26 01:00:32 UTC 2011
>Last-Modified:  Mon Sep 26 01:10:08 UTC 2011
>Originator:     Martin Birgmeier
>Release:        7.4, 8.2
>Organization:
MBi at home
>Environment:
irrelevant
>Description:
I would appreciate splitting the lang/gcc* ports into stable and development versions. These ports are prerequisites for several other ports and therefore installed without explicit requirement by the user.

The lang/gcc* port maintainer does a very laudable job of always (weekly!) updating these ports to their latest versions. Unfortunately, this leads to repeated rebuilds when running portupgrade or portmaster, which in turn requires a long build time without apparent benefits.
>How-To-Repeat:
Run portupgrade or portmaster every day, with one of the lang/gcc* ports installed.
>Fix:
The lang/gcc* ports should be split into stable and development versions.

In my opinion it would be best to use the current names for the stable versions, and to add new -devel ports carrying the continuously updated versions, e.g.

lang/gcc46 for the stable version
lang/gcc46-devel for the continuously updated version

The stable version would then only be upgraded when its micro version changes upstream (e.g., from 4.6.0 to 4.6.1), or when there is a critical fix to apply (thereby increasing the FreeBSD revision).

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->gerald 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Tue May 10 19:09:26 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=156857 

From: Gerald Pfeifer <gerald@pfeifer.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/156857: split lang/gcc* ports in stable and devel
 versions
Date: Sun, 29 May 2011 04:37:57 +0200 (CEST)

 I have started to look into this, but first wanted (needed) to make
 a change to this port related to upstream packaging changes.  That's
 now in and I am looking into some simplifications, then this will be
 next.
 
 For the time being, I believe this kind of split makes most sense
 for the "recommended" version of GCC (which is lang/gcc45 at this
 point).
 
 Gerald
Responsible-Changed-From-To: gerald->portmgr 
Responsible-Changed-By: gerald 
Responsible-Changed-When: Mon Aug 15 20:59:29 UTC 2011 
Responsible-Changed-Why:  
portmgr, I have been pondering about this on and off and came to the 
conclusion that in addition to the various lang/gcc* ports I suggest 
to have one lang/gcc port that is the canonical version of GCC in the 
ports tree. 

This would be what we trigger with USE_FORTRAN=yes right now, that is 
similar lang/gcc45 today and lang/gcc46 in the not too far future,  
based on the current test run Pav has been so kind to take care of 
with two key differences: 
1. lang/gcc would primarily be associated with a release of GCC, 
not weekly snapshots (unless there is a strong reason to deviate), 
2. and thusly would be updated only a few times every year. 

If you agree, would you mind repocopying lang/gcc45 to lang/gcc? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=156857 
State-Changed-From-To: open->repocopy 
State-Changed-By: gerald 
State-Changed-When: Sun Sep 18 19:48:30 UTC 2011 
State-Changed-Why:  
Noting for repocopy by portmgr.  Please repocopy lang/gcc46 
(four-six!) to lang/gcc -- the newer version due to pending 
changes around USE_FORTRAN. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=156857 
State-Changed-From-To: repocopy->open 
State-Changed-By: marcus 
State-Changed-When: Mon Sep 19 08:10:25 UTC 2011 
State-Changed-Why:  
Repocopy complete. 


Responsible-Changed-From-To: portmgr->gerald 
Responsible-Changed-By: marcus 
Responsible-Changed-When: Mon Sep 19 08:10:25 UTC 2011 
Responsible-Changed-Why:  
Repocopy complete. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=156857 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/156857: commit references a PR
Date: Sun, 25 Sep 2011 14:58:16 +0000 (UTC)

 gerald      2011-09-25 14:58:08 UTC
 
   FreeBSD ports repository
 
   Modified files:
     lang/gcc46           Makefile pkg-plist 
   Log:
   Prepare for the inclusion of lang/gcc, which is going to track our
   preferred version of GCC (usually based on a release) starting with
   GCC 4.6.1, and add a proper CONFLICTS.
   
   On the way rename %%GCC_VER%% in pkg-plist to %%GCC_VERSION%% and
   make the Makefile machinery a bit more generic to minimize differences
   between lang/gcc ports based on releases and those based on snapshots.
   
   PR:             156857
   
   Revision  Changes    Path
   1.511     +6 -1      ports/lang/gcc46/Makefile
   1.115     +14 -14    ports/lang/gcc46/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: gerald 
State-Changed-When: Mon Sep 26 00:59:33 UTC 2011 
State-Changed-Why:  
I believe this request has been addressed now with the latest 
changes today.  Thanks for raising this issue and making me look 
into it more from a user perspective! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=156857 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/156857: commit references a PR
Date: Mon, 26 Sep 2011 00:54:51 +0000 (UTC)

 gerald      2011-09-26 00:54:38 UTC
 
   FreeBSD ports repository
 
   Modified files:
     lang/gcc             Makefile distinfo pkg-descr pkg-plist 
   Log:
   Welcome the new lang/gcc port!  This shall track our preferred version
   of GCC (usually an upstream release).  It starts out as GCC 4.6.1 and
   is thus in conflict with lang/gcc46 and will move towards later minor
   versions of GCC 4.6 and then on to GCC 4.7.
   
   lang/gcc will provide gcc46, g++46, gfortran46 etc. exactly like
   lang/gcc46 with which it is interchangible.
   
   This is also planned to be in sync with our existing USE_FORTRAN knob
   so that users have the option of using this port, rarely updated, or
   the corresponding lang/gcc46 which follows weekly upstream snapshots.
   
   On the way rename %%GCC_VER%% in pkg-plist to %%GCC_VERSION%% and
   make the Makefile machinery a bit more generic to minimize differences
   between lang/gcc ports based on releases and those based on snapshots.
   
   PR:             156857
   
   Revision  Changes    Path
   1.510     +11 -6     ports/lang/gcc/Makefile
   1.373     +2 -2      ports/lang/gcc/distinfo
   1.19      +5 -0      ports/lang/gcc/pkg-descr
   1.115     +14 -14    ports/lang/gcc/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
