ports/156660: devel/pecl-intl cannot be build with PHP 5.2.x
Frank Wall
fw at moov.de
Tue Apr 26 13:10:18 UTC 2011
>Number: 156660
>Category: ports
>Synopsis: devel/pecl-intl cannot be build with PHP 5.2.x
>Confidential: no
>Severity: critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Apr 26 13:10:12 UTC 2011
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list