From nobody@FreeBSD.org  Tue Apr 26 13:07:12 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 07640106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 26 Apr 2011 13:07:12 +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 E227A8FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 26 Apr 2011 13:07:11 +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 p3QD7Bw1079312
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 26 Apr 2011 13:07:11 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p3QD7BrQ079311;
	Tue, 26 Apr 2011 13:07:11 GMT
	(envelope-from nobody)
Message-Id: <201104261307.p3QD7BrQ079311@red.freebsd.org>
Date: Tue, 26 Apr 2011 13:07:11 GMT
From: Frank Wall <fw@moov.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: devel/pecl-intl cannot be build with PHP 5.2.x
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         156660
>Category:       ports
>Synopsis:       devel/pecl-intl cannot be build with PHP 5.2.x
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 26 13:10:12 UTC 2011
>Closed-Date:    Sat Jun 25 07:01:55 UTC 2011
>Last-Modified:  Tue Jun 28 16:40:03 UTC 2011
>Originator:     Frank Wall
>Release:        7.3-RELEASE-p2
>Organization:
>Environment:
FreeBSD 7.3-RELEASE-p2 FreeBSD 7.3-RELEASE-p2 #0: Mon Jul 12 19:23:19 UTC 2010     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
A follow-up for PR ports/153438 went unrecognized, so I open a new PR.

The port devel/pecl-intl cannot be build if PHP 5.2.16 or 5.2.17 is installed. Previous versions are reported to build fine.

Obviously one of the patches in files/ directory are causing this issue, thus I was unable to track it down to a specific patch. So we need to either fix the patches or remove them.
>How-To-Repeat:
1. have PHP 5.2.x installed
2. run `make -C /usr/ports/devel/pecl-intl`

it will fail:

