[MacPorts] #21838: Icu 4.3.1 fails to build universal on leopard

MacPorts noreply at macports.org
Mon Oct 5 08:21:23 PDT 2009


#21838: Icu 4.3.1 fails to build universal on leopard
------------------------------+---------------------------------------------
 Reporter:  dbsgeo@…          |       Owner:  nox@…           
     Type:  defect            |      Status:  new             
 Priority:  Normal            |   Milestone:                  
Component:  ports             |     Version:                  
 Keywords:  universal         |        Port:  icu             
------------------------------+---------------------------------------------

Comment(by dbsgeo@…):

 running absolutely latest trunk (except your boost fix) I get (with icu):

 {{{
 $ sudo port -d configure icu +universal
 DEBUG: Found port in file:///opt/mports/trunk/dports/devel/icu
 DEBUG: Changing to port directory: /opt/mports/trunk/dports/devel/icu
 DEBUG: OS Platform: darwin
 DEBUG: OS Version: 9.8.0
 DEBUG: Mac OS X Version: 10.5
 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.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 DEBUG: Using group file
 /opt/mports/trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl
 DEBUG: Reading variant descriptions from
 /opt/mports/trunk/dports/_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 icu.
 DEBUG: Requested variant i386 is not provided by port icu.
 DEBUG: Requested variant macosx is not provided by port icu.
 DEBUG: Executing variant universal provides universal
 --->  Computing dependencies for icu

 DEBUG: Executing org.macports.main (icu)
 DEBUG: Skipping completed org.macports.fetch (icu)
 DEBUG: Skipping completed org.macports.checksum (icu)
 DEBUG: Skipping completed org.macports.extract (icu)
 DEBUG: Skipping completed org.macports.patch (icu)
 DEBUG: Skipping completed org.macports.configure (icu)
 springmeyer:~ spring$ sudo port clean icu
 Password:
 --->  Cleaning icu
 springmeyer:~ spring$ sudo port -d configure icu +universal
 DEBUG: Found port in file:///opt/mports/trunk/dports/devel/icu
 DEBUG: Changing to port directory: /opt/mports/trunk/dports/devel/icu
 DEBUG: OS darwin/9.8.0 (Mac OS X 10.5) 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.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 DEBUG: Using group file
 /opt/mports/trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl
 DEBUG: Reading variant descriptions from
 /opt/mports/trunk/dports/_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 icu.
 DEBUG: Requested variant i386 is not provided by port icu.
 DEBUG: Requested variant macosx is not provided by port icu.
 DEBUG: Executing variant universal provides universal
 DEBUG: Attempting ln -sf
 /opt/local/var/macports/build/_opt_mports_trunk_dports_devel_icu/work
 /opt/mports/trunk/dports/devel/icu/work
 --->  Computing dependencies for icu
 DEBUG: Executing org.macports.main (icu)
 --->  Fetching icu
 DEBUG: Executing org.macports.fetch (icu)
 --->  Verifying checksum(s) for icu
 DEBUG: Executing org.macports.checksum (icu)
 --->  Checksumming icu4c-4_3_1-src.tgz
 DEBUG: Correct (md5) checksum for icu4c-4_3_1-src.tgz
 DEBUG: Correct (sha1) checksum for icu4c-4_3_1-src.tgz
 DEBUG: Correct (rmd160) checksum for icu4c-4_3_1-src.tgz
 --->  Extracting icu
 DEBUG: Executing org.macports.extract (icu)
 --->  Extracting icu4c-4_3_1-src.tgz
 DEBUG: setting option extract.args to
 /opt/local/var/macports/distfiles/icu/icu4c-4_3_1-src.tgz
 DEBUG: Environment: CPATH='/opt/local/include'
 LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.5'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_icu/work" &&
 /usr/bin/gzip -dc
 /opt/local/var/macports/distfiles/icu/icu4c-4_3_1-src.tgz |
 /usr/bin/gnutar --no-same-owner -xf -'
 DEBUG: Executing org.macports.patch (icu)
 --->  Applying patches to icu
 --->  Applying /opt/mports/trunk/dports/devel/icu/files/patch-
 configure.diff
 DEBUG: Environment: CPATH='/opt/local/include'
 LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.5'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_icu/work/icu/source"
 && /usr/bin/patch -p0'
 patching file configure
 --->  Applying /opt/mports/trunk/dports/devel/icu/files/patch-config-mh-
 darwin.diff
 DEBUG: Environment: CPATH='/opt/local/include'
 LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.5'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_icu/work/icu/source"
 && /usr/bin/patch -p0'
 patching file config/mh-darwin
 DEBUG: Executing proc-post-org.macports.patch-patch-0
 --->  Configuring icu
 DEBUG: Using compiler 'Mac OS X gcc 4.0'
 DEBUG: Executing org.macports.configure (icu)
 --->  Configuring icu for architecture x86_64
 DEBUG: Environment: CPATH='/opt/local/include' CFLAGS='-O2 -arch x86_64'
 CXXFLAGS='-O2 -arch x86_64' LIBRARY_PATH='/opt/local/lib'
 MACOSX_DEPLOYMENT_TARGET='10.5' CXX='/usr/bin/g++-4.0' F90FLAGS='-O2 -arch
 x86_64' LDFLAGS='-arch x86_64' OBJC='/usr/bin/gcc-4.0' FCFLAGS='-O2 -arch
 x86_64' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2 -arch x86_64'
 FFLAGS='-O2 -arch x86_64' CC='/usr/bin/gcc-4.0'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_icu/work/icu/source-x86_64"
 && ./runConfigureICU MacOSX --prefix=/opt/local --disable-dependency-
 tracking --mandir=/opt/local/share/man --enable-static --disable-samples
 --disable-dependency-tracking '
 Running ./configure  --prefix=/opt/local --disable-dependency-tracking
 --mandir=/opt/local/share/man --enable-static --disable-samples --disable-
 dependency-tracking for MacOS X (Darwin) using the GNU C++ compiler

 configure: WARNING: unrecognized options: --disable-dependency-tracking,
 --disable-dependency-tracking
 checking for ICU version numbers... release 4.3.1, library 43.1
 checking build system type... i386-apple-darwin9.8.0
 checking host system type... i386-apple-darwin9.8.0
 checking target system type... i386-apple-darwin9.8.0
 checking for gcc... /usr/bin/gcc-4.0
 checking for C compiler default output file name... a.out
 checking whether the C compiler works... yes
 checking whether we are cross compiling... no
 checking for suffix of executables...
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether /usr/bin/gcc-4.0 accepts -g... yes
 checking for /usr/bin/gcc-4.0 option to accept ISO C89... none needed
 checking whether we are using the GNU C++ compiler... yes
 checking whether /usr/bin/g++-4.0 accepts -g... yes
 checking how to run the C preprocessor... /usr/bin/gcc-4.0 -E
 checking for a BSD-compatible install... /usr/bin/install -c
 checking for gmake... no
 checking for gnumake... /usr/bin/gnumake
 checking for doxygen... no
 checking checking for executable suffix...
 checking whether strict compiling is on... yes
 checking whether runnable 64 bit binaries are built by default... yes
 checking which Makefile fragment to use for i386-apple-darwin9.8.0... mh-
 darwin
 checking for floor in -lm... yes
 checking whether to build shared libraries... yes
 checking whether to build static libraries... yes
 checking whether to build debug libraries... no
 checking whether to build release libraries... yes
 checking whether to enable draft APIs... yes
 checking for library API export... yes
 checking for ranlib... ranlib
 checking for ar... ar
 checking whether to enable renaming of symbols... yes
 checking whether to enable function and data tracing... no
 checking for definition of U_INLINE for C... __inline__
 checking if #include <string> works... yes
 checking for pthread_attr_init in -lpthread... yes
 checking for mmap... yes
 checking for genccode assembly...
 checking for grep that handles long lines and -e... /usr/bin/grep
 checking for egrep... /usr/bin/grep -E
 checking for ANSI C header files... yes
 checking for sys/types.h... yes
 checking for sys/stat.h... yes
 checking for stdlib.h... yes
 checking for string.h... yes
 checking for memory.h... yes
 checking for strings.h... yes
 checking for inttypes.h... yes
 checking for stdint.h... yes
 checking for unistd.h... yes
 checking for inttypes.h... (cached) yes
 checking dirent.h usability... yes
 checking dirent.h presence... yes
 checking for dirent.h... yes
 checking for iostream usability... yes
 checking whether byte ordering is bigendian... no
 checking for nl_langinfo... yes
 checking for nl_langinfo's argument to obtain the codeset... CODESET
 checking for namespace support... yes
 checking for properly overriding new and delete... yes
 checking for placement new and delete... yes
 checking for popen... yes
 checking for tzset... yes
 checking for tzname... yes
 checking for timezone... yes
 checking for int8_t... yes
 checking for uint8_t... yes
 checking for int16_t... yes
 checking for uint16_t... yes
 checking for int32_t... yes
 checking for uint32_t... yes
 checking for int64_t... yes
 checking for uint64_t... yes
 checking wchar.h usability... yes
 checking wchar.h presence... yes
 checking for wchar.h... yes
 checking for library containing wcscpy... none required
 checking size of wchar_t... 4
 checking for UTF-16 string literal support... unknown
 checking for a library suffix to use... none
 configure: creating ./config.status
 config.status: creating icudefs.mk
 config.status: creating Makefile
 config.status: creating data/pkgdataMakefile
 config.status: creating config/Makefile.inc
 config.status: creating config/pkgdataMakefile
 config.status: creating data/Makefile
 config.status: creating stubdata/Makefile
 config.status: creating common/Makefile
 config.status: creating i18n/Makefile
 config.status: creating layout/Makefile
 config.status: creating layoutex/Makefile
 config.status: creating io/Makefile
 config.status: creating extra/Makefile
 config.status: creating extra/uconv/Makefile
 config.status: creating extra/uconv/pkgdataMakefile
 config.status: creating extra/scrptrun/Makefile
 config.status: creating tools/Makefile
 config.status: creating tools/ctestfw/Makefile
 config.status: creating tools/toolutil/Makefile
 config.status: creating tools/makeconv/Makefile
 config.status: creating tools/genrb/Makefile
 config.status: creating tools/genuca/Makefile
 config.status: creating tools/genccode/Makefile
 config.status: creating tools/gencmn/Makefile
 config.status: creating tools/gencnval/Makefile
 config.status: creating tools/genctd/Makefile
 config.status: creating tools/gennames/Makefile
 config.status: creating tools/gentest/Makefile
 config.status: creating tools/gennorm/Makefile
 config.status: creating tools/genprops/Makefile
 config.status: creating tools/gencase/Makefile
 config.status: creating tools/genbidi/Makefile
 config.status: creating tools/genpname/Makefile
 config.status: creating tools/genbrk/Makefile
 config.status: creating tools/gensprep/Makefile
 config.status: creating tools/icupkg/Makefile
 config.status: creating tools/icuswap/Makefile
 config.status: creating tools/pkgdata/Makefile
 config.status: creating tools/tzcode/Makefile
 config.status: creating tools/gencfu/Makefile
 config.status: creating test/Makefile
 config.status: creating test/compat/Makefile
 config.status: creating test/testdata/Makefile
 config.status: creating test/testdata/pkgdataMakefile
 config.status: creating test/hdrtst/Makefile
 config.status: creating test/intltest/Makefile
 config.status: creating test/cintltst/Makefile
 config.status: creating test/iotest/Makefile
 config.status: creating test/letest/Makefile
 config.status: creating test/perf/Makefile
 config.status: creating test/perf/collationperf/Makefile
 config.status: creating test/perf/ubrkperf/Makefile
 config.status: creating test/perf/charperf/Makefile
 config.status: creating test/perf/convperf/Makefile
 config.status: creating test/perf/normperf/Makefile
 config.status: creating test/perf/strsrchperf/Makefile
 config.status: creating test/perf/unisetperf/Makefile
 config.status: creating test/perf/usetperf/Makefile
 config.status: creating test/perf/ustrperf/Makefile
 config.status: creating test/perf/utfperf/Makefile
 config.status: creating test/perf/utrie2perf/Makefile
 config.status: creating samples/Makefile
 config.status: creating samples/date/Makefile
 config.status: creating samples/cal/Makefile
 config.status: creating samples/layout/Makefile
 config.status: creating common/unicode/platform.h
 config.status: creating common/icucfg.h
 configure: WARNING: unrecognized options: --disable-dependency-tracking,
 --disable-dependency-tracking

 ICU for C/C++ 4.3.1 is ready to be built.
 === Important Notes: ===
 Data Packaging: library
  This means: ICU data will be linked with ICU. A static data library will
 be built.  A shared data library will be built.
  To locate data: ICU will use the linked data library. If linked with the
 stub library located in stubdata/, the application can use
 udata_setCommonData() or set a data path to override.
 Building ICU: Use a GNU make such as /usr/bin/gnumake to build ICU.
 checking the version of "/usr/bin/gnumake"... 3.81 (we wanted at least
 3.80)
 ok

 If the result of the above commands looks okay to you, go to the directory
 source in the ICU distribution to build ICU. Please remember that ICU
 needs
 GNU make to build properly...
 --->  Configuring icu for architecture i386
 DEBUG: Environment: CPATH='/opt/local/include' CFLAGS='-O2 -arch i386'
 CXXFLAGS='-O2 -arch i386' LIBRARY_PATH='/opt/local/lib'
 MACOSX_DEPLOYMENT_TARGET='10.5' CXX='/usr/bin/g++-4.0' F90FLAGS='-O2 -arch
 i386' LDFLAGS='-arch i386' OBJC='/usr/bin/gcc-4.0' FCFLAGS='-O2 -arch
 i386' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2 -arch i386' FFLAGS='-O2
 -arch i386' CC='/usr/bin/gcc-4.0'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_icu/work/icu/source-i386"
 && ./runConfigureICU MacOSX --prefix=/opt/local --disable-dependency-
 tracking --disable-dependency-tracking --mandir=/opt/local/share/man
 --enable-static --disable-samples --disable-dependency-tracking '
 Running ./configure  --prefix=/opt/local --disable-dependency-tracking
 --disable-dependency-tracking --mandir=/opt/local/share/man --enable-
 static --disable-samples --disable-dependency-tracking for MacOS X
 (Darwin) using the GNU C++ compiler

 configure: WARNING: unrecognized options: --disable-dependency-tracking,
 --disable-dependency-tracking, --disable-dependency-tracking
 checking for ICU version numbers... release 4.3.1, library 43.1
 checking build system type... i386-apple-darwin9.8.0
 checking host system type... i386-apple-darwin9.8.0
 checking target system type... i386-apple-darwin9.8.0
 checking for gcc... /usr/bin/gcc-4.0
 checking for C compiler default output file name... a.out
 checking whether the C compiler works... yes
 checking whether we are cross compiling... no
 checking for suffix of executables...
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether /usr/bin/gcc-4.0 accepts -g... yes
 checking for /usr/bin/gcc-4.0 option to accept ISO C89... none needed
 checking whether we are using the GNU C++ compiler... yes
 checking whether /usr/bin/g++-4.0 accepts -g... yes
 checking how to run the C preprocessor... /usr/bin/gcc-4.0 -E
 checking for a BSD-compatible install... /usr/bin/install -c
 checking for gmake... no
 checking for gnumake... /usr/bin/gnumake
 checking for doxygen... no
 checking checking for executable suffix...
 checking whether strict compiling is on... yes
 checking whether runnable 64 bit binaries are built by default... no
 checking which Makefile fragment to use for i386-apple-darwin9.8.0... mh-
 darwin
 checking for floor in -lm... yes
 checking whether to build shared libraries... yes
 checking whether to build static libraries... yes
 checking whether to build debug libraries... no
 checking whether to build release libraries... yes
 checking whether to enable draft APIs... yes
 checking for library API export... yes
 checking for ranlib... ranlib
 checking for ar... ar
 checking whether to enable renaming of symbols... yes
 checking whether to enable function and data tracing... no
 checking for definition of U_INLINE for C... __inline__
 checking if #include <string> works... yes
 checking for pthread_attr_init in -lpthread... yes
 checking for mmap... yes
 checking for genccode assembly...
 checking for grep that handles long lines and -e... /usr/bin/grep
 checking for egrep... /usr/bin/grep -E
 checking for ANSI C header files... yes
 checking for sys/types.h... yes
 checking for sys/stat.h... yes
 checking for stdlib.h... yes
 checking for string.h... yes
 checking for memory.h... yes
 checking for strings.h... yes
 checking for inttypes.h... yes
 checking for stdint.h... yes
 checking for unistd.h... yes
 checking for inttypes.h... (cached) yes
 checking dirent.h usability... yes
 checking dirent.h presence... yes
 checking for dirent.h... yes
 checking for iostream usability... yes
 checking whether byte ordering is bigendian... no
 checking for nl_langinfo... yes
 checking for nl_langinfo's argument to obtain the codeset... CODESET
 checking for namespace support... yes
 checking for properly overriding new and delete... yes
 checking for placement new and delete... yes
 checking for popen... yes
 checking for tzset... yes
 checking for tzname... yes
 checking for timezone... yes
 checking for int8_t... yes
 checking for uint8_t... yes
 checking for int16_t... yes
 checking for uint16_t... yes
 checking for int32_t... yes
 checking for uint32_t... yes
 checking for int64_t... yes
 checking for uint64_t... yes
 checking wchar.h usability... yes
 checking wchar.h presence... yes
 checking for wchar.h... yes
 checking for library containing wcscpy... none required
 checking size of wchar_t... 4
 checking for UTF-16 string literal support... unknown
 checking for a library suffix to use... none
 configure: creating ./config.status
 config.status: creating icudefs.mk
 config.status: creating Makefile
 config.status: creating data/pkgdataMakefile
 config.status: creating config/Makefile.inc
 config.status: creating config/pkgdataMakefile
 config.status: creating data/Makefile
 config.status: creating stubdata/Makefile
 config.status: creating common/Makefile
 config.status: creating i18n/Makefile
 config.status: creating layout/Makefile
 config.status: creating layoutex/Makefile
 config.status: creating io/Makefile
 config.status: creating extra/Makefile
 config.status: creating extra/uconv/Makefile
 config.status: creating extra/uconv/pkgdataMakefile
 config.status: creating extra/scrptrun/Makefile
 config.status: creating tools/Makefile
 config.status: creating tools/ctestfw/Makefile
 config.status: creating tools/toolutil/Makefile
 config.status: creating tools/makeconv/Makefile
 config.status: creating tools/genrb/Makefile
 config.status: creating tools/genuca/Makefile
 config.status: creating tools/genccode/Makefile
 config.status: creating tools/gencmn/Makefile
 config.status: creating tools/gencnval/Makefile
 config.status: creating tools/genctd/Makefile
 config.status: creating tools/gennames/Makefile
 config.status: creating tools/gentest/Makefile
 config.status: creating tools/gennorm/Makefile
 config.status: creating tools/genprops/Makefile
 config.status: creating tools/gencase/Makefile
 config.status: creating tools/genbidi/Makefile
 config.status: creating tools/genpname/Makefile
 config.status: creating tools/genbrk/Makefile
 config.status: creating tools/gensprep/Makefile
 config.status: creating tools/icupkg/Makefile
 config.status: creating tools/icuswap/Makefile
 config.status: creating tools/pkgdata/Makefile
 config.status: creating tools/tzcode/Makefile
 config.status: creating tools/gencfu/Makefile
 config.status: creating test/Makefile
 config.status: creating test/compat/Makefile
 config.status: creating test/testdata/Makefile
 config.status: creating test/testdata/pkgdataMakefile
 config.status: creating test/hdrtst/Makefile
 config.status: creating test/intltest/Makefile
 config.status: creating test/cintltst/Makefile
 config.status: creating test/iotest/Makefile
 config.status: creating test/letest/Makefile
 config.status: creating test/perf/Makefile
 config.status: creating test/perf/collationperf/Makefile
 config.status: creating test/perf/ubrkperf/Makefile
 config.status: creating test/perf/charperf/Makefile
 config.status: creating test/perf/convperf/Makefile
 config.status: creating test/perf/normperf/Makefile
 config.status: creating test/perf/strsrchperf/Makefile
 config.status: creating test/perf/unisetperf/Makefile
 config.status: creating test/perf/usetperf/Makefile
 config.status: creating test/perf/ustrperf/Makefile
 config.status: creating test/perf/utfperf/Makefile
 config.status: creating test/perf/utrie2perf/Makefile
 config.status: creating samples/Makefile
 config.status: creating samples/date/Makefile
 config.status: creating samples/cal/Makefile
 config.status: creating samples/layout/Makefile
 config.status: creating common/unicode/platform.h
 config.status: creating common/icucfg.h
 configure: WARNING: unrecognized options: --disable-dependency-tracking,
 --disable-dependency-tracking, --disable-dependency-tracking

 ICU for C/C++ 4.3.1 is ready to be built.
 === Important Notes: ===
 Data Packaging: library
  This means: ICU data will be linked with ICU. A static data library will
 be built.  A shared data library will be built.
  To locate data: ICU will use the linked data library. If linked with the
 stub library located in stubdata/, the application can use
 udata_setCommonData() or set a data path to override.
 Building ICU: Use a GNU make such as /usr/bin/gnumake to build ICU.
 checking the version of "/usr/bin/gnumake"... 3.81 (we wanted at least
 3.80)
 ok

 If the result of the above commands looks okay to you, go to the directory
 source in the ICU distribution to build ICU. Please remember that ICU
 needs
 GNU make to build properly...
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/21838#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list