Failure upgrading libidl

Piet van Oostrum piet at cs.uu.nl
Wed Nov 28 23:08:56 PST 2007


I get an error when upgrading libidl:

--->  Building libidl with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libidl/work/libIDL-0.8.9" && make all " returned error 2
Command output: Making all in libIDL
make  all-am
make[4]: Nothing to be done for `all-am'.
make[3]: Nothing to be done for `all-am'.
if /bin/sh ./libtool --mode=compile gcc -DPACKAGE_NAME=\"libIDL\" -DPACKAGE_TARNAME=\"libIDL\" -DPACKAGE_VERSION=\"0.8.9\" -DPACKAGE_STRING=\"libIDL\ 0.8.9\" -DPACKAGE_BUGREPORT=\"http://bugzilla.gnome.org/enter_bug.cgi\?product=libIDL\" -DLIBIDL_VERSION=\"0.8.9\" -DHAVE_CPP_PIPE_STDIN=1 -DCPP_NOSTDINC=\"-I-\" -DCPP_PROGRAM=\"gcc\ -E\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_STDDEF_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DHAVE_POPEN=1 -DHAVE_SYMLINK=1 -DHAVE_ACCESS=1 -DSIZEOF_LONG_LONG=8 -I. -I. -DYYDEBUG=1 -DYYERROR_VERBOSE=1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include   -I./include -DG_LOG_DOMAIN=\"libIDL\" -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations  -I/opt/local/include  -O2 -no-cpp-precomp -MT parser.lo -MD -MP -MF ".deps/parser.Tpo" \
  -c -o parser.lo `test -f 'parser.c' || echo './'`parser.c; \
then mv -f ".deps/parser.Tpo" ".deps/parser.Plo"; \
else rm -f ".deps/parser.Tpo"; exit 1; \
fi
 gcc -DPACKAGE_NAME=\"libIDL\" -DPACKAGE_TARNAME=\"libIDL\" -DPACKAGE_VERSION=\"0.8.9\" "-DPACKAGE_STRING=\"libIDL 0.8.9\"" "-DPACKAGE_BUGREPORT=\"http://bugzilla.gnome.org/enter_bug.cgi?product=libIDL\"" -DLIBIDL_VERSION=\"0.8.9\" -DHAVE_CPP_PIPE_STDIN=1 -DCPP_NOSTDINC=\"-I-\" "-DCPP_PROGRAM=\"gcc -E\"" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_STDDEF_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DHAVE_POPEN=1 -DHAVE_SYMLINK=1 -DHAVE_ACCESS=1 -DSIZEOF_LONG_LONG=8 -I. -I. -DYYDEBUG=1 -DYYERROR_VERBOSE=1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I./include -DG_LOG_DOMAIN=\"libIDL\" -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -I/opt/local/include -O2 -no-cpp-precomp -MT parser.lo -MD -MP -MF .deps/parser.Tpo -c parser.c  -fno-common -DPIC -o .libs/parser.o
In file included from util.h:36,
                 from ./parser.y:33:
/opt/local/include/libIDL/IDL.h:43:1: warning: "LIBIDL_VERSION" redefined
<command line>:1:1: warning: this is the location of the previous definition
./parser.y: In function '__IDL_parse':
./parser.y:396: error: 'IDLF_DECLSPEC_PIDL' undeclared (first use in this function)
./parser.y:396: error: (Each undeclared identifier is reported only once
./parser.y:396: error: for each function it appears in.)
./parser.y: In function 'IDL_parse_declspec':
./parser.y:1731: error: 'IDLF_DECLSPEC_PIDL' undeclared (first use in this function)
./parser.y: At top level:
./parser.y:1739: error: conflicting types for 'IDL_file_set'
/opt/local/include/libIDL/IDL.h:735: error: previous declaration of 'IDL_file_set' was here
./parser.y: In function 'IDL_file_set':
./parser.y:1772: error: 'IDLF_SRCFILES' undeclared (first use in this function)
./parser.y:1775: warning: implicit declaration of function 'IDL_srcfile_new'
./parser.y:1775: warning: assignment makes pointer from integer without a cast
make[2]: *** [parser.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Unable to upgrade port: 1
-- 
Piet van Oostrum <piet at cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4]
Private email: piet at vanoostrum.org


More information about the macports-users mailing list