[MacPorts] #14075: openjade-1.3.2 link failure of libgrove on OS X 10.5.1
#14075: openjade-1.3.2 link failure of libgrove on OS X 10.5.1 ---------------------------------+------------------------------------------ Reporter: lou@louspringer.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: libgrove openglade | ---------------------------------+------------------------------------------ Build of openjade 1.3.2 is failing on Leopard. {{{ sh-3.2# port install openjade ---> Fetching openjade ---> Verifying checksum(s) for openjade ---> Extracting openjade ---> Applying patches to openjade ---> Configuring openjade ---> Building openjade 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_textproc_openjade/work/openjade-1.3.2" && make all " returned error 2 Command output: echo 'LT_OBJS='`echo Node.o LocNode.o|sed 's/\.o/.lo/g'`
Makefile.lt mkdir .libs /usr/bin/g++-4.0 -O2 -I/opt/local/include -fno-rtti -I. -I./../include -I/opt/local/include/OpenSP -I/opt/local/include/OpenSP/.. "-DPACKAGE_NAME=\"\"" "-DPACKAGE_TARNAME=\"\"" "-DPACKAGE_VERSION=\"\"" "-DPACKAGE_STRING=\"\"" "-DPACKAGE_BUGREPORT=\"\"" "-DPACKAGE=\"openjade\"" "-DVERSION=\"1.3.2\"" -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_LIMITS_H=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DSIZEOF_SIZE_T=4 -DSIZEOF_UNSIGNED_INT=4 -DSP_HAVE_LOCALE=1 -DSP_HAVE_WCHAR=1 -DSP_HAVE_GETTEXT=1 -DSP_HAVE_BOOL=1 -DSP_ANSI_CLASS_INST=1 -DSP_HAVE_SOCKET=1 -DJADE_MIF=1 -DJADE_HTML=1 -DSP_MULTI_BYTE=1 "-DSGML_CATALOG_FILES_DEFAULT=\"/opt/local/share/sgml/catalog\"" -DHAVE_DLFCN_H=1 "-DDEFAULT_SCHEME_BUILTINS=\"/opt/local/share/sgml/openjade/builtins.dsl\"" -c Node.cxx -fno-common -DPIC In file included from Node.cxx:8: ./../include/config.h:39:1: warning: "SP_DEFINE_TEMPLATES" redefined In file included from ./../include/config.h:10, from Node.cxx:8: /opt/local/include/OpenSP/config.h:357:1: warning: this is the location of the previous definition mv -f Node.o .libs/Node.lo /usr/bin/g++-4.0 -O2 -I/opt/local/include -fno-rtti -I. -I./../include -I/opt/local/include/OpenSP -I/opt/local/include/OpenSP/.. "-DPACKAGE_NAME=\"\"" "-DPACKAGE_TARNAME=\"\"" "-DPACKAGE_VERSION=\"\"" "-DPACKAGE_STRING=\"\"" "-DPACKAGE_BUGREPORT=\"\"" "-DPACKAGE=\"openjade\"" "-DVERSION=\"1.3.2\"" -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_LIMITS_H=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DSIZEOF_SIZE_T=4 -DSIZEOF_UNSIGNED_INT=4 -DSP_HAVE_LOCALE=1 -DSP_HAVE_WCHAR=1 -DSP_HAVE_GETTEXT=1 -DSP_HAVE_BOOL=1 -DSP_ANSI_CLASS_INST=1 -DSP_HAVE_SOCKET=1 -DJADE_MIF=1 -DJADE_HTML=1 -DSP_MULTI_BYTE=1 "-DSGML_CATALOG_FILES_DEFAULT=\"/opt/local/share/sgml/catalog\"" -DHAVE_DLFCN_H=1 "-DDEFAULT_SCHEME_BUILTINS=\"/opt/local/share/sgml/openjade/builtins.dsl\"" -c Node.cxx >/dev/null 2>&1 mv -f .libs/Node.lo Node.lo rm -f .libs/LocNode.lo /usr/bin/g++-4.0 -O2 -I/opt/local/include -fno-rtti -I. -I./../include -I/opt/local/include/OpenSP -I/opt/local/include/OpenSP/.. "-DPACKAGE_NAME=\"\"" "-DPACKAGE_TARNAME=\"\"" "-DPACKAGE_VERSION=\"\"" "-DPACKAGE_STRING=\"\"" "-DPACKAGE_BUGREPORT=\"\"" "-DPACKAGE=\"openjade\"" "-DVERSION=\"1.3.2\"" -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_LIMITS_H=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DSIZEOF_SIZE_T=4 -DSIZEOF_UNSIGNED_INT=4 -DSP_HAVE_LOCALE=1 -DSP_HAVE_WCHAR=1 -DSP_HAVE_GETTEXT=1 -DSP_HAVE_BOOL=1 -DSP_ANSI_CLASS_INST=1 -DSP_HAVE_SOCKET=1 -DJADE_MIF=1 -DJADE_HTML=1 -DSP_MULTI_BYTE=1 "-DSGML_CATALOG_FILES_DEFAULT=\"/opt/local/share/sgml/catalog\"" -DHAVE_DLFCN_H=1 "-DDEFAULT_SCHEME_BUILTINS=\"/opt/local/share/sgml/openjade/builtins.dsl\"" -c LocNode.cxx -fno-common -DPIC In file included from LocNode.cxx:5: ./../include/config.h:39:1: warning: "SP_DEFINE_TEMPLATES" redefined In file included from ./../include/config.h:10, from LocNode.cxx:5: /opt/local/include/OpenSP/config.h:357:1: warning: this is the location of the previous definition mv -f LocNode.o .libs/LocNode.lo /usr/bin/g++-4.0 -O2 -I/opt/local/include -fno-rtti -I. -I./../include -I/opt/local/include/OpenSP -I/opt/local/include/OpenSP/.. "-DPACKAGE_NAME=\"\"" "-DPACKAGE_TARNAME=\"\"" "-DPACKAGE_VERSION=\"\"" "-DPACKAGE_STRING=\"\"" "-DPACKAGE_BUGREPORT=\"\"" "-DPACKAGE=\"openjade\"" "-DVERSION=\"1.3.2\"" -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_LIMITS_H=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DSIZEOF_SIZE_T=4 -DSIZEOF_UNSIGNED_INT=4 -DSP_HAVE_LOCALE=1 -DSP_HAVE_WCHAR=1 -DSP_HAVE_GETTEXT=1 -DSP_HAVE_BOOL=1 -DSP_ANSI_CLASS_INST=1 -DSP_HAVE_SOCKET=1 -DJADE_MIF=1 -DJADE_HTML=1 -DSP_MULTI_BYTE=1 "-DSGML_CATALOG_FILES_DEFAULT=\"/opt/local/share/sgml/catalog\"" -DHAVE_DLFCN_H=1 "-DDEFAULT_SCHEME_BUILTINS=\"/opt/local/share/sgml/openjade/builtins.dsl\"" -c LocNode.cxx >/dev/null 2>&1 mv -f .libs/LocNode.lo LocNode.lo /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_openjade/work/openjade-1.3.2/libtool --mode=link /usr/bin/g++-4.0 -allow-undefined -o libogrove.la Node.lo LocNode.lo \ -rpath /opt/local/lib -version-info 0:1:0 -lm libtool: link: `-allow-undefined' is deprecated because it is the default rm -fr .libs/libogrove.la .libs/libogrove.* .libs/libogrove.* -dynamiclib -undefined suppress -flat_namespace -o .libs/libogrove.0.0.1.dylib -lm Node.lo LocNode.lo -lm -lc -install_name /opt/local/lib/libogrove.0.dylib -compatibility_version 1 -current_version 1.1 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_openjade/work/openjade-1.3.2/libtool[3159]: eval[1]: -dynamiclib: not found [No such file or directory] make[2]: *** [libogrove.la] Error 127 make[1]: *** [grove] Error 2 make: *** [all] Error 2
Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14075> MacPorts </projects/macports> Ports system for Mac OS
#14075: openjade-1.3.2 link failure of libgrove on OS X 10.5.1 ----------------------------------+----------------------------------------- Reporter: lou@louspringer.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: libgrove openglade ----------------------------------+----------------------------------------- Changes (by jmpp@macports.org): * milestone: => Port Bugs -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14075#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#14075: openjade-1.3.2 link failure of libgrove on OS X 10.5.1 ----------------------------------+----------------------------------------- Reporter: lou@louspringer.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: libgrove openglade ----------------------------------+----------------------------------------- Comment (by oksmith@magma.ca): The link fails because the variable '''CXX''' is not defined in the file ''libtools''. Once the failure above occurs, the copy of ''libtools'' in the ''openjade'' build directory can be edited and '''CXX''' assigned to '''CXX'''=/usr/bin/g++-4.0 Then {{{ sudo ports -v install openjade }}} will complete the build and perform the installation. Obviously this isn't a real solution but does allow one to compile. This is similar to the problem reported in #8657: the '''CC''' and '''CXX''' variables were not correctly set. Hopefully somebody with a better understanding of how all this stuff is supposed to work together can provide a real solution. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14075#comment:2> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts