Opened 17 years ago

Closed 17 years ago

#11570 closed defect (duplicate)

libidl1 conflicts with upgrade of libidl to 0.8.8

Reported by: yaseppochi (Stephen J. Turnbull) Owned by: macports-tickets@…
Priority: High Milestone:
Component: base Version:
Keywords: Cc:
Port:

Description

--->  Building libidl with target all
Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_Users_steve_Software_MacPorts_dports_devel_libidl/work/libIDL-0.8.8" && 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.8\" -DPACKAGE_STRING=\"libIDL\ 0.8.8\" -DPACKAGE_BUGREPORT=\"http://bugzilla.gnome.org/enter_bug.cgi\?product=libIDL\" -DLIBIDL_VERSION=\"0.8.8\" -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    -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.8\" "-DPACKAGE_STRING=\"libIDL 0.8.8\"" "-DPACKAGE_BUGREPORT=\"http://bugzilla.gnome.org/enter_bug.cgi?product=libIDL\"" -DLIBIDL_VERSION=\"0.8.8\" -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 -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: The following dependencies failed to build: libidl
Error: Unable to upgrade port: 1
chibi:MacPorts steve$ port provides /opt/local/include/libIDL
/opt/local/include/libIDL is a directory.
chibi:MacPorts steve$ port provides /opt/local/include/libIDL/IDL.h 
/opt/local/include/libIDL/IDL.h is provided by: libidl1
chibi:MacPorts steve$ sudo port deactivate libidl1
--->  Deactivating libidl1 
chibi:MacPorts steve$ sudo port upgrade libidl orbit2
--->  Building libidl with target all
^C
chibi:MacPorts steve$ sudo port clean libidl       
--->  Cleaning libidl
chibi:MacPorts steve$ sudo port install libidl
--->  Fetching libidl
--->  Verifying checksum(s) for libidl
--->  Extracting libidl
--->  Configuring libidl
--->  Building libidl with target all
--->  Staging libidl into destroot
--->  Packaging tgz archive for libidl 0.8.8_0
--->  Installing libidl 0.8.8_0
--->  Activating libidl 0.8.8_0
--->  Cleaning libidl

Change History (1)

comment:1 Changed 17 years ago by pipping@…

Resolution: duplicate
Status: newclosed

duplicate of #11565.

Note: See TracTickets for help on using tickets.