Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98914 - app-text/openjade-1.3.2-r1 compiles fine
Summary: app-text/openjade-1.3.2-r1 compiles fine
Status: RESOLVED INVALID
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: PPC OS X
: High normal (vote)
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords:
Depends on: 72229
Blocks: 98915
  Show dependency tree
 
Reported: 2005-07-13 12:18 UTC by Fabian Groffen
Modified: 2009-04-14 14:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
A patch for openjade to link correctly over OpenSP (openjade-1.3.2-darwin-deps.patch,798 bytes, patch)
2009-04-14 14:09 UTC, Didier "Ptitjes"
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Groffen gentoo-dev 2005-07-13 12:18:19 UTC
when keywording app-text/openjade-1.3.2-r1 with ppc-macos it compiles fine.  It
has no use flags

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Kito (RETIRED) gentoo-dev 2005-07-15 11:16:46 UTC
Fabian, whats your `emerge info` ? I get lots of c++ errors and undefined symbols when using Xcode 2.1 
on 10.4.2
Comment 2 Fabian Groffen gentoo-dev 2005-07-15 11:29:14 UTC
weird...

My setup is pretty standard... had no time to tweak it yet

# emerge info
!!! Relying on the shell to locate gcc, this may break
!!! DISTCC, installing gcc-config and setting your current gcc
!!! profile will fix this
Portage 2.0.51.19 (default-darwin/macos/10.4, gcc-4.0.0, libsystem-7.1-r0, 8.2.0
Power Macintosh)
=================================================================
System uname: 8.2.0 Power Macintosh powerpc
macos-20041118
Python:               [2.3.5 (#1, Mar 20 2005, 20:38:20)]
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632)
[disabled]
dev-lang/python:     [Not Present]
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  [Not Present]
sys-devel/libtool:   [Not Present]
virtual/os-headers:  7.1
ACCEPT_KEYWORDS="ppc-macos"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe"
CHOST="powerpc-apple-darwin"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks sfperms
strict userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://portage.orakel.ods.org/gentoo-portage"
USE="ppc emboss libwww nls png ppc-macos readline tetex xml userland_Darwin
kernel_Darwin elibc_Darwin"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 3 Kito (RETIRED) gentoo-dev 2005-07-15 12:14:20 UTC
Ok, it looks like my problem is in OpenSP... lots of undefined symbols there and openjade links against 
it...I'll dig around some more....
Comment 4 Lina Pezzella (RETIRED) gentoo-dev 2005-07-17 10:42:56 UTC
I have exactly the same problem with undefined symbols in OpenSP. I was hoping to look into it this 
weekend, but it's just not going to happen. :-(
Comment 5 Fabian Groffen gentoo-dev 2005-08-07 10:42:01 UTC
Finally I ran into compilation issues myself here too.

It looks like the problem described here:

http://www.pixelglow.com/lists/archive/macstl-dev/2005-February/000015.html
Comment 6 ash 2005-08-13 10:25:33 UTC
I can't get it to work either, even manually running configure and passing
"-undefined dynamic_lookup" to the linker, which has helped me in the past. I
don't think libtool is handling these arguments appropriately.

Is this the same error everyone is getting?

/bin/sh /var/tmp/portage/openjade-1.3.2-r1/work/openjade-1.3.2/libtool
--mode=link /usr/local/bin/gcc -no-undefined -o libogrove.la Node.lo LocNode.lo \
    -rpath /usr/lib -version-info 0:1:0 -lm
/var/tmp/portage/openjade-1.3.2-r1/work/openjade-1.3.2/libtool: line 1: test:
too many arguments
/usr/local/bin/gcc -dynamiclib  -o .libs/libogrove.0.0.1.dylib  .libs/Node.o
.libs/LocNode.o  -lm -lc -install_name  /usr/lib/libogrove.0.dylib 
ld: Undefined symbols:
__ZTVN10__cxxabiv117__class_type_infoE
__ZTVN10__cxxabiv120__si_class_type_infoE
__ZdlPv
__Znwm
___cxa_pure_virtual
___gxx_personality_v0
/usr/bin/libtool: internal link edit command failed
make[2]: *** [libogrove.la] Error 1
make[1]: *** [grove] Error 2
make: *** [all] Error 2
Comment 7 Fabian Groffen gentoo-dev 2005-08-13 10:39:58 UTC
I have these errors:

In file included from stylelib.h:6,
                 from InterpreterMessages.cxx:7:
./../include/config.h:39:1: warning: "SP_DEFINE_TEMPLATES" redefined
In file included from ./../include/config.h:10,
                 from stylelib.h:6,
                 from InterpreterMessages.cxx:7:
/usr/include/OpenSP/config.h:301:1: warning: this is the location of the
previous definition
/usr/include/OpenSP/Ptr.h:17: error: template with C linkage
/usr/include/OpenSP/Ptr.h:53: error: template with C linkage
/usr/include/OpenSP/Vector.h:19: error: template with C linkage
/usr/include/OpenSP/Owner.h:16: error: template with C linkage
/usr/include/OpenSP/StringOf.h:23: error: template with C linkage
/usr/include/OpenSP/CopyOwner.h:14: error: template with C linkage
make[2]: *** [InterpreterMessages.lo] Error 1
rm InterpreterMessages.cxx
make[1]: *** [style] Error 2
make: *** [all] Error 2
Comment 8 Helmut Eberharter 2007-06-10 23:02:45 UTC
i (on x86_64) got:

mv -f FlowObj.o .libs/FlowObj.lo
x86_64-pc-linux-gnu-g++ -march=nocona -O2 -pipe -I. -I./../include -I/usr/include/OpenSP -I/usr/include/OpenSP/.. -I./../grove -I./../spgrove -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"openjade\" -DVERSION=\"1.3.2\" -DSP_DEFINE_TEMPLATES=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_LIMITS_H=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DSIZEOF_SIZE_T=8 -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=\"/etc/sgml/catalog\" -DSGML_SEARCH_PATH_DEFAULT=\"/usr/share/sgml\" -DHAVE_DLFCN_H=1 -DDEFAULT_SCHEME_BUILTINS=\"/usr/share/sgml/openjade-1.3.2/builtins.dsl\" -c FlowObj.cxx >/dev/null 2>&1
make[2]: *** [FlowObj.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f primitive.o .libs/primitive.lo
x86_64-pc-linux-gnu-g++ -march=nocona -O2 -pipe -I. -I./../include -I/usr/include/OpenSP -I/usr/include/OpenSP/.. -I./../grove -I./../spgrove -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"openjade\" -DVERSION=\"1.3.2\" -DSP_DEFINE_TEMPLATES=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_LIMITS_H=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DSIZEOF_SIZE_T=8 -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=\"/etc/sgml/catalog\" -DSGML_SEARCH_PATH_DEFAULT=\"/usr/share/sgml\" -DHAVE_DLFCN_H=1 -DDEFAULT_SCHEME_BUILTINS=\"/usr/share/sgml/openjade-1.3.2/builtins.dsl\" -c primitive.cxx >/dev/null 2>&1
mv -f .libs/primitive.lo primitive.lo
rm InterpreterMessages.cxx
make[2]: Leaving directory `/var/tmp/portage/app-text/openjade-1.3.2-r1/work/openjade-1.3.2/style'
make[1]: *** [style] Error 2
make[1]: Leaving directory `/var/tmp/portage/app-text/openjade-1.3.2-r1/work/openjade-1.3.2'
make: *** [all] Error 2
Comment 9 Fabian Groffen gentoo-dev 2007-06-11 09:05:12 UTC
Helmut, please report that in a new bug, this is an OSX related bug.
Comment 10 Fabian Groffen gentoo-dev 2007-08-10 06:22:46 UTC
it clearly does /not/ work.
Comment 11 Didier "Ptitjes" 2009-04-14 14:09:40 UTC
Created attachment 188312 [details, diff]
A patch for openjade to link correctly over OpenSP