collator/.libs/collator_class.o(.bss+0x20): multiple definition of `collator_0_args'
.libs/php_intl.o(.data.rel.local+0xe0): first defined here
/usr/bin/ld: Warning: size of symbol `collator_0_args' changed from 80 in .libs/php_intl.o to 40 in collator/.libs/collator_class.o
collator/.libs/collator_class.o(.data.rel.local+0x0): multiple definition of `collator_1_arg'
.libs/php_intl.o(.data.rel.local+0x140): first defined here
/usr/bin/ld: Warning: size of symbol `collator_1_arg' changed from 120 in .libs/php_intl.o to 80 in collator/.libs/collator_class.o
collator/.libs/collator_class.o(.data.rel.local+0x60): multiple definition of `collator_2_args'
.libs/php_intl.o(.data.rel.local+0x1c0): first defined here
/usr/bin/ld: Warning: size of symbol `collator_2_args' changed from 160 in .libs/php_intl.o to 120 in collator/.libs/collator_class.o
collator/.libs/collator_class.o(.data.rel.local+0xe0): multiple definition of `collator_sort_args'
.libs/php_intl.o(.data.rel.local+0x260): first defined here
/usr/bin/ld: Warning: size of symbol `collator_sort_args' changed from 160 in .libs/php_intl.o to 120 in collator/.libs/collator_class.o
locale/.libs/locale_class.o(.bss+0x20): multiple definition of `locale_0_args'
.libs/php_intl.o(.bss+0x40): first defined here
locale/.libs/locale_class.o(.data.rel.local+0x0): multiple definition of `locale_1_arg'
.libs/php_intl.o(.data.rel.local+0x4c0): first defined here
locale/.libs/locale_class.o(.data.rel.local+0x60): multiple definition of `locale_2_args'
.libs/php_intl.o(.data.rel.local+0x520): first defined here
locale/.libs/locale_class.o(.data.rel.local+0xe0): multiple definition of `locale_3_args'
.libs/php_intl.o(.data.rel.local+0x5a0): first defined here
locale/.libs/locale_class.o(.data.rel.local+0x180): multiple definition of `locale_4_args'
.libs/php_intl.o(.data.rel.local+0x640): first defined here
dateformat/.libs/dateformat_class.o(.data.rel.local+0x0): multiple definition of `datefmt_parse_args'
.libs/php_intl.o(.data.rel.local+0xae0): first defined here
/usr/bin/ld: Warning: size of symbol `datefmt_parse_args' changed from 160 in .libs/php_intl.o to 120 in dateformat/.libs/dateformat_class.o
*** Error code 1

Stop in /usr/ports/devel/pecl-intl/work/intl-1.1.2.
*** Error code 1

Stop in /usr/ports/devel/pecl-intl.

>Fix:
1. remove all patches from files/ directory
2. make -C /usr/ports/devel/pecl-intl clean
3. make -C /usr/ports/devel/pecl-intl

==> Fix the patch or remove them if they are no longer required.


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Apr 26 13:10:31 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=156660 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sat Jun 25 07:01:53 UTC 2011 
State-Changed-Why:  
Committed. Thanks! 

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

From: Emil Cazamir <enterco@yahoo.com>
To: "bug-followup@FreeBSD.org" <bug-followup@FreeBSD.org>,
  "fw@moov.de" <fw@moov.de>
Cc:  
Subject: Re: ports/156660: devel/pecl-intl cannot be build with PHP 5.2.x
Date: Tue, 28 Jun 2011 02:42:32 -0700 (PDT)

 I've updated today the ports tree, but devel/pecl-intl still can't be compi=
 led with php52-5.2.17. The error messages are the same:=A0=0A=0Acc -shared=
 =A0 .libs/php_intl.o .libs/intl_error.o .libs/intl_convert.o collator/.libs=
 /collator.o collator/.libs/collator_class.o collator/.libs/collator_sort.o =
 collator/.libs/collator_convert.o collator/.libs/collator_locale.o collator=
 /.libs/collator_compare.o collator/.libs/collator_attr.o collator/.libs/col=
 lator_create.o collator/.libs/collator_is_numeric.o collator/.libs/collator=
 _error.o common/.libs/common_error.o formatter/.libs/formatter.o formatter/=
 .libs/formatter_main.o formatter/.libs/formatter_class.o formatter/.libs/fo=
 rmatter_attr.o formatter/.libs/formatter_data.o formatter/.libs/formatter_f=
 ormat.o formatter/.libs/formatter_parse.o normalizer/.libs/normalizer.o nor=
 malizer/.libs/normalizer_class.o normalizer/.libs/normalizer_normalize.o lo=
 cale/.libs/locale.o locale/.libs/locale_class.o locale/.libs/locale_methods=
 .o dateformat/.libs/dateformat.o dateformat/.libs/dateformat_class.o datefo=
 rmat/.libs/dateformat_attr.o
  dateformat/.libs/dateformat_data.o dateformat/.libs/dateformat_format.o da=
 teformat/.libs/dateformat_parse.o msgformat/.libs/msgformat.o msgformat/.li=
 bs/msgformat_attr.o msgformat/.libs/msgformat_class.o msgformat/.libs/msgfo=
 rmat_data.o msgformat/.libs/msgformat_format.o msgformat/.libs/msgformat_he=
 lpers.o msgformat/.libs/msgformat_parse.o grapheme/.libs/grapheme_string.o =
 grapheme/.libs/grapheme_util.o resourcebundle/.libs/resourcebundle.o resour=
 cebundle/.libs/resourcebundle_class.o resourcebundle/.libs/resourcebundle_i=
 terator.o idn/.libs/idn.o=A0 -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/li=
 b -licui18n -licuuc -licudata -lm -licuio=A0 -Wl,-soname -Wl,intl.so -o ./.=
 libs/intl.so=0Acollator/.libs/collator_class.o(.bss+0x4): multiple definiti=
 on of `collator_0_args'=0A.libs/php_intl.o(.data.rel.local+0xa0): first def=
 ined here=0A/usr/bin/ld: Warning: size of symbol `collator_0_args' changed =
 from 48 in .libs/php_intl.o to 24 in collator/.libs/collator_class.o=0Acoll=
 ator/.libs/collator_class.o(.data.rel.local+0x0): multiple definition of `c=
 ollator_1_arg'=0A.libs/php_intl.o(.data.rel.local+0xe0): first defined here=
 =0A/usr/bin/ld: Warning: size of symbol `collator_1_arg' changed from 72 in=
  .libs/php_intl.o to 48 in collator/.libs/collator_class.o=0Acollator/.libs=
 /collator_class.o(.data.rel.local+0x40): multiple definition of `collator_2=
 _args'=0A.libs/php_intl.o(.data.rel.local+0x140): first defined here=0A/usr=
 /bin/ld: Warning: size of symbol `collator_2_args' changed from 96 in .libs=
 /php_intl.o to 72 in collator/.libs/collator_class.o=0Acollator/.libs/colla=
 tor_class.o(.data.rel.local+0xa0): multiple definition of `collator_sort_ar=
 gs'=0A.libs/php_intl.o(.data.rel.local+0x1a0): first defined here=0A/usr/bi=
 n/ld: Warning: size of symbol `collator_sort_args' changed from 96 in .libs=
 /php_intl.o to 72 in collator/.libs/collator_class.o=0Alocale/.libs/locale_=
 class.o(.bss+0x4): multiple definition of `locale_0_args'=0A.libs/php_intl.=
 o(.bss+0x18): first defined here=0Alocale/.libs/locale_class.o(.data.rel.lo=
 cal+0x0): multiple definition of `locale_1_arg'=0A.libs/php_intl.o(.data.re=
 l.local+0x300): first defined here=0Alocale/.libs/locale_class.o(.data.rel.=
 local+0x40): multiple definition of `locale_2_args'=0A.libs/php_intl.o(.dat=
 a.rel.local+0x340): first defined here=0Alocale/.libs/locale_class.o(.data.=
 rel.local+0xa0): multiple definition of `locale_3_args'=0A.libs/php_intl.o(=
 .data.rel.local+0x3a0): first defined here=0Alocale/.libs/locale_class.o(.d=
 ata.rel.local+0x100): multiple definition of `locale_4_args'=0A.libs/php_in=
 tl.o(.data.rel.local+0x400): first defined here=0Adateformat/.libs/dateform=
 at_class.o(.data.rel.local+0x0): multiple definition of `datefmt_parse_args=
 '=0A.libs/php_intl.o(.data.rel.local+0x6e0): first defined here=0A/usr/bin/=
 ld: Warning: size of symbol `datefmt_parse_args' changed from 96 in .libs/p=
 hp_intl.o to 72 in dateformat/.libs/dateformat_class.o=0A*** Error code 1=
 =0A=0AStop in /filestore/portbuild/filestore/ports/devel/pecl-intl/work/int=
 l-1.1.2.=0A*** Error code 1=0A=0AStop in /filestore/ports/devel/pecl-intl.=
 =0A=0ADo I need to do some cleanup before retrying?=0A=0A=0ABest regards,=
 =0AEmil Cazamir=A0

From: Frank Wall <fw@moov.de>
To: Emil Cazamir <enterco@yahoo.com>
Cc: <bug-followup@FreeBSD.org>, <miwi@FreeBSD.org>
Subject: Re: ports/156660: devel/pecl-intl cannot be build with PHP 5.2.x
Date: Tue, 28 Jun 2011 18:12:19 +0200

 Hi Emil,
 
 On Tue, 28 Jun 2011 02:42:32 -0700 (PDT), Emil Cazamir wrote:
 > I've updated today the ports tree, but devel/pecl-intl still can't be
 > compiled with php52-5.2.17. The error messages are the same: 
 
 I guess @miwi forgot to commit the fix, as I can't find any change:
 
 http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/pecl-intl/
 http://www.freshports.org/devel/pecl-intl/
 
 
 Bye
 - Frank
>Unformatted:
