From nobody@FreeBSD.org  Mon Feb 22 11:55:21 2010
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 AFBB91065670
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 22 Feb 2010 11:55:21 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id A02198FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 22 Feb 2010 11:55:21 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o1MBtL5B099647
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 22 Feb 2010 11:55:21 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o1MBtLAE099646;
	Mon, 22 Feb 2010 11:55:21 GMT
	(envelope-from nobody)
Message-Id: <201002221155.o1MBtLAE099646@www.freebsd.org>
Date: Mon, 22 Feb 2010 11:55:21 GMT
From: Rob Farmer <rfarmer@predatorlabs.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] misc/help2man Fix plist
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         144208
>Category:       ports
>Synopsis:       [PATCH] misc/help2man Fix plist
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sylvio
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 22 12:00:13 UTC 2010
>Closed-Date:    Mon Mar 08 22:14:31 UTC 2010
>Last-Modified:  Mon Mar  8 22:20:03 UTC 2010
>Originator:     Rob Farmer
>Release:        9.0-CURRENT
>Organization:
>Environment:
FreeBSD thinkpad.predatorlabs.net 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r204181: Sun Feb 21 15:33:31 PST 2010     rfarmer@thinkpad.predatorlabs.net:/obj/usr/src/sys/THINKPAD  i386
>Description:
In my tinderbox I get a leftover file from this port:

=== Checking filesystem state after all packages deleted
================================================================
list of extra files and directories in / (not present on clean system but present after everything was deinstalled)
 17077        8 -r-xr-xr-x    1 root             wheel                4004 Feb 22 11:20 usr/local/lib/bindtextdomain.so
================================================================
build of /usr/ports/misc/help2man ended at Mon Feb 22 11:20:28 UTC 2010
>How-To-Repeat:

>Fix:
Edit plist (attached)

Patch attached with submission follows:

Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/misc/help2man/pkg-plist,v
retrieving revision 1.10
diff -u -r1.10 pkg-plist
--- pkg-plist	31 Jan 2010 23:29:36 -0000	1.10
+++ pkg-plist	22 Feb 2010 11:52:13 -0000
@@ -1,4 +1,5 @@
 bin/help2man
+lib/bindtextdomain.so
 %%NLS%%share/locale/de/LC_MESSAGES/help2man.mo
 %%NLS%%share/locale/fi/LC_MESSAGES/help2man.mo
 %%NLS%%share/locale/fr/LC_MESSAGES/help2man.mo


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->sylvio 
Responsible-Changed-By: sylvio 
Responsible-Changed-When: Mon Feb 22 23:40:06 UTC 2010 
Responsible-Changed-Why:  
I'll take it. 

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

From: Sylvio Cesar Teixeira <sylvio@FreeBSD.org>
To: bug-followup@FreeBSD.org,
 rfarmer@predatorlabs.net
Cc:  
Subject: Re: ports/144208: [PATCH] misc/help2man Fix plist
Date: Wed, 24 Feb 2010 20:19:10 -0300

 Hi,
 
 I not found this error in my tinderbox (6,7,8 and 9), both arch (i386 =
 and=20
 amd64). The port , to be installed, have not dependencies of lib =
 bindtextdomain.=20
 Not errors installing with and without NOPORTS*.
 
 Regards,
 
 Sylvio Cesar=

From: Rob Farmer <rfarmer@predatorlabs.net>
To: Sylvio Cesar Teixeira <sylvio@freebsd.org>
Cc: bug-followup@freebsd.org
Subject: Re: ports/144208: [PATCH] misc/help2man Fix plist
Date: Thu, 25 Feb 2010 08:14:09 -0800

 On Wed, Feb 24, 2010 at 3:19 PM, Sylvio Cesar Teixeira
 <sylvio@freebsd.org> wrote:
 > Hi,
 >
 > I not found this error in my tinderbox (6,7,8 and 9), both arch (i386 and
 > amd64). The port , to be installed, have not dependencies of lib bindtextdomain.
 > Not errors installing with and without NOPORTS*.
 
 The only non-standard thing I am doing is using GCC 4.4. However, I
 don't think that should make a difference in what is/isn't built and
 installed. Makefile.in installs bindtextdomain on line 57. I don't
 know why you are not seeing this in your setup... Here's a complete
 log from my tinderbox:
 http://www.predatorlabs.net/dl/help2man-1.37.1.log
 
 >
 > Regards,
 >
 > Sylvio Cesar
 
 
 
 -- 
 Rob Farmer

From: =?ISO-8859-1?Q?Sylvio_C=E9sar?= <scjamorim@bsd.com.br>
To: Rob Farmer <rfarmer@predatorlabs.net>
Cc: bug-followup@freebsd.org
Subject: Re: ports/144208: [PATCH] misc/help2man Fix plist
Date: Fri, 26 Feb 2010 09:15:27 -0300

 Part of your log with "gcc44"
 
 checking whether gcc44 accepts -g... yes
 checking for gcc44 option to accept ISO C89... none needed
 checking for library containing dlsym... none required
 checking for library containing bindtextdomain... -lintl
 checking for a BSD-compatible install... /usr/bin/install -c -o root -g whe=
 el
 
 My log with "gcc42"
 
 checking whether cc accepts -g... yes
 checking for cc option to accept ISO C89... none needed
 checking for library containing dlsym... none required
 checking for library containing bindtextdomain... no
 checking for a BSD-compatible install... /usr/bin/install -c -o root -g whe=
 el
 
 Seems that the "checking for library containing bindtextdomain...
 -lintl" is present when build with gcc44, because all my jails has
 gcc42, end have not "bindtextdomain... lintl".
 
 The port build and work well with gcc42 and I can not force it to
 gcc44 only to add bindtextdomain in plist.
 
 Regards,
 
 Sylvio Cesar.
 
 
 
 2010/2/25 Rob Farmer <rfarmer@predatorlabs.net>:
 > On Wed, Feb 24, 2010 at 3:19 PM, Sylvio Cesar Teixeira
 > <sylvio@freebsd.org> wrote:
 >> Hi,
 >>
 >> I not found this error in my tinderbox (6,7,8 and 9), both arch (i386 an=
 d
 >> amd64). The port , to be installed, have not dependencies of lib bindtex=
 tdomain.
 >> Not errors installing with and without NOPORTS*.
 >
 > The only non-standard thing I am doing is using GCC 4.4. However, I
 > don't think that should make a difference in what is/isn't built and
 > installed. Makefile.in installs bindtextdomain on line 57. I don't
 > know why you are not seeing this in your setup... Here's a complete
 > log from my tinderbox:
 > http://www.predatorlabs.net/dl/help2man-1.37.1.log
 >
 >>
 >> Regards,
 >>
 >> Sylvio Cesar
 >
 >
 >
 > --
 > Rob Farmer
 >
 
 
 
 --=20
 
 Regards,
 
 Sylvio Cesar                || FreeBSD Committer
 sylvio@FreeBSD.org  || http://people.freebsd.org/~sylvio ||
 http://www.scjamorim.org
 
 "Tenho posto o Senhor continuamente diante de mim; porque Ele est=E1 =E0
 minha m=E3o direita, n=E3o vacilarei. Portanto, alegre est=E1 o meu
 cora=E7=E3o". (Salmos 16:8)
 
 "Os olhos do SENHOR est=E3o sobre os justos, e os seus ouvidos atentos
 ao seu clamor". (Salmos 34:15)

