From nobody@FreeBSD.org  Sun Jan  8 12:38:09 2012
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 29357106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  8 Jan 2012 12:38:09 +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 17EE28FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  8 Jan 2012 12:38:09 +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 q08Cc8pk002690
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 8 Jan 2012 12:38:08 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q08Cc8gu002689;
	Sun, 8 Jan 2012 12:38:08 GMT
	(envelope-from nobody)
Message-Id: <201201081238.q08Cc8gu002689@red.freebsd.org>
Date: Sun, 8 Jan 2012 12:38:08 GMT
From: John Marino <draco@marino.st>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [MAINTAINER] lang/gnat-aux: Upgrade to gcc-4.6.2, add fortran and ObjC langs
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         163914
>Category:       ports
>Synopsis:       [MAINTAINER] lang/gnat-aux: Upgrade to gcc-4.6.2, add fortran and ObjC langs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    culot
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 08 12:40:05 UTC 2012
>Closed-Date:    Thu Jan 12 14:25:35 UTC 2012
>Last-Modified:  Thu Jan 12 14:30:13 UTC 2012
>Originator:     John Marino
>Release:        
>Organization:
>Environment:
>Description:
This is a port upgrade.  Obvious improvements:

1) Upgrades sync from gcc 4.6.1-RELEASE to gcc-4.6.2-RELEASE
2) Adds capability to build fortran
3) Adds capability to build Objective-C
4) Sets default to build all five languages (Ada, C, C++, ObjC, Fortran)
5) Fortran and ObjC testsuites added

Behind the scenes:
1) Previously GNAT-Aux was built from a custom tarball provided by dragonlace.net.  Now real gcc source tarballs are used, and then patched.
2) The standard patch mechanism is not used.  Composite diff files generated and provided by dragonlace.net are applied as needed.
3) This might be the only gcc in ports that doesn't use the monolithic gcc tarball but rather the individual tarballs (e.g. g++, fortran, testsuite) that are downloaded and extracted as specified by the set options.
4) libstdc++ can't break during testing (forced evaluation to true)
5) This sets the stage to sync GNAT-Aux with gcc 4.7.0 when its released

What changed:
modified: Makefile
modified: distinfo
modified: pkg-plist
deleted:  files/patch-gcc__ada__* (three)
added:    files/diff-* (seven)

The new diff-* files are 722kb combined, so a compressed tarball is being provided externally rather than attach a patch file to this PR.
>How-To-Repeat:

>Fix:
replace the current lang/gnat-aux port with this one:
http://leaf.dragonflybsd.org/~marino/freebsd/freebsd.gnat-aux.462.tar.bz2

>Release-Note:
>Audit-Trail:

From: John Marino <draco@marino.st>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/163914: [MAINTAINER] lang/gnat-aux: Upgrade to gcc-4.6.2,
 add fortran and ObjC langs
Date: Sun, 08 Jan 2012 13:50:42 +0100

 I forgot to mention the testing I've done:
 Passes Tinderbox, FreeBSD 8.2 AMD64
 Passes Tinderbox, FreeBSD 9.0 AMD64 (jail rebuilt yesterday)
 Built on FreeBSD 8.0 i386 (virtualbox), appeared normal.
 
Responsible-Changed-From-To: freebsd-ports-bugs->culot 
Responsible-Changed-By: culot 
Responsible-Changed-When: Tue Jan 10 14:15:54 UTC 2012 
Responsible-Changed-Why:  
I'll take it. 

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

From: Frederic Culot <culot@FreeBSD.org>
To: bug-followup@FreeBSD.org, draco@marino.st
Cc:  
Subject: Re: ports/163914: [MAINTAINER] lang/gnat-aux: Upgrade to gcc-4.6.2, add fortran and ObjC langs
Date: Wed, 11 Jan 2012 08:02:25 +0000

 Hi John,
 
 Thanks for your impressive work on the gnat-aux port.
 I've run your update through tinderbox and it appears there are three
 extra files in the pkg-plist which are not present in the package.
 
 Could you please have a look at the very end of the following log
 and confirm that these 3 entries could be deleted from the pkg-plist?
 
 http://people.freebsd.org/~culot/tinderbox/8.2-FreeBSD/gnat-aux-20111026.log
 
 Thanks again John!
 
 Frederic

From: John Marino <draco@marino.st>
To: Frederic Culot <culot@FreeBSD.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/163914: [MAINTAINER] lang/gnat-aux: Upgrade to gcc-4.6.2,
 add fortran and ObjC langs
Date: Wed, 11 Jan 2012 11:47:33 +0100

 On 1/11/2012 9:02 AM, Frederic Culot wrote:
 > Hi John,
 > 
 > Thanks for your impressive work on the gnat-aux port. I've run your
 > update through tinderbox and it appears there are three extra files
 > in the pkg-plist which are not present in the package.
 > 
 > Could you please have a look at the very end of the following log and
 > confirm that these 3 entries could be deleted from the pkg-plist?
 > 
 > http://people.freebsd.org/~culot/tinderbox/8.2-FreeBSD/gnat-aux-20111026.log
 >
 >  Thanks again John!
 > 
 > Frederic
 
 Hi Frederic,
 As soon as you said "three files", I knew exactly which ones they were.
  According to the link you provided, the files are getting installed:
 
 > /usr/bin/install -c -m 644 gdb.py
 > /usr/local/lib/libstdc++.so.6-gdb.py test -z
 > "/usr/local/share/gcc-4.6.2/python" ||
 > /work/a/ports/lang/gnat-aux/work/gcc-4.6.2/libstdc++-v3/../install-sh
 > -c -d "/usr/local/share/gcc-4.6.2/python" 
 > /work/a/ports/lang/gnat-aux/work/gcc-4.6.2/libstdc++-v3/../install-sh
 > -c -d '/usr/local/share/gcc-4.6.2/python/libstdcxx' /usr/bin/install
 > -c -m 644
 > /work/a/ports/lang/gnat-aux/work/gcc-4.6.2/libstdc++-v3/python/libstdcxx/__init__.py
 > '/usr/local/share/gcc-4.6.2/python/libstdcxx' 
 > /work/a/ports/lang/gnat-aux/work/gcc-4.6.2/libstdc++-v3/../install-sh
 > -c -d '/usr/local/share/gcc-4.6.2/python/libstdcxx/v6' 
 > /usr/bin/install -c -m 644
 > /work/a/ports/lang/gnat-aux/work/gcc-4.6.2/libstdc++-v3/python/libstdcxx/v6/printers.py
 > /work/a/ports/lang/gnat-aux/work/gcc-4.6.2/libstdc++-v3/python/libstdcxx/v6/__init__.py
 > '/usr/local/share/gcc-4.6.2/python/libstdcxx/v6'
 
 
 Maybe these files are not actually being created and these install
 attempts are really failing.  The problem is that these files are
 getting created in pkgsrc and also they are present in freebsd's
 lang/gcc46.  I would guess these files build conditionally in the
 presence of python.
 
 I guess there's two approaches we can take here:
 1) add this to the makefile generated part of the PLIST. That way if the
 files do get created in a real environment, they are still accounted for.
 2) Just remove them from PLIST.  That will pass tinderbox but I think it
 would leave these three files orphaned in some systems.
 
 What do you think is the best approach?
 John
 
 
 
 
 

From: Frederic Culot <culot@FreeBSD.org>
To: John Marino <draco@marino.st>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/163914: [MAINTAINER] lang/gnat-aux: Upgrade to gcc-4.6.2,
 add fortran and ObjC langs
Date: Wed, 11 Jan 2012 14:24:31 +0100

 > I guess there's two approaches we can take here:
 > 1) add this to the makefile generated part of the PLIST. That way if the
 > files do get created in a real environment, they are still accounted for.
 
 This is the best approach!
 
 Frederic

From: John Marino <draco@marino.st>
To: Frederic Culot <culot@FreeBSD.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/163914: [MAINTAINER] lang/gnat-aux: Upgrade to gcc-4.6.2,
 add fortran and ObjC langs
Date: Wed, 11 Jan 2012 22:20:31 +0100

 On 1/11/2012 2:24 PM, Frederic Culot wrote:
 > 
 >> I guess there's two approaches we can take here: 1) add this to the
 >> makefile generated part of the PLIST. That way if the files do get
 >> created in a real environment, they are still accounted for.
 > 
 > This is the best approach!
 > 
 > Frederic
 
 Hi Frederic,
 Your first suggestion to remove the 3 files from the PLIST is actually
 the correct one.  It turns out that these files were on the PLIST twice,
 once on pkg-plist and once in the generated plist.  I already accounted
 for them with lines 131 and 278:
 131: LSHRPATH=	share/gcc-${GCC_VERSION}
 278: .for d in ${LPATH} ${LEPATH} ${LCXXPATH} ${LSHRPATH}
 
 So removing lines 43-45 from the pkg-plist is a good fix.
 
 Regards,
 John
State-Changed-From-To: open->closed 
State-Changed-By: culot 
State-Changed-When: Thu Jan 12 14:25:34 UTC 2012 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/163914: commit references a PR
Date: Thu, 12 Jan 2012 14:24:46 +0000 (UTC)

 culot       2012-01-12 14:24:37 UTC
 
   FreeBSD ports repository
 
   Modified files:
     lang/gnat-aux        Makefile distinfo pkg-plist 
   Added files:
     lang/gnat-aux/files  diff-ada diff-ada-testsuite diff-core 
                          diff-cxx diff-cxx-testsuite diff-fortran 
                          diff-fortran-testsuite diff-gcc-testsuite 
   Removed files:
     lang/gnat-aux/files  patch-gcc__ada__adaint.c 
                          patch-gcc__ada__g-trasym-bsd.adb 
                          patch-gcc__ada__gccint__Makefile.in 
   Log:
   - Update to 20111026 (corresponding to gcc 4.6.2)
   - Set default options to build all five languages (Ada, C, C++, ObjC, Fortran)
   
   Maintainer notes:
   - Previously GNAT-Aux was built from a custom tarball provided by dragonlace.net.
   Now real gcc source tarballs are used, and then patched.
   - The standard patch mechanism is not used. Composite diff files generated and
   provided by dragonlace.net are applied as needed.
   - This sets the stage to sync GNAT-Aux with gcc 4.7.0 when its released.
   
   PR:             ports/163914
   Submitted by:   John Marino <draco@marino.st> (maintainer)
   
   Revision  Changes    Path
   1.7       +89 -30    ports/lang/gnat-aux/Makefile
   1.5       +12 -2     ports/lang/gnat-aux/distinfo
   1.1       +9755 -0   ports/lang/gnat-aux/files/diff-ada (new)
   1.1       +190 -0    ports/lang/gnat-aux/files/diff-ada-testsuite (new)
   1.1       +1903 -0   ports/lang/gnat-aux/files/diff-core (new)
   1.1       +917 -0    ports/lang/gnat-aux/files/diff-cxx (new)
   1.1       +4547 -0   ports/lang/gnat-aux/files/diff-cxx-testsuite (new)
   1.1       +54 -0     ports/lang/gnat-aux/files/diff-fortran (new)
   1.1       +31 -0     ports/lang/gnat-aux/files/diff-fortran-testsuite (new)
   1.1       +10 -0     ports/lang/gnat-aux/files/diff-gcc-testsuite (new)
   1.2       +0 -279    ports/lang/gnat-aux/files/patch-gcc__ada__adaint.c (dead)
   1.2       +0 -153    ports/lang/gnat-aux/files/patch-gcc__ada__g-trasym-bsd.adb (dead)
   1.2       +0 -101    ports/lang/gnat-aux/files/patch-gcc__ada__gccint__Makefile.in (dead)
   1.3       +24 -13    ports/lang/gnat-aux/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:
