Opened 14 years ago

Last modified 14 years ago

#23755 closed defect

install p5-locale-gettext fails — at Initial Version

Reported by: shaul.kedem@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: p5-locale-gettext

Description

hi,

I solved this by pointing directly to libintl.h in /opt/local/include in getext.xs but there must be a better way..

sudo port -d install p5-locale-gettext

DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/perl/p5-locale-gettext DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/perl/p5-locale-gettext DEBUG: OS Platform: darwin DEBUG: OS Version: 10.2.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/perl5-1.0.tcl DEBUG: 'universal_variant no' specified, so not adding the default universal variant DEBUG: Requested variant darwin is not provided by port p5-locale-gettext. DEBUG: Requested variant i386 is not provided by port p5-locale-gettext. DEBUG: Requested variant macosx is not provided by port p5-locale-gettext. DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5 DEBUG: epoch: in tree: 0 installed: 0 DEBUG: perl5 5.8.9_0 exists in the ports tree DEBUG: perl5 5.8.9_0 is the latest installed DEBUG: perl5 5.8.9_0 is active DEBUG: Merging existing variants into variants DEBUG: new fully merged portvariants: DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5 DEBUG: OS Platform: darwin DEBUG: OS Version: 10.2.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: 'universal_variant no' specified, so not adding the default universal variant DEBUG: Requested variant darwin is not provided by port perl5. DEBUG: Requested variant i386 is not provided by port perl5. DEBUG: Requested variant macosx is not provided by port perl5. DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5.8 DEBUG: epoch: in tree: 0 installed: 0 DEBUG: perl5.8 5.8.9_3 exists in the ports tree DEBUG: perl5.8 5.8.9_3 is the latest installed DEBUG: perl5.8 5.8.9_3 is active DEBUG: Merging existing variants into variants DEBUG: new fully merged portvariants: DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5.8 DEBUG: OS Platform: darwin DEBUG: OS Version: 10.2.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: adding the default universal variant DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: Requested variant darwin is not provided by port perl5.8. DEBUG: Requested variant i386 is not provided by port perl5.8. DEBUG: Requested variant macosx is not provided by port perl5.8. DEBUG: No need to upgrade! perl5.8 5.8.9_3 >= perl5.8 5.8.9_3 DEBUG: No need to upgrade! perl5 5.8.9_0 >= perl5 5.8.9_0 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gettext DEBUG: epoch: in tree: 0 installed: 0 DEBUG: gettext 0.17_4 exists in the ports tree DEBUG: gettext 0.17_4 is the latest installed DEBUG: gettext 0.17_4 is active DEBUG: Merging existing variants into variants DEBUG: new fully merged portvariants: DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gettext DEBUG: OS Platform: darwin DEBUG: OS Version: 10.2.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/archcheck-1.0.tcl DEBUG: universal variant already exists, so not adding the default one DEBUG: Requested variant darwin is not provided by port gettext. DEBUG: Requested variant i386 is not provided by port gettext. DEBUG: Requested variant macosx is not provided by port gettext. DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv DEBUG: epoch: in tree: 0 installed: 0 DEBUG: libiconv 1.13.1_0 exists in the ports tree DEBUG: libiconv 1.13.1_0 is the latest installed DEBUG: libiconv 1.13.1_0 is active DEBUG: Merging existing variants into variants DEBUG: new fully merged portvariants: DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv DEBUG: OS Platform: darwin DEBUG: OS Version: 10.2.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: universal variant already exists, so not adding the default one DEBUG: Requested variant darwin is not provided by port libiconv. DEBUG: Requested variant i386 is not provided by port libiconv. DEBUG: Requested variant macosx is not provided by port libiconv. DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gperf DEBUG: epoch: in tree: 0 installed: 0 DEBUG: gperf 3.0.4_0 exists in the ports tree DEBUG: gperf 3.0.4_0 is the latest installed DEBUG: gperf 3.0.4_0 is active DEBUG: Merging existing variants into variants DEBUG: new fully merged portvariants: DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gperf DEBUG: OS Platform: darwin DEBUG: OS Version: 10.2.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: universal variant already exists, so not adding the default one DEBUG: Requested variant darwin is not provided by port gperf. DEBUG: Requested variant i386 is not provided by port gperf. DEBUG: Requested variant macosx is not provided by port gperf. DEBUG: No need to upgrade! gperf 3.0.4_0 >= gperf 3.0.4_0 DEBUG: No need to upgrade! libiconv 1.13.1_0 >= libiconv 1.13.1_0 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses DEBUG: epoch: in tree: 0 installed: 0 DEBUG: ncurses 5.7_0 exists in the ports tree DEBUG: ncurses 5.7_0 +darwin_10 is the latest installed DEBUG: ncurses 5.7_0 +darwin_10 is active DEBUG: Merging existing variants darwin_10 into variants DEBUG: new fully merged portvariants: DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses DEBUG: OS Platform: darwin DEBUG: OS Version: 10.2.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: universal variant already exists, so not adding the default one DEBUG: Requested variant darwin is not provided by port ncurses. DEBUG: Requested variant i386 is not provided by port ncurses. DEBUG: Requested variant macosx is not provided by port ncurses. DEBUG: Executing variant darwin_10 provides darwin_10 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw DEBUG: epoch: in tree: 0 installed: 0 DEBUG: ncursesw 5.7_0 exists in the ports tree DEBUG: ncursesw 5.7_0 +darwin_10 is the latest installed DEBUG: ncursesw 5.7_0 +darwin_10 is active DEBUG: Merging existing variants darwin_10 into variants DEBUG: new fully merged portvariants: DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw DEBUG: OS Platform: darwin DEBUG: OS Version: 10.2.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: universal variant already exists, so not adding the default one DEBUG: Requested variant darwin is not provided by port ncursesw. DEBUG: Requested variant i386 is not provided by port ncursesw. DEBUG: Requested variant macosx is not provided by port ncursesw. DEBUG: Executing variant darwin_10 provides darwin_10 DEBUG: No need to upgrade! ncursesw 5.7_0 >= ncursesw 5.7_0 DEBUG: No need to upgrade! ncurses 5.7_0 >= ncurses 5.7_0 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/expat DEBUG: epoch: in tree: 0 installed: 0 DEBUG: expat 2.0.1_0 exists in the ports tree DEBUG: expat 2.0.1_0 is the latest installed DEBUG: expat 2.0.1_0 is active DEBUG: Merging existing variants into variants DEBUG: new fully merged portvariants: DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/expat DEBUG: OS Platform: darwin DEBUG: OS Version: 10.2.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: adding the default universal variant DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: Requested variant darwin is not provided by port expat. DEBUG: Requested variant i386 is not provided by port expat. DEBUG: Requested variant macosx is not provided by port expat. DEBUG: No need to upgrade! expat 2.0.1_0 >= expat 2.0.1_0 DEBUG: No need to upgrade! gettext 0.17_4 >= gettext 0.17_4 ---> Computing dependencies for p5-locale-gettext DEBUG: Searching for dependency: perl5 DEBUG: Found Dependency: receipt exists for perl5 DEBUG: Searching for dependency: gettext DEBUG: Found Dependency: receipt exists for gettext DEBUG: Searching for dependency: libiconv DEBUG: Found Dependency: receipt exists for libiconv DEBUG: Executing org.macports.main (p5-locale-gettext) DEBUG: Skipping completed org.macports.fetch (p5-locale-gettext) DEBUG: Skipping completed org.macports.checksum (p5-locale-gettext) DEBUG: Skipping completed org.macports.extract (p5-locale-gettext) DEBUG: Skipping completed org.macports.patch (p5-locale-gettext) DEBUG: Skipping completed org.macports.configure (p5-locale-gettext) ---> Building p5-locale-gettext DEBUG: Executing org.macports.build (p5-locale-gettext) DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-locale-gettext/work/gettext-1.05" && /usr/bin/make -j2 all' /usr/bin/gcc-4.2 -c -arch x86_64 -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include -Os -DVERSION=\"1.05\" -DXS_VERSION=\"1.05\" "-I/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE" gettext.c gettext.xs:5:21: error: libintl.h: No such file or directory gettext.c: In function 'XS_Localegettext_gettext': gettext.c:118: warning: incompatible implicit declaration of built-in function 'gettext' gettext.c: In function 'XS_Localegettext_dcgettext': gettext.c:143: warning: incompatible implicit declaration of built-in function 'dcgettext' gettext.c: In function 'XS_Localegettext_dgettext': gettext.c:167: warning: incompatible implicit declaration of built-in function 'dgettext' gettext.c: In function 'XS_Localegettext_ngettext': gettext.c:192: warning: assignment makes pointer from integer without a cast gettext.c: In function 'XS_Localegettext_dcngettext': gettext.c:219: warning: assignment makes pointer from integer without a cast gettext.c: In function 'XS_Localegettext_dngettext': gettext.c:245: warning: assignment makes pointer from integer without a cast gettext.c: In function 'XS_Localegettext_textdomain': gettext.c:268: warning: assignment makes pointer from integer without a cast gettext.c: In function 'XS_Localegettext_bindtextdomain': gettext.c:298: warning: assignment makes pointer from integer without a cast gettext.c: In function 'XS_Localegettext_bind_textdomain_codeset': gettext.c:328: warning: assignment makes pointer from integer without a cast gettext.xs:5:21: error: libintl.h: No such file or directory gettext.c: In function 'XS_Localegettext_gettext': gettext.c:118: warning: incompatible implicit declaration of built-in function 'gettext' gettext.c: In function 'XS_Localegettext_dcgettext': gettext.c:143: warning: incompatible implicit declaration of built-in function 'dcgettext' gettext.c: In function 'XS_Localegettext_dgettext': gettext.c:167: warning: incompatible implicit declaration of built-in function 'dgettext' gettext.c: In function 'XS_Localegettext_ngettext': gettext.c:192: warning: assignment makes pointer from integer without a cast gettext.c: In function 'XS_Localegettext_dcngettext': gettext.c:219: warning: assignment makes pointer from integer without a cast gettext.c: In function 'XS_Localegettext_dngettext': gettext.c:245: warning: assignment makes pointer from integer without a cast gettext.c: In function 'XS_Localegettext_textdomain': gettext.c:268: warning: assignment makes pointer from integer without a cast gettext.c: In function 'XS_Localegettext_bindtextdomain': gettext.c:298: warning: assignment makes pointer from integer without a cast gettext.c: In function 'XS_Localegettext_bind_textdomain_codeset': gettext.c:328: warning: assignment makes pointer from integer without a cast gettext.xs:5:21: error: libintl.h: No such file or directory gettext.c: In function 'XS_Localegettext_gettext': gettext.c:118: warning: incompatible implicit declaration of built-in function 'gettext' gettext.c: In function 'XS_Localegettext_dcgettext': gettext.c:143: warning: incompatible implicit declaration of built-in function 'dcgettext' gettext.c: In function 'XS_Localegettext_dgettext': gettext.c:167: warning: incompatible implicit declaration of built-in function 'dgettext' gettext.c: In function 'XS_Localegettext_ngettext': gettext.c:192: warning: assignment makes pointer from integer without a cast gettext.c: In function 'XS_Localegettext_dcngettext': gettext.c:219: warning: assignment makes pointer from integer without a cast gettext.c: In function 'XS_Localegettext_dngettext': gettext.c:245: warning: assignment makes pointer from integer without a cast gettext.c: In function 'XS_Localegettext_textdomain': gettext.c:268: warning: assignment makes pointer from integer without a cast gettext.c: In function 'XS_Localegettext_bindtextdomain': gettext.c:298: warning: assignment makes pointer from integer without a cast gettext.c: In function 'XS_Localegettext_bind_textdomain_codeset': gettext.c:328: warning: assignment makes pointer from integer without a cast lipo: can't open input file: /var/tmpccUCO3J7.out (No such file or directory) make: * [gettext.o] Error 1 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-locale-gettext/work/gettext-1.05" && /usr/bin/make -j2 all " returned error 2 DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-locale-gettext/work/gettext-1.05" && /usr/bin/make -j2 all " returned error 2

while executing

"command_exec build"

(procedure "portbuild::build_main" line 9) invoked from within

"$procedure $targetname" Warning: the following items did not execute (for p5-locale-gettext): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>

Change History (0)

Note: See TracTickets for help on using tickets.