From: Rob Farmer <rfarmer@predatorlabs.net>
To: =?ISO-8859-1?Q?Sylvio_C=E9sar?= <scjamorim@bsd.com.br>
Cc: bug-followup@freebsd.org
Subject: Re: ports/144208: [PATCH] misc/help2man Fix plist
Date: Fri, 26 Feb 2010 07:27:05 -0800

 On Fri, Feb 26, 2010 at 4:15 AM, Sylvio C=E9sar <scjamorim@bsd.com.br> wrot=
 e:
 > Part of your log with "gcc44"
 >
 > checking whether gcc44 accepts -g... yes
 > checking for gcc44 option to accept ISO C89... none needed
 > checking for library containing dlsym... none required
 > checking for library containing bindtextdomain... -lintl
 > checking for a BSD-compatible install... /usr/bin/install -c -o root -g w=
 heel
 >
 > My log with "gcc42"
 >
 > checking whether cc accepts -g... yes
 > checking for cc option to accept ISO C89... none needed
 > checking for library containing dlsym... none required
 > checking for library containing bindtextdomain... no
 > checking for a BSD-compatible install... /usr/bin/install -c -o root -g w=
 heel
 >
 > Seems that the "checking for library containing bindtextdomain...
 > -lintl" is present when build with gcc44, because all my jails has
 > gcc42, end have not "bindtextdomain... lintl".
 >
 > The port build and work well with gcc42 and I can not force it to
 > gcc44 only to add bindtextdomain in plist.
 
 Okay - I'll just keep this as a local patch in my tree then. Thanks
 for looking at this and sorry about the gcc issue, I should have
 tested it with gcc42 before submitting.
 
 --=20
 Rob Farmer
 
 >
 > Regards,
 >
 > Sylvio Cesar.
 >
 >
 >
 > 2010/2/25 Rob Farmer <rfarmer@predatorlabs.net>:
 >> On Wed, Feb 24, 2010 at 3:19 PM, Sylvio Cesar Teixeira
 >> <sylvio@freebsd.org> wrote:
 >>> Hi,
 >>>
 >>> I not found this error in my tinderbox (6,7,8 and 9), both arch (i386 a=
 nd
 >>> amd64). The port , to be installed, have not dependencies of lib bindte=
 xtdomain.
 >>> Not errors installing with and without NOPORTS*.
 >>
 >> The only non-standard thing I am doing is using GCC 4.4. However, I
 >> don't think that should make a difference in what is/isn't built and
 >> installed. Makefile.in installs bindtextdomain on line 57. I don't
 >> know why you are not seeing this in your setup... Here's a complete
 >> log from my tinderbox:
 >> http://www.predatorlabs.net/dl/help2man-1.37.1.log
 >>
 >>>
 >>> Regards,
 >>>
 >>> Sylvio Cesar
 >>
 >>
 >>
 >> --
 >> Rob Farmer
 >>
 >
 >
 >
 > --
 >
 > Regards,
 >
 > Sylvio Cesar =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0|| FreeBSD Committer
 > sylvio@FreeBSD.org =A0|| http://people.freebsd.org/~sylvio ||
 > http://www.scjamorim.org
 >
 > "Tenho posto o Senhor continuamente diante de mim; porque Ele est=E1 =E0
 > minha m=E3o direita, n=E3o vacilarei. Portanto, alegre est=E1 o meu
 > cora=E7=E3o". (Salmos 16:8)
 >
 > "Os olhos do SENHOR est=E3o sobre os justos, e os seus ouvidos atentos
 > ao seu clamor". (Salmos 34:15)
 >

From: Rob Farmer <rfarmer@predatorlabs.net>
To: =?ISO-8859-1?Q?Sylvio_C=E9sar?= <scjamorim@bsd.com.br>
Cc: bug-followup@freebsd.org
Subject: Re: ports/144208: [PATCH] misc/help2man Fix plist
Date: Sun, 28 Feb 2010 20:18:02 -0800

 How about patching the Makefile so that bindtextdomain is never
 installed? Would that be acceptable?
 
 http://www.predatorlabs.net/dl/patches/help2man.diff
 
 --
 Rob Farmer

From: =?ISO-8859-1?Q?Sylvio_C=E9sar?= <scjamorim@bsd.com.br>
To: Rob Farmer <rfarmer@predatorlabs.net>
Cc: bug-followup@freebsd.org
Subject: Re: ports/144208: [PATCH] misc/help2man Fix plist
Date: Mon, 1 Mar 2010 10:07:17 -0300

 Well, the right would be to check if the module appears with gcc> = 4.4,
 if so, would draw something like "@comment " for versions> = 4.4 of gcc.
State-Changed-From-To: open->closed 
State-Changed-By: sylvio 
State-Changed-When: Mon Mar 8 22:14:31 UTC 2010 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/144208: commit references a PR
Date: Mon,  8 Mar 2010 22:14:09 +0000 (UTC)

 sylvio      2010-03-08 22:13:56 UTC
 
   FreeBSD ports repository
 
   Modified files:
     misc/help2man        Makefile pkg-plist 
   Log:
   - Add CFLAGS to build port with "-lintl", because this port when
   build with GCC > 4.4 the port enable bindtextdomain.so
   - Add bindtextdomain.so for plist.
   - BUMP PORTREVISION
   
   PR:             ports/144208
   Submitted by:   Rob Farmer <rfarmer@predatorlabs.net>
   Approved by:    itetcu (mentor)
   Feature safe:   yes
   
   Revision  Changes    Path
   1.22      +2 -0      ports/misc/help2man/Makefile
   1.11      +1 -0      ports/misc/help2man/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:
