#12785 closed defect (duplicate)
libiconv 1.11 does not build as universal
Reported by: | Axel.Rau@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.5.0 |
Keywords: | libiconv universal | Cc: | Axel.Rau@…, lowello@…, ryandesign (Ryan Carsten Schmidt) |
Port: |
Description
While trying to do a
port -d install postgresql82 +universal
I get:
/bin/sh ../libtool --mode=link gcc -L/opt/local/lib -arch i386 -arch ppc -o libcharset.la -rpath /opt/local/lib -version-info 1:0:0 -no-undefined localcharset.lo relocatable.lo gcc -dynamiclib -o .libs/libcharset.1.0.0.dylib .libs/localcharset.o .libs/relocatable.o -L/opt/local/lib -arch i386 -arch ppc -install_name /opt/local/lib/libcharset.1.dylib -Wl,-compatibility_version -Wl,2 -Wl,-current_version -Wl,2.0 ld: Undefined symbols: _fclose _fopen _free _fscanf _getc _getenv _malloc _memcpy _nl_langinfo _realloc _strcmp _strcpy _ungetc _strncmp /usr/bin/libtool: internal link edit command failed lipo: can't figure out the architecture type of: /var/tmp//ccdMBrHE.out make[2]: *** [libcharset.la] Error 1 make[1]: *** [all] Error 2 make: *** [lib/localcharset.h] Error 2 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/work/libiconv-1.11" && make all " returned error 2
The hole debug output was:
claudius6:~ root# /opt/local/bin/port -d install postgresql82 +universal DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/postgresql82 DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/postgresql82 DEBUG: Requested variant powerpc is not provided by port postgresql82. DEBUG: Requested variant darwin is not provided by port postgresql82. DEBUG: Requested variant no_x11 is not provided by port postgresql82. DEBUG: Requested variant macosx is not provided by port postgresql82. DEBUG: Executing variant universal provides universal DEBUG: Executing variant darwin_8 provides darwin_8 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/readline DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/readline DEBUG: Requested variant powerpc is not provided by port readline. DEBUG: Requested variant no_x11 is not provided by port readline. DEBUG: Requested variant macosx is not provided by port readline. DEBUG: Executing variant universal provides universal DEBUG: Executing variant darwin provides darwin DEBUG: Searching for dependency: readline DEBUG: Didn't find receipt, going to depspec regex for: readline DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/openssl DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/openssl DEBUG: Requested variant powerpc is not provided by port openssl. DEBUG: Requested variant no_x11 is not provided by port openssl. DEBUG: Requested variant macosx is not provided by port openssl. DEBUG: Executing variant darwin provides darwin DEBUG: Executing variant darwin_8 provides darwin_8 DEBUG: Executing variant universal provides universal DEBUG: Searching for dependency: openssl DEBUG: Didn't find receipt, going to depspec regex for: openssl DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib DEBUG: Requested variant powerpc is not provided by port zlib. DEBUG: Requested variant darwin is not provided by port zlib. DEBUG: Requested variant no_x11 is not provided by port zlib. DEBUG: Requested variant macosx is not provided by port zlib. DEBUG: Executing variant universal provides universal DEBUG: Searching for dependency: zlib DEBUG: Didn't find receipt, going to depspec regex for: zlib DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libxml2 DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libxml2 DEBUG: Requested variant powerpc is not provided by port libxml2. DEBUG: Requested variant darwin is not provided by port libxml2. DEBUG: Requested variant no_x11 is not provided by port libxml2. DEBUG: Requested variant macosx is not provided by port libxml2. DEBUG: Executing variant universal provides universal DEBUG: Searching for dependency: libxml2 DEBUG: Didn't find receipt, going to depspec regex for: libxml2 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libxslt DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libxslt DEBUG: Requested variant powerpc is not provided by port libxslt. DEBUG: Requested variant darwin is not provided by port libxslt. DEBUG: Requested variant no_x11 is not provided by port libxslt. DEBUG: Requested variant macosx is not provided by port libxslt. DEBUG: Executing variant universal provides universal DEBUG: Searching for dependency: libxslt DEBUG: Didn't find receipt, going to depspec regex for: libxslt DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/bison DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/bison DEBUG: Requested variant powerpc is not provided by port bison. DEBUG: Requested variant darwin is not provided by port bison. DEBUG: Requested variant no_x11 is not provided by port bison. DEBUG: Requested variant macosx is not provided by port bison. DEBUG: Executing variant universal provides universal DEBUG: Searching for dependency: bison DEBUG: Didn't find receipt, going to depspec regex for: bison DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses DEBUG: Requested variant powerpc is not provided by port ncurses. DEBUG: Requested variant darwin is not provided by port ncurses. DEBUG: Requested variant no_x11 is not provided by port ncurses. DEBUG: Requested variant macosx is not provided by port ncurses. DEBUG: Executing variant universal provides universal DEBUG: Executing variant darwin_8 provides darwin_8 DEBUG: Searching for dependency: ncurses DEBUG: Didn't find receipt, going to depspec regex for: ncurses DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw DEBUG: Requested variant powerpc is not provided by port ncursesw. DEBUG: Requested variant darwin is not provided by port ncursesw. DEBUG: Requested variant no_x11 is not provided by port ncursesw. DEBUG: Requested variant macosx is not provided by port ncursesw. DEBUG: Executing variant universal provides universal DEBUG: Executing variant darwin_8 provides darwin_8 DEBUG: Searching for dependency: ncursesw DEBUG: Didn't find receipt, going to depspec regex for: ncursesw DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib DEBUG: Searching for dependency: zlib DEBUG: Didn't find receipt, going to depspec regex for: zlib DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv DEBUG: Requested variant powerpc is not provided by port libiconv. DEBUG: Requested variant darwin is not provided by port libiconv. DEBUG: Requested variant no_x11 is not provided by port libiconv. DEBUG: Requested variant macosx is not provided by port libiconv. DEBUG: Executing variant universal provides universal DEBUG: Executing variant darwin_8 provides darwin_8 DEBUG: Searching for dependency: libiconv DEBUG: Didn't find receipt, going to depspec regex for: libiconv DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib DEBUG: Searching for dependency: zlib DEBUG: Didn't find receipt, going to depspec regex for: zlib DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gperf DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gperf DEBUG: Requested variant powerpc is not provided by port gperf. DEBUG: Requested variant darwin is not provided by port gperf. DEBUG: Requested variant no_x11 is not provided by port gperf. DEBUG: Requested variant macosx is not provided by port gperf. DEBUG: Executing variant universal provides universal DEBUG: Searching for dependency: gperf DEBUG: Didn't find receipt, going to depspec regex for: gperf DEBUG: Found Dependency: path: /usr/bin filename: gperf regex: ^gperf$ DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv DEBUG: Searching for dependency: libiconv DEBUG: Didn't find receipt, going to depspec regex for: libiconv DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libxml2 DEBUG: Searching for dependency: libxml2 DEBUG: Didn't find receipt, going to depspec regex for: libxml2 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib DEBUG: Searching for dependency: zlib DEBUG: Didn't find receipt, going to depspec regex for: zlib DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gperf DEBUG: Searching for dependency: gperf DEBUG: Didn't find receipt, going to depspec regex for: gperf DEBUG: Found Dependency: path: /usr/bin filename: gperf regex: ^gperf$ DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gettext DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gettext DEBUG: Requested variant powerpc is not provided by port gettext. DEBUG: Requested variant darwin is not provided by port gettext. DEBUG: Requested variant no_x11 is not provided by port gettext. DEBUG: Requested variant macosx is not provided by port gettext. DEBUG: Executing variant universal provides universal DEBUG: Searching for dependency: gettext DEBUG: Didn't find receipt, going to depspec regex for: gettext DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/m4 DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/m4 DEBUG: Requested variant powerpc is not provided by port m4. DEBUG: Requested variant darwin is not provided by port m4. DEBUG: Requested variant no_x11 is not provided by port m4. DEBUG: Requested variant macosx is not provided by port m4. DEBUG: Executing variant universal provides universal DEBUG: Searching for dependency: m4 DEBUG: Didn't find receipt, going to depspec regex for: m4 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv DEBUG: Searching for dependency: libiconv DEBUG: Didn't find receipt, going to depspec regex for: libiconv DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/expat DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/expat DEBUG: Requested variant powerpc is not provided by port expat. DEBUG: Requested variant darwin is not provided by port expat. DEBUG: Requested variant no_x11 is not provided by port expat. DEBUG: Requested variant macosx is not provided by port expat. DEBUG: Executing variant universal provides universal DEBUG: Searching for dependency: expat DEBUG: Found Dependency: receipt exists for expat DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gperf DEBUG: Searching for dependency: gperf DEBUG: Didn't find receipt, going to depspec regex for: gperf DEBUG: Found Dependency: path: /usr/bin filename: gperf regex: ^gperf$ DEBUG: Executing org.macports.main (libiconv) DEBUG: No TGZ archive: /opt/local/var/macports/packages/darwin/powerpc/libiconv-1.11_6+darwin_8+universal.powerpc.tgz DEBUG: Skipping unarchive (libiconv) since no archive found DEBUG: Skipping completed org.macports.unarchive (libiconv) ---> Fetching libiconv DEBUG: Executing proc-pre-org.macports.fetch-fetch-0 DEBUG: Executing org.macports.fetch (libiconv) ---> Verifying checksum(s) for libiconv DEBUG: Executing org.macports.checksum (libiconv) ---> Checksumming libiconv-1.11.tar.gz DEBUG: Correct (md5) checksum for libiconv-1.11.tar.gz DEBUG: Correct (sha1) checksum for libiconv-1.11.tar.gz DEBUG: Correct (rmd160) checksum for libiconv-1.11.tar.gz ---> Extracting libiconv DEBUG: Executing org.macports.extract (libiconv) ---> Extracting libiconv-1.11.tar.gz DEBUG: setting option extract.args to /opt/local/var/macports/distfiles/libiconv/libiconv-1.11.tar.gz DEBUG: Environment: DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/work" && gzip -dc /opt/local/var/macports/distfiles/libiconv/libiconv-1.11.tar.gz | /usr/bin/gnutar --no-same-owner -xf -' DEBUG: Executing org.macports.patch (libiconv) DEBUG: Executing proc-post-org.macports.patch-patch-0 patching file lib/converters.h patching file lib/encodings.def patching file lib/utf8mac.h ---> Configuring libiconv DEBUG: Executing org.macports.configure (libiconv) DEBUG: No compiler collection selected explicitly DEBUG: Environment: CXXFLAGS='-O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc' CPPFLAGS='-I/opt/local/include' CFLAGS='-O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc' LDFLAGS='-L/opt/local/lib -arch i386 -arch ppc' MACOSX_DEPLOYMENT_TARGET='10.4' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/work/libiconv-1.11" && ./configure --prefix=/opt/local --enable-static --mandir=/opt/local/share/man --docdir=/opt/local/share/doc/libiconv-1.11 --without-libiconv-prefix --without-libintl-prefix --disable-nls --enable-extra-encodings --disable-dependency-tracking' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make sets $(MAKE)... (cached) yes checking for gcc... gcc 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether gcc needs -traditional... no checking for a BSD-compatible install... /usr/bin/install -c checking build system type... powerpc-apple-darwin8.10.0 checking host system type... powerpc-apple-darwin8.10.0 checking for AIX... no 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking for library containing strerror... none required checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking for shared library path variable... DYLD_LIBRARY_PATH checking whether to activate relocatable installation... no checking for ranlib... ranlib checking how to copy files... cp -p checking how to make hard links... ln checking whether ln -s works... yes checking for a sed that does not truncate output... /usr/bin/sed checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -p checking how to recognise dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 196608 checking command to parse /usr/bin/nm -p output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... (cached) ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fno-common checking if gcc PIC flag -fno-common works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin8.10.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fno-common checking if g++ PIC flag -fno-common works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin8.10.0 dyld checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for simple visibility declarations... yes checking for shared library run path origin... done checking for iconv... yes checking how to link with libiconv... -liconv checking for iconv declaration... extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking whether NLS is requested... no checking for msgfmt... no checking for gmsgfmt... : checking for xgettext... no checking for msgmerge... no checking for CFPreferencesCopyAppValue... yes checking for CFLocaleCopyCurrent... yes checking whether to use NLS... no checking for ANSI C header files... (cached) yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for mbstate_t... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking for size_t... yes checking for wchar_t... yes checking for stdint.h... yes checking full path to <stdint.h>... /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/include/stdint.h checking for inttypes.h... yes checking full path to <inttypes.h>... /usr/include/inttypes.h checking sys/inttypes.h usability... no checking sys/inttypes.h presence... no checking for sys/inttypes.h... no checking sys/bitypes.h usability... no checking sys/bitypes.h presence... no checking for sys/bitypes.h... no checking whether 'long' is 64 bit wide... no checking whether 'long long' is 64 bit wide... yes checking for int8_t... yes checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for int_least8_t... yes checking for int_least16_t... yes checking for int_least32_t... yes checking for int_least64_t... yes checking for uint_least8_t... yes checking for uint_least16_t... yes checking for uint_least32_t... yes checking for uint_least64_t... yes checking for int_fast8_t... yes checking for int_fast16_t... yes checking for int_fast32_t... yes checking for int_fast64_t... yes checking for uint_fast8_t... yes checking for uint_fast16_t... yes checking for uint_fast32_t... yes checking for uint_fast64_t... yes checking for intptr_t... yes checking for uintptr_t... yes checking for intmax_t... yes checking for uintmax_t... yes checking for int64_t... yes checking for uint64_t... yes checking for int_least64_t... yes checking for uint_least64_t... yes checking for int_fast64_t... yes checking for uint_fast64_t... yes checking for INT8_MIN... yes checking for INT8_MAX... yes checking for UINT8_MAX... yes checking for INT16_MIN... yes checking for INT16_MAX... yes checking for UINT16_MAX... yes checking for INT32_MIN... yes checking for INT32_MAX... yes checking for UINT32_MAX... yes checking for INT64_MIN... yes checking for INT64_MAX... yes checking for UINT64_MAX... yes checking for INT_LEAST8_MIN... yes checking for INT_LEAST8_MAX... yes checking for UINT_LEAST8_MAX... yes checking for INT_LEAST16_MIN... yes checking for INT_LEAST16_MAX... yes checking for UINT_LEAST16_MAX... yes checking for INT_LEAST32_MIN... yes checking for INT_LEAST32_MAX... yes checking for UINT_LEAST32_MAX... yes checking for INT_LEAST64_MIN... yes checking for INT_LEAST64_MAX... yes checking for UINT_LEAST64_MAX... yes checking for INT_FAST8_MIN... yes checking for INT_FAST8_MAX... yes checking for UINT_FAST8_MAX... yes checking for INT_FAST16_MIN... yes checking for INT_FAST16_MAX... yes checking for UINT_FAST16_MAX... yes checking for INT_FAST32_MIN... yes checking for INT_FAST32_MAX... yes checking for UINT_FAST32_MAX... yes checking for INT_FAST64_MIN... yes checking for INT_FAST64_MAX... yes checking for UINT_FAST64_MAX... yes checking for INTPTR_MIN... yes checking for INTPTR_MAX... yes checking for UINTPTR_MAX... yes checking for INTMAX_MIN... yes checking for INTMAX_MAX... yes checking for UINTMAX_MAX... yes checking for PTRDIFF_MIN... yes checking for PTRDIFF_MAX... yes checking for stdint.h... (cached) yes checking for SIZE_MAX... yes checking for SIG_ATOMIC_MIN... yes checking for SIG_ATOMIC_MAX... yes checking for WINT_MIN... yes checking for WINT_MAX... yes checking for wchar_t... (cached) yes checking for getc_unlocked... yes checking for mbrtowc... yes checking for wcrtomb... yes checking for mbsinit... yes checking for setlocale... yes checking for memmove... yes checking for nl_langinfo and CODESET... yes checking for wchar.h... (cached) yes checking for EILSEQ... yes checking byte ordering... big endian checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for long long... yes checking for long double... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for unistd.h... (cached) yes checking for canonicalize_file_name... no checking for getcwd... yes checking for readlink... yes checking whether clearerr_unlocked is declared... yes checking whether feof_unlocked is declared... yes checking whether ferror_unlocked is declared... yes checking whether fflush_unlocked is declared... no checking whether fgets_unlocked is declared... no checking whether fputc_unlocked is declared... no checking whether fputs_unlocked is declared... no checking whether fread_unlocked is declared... no checking whether fwrite_unlocked is declared... no checking whether getc_unlocked is declared... yes checking whether getchar_unlocked is declared... yes checking whether putc_unlocked is declared... yes checking whether putchar_unlocked is declared... yes checking whether strerror_r is declared... yes checking for strerror_r... yes checking whether strerror_r returns char *... no checking for error_at_line... no checking for setenv... yes checking for unsetenv... yes checking for unsetenv() return type... void checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for strerror... yes checking for readlink... (cached) yes checking for ssize_t... yes configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating srclib/Makefile config.status: creating src/Makefile config.status: creating po/Makefile.in config.status: creating man/Makefile config.status: creating tests/Makefile config.status: creating include/iconv.h config.status: creating include/iconv.h.inst config.status: creating config.h config.status: creating lib/config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile === configuring in libcharset (/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/work/libiconv-1.11/libcharset) configure: running /bin/sh ./configure --prefix=/opt/local '--enable-static' '--mandir=/opt/local/share/man' '--docdir=/opt/local/share/doc/libiconv-1.11' '--without-libiconv-prefix' '--without-libintl-prefix' '--disable-nls' '--enable-extra-encodings' '--disable-dependency-tracking' 'CFLAGS=-O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc' 'LDFLAGS=-L/opt/local/lib -arch i386 -arch ppc' 'CPPFLAGS=-I/opt/local/include' 'CXXFLAGS=-O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc' --cache-file=/dev/null --srcdir=. checking whether make sets $(MAKE)... yes checking for gcc... gcc 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether gcc needs -traditional... no checking for a BSD-compatible install... /usr/bin/install -c checking build system type... powerpc-apple-darwin8.10.0 checking host system type... powerpc-apple-darwin8.10.0 checking whether to activate relocatable installation... no checking for AIX... no 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking for library containing strerror... none required checking for a sed that does not truncate output... /usr/bin/sed checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -p checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 196608 checking command to parse /usr/bin/nm -p output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fno-common checking if gcc PIC flag -fno-common works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin8.10.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fno-common checking if g++ PIC flag -fno-common works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin8.10.0 dyld checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for simple visibility declarations... yes checking for nl_langinfo and CODESET... yes checking whether we are using the GNU C Library 2.1 or newer... no checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for setlocale... yes configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating include/localcharset.h config.status: creating include/localcharset.h.inst config.status: creating config.h ---> Building libiconv with target all DEBUG: Executing proc-pre-org.macports.build-build-0 gcc -O lib/genaliases.c -o genaliases ./genaliases > lib/aliases.gperf 3> canonical.sh 4> canonical_local.sh rm -f genaliases gperf -m 10 lib/aliases.gperf > tmp.h cp tmp.h lib/aliases.h sh canonical.sh > lib/canonical.h sh canonical_local.sh > lib/canonical_local.h rm -f tmp.h canonical.sh canonical_local.sh gcc -O lib/genflags.c -o genflags In file included from lib/converters.h:116, from lib/genflags.c:33: lib/utf8mac.h: In function 'utf8mac_mbtowc': lib/utf8mac.h:1576: warning: passing argument 6 of 'utf8_decodestr' makes integer from pointer without a cast ./genflags > lib/flags.h rm -f genflags cd libcharset && make -f Makefile.devel all make[1]: Nothing to be done for `all'. DEBUG: Executing org.macports.build (libiconv) DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.4' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/work/libiconv-1.11" && make all' builddir="`pwd`"; cd libcharset && make all && make install-lib libdir="$builddir/lib" includedir="$builddir/lib" if [ ! -d include ] ; then mkdir include ; fi cp ./include/libcharset.h.in include/libcharset.h cd lib && make all /bin/sh ../libtool --mode=compile gcc -I. -I. -I.. -I./.. -I../include -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -fvisibility=hidden -I/opt/local/include -DLIBDIR=\"/opt/local/lib\" -DBUILDING_LIBCHARSET -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/opt/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libcharset_set_relocation_prefix -Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./localcharset.c mkdir .libs chmod 777 .libs gcc -I. -I. -I.. -I./.. -I../include -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -fvisibility=hidden -I/opt/local/include -DLIBDIR=\"/opt/local/lib\" -DBUILDING_LIBCHARSET -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/opt/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libcharset_set_relocation_prefix -Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./localcharset.c -fno-common -DPIC -o .libs/localcharset.o gcc -I. -I. -I.. -I./.. -I../include -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -fvisibility=hidden -I/opt/local/include -DLIBDIR=\"/opt/local/lib\" -DBUILDING_LIBCHARSET -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/opt/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libcharset_set_relocation_prefix -Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./localcharset.c -o localcharset.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile gcc -I. -I. -I.. -I./.. -I../include -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -fvisibility=hidden -I/opt/local/include -DLIBDIR=\"/opt/local/lib\" -DBUILDING_LIBCHARSET -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/opt/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libcharset_set_relocation_prefix -Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./relocatable.c gcc -I. -I. -I.. -I./.. -I../include -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -fvisibility=hidden -I/opt/local/include -DLIBDIR=\"/opt/local/lib\" -DBUILDING_LIBCHARSET -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/opt/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libcharset_set_relocation_prefix -Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./relocatable.c -fno-common -DPIC -o .libs/relocatable.o gcc -I. -I. -I.. -I./.. -I../include -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -fvisibility=hidden -I/opt/local/include -DLIBDIR=\"/opt/local/lib\" -DBUILDING_LIBCHARSET -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/opt/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libcharset_set_relocation_prefix -Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./relocatable.c -o relocatable.o >/dev/null 2>&1 /bin/sh ../libtool --mode=link gcc -L/opt/local/lib -arch i386 -arch ppc -o libcharset.la -rpath /opt/local/lib -version-info 1:0:0 -no-undefined localcharset.lo relocatable.lo gcc -dynamiclib -o .libs/libcharset.1.0.0.dylib .libs/localcharset.o .libs/relocatable.o -L/opt/local/lib -arch i386 -arch ppc -install_name /opt/local/lib/libcharset.1.dylib -Wl,-compatibility_version -Wl,2 -Wl,-current_version -Wl,2.0 ld: Undefined symbols: _fclose _fopen _free _fscanf _getc _getenv _malloc _memcpy _nl_langinfo _realloc _strcmp _strcpy _ungetc _strncmp /usr/bin/libtool: internal link edit command failed lipo: can't figure out the architecture type of: /var/tmp//ccdMBrHE.out make[2]: *** [libcharset.la] Error 1 make[1]: *** [all] Error 2 make: *** [lib/localcharset.h] Error 2 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/work/libiconv-1.11" && make all " returned error 2 Command output: /bin/sh ../libtool --mode=compile gcc -I. -I. -I.. -I./.. -I../include -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -fvisibility=hidden -I/opt/local/include -DLIBDIR=\"/opt/local/lib\" -DBUILDING_LIBCHARSET -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/opt/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libcharset_set_relocation_prefix -Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./localcharset.c mkdir .libs chmod 777 .libs gcc -I. -I. -I.. -I./.. -I../include -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -fvisibility=hidden -I/opt/local/include -DLIBDIR=\"/opt/local/lib\" -DBUILDING_LIBCHARSET -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/opt/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libcharset_set_relocation_prefix -Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./localcharset.c -fno-common -DPIC -o .libs/localcharset.o gcc -I. -I. -I.. -I./.. -I../include -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -fvisibility=hidden -I/opt/local/include -DLIBDIR=\"/opt/local/lib\" -DBUILDING_LIBCHARSET -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/opt/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libcharset_set_relocation_prefix -Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./localcharset.c -o localcharset.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile gcc -I. -I. -I.. -I./.. -I../include -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -fvisibility=hidden -I/opt/local/include -DLIBDIR=\"/opt/local/lib\" -DBUILDING_LIBCHARSET -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/opt/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libcharset_set_relocation_prefix -Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./relocatable.c gcc -I. -I. -I.. -I./.. -I../include -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -fvisibility=hidden -I/opt/local/include -DLIBDIR=\"/opt/local/lib\" -DBUILDING_LIBCHARSET -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/opt/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libcharset_set_relocation_prefix -Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./relocatable.c -fno-common -DPIC -o .libs/relocatable.o gcc -I. -I. -I.. -I./.. -I../include -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -fvisibility=hidden -I/opt/local/include -DLIBDIR=\"/opt/local/lib\" -DBUILDING_LIBCHARSET -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/opt/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libcharset_set_relocation_prefix -Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./relocatable.c -o relocatable.o >/dev/null 2>&1 /bin/sh ../libtool --mode=link gcc -L/opt/local/lib -arch i386 -arch ppc -o libcharset.la -rpath /opt/local/lib -version-info 1:0:0 -no-undefined localcharset.lo relocatable.lo gcc -dynamiclib -o .libs/libcharset.1.0.0.dylib .libs/localcharset.o .libs/relocatable.o -L/opt/local/lib -arch i386 -arch ppc -install_name /opt/local/lib/libcharset.1.dylib -Wl,-compatibility_version -Wl,2 -Wl,-current_version -Wl,2.0 ld: Undefined symbols: _fclose _fopen _free _fscanf _getc _getenv _malloc _memcpy _nl_langinfo _realloc _strcmp _strcpy _ungetc _strncmp /usr/bin/libtool: internal link edit command failed lipo: can't figure out the architecture type of: /var/tmp//ccdMBrHE.out make[2]: *** [libcharset.la] Error 1 make[1]: *** [all] Error 2 make: *** [lib/localcharset.h] Error 2
Change History (5)
comment:1 Changed 17 years ago by lowello@…
comment:2 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | Axel.Rau@… lowello@… ryandesign@… added |
---|---|
Milestone: | → Port Bugs |
Owner: | changed from macports-dev@… to ryandesign@… |
I won't see bugs unless you assign them to me and Cc me. :)
I'm not sure why libiconv isn't building universal for you. It works fine for me. I'll have to look into it.
comment:3 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Axel.Rau: Are you on a PowerPC Mac or an Intel Mac? If a PowerPC Mac, then your bug is a duplicate of #12084. If an Intel Mac, please add a note to #12084 to indicate that it also happens on Intel.
lowello: your error messages are not the same so I'm inclined to call yours a separate issue. Were you doing "sudo port install libiconv
" or "sudo port install libiconv +universal
"? Please try again with +universal, and do "sudo port clean --work libiconv
" and "sudo port selfupdate
" first. If you are still unable to install libiconv +universal and you still get different error messages than Axel.Rau, please file a new bug (and don't forget to Cc it to me).
I have the same (or a similar) issue: trying to build something else that depends on libiconv, and it won't build universal. I get the following error:
Any news on this?