Opened 10 years ago

Last modified 10 years ago

#45695 closed defect

libiconv fails to build — at Initial Version

Reported by: normadize@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: Cc:
Port: libiconv

Description

I'm on Yosemite 10.10 final, XCode 6.1 installed. Seems like it's trying to include a missing file.

sudo port -v install libiconv ---> Computing dependencies for libiconv. ---> Building libiconv if test -n "$GNULIB_TOOL"; then \

$GNULIB_TOOL --lib=libicrt --source-base=srclib --m4-base=srcm4 --makefile-name=Makefile.gnulib --no-libtool --local-dir=gnulib-local --no-vc-files \

--import binary-io error gettext gettext-h mbstate memmove progname relocatable-prog safe-read sigpipe stdio stdlib strerror unistd uniwidth/width unlocked-io xalloc libiconv-misc; \

fi

cd libcharset && make -f Makefile.devel all make[1]: Nothing to be done for `all'. cd preload && make -f Makefile.devel all make[1]: Nothing to be done for `all'. make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_libiconv/libiconv/work/libiconv-1.14' cd lib && /Applications/Xcode.app/Contents/Developer/usr/bin/make all make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_libiconv/libiconv/work/libiconv-1.14/lib' /bin/sh ../libtool --mode=compile /usr/bin/clang -I. -I. -I../include -I./../include -I.. -I./.. -pipe -Os -arch x86_64 -fvisibility=hidden -DLIBDIR=\"/opt/local/lib\" -DBUILDING_LIBICONV -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/opt/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -c ./iconv.c libtool: compile: /usr/bin/clang -I. -I. -I../include -I./../include -I.. -I./.. -pipe -Os -arch x86_64 -fvisibility=hidden -DLIBDIR=\"/opt/local/lib\" -DBUILDING_LIBICONV -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/opt/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -c ./iconv.c -fno-common -DPIC -o .libs/iconv.o In file included from ./iconv.c:21: In file included from ../include/iconv.h:117: /usr/include/wchar.h:89:10: fatal error: 'stdarg.h' file not found #include <stdarg.h>

1 error generated. make[1]: * [iconv.lo] Error 1 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_libiconv/libiconv/work/libiconv-1.14/lib' make: * [all] Error 2 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_libiconv/libiconv/work/libiconv-1.14' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_libiconv/libiconv/work/libiconv-1.14" && /usr/bin/make CC=/usr/bin/clang -f Makefile.devel && /usr/bin/make -j8 -w all Exit code: 2 Error: org.macports.build for port libiconv returned: command execution failed Warning: targets not executed for libiconv: org.macports.activate org.macports.build org.macports.destroot org.macports.install Please see the log file for port libiconv for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_libiconv/libiconv/main.log

To report a bug, follow the instructions in the guide:

http://guide.macports.org/#project.tickets

Error: Processing of port libiconv failed

Change History (0)

Note: See TracTickets for help on using tickets.