From owner-freebsd-openoffice@FreeBSD.ORG Mon Nov 19 11:08:18 2007 Return-Path: Delivered-To: openoffice@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3732A16A418 for ; Mon, 19 Nov 2007 11:08:18 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2B12913C461 for ; Mon, 19 Nov 2007 11:08:18 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lAJB8IG5042016 for ; Mon, 19 Nov 2007 11:08:18 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lAJB8Hl0042012 for openoffice@FreeBSD.org; Mon, 19 Nov 2007 11:08:17 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 19 Nov 2007 11:08:17 GMT Message-Id: <200711191108.lAJB8Hl0042012@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: openoffice@FreeBSD.org Cc: Subject: Current problem reports assigned to openoffice@FreeBSD.org X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2007 11:08:18 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- f ports/100358 openoffice editors/openoffice.org-2: OpenOffice.org 2.0 Requires o ports/107167 openoffice [editors/openoffice.org-2] OpenOffice-2.1 Base crashes f ports/107229 openoffice sysutils/coreutils: gcp fails to set default ACL which o ports/108313 openoffice editors/openoffice.org port build fails o ports/111080 openoffice openoffice.org-2 build failure (multiple "file not fou o ports/112283 openoffice editors/openoffice-2 fails to build with "pyconfig.h: o ports/114050 openoffice editors/openoffice.org-2 - OpenOffice 2.2.1/MOZ: dmake o ports/115518 openoffice editors/openoffice.org-2 Draw crashes trying to print o ports/117808 openoffice editors/OpenOffice.org-2 seems to be looping o ports/117965 openoffice editors/openoffice.org-2 Impress crashes with multiple 10 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- f ports/66480 openoffice editors/openoffice.org-1.1 port uses root's $HOME for f ports/103896 openoffice OO.o port should add /program to LD_LIBRARY_PA o ports/111561 openoffice editors/openoffice.org-2 build fails with devel/epm in o ports/116741 openoffice editors/openoffice.org-2 build errors related to java 4 problems total. From owner-freebsd-openoffice@FreeBSD.ORG Mon Nov 19 17:27:16 2007 Return-Path: Delivered-To: openoffice@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF56216A41A; Mon, 19 Nov 2007 17:27:16 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from gw.catspoiler.org (adsl-75-1-14-242.dsl.scrm01.sbcglobal.net [75.1.14.242]) by mx1.freebsd.org (Postfix) with ESMTP id 499C313C48E; Mon, 19 Nov 2007 17:27:16 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.13.3/8.13.3) with ESMTP id lAJGoF2I057006; Mon, 19 Nov 2007 08:50:20 -0800 (PST) (envelope-from truckman@FreeBSD.org) Message-Id: <200711191650.lAJGoF2I057006@gw.catspoiler.org> Date: Mon, 19 Nov 2007 08:50:15 -0800 (PST) From: Don Lewis To: shuvaev@physik.uni-wuerzburg.de In-Reply-To: <200711131420.lADEK2ex079503@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Cc: bug-followup@FreeBSD.org, openoffice@FreeBSD.org Subject: Re: ports/112283: editors/openoffice-2 fails to build with "pyconfig.h: No such file or directory" error X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2007 17:27:16 -0000 On 13 Nov, Alexey Shuvaev wrote: > The following reply was made to PR ports/112283; it has been noted by GNATS. > > From: "Alexey Shuvaev" > To: bug-followup@FreeBSD.org, zaa@zaa.pp.ru > Cc: > Subject: Re: ports/112283: editors/openoffice-2 fails to build with "pyconfig.h: No such file or directory" error > Date: Tue, 13 Nov 2007 15:16:38 +0100 > > Well, with the help of makc at issp dot ac dot ru I have managed > to compile editors/openoffice.org-2. > > One should put this in /bin/uname > --------------------------------- > #!/bin/sh > /usr/bin/uname $* | sed 's:8\.0:7\.0:g' > --------------------------------- > I think the appropriate patch could be applied to python/Python-2.3.4.patch > in the OOo source directory. > > Despite of successful compilation there is at least one runtime problem. > By opening of the file saved by itself it hangs with > the following messages on the console it was started from: > --------------------------------- > [wep4017] ~> openoffice.org-2.3.0 test.odt > > (process:89927): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function > > (process:89927): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed > > (process:89927): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed > --------------------------------- > OOo fails with the same errors while opening *.doc, *.ppt and *.sxw files. > This issue is mentioned in openoffice mailing list with GLib-GObject-CRITICAL > subject. The author said the problem is gone by downgrading jdk16 to jdk15, > but in my case it is not so (I have jdk15). I was able to build OOo on FreeBSD 8.0-CURRENT by adding the patch below to the port's files/ directory. The missing pyconfig.h problem is caused by an earlier error: mkdir ./Lib/plat-freebsd8 cp ./Lib/plat-generic/regen ./Lib/plat-freebsd8/regen export PATH; PATH="`pwd`:$PATH"; \ export PYTHONPATH; PYTHONPATH="`pwd`/Lib"; \ export DYLD_FRAMEWORK_PATH; DYLD_FRAMEWORK_PATH="`pwd`"; \ export EXE; EXE=""; \ cd ./Lib/plat-freebsd8; ./regen python$EXE ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h /libexec/ld-elf.so.1: Shared object "libpython2.3.so.1.0" not found, required by "python" It appears that a private copy of python is building built with a dynamically linked copy of the executable, which fails to run because it can't find the dynamic library that is is linked against. The regen script is being used to try to create plat-freebsd*/IN.py, which is failing. It also appears that if plat-freebsd*/IN.py already exists, the regen script is *not* run, which is why the patch (which creates IN.py) fixes the problem. The python build sets DYLD_FRAMEWORK_PATH, which is the Mac OS way of setting the search path for shared libraries. The build might work on FreeBSD if LD_LIBRARY_PATH was set as well. I suspect that the GLib errors are being caused by multiple versions of the same shared library getting dynamically linked into the application. This can be caused by some of the ports that OOo (or maybe java) depends being build with older versions of the libraries and listing these older libraries as dependencies. I recently upgraded all my ports (with 'portupgrade -af') and cleaned up old cruft (with 'make delete-old', 'make delete-old-libs', and 'portsclean -L') before I did the OOo build, and I did not encounter the GLib error. I'm also using jdk15. --- python/Python-2.3.4.patch.orig 2007-07-05 01:50:55.000000000 -0700 +++ python/Python-2.3.4.patch 2007-11-18 18:52:27.000000000 -0800 @@ -15424,6 +15424,588 @@ + #! /bin/sh + set -v + python ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h +diff -uN empty/IN.py misc/build/Python-2.3.4/Lib/plat-freebsd8/IN.py +--- empty/IN.py 1969-12-31 16:00:00.000000000 -0800 ++++ misc/build/Python-2.3.4/Lib/plat-freebsd8/IN.py 2007-11-18 18:44:47.000000000 -0800 +@@ -0,0 +1,571 @@ ++# Generated by h2py from /usr/include/netinet/in.h ++ ++# Included from sys/cdefs.h ++__GNUCLIKE_ASM = 3 ++__GNUCLIKE_ASM = 2 ++__GNUCLIKE___TYPEOF = 1 ++__GNUCLIKE___OFFSETOF = 1 ++__GNUCLIKE___SECTION = 1 ++__GNUCLIKE_ATTRIBUTE_MODE_DI = 1 ++__GNUCLIKE_CTOR_SECTION_HANDLING = 1 ++__GNUCLIKE_BUILTIN_CONSTANT_P = 1 ++__GNUCLIKE_BUILTIN_VARARGS = 1 ++__GNUCLIKE_BUILTIN_STDARG = 1 ++__GNUCLIKE_BUILTIN_VAALIST = 1 ++__GNUC_VA_LIST_COMPATIBILITY = 1 ++__GNUCLIKE_BUILTIN_NEXT_ARG = 1 ++__GNUCLIKE_BUILTIN_MEMCPY = 1 ++__CC_SUPPORTS_INLINE = 1 ++__CC_SUPPORTS___INLINE = 1 ++__CC_SUPPORTS___INLINE__ = 1 ++__CC_SUPPORTS___FUNC__ = 1 ++__CC_SUPPORTS_WARNING = 1 ++__CC_SUPPORTS_VARADIC_XXX = 1 ++__CC_SUPPORTS_DYNAMIC_ARRAY_INIT = 1 ++__CC_INT_IS_32BIT = 1 ++def __P(protos): return protos ++ ++def __STRING(x): return #x ++ ++def __XSTRING(x): return __STRING(x) ++ ++def __P(protos): return () ++ ++def __STRING(x): return "x" ++ ++def __aligned(x): return __attribute__((__aligned__(x))) ++ ++def __section(x): return __attribute__((__section__(x))) ++ ++def __aligned(x): return __attribute__((__aligned__(x))) ++ ++def __section(x): return __attribute__((__section__(x))) ++ ++def __nonnull(x): return __attribute__((__nonnull__(x))) ++ ++def __predict_true(exp): return __builtin_expect((exp), 1) ++ ++def __predict_false(exp): return __builtin_expect((exp), 0) ++ ++def __predict_true(exp): return (exp) ++ ++def __predict_false(exp): return (exp) ++ ++def __format_arg(fmtarg): return __attribute__((__format_arg__ (fmtarg))) ++ ++def __FBSDID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) ++ ++def __RCSID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) ++ ++def __RCSID_SOURCE(s): return __IDSTRING(__CONCAT(__rcsid_source_,__LINE__),s) ++ ++def __SCCSID(s): return __IDSTRING(__CONCAT(__sccsid_,__LINE__),s) ++ ++def __COPYRIGHT(s): return __IDSTRING(__CONCAT(__copyright_,__LINE__),s) ++ ++_POSIX_C_SOURCE = 199009 ++_POSIX_C_SOURCE = 199209 ++__XSI_VISIBLE = 600 ++_POSIX_C_SOURCE = 200112 ++__XSI_VISIBLE = 500 ++_POSIX_C_SOURCE = 199506 ++_POSIX_C_SOURCE = 198808 ++__POSIX_VISIBLE = 200112 ++__ISO_C_VISIBLE = 1999 ++__POSIX_VISIBLE = 199506 ++__ISO_C_VISIBLE = 1990 ++__POSIX_VISIBLE = 199309 ++__ISO_C_VISIBLE = 1990 ++__POSIX_VISIBLE = 199209 ++__ISO_C_VISIBLE = 1990 ++__POSIX_VISIBLE = 199009 ++__ISO_C_VISIBLE = 1990 ++__POSIX_VISIBLE = 198808 ++__ISO_C_VISIBLE = 0 ++__POSIX_VISIBLE = 0 ++__XSI_VISIBLE = 0 ++__BSD_VISIBLE = 0 ++__ISO_C_VISIBLE = 1990 ++__POSIX_VISIBLE = 0 ++__XSI_VISIBLE = 0 ++__BSD_VISIBLE = 0 ++__ISO_C_VISIBLE = 1999 ++__POSIX_VISIBLE = 200112 ++__XSI_VISIBLE = 600 ++__BSD_VISIBLE = 1 ++__ISO_C_VISIBLE = 1999 ++ ++# Included from sys/_types.h ++ ++# Included from machine/_types.h ++ ++# Included from machine/endian.h ++_QUAD_HIGHWORD = 1 ++_QUAD_LOWWORD = 0 ++_LITTLE_ENDIAN = 1234 ++_BIG_ENDIAN = 4321 ++_PDP_ENDIAN = 3412 ++_BYTE_ORDER = _LITTLE_ENDIAN ++LITTLE_ENDIAN = _LITTLE_ENDIAN ++BIG_ENDIAN = _BIG_ENDIAN ++PDP_ENDIAN = _PDP_ENDIAN ++BYTE_ORDER = _BYTE_ORDER ++def __word_swap_int_var(x): return \ ++ ++def __word_swap_int_const(x): return \ ++ ++def __word_swap_int(x): return __word_swap_int_var(x) ++ ++def __byte_swap_int_var(x): return \ ++ ++def __byte_swap_int_const(x): return \ ++ ++def __byte_swap_int(x): return __byte_swap_int_var(x) ++ ++def __byte_swap_word_var(x): return \ ++ ++def __byte_swap_word_const(x): return \ ++ ++def __byte_swap_word(x): return __byte_swap_word_var(x) ++ ++def __htonl(x): return __bswap32(x) ++ ++def __htons(x): return __bswap16(x) ++ ++def __ntohl(x): return __bswap32(x) ++ ++def __ntohs(x): return __bswap16(x) ++ ++IPPROTO_IP = 0 ++IPPROTO_ICMP = 1 ++IPPROTO_TCP = 6 ++IPPROTO_UDP = 17 ++def htonl(x): return __htonl(x) ++ ++def htons(x): return __htons(x) ++ ++def ntohl(x): return __ntohl(x) ++ ++def ntohs(x): return __ntohs(x) ++ ++IPPROTO_RAW = 255 ++INET_ADDRSTRLEN = 16 ++IPPROTO_HOPOPTS = 0 ++IPPROTO_IGMP = 2 ++IPPROTO_GGP = 3 ++IPPROTO_IPV4 = 4 ++IPPROTO_IPIP = IPPROTO_IPV4 ++IPPROTO_ST = 7 ++IPPROTO_EGP = 8 ++IPPROTO_PIGP = 9 ++IPPROTO_RCCMON = 10 ++IPPROTO_NVPII = 11 ++IPPROTO_PUP = 12 ++IPPROTO_ARGUS = 13 ++IPPROTO_EMCON = 14 ++IPPROTO_XNET = 15 ++IPPROTO_CHAOS = 16 ++IPPROTO_MUX = 18 ++IPPROTO_MEAS = 19 ++IPPROTO_HMP = 20 ++IPPROTO_PRM = 21 ++IPPROTO_IDP = 22 ++IPPROTO_TRUNK1 = 23 ++IPPROTO_TRUNK2 = 24 ++IPPROTO_LEAF1 = 25 ++IPPROTO_LEAF2 = 26 ++IPPROTO_RDP = 27 ++IPPROTO_IRTP = 28 ++IPPROTO_TP = 29 ++IPPROTO_BLT = 30 ++IPPROTO_NSP = 31 ++IPPROTO_INP = 32 ++IPPROTO_SEP = 33 ++IPPROTO_3PC = 34 ++IPPROTO_IDPR = 35 ++IPPROTO_XTP = 36 ++IPPROTO_DDP = 37 ++IPPROTO_CMTP = 38 ++IPPROTO_TPXX = 39 ++IPPROTO_IL = 40 ++IPPROTO_IPV6 = 41 ++IPPROTO_SDRP = 42 ++IPPROTO_ROUTING = 43 ++IPPROTO_FRAGMENT = 44 ++IPPROTO_IDRP = 45 ++IPPROTO_RSVP = 46 ++IPPROTO_GRE = 47 ++IPPROTO_MHRP = 48 ++IPPROTO_BHA = 49 ++IPPROTO_ESP = 50 ++IPPROTO_AH = 51 ++IPPROTO_INLSP = 52 ++IPPROTO_SWIPE = 53 ++IPPROTO_NHRP = 54 ++IPPROTO_MOBILE = 55 ++IPPROTO_TLSP = 56 ++IPPROTO_SKIP = 57 ++IPPROTO_ICMPV6 = 58 ++IPPROTO_NONE = 59 ++IPPROTO_DSTOPTS = 60 ++IPPROTO_AHIP = 61 ++IPPROTO_CFTP = 62 ++IPPROTO_HELLO = 63 ++IPPROTO_SATEXPAK = 64 ++IPPROTO_KRYPTOLAN = 65 ++IPPROTO_RVD = 66 ++IPPROTO_IPPC = 67 ++IPPROTO_ADFS = 68 ++IPPROTO_SATMON = 69 ++IPPROTO_VISA = 70 ++IPPROTO_IPCV = 71 ++IPPROTO_CPNX = 72 ++IPPROTO_CPHB = 73 ++IPPROTO_WSN = 74 ++IPPROTO_PVP = 75 ++IPPROTO_BRSATMON = 76 ++IPPROTO_ND = 77 ++IPPROTO_WBMON = 78 ++IPPROTO_WBEXPAK = 79 ++IPPROTO_EON = 80 ++IPPROTO_VMTP = 81 ++IPPROTO_SVMTP = 82 ++IPPROTO_VINES = 83 ++IPPROTO_TTP = 84 ++IPPROTO_IGP = 85 ++IPPROTO_DGP = 86 ++IPPROTO_TCF = 87 ++IPPROTO_IGRP = 88 ++IPPROTO_OSPFIGP = 89 ++IPPROTO_SRPC = 90 ++IPPROTO_LARP = 91 ++IPPROTO_MTP = 92 ++IPPROTO_AX25 = 93 ++IPPROTO_IPEIP = 94 ++IPPROTO_MICP = 95 ++IPPROTO_SCCSP = 96 ++IPPROTO_ETHERIP = 97 ++IPPROTO_ENCAP = 98 ++IPPROTO_APES = 99 ++IPPROTO_GMTP = 100 ++IPPROTO_IPCOMP = 108 ++IPPROTO_SCTP = 132 ++IPPROTO_PIM = 103 ++IPPROTO_CARP = 112 ++IPPROTO_PGM = 113 ++IPPROTO_PFSYNC = 240 ++IPPROTO_OLD_DIVERT = 254 ++IPPROTO_MAX = 256 ++IPPROTO_DONE = 257 ++IPPROTO_DIVERT = 258 ++IPPROTO_SPACER = 32767 ++IPPORT_RESERVED = 1024 ++IPPORT_HIFIRSTAUTO = 49152 ++IPPORT_HILASTAUTO = 65535 ++IPPORT_RESERVEDSTART = 600 ++IPPORT_MAX = 65535 ++def IN_CLASSA(i): return (((u_int32_t)(i) & (-2147483648)) == 0) ++ ++IN_CLASSA_NET = (-16777216) ++IN_CLASSA_NSHIFT = 24 ++IN_CLASSA_HOST = 0x00ffffff ++IN_CLASSA_MAX = 128 ++def IN_CLASSB(i): return (((u_int32_t)(i) & (-1073741824)) == (-2147483648)) ++ ++IN_CLASSB_NET = (-65536) ++IN_CLASSB_NSHIFT = 16 ++IN_CLASSB_HOST = 0x0000ffff ++IN_CLASSB_MAX = 65536 ++def IN_CLASSC(i): return (((u_int32_t)(i) & (-536870912)) == (-1073741824)) ++ ++IN_CLASSC_NET = (-256) ++IN_CLASSC_NSHIFT = 8 ++IN_CLASSC_HOST = 0x000000ff ++def IN_CLASSD(i): return (((u_int32_t)(i) & (-268435456)) == (-536870912)) ++ ++IN_CLASSD_NET = (-268435456) ++IN_CLASSD_NSHIFT = 28 ++IN_CLASSD_HOST = 0x0fffffff ++def IN_MULTICAST(i): return IN_CLASSD(i) ++ ++def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456)) ++ ++def IN_BADCLASS(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456)) ++ ++def IN_LINKLOCAL(i): return (((u_int32_t)(i) & (-65536)) == (-1442971648)) ++ ++def IN_LOCAL_GROUP(i): return (((u_int32_t)(i) & (-256)) == (-536870912)) ++ ++INADDR_NONE = (-1) ++IN_LOOPBACKNET = 127 ++IP_OPTIONS = 1 ++IP_HDRINCL = 2 ++IP_TOS = 3 ++IP_TTL = 4 ++IP_RECVOPTS = 5 ++IP_RECVRETOPTS = 6 ++IP_RECVDSTADDR = 7 ++IP_SENDSRCADDR = IP_RECVDSTADDR ++IP_RETOPTS = 8 ++IP_MULTICAST_IF = 9 ++IP_MULTICAST_TTL = 10 ++IP_MULTICAST_LOOP = 11 ++IP_ADD_MEMBERSHIP = 12 ++IP_DROP_MEMBERSHIP = 13 ++IP_MULTICAST_VIF = 14 ++IP_RSVP_ON = 15 ++IP_RSVP_OFF = 16 ++IP_RSVP_VIF_ON = 17 ++IP_RSVP_VIF_OFF = 18 ++IP_PORTRANGE = 19 ++IP_RECVIF = 20 ++IP_IPSEC_POLICY = 21 ++IP_FAITH = 22 ++IP_ONESBCAST = 23 ++IP_FW_TABLE_ADD = 40 ++IP_FW_TABLE_DEL = 41 ++IP_FW_TABLE_FLUSH = 42 ++IP_FW_TABLE_GETSIZE = 43 ++IP_FW_TABLE_LIST = 44 ++IP_FW_ADD = 50 ++IP_FW_DEL = 51 ++IP_FW_FLUSH = 52 ++IP_FW_ZERO = 53 ++IP_FW_GET = 54 ++IP_FW_RESETLOG = 55 ++IP_FW_NAT_CFG = 56 ++IP_FW_NAT_DEL = 57 ++IP_FW_NAT_GET_CONFIG = 58 ++IP_FW_NAT_GET_LOG = 59 ++IP_DUMMYNET_CONFIGURE = 60 ++IP_DUMMYNET_DEL = 61 ++IP_DUMMYNET_FLUSH = 62 ++IP_DUMMYNET_GET = 64 ++IP_RECVTTL = 65 ++IP_MINTTL = 66 ++IP_DONTFRAG = 67 ++IP_ADD_SOURCE_MEMBERSHIP = 70 ++IP_DROP_SOURCE_MEMBERSHIP = 71 ++IP_BLOCK_SOURCE = 72 ++IP_UNBLOCK_SOURCE = 73 ++IP_MSFILTER = 74 ++MCAST_JOIN_GROUP = 80 ++MCAST_LEAVE_GROUP = 81 ++MCAST_JOIN_SOURCE_GROUP = 82 ++MCAST_LEAVE_SOURCE_GROUP = 83 ++MCAST_BLOCK_SOURCE = 84 ++MCAST_UNBLOCK_SOURCE = 85 ++IP_DEFAULT_MULTICAST_TTL = 1 ++IP_DEFAULT_MULTICAST_LOOP = 1 ++IP_MIN_MEMBERSHIPS = 31 ++IP_MAX_MEMBERSHIPS = 4095 ++IP_MAX_SOURCE_FILTER = 1024 ++MCAST_INCLUDE = 1 ++MCAST_EXCLUDE = 2 ++IP_PORTRANGE_DEFAULT = 0 ++IP_PORTRANGE_HIGH = 1 ++IP_PORTRANGE_LOW = 2 ++IPPROTO_MAXID = (IPPROTO_AH + 1) ++IPCTL_FORWARDING = 1 ++IPCTL_SENDREDIRECTS = 2 ++IPCTL_DEFTTL = 3 ++IPCTL_DEFMTU = 4 ++IPCTL_RTEXPIRE = 5 ++IPCTL_RTMINEXPIRE = 6 ++IPCTL_RTMAXCACHE = 7 ++IPCTL_SOURCEROUTE = 8 ++IPCTL_DIRECTEDBROADCAST = 9 ++IPCTL_INTRQMAXLEN = 10 ++IPCTL_INTRQDROPS = 11 ++IPCTL_STATS = 12 ++IPCTL_ACCEPTSOURCEROUTE = 13 ++IPCTL_FASTFORWARDING = 14 ++IPCTL_KEEPFAITH = 15 ++IPCTL_GIF_TTL = 16 ++IPCTL_MAXID = 17 ++def in_nullhost(x): return ((x).s_addr == INADDR_ANY) ++ ++ ++# Included from netinet6/in6.h ++__KAME_VERSION = "FreeBSD" ++IPV6PORT_RESERVED = 1024 ++IPV6PORT_ANONMIN = 49152 ++IPV6PORT_ANONMAX = 65535 ++IPV6PORT_RESERVEDMIN = 600 ++IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1) ++INET6_ADDRSTRLEN = 46 ++IPV6_ADDR_INT32_ONE = 1 ++IPV6_ADDR_INT32_TWO = 2 ++IPV6_ADDR_INT32_MNL = (-16711680) ++IPV6_ADDR_INT32_MLL = (-16646144) ++IPV6_ADDR_INT32_SMP = 0x0000ffff ++IPV6_ADDR_INT16_ULL = 0xfe80 ++IPV6_ADDR_INT16_USL = 0xfec0 ++IPV6_ADDR_INT16_MLL = 0xff02 ++IPV6_ADDR_INT32_ONE = 0x01000000 ++IPV6_ADDR_INT32_TWO = 0x02000000 ++IPV6_ADDR_INT32_MNL = 0x000001ff ++IPV6_ADDR_INT32_MLL = 0x000002ff ++IPV6_ADDR_INT32_SMP = (-65536) ++IPV6_ADDR_INT16_ULL = 0x80fe ++IPV6_ADDR_INT16_USL = 0xc0fe ++IPV6_ADDR_INT16_MLL = 0x02ff ++def IN6_IS_ADDR_UNSPECIFIED(a): return \ ++ ++def IN6_IS_ADDR_LOOPBACK(a): return \ ++ ++def IN6_IS_ADDR_V4COMPAT(a): return \ ++ ++def IN6_IS_ADDR_V4MAPPED(a): return \ ++ ++IPV6_ADDR_SCOPE_NODELOCAL = 0x01 ++IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01 ++IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 ++IPV6_ADDR_SCOPE_SITELOCAL = 0x05 ++IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 ++IPV6_ADDR_SCOPE_GLOBAL = 0x0e ++__IPV6_ADDR_SCOPE_NODELOCAL = 0x01 ++__IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01 ++__IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 ++__IPV6_ADDR_SCOPE_SITELOCAL = 0x05 ++__IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 ++__IPV6_ADDR_SCOPE_GLOBAL = 0x0e ++def IN6_IS_ADDR_LINKLOCAL(a): return \ ++ ++def IN6_IS_ADDR_SITELOCAL(a): return \ ++ ++def IN6_IS_ADDR_MC_NODELOCAL(a): return \ ++ ++def IN6_IS_ADDR_MC_INTFACELOCAL(a): return \ ++ ++def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ ++ ++def IN6_IS_ADDR_MC_SITELOCAL(a): return \ ++ ++def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ ++ ++def IN6_IS_ADDR_MC_GLOBAL(a): return \ ++ ++def IN6_IS_ADDR_MC_NODELOCAL(a): return \ ++ ++def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ ++ ++def IN6_IS_ADDR_MC_SITELOCAL(a): return \ ++ ++def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ ++ ++def IN6_IS_ADDR_MC_GLOBAL(a): return \ ++ ++def IN6_IS_SCOPE_LINKLOCAL(a): return \ ++ ++def IN6_IS_SCOPE_EMBED(a): return \ ++ ++def IFA6_IS_DEPRECATED(a): return \ ++ ++def IFA6_IS_INVALID(a): return \ ++ ++IPV6_OPTIONS = 1 ++IPV6_RECVOPTS = 5 ++IPV6_RECVRETOPTS = 6 ++IPV6_RECVDSTADDR = 7 ++IPV6_RETOPTS = 8 ++IPV6_SOCKOPT_RESERVED1 = 3 ++IPV6_UNICAST_HOPS = 4 ++IPV6_MULTICAST_IF = 9 ++IPV6_MULTICAST_HOPS = 10 ++IPV6_MULTICAST_LOOP = 11 ++IPV6_JOIN_GROUP = 12 ++IPV6_LEAVE_GROUP = 13 ++IPV6_PORTRANGE = 14 ++ICMP6_FILTER = 18 ++IPV6_2292PKTINFO = 19 ++IPV6_2292HOPLIMIT = 20 ++IPV6_2292NEXTHOP = 21 ++IPV6_2292HOPOPTS = 22 ++IPV6_2292DSTOPTS = 23 ++IPV6_2292RTHDR = 24 ++IPV6_2292PKTOPTIONS = 25 ++IPV6_CHECKSUM = 26 ++IPV6_V6ONLY = 27 ++IPV6_BINDV6ONLY = IPV6_V6ONLY ++IPV6_IPSEC_POLICY = 28 ++IPV6_FAITH = 29 ++IPV6_FW_ADD = 30 ++IPV6_FW_DEL = 31 ++IPV6_FW_FLUSH = 32 ++IPV6_FW_ZERO = 33 ++IPV6_FW_GET = 34 ++IPV6_RTHDRDSTOPTS = 35 ++IPV6_RECVPKTINFO = 36 ++IPV6_RECVHOPLIMIT = 37 ++IPV6_RECVRTHDR = 38 ++IPV6_RECVHOPOPTS = 39 ++IPV6_RECVDSTOPTS = 40 ++IPV6_RECVRTHDRDSTOPTS = 41 ++IPV6_USE_MIN_MTU = 42 ++IPV6_RECVPATHMTU = 43 ++IPV6_PATHMTU = 44 ++IPV6_REACHCONF = 45 ++IPV6_PKTINFO = 46 ++IPV6_HOPLIMIT = 47 ++IPV6_NEXTHOP = 48 ++IPV6_HOPOPTS = 49 ++IPV6_DSTOPTS = 50 ++IPV6_RTHDR = 51 ++IPV6_PKTOPTIONS = 52 ++IPV6_RECVTCLASS = 57 ++IPV6_AUTOFLOWLABEL = 59 ++IPV6_TCLASS = 61 ++IPV6_DONTFRAG = 62 ++IPV6_PREFER_TEMPADDR = 63 ++IPV6_MSFILTER = 74 ++IPV6_RTHDR_LOOSE = 0 ++IPV6_RTHDR_STRICT = 1 ++IPV6_RTHDR_TYPE_0 = 0 ++IPV6_DEFAULT_MULTICAST_HOPS = 1 ++IPV6_DEFAULT_MULTICAST_LOOP = 1 ++IPV6_PORTRANGE_DEFAULT = 0 ++IPV6_PORTRANGE_HIGH = 1 ++IPV6_PORTRANGE_LOW = 2 ++IPV6PROTO_MAXID = (IPPROTO_PIM + 1) ++IPV6CTL_FORWARDING = 1 ++IPV6CTL_SENDREDIRECTS = 2 ++IPV6CTL_DEFHLIM = 3 ++IPV6CTL_DEFMTU = 4 ++IPV6CTL_FORWSRCRT = 5 ++IPV6CTL_STATS = 6 ++IPV6CTL_MRTSTATS = 7 ++IPV6CTL_MRTPROTO = 8 ++IPV6CTL_MAXFRAGPACKETS = 9 ++IPV6CTL_SOURCECHECK = 10 ++IPV6CTL_SOURCECHECK_LOGINT = 11 ++IPV6CTL_ACCEPT_RTADV = 12 ++IPV6CTL_KEEPFAITH = 13 ++IPV6CTL_LOG_INTERVAL = 14 ++IPV6CTL_HDRNESTLIMIT = 15 ++IPV6CTL_DAD_COUNT = 16 ++IPV6CTL_AUTO_FLOWLABEL = 17 ++IPV6CTL_DEFMCASTHLIM = 18 ++IPV6CTL_GIF_HLIM = 19 ++IPV6CTL_KAME_VERSION = 20 ++IPV6CTL_USE_DEPRECATED = 21 ++IPV6CTL_RR_PRUNE = 22 ++IPV6CTL_MAPPED_ADDR = 23 ++IPV6CTL_V6ONLY = 24 ++IPV6CTL_RTEXPIRE = 25 ++IPV6CTL_RTMINEXPIRE = 26 ++IPV6CTL_RTMAXCACHE = 27 ++IPV6CTL_USETEMPADDR = 32 ++IPV6CTL_TEMPPLTIME = 33 ++IPV6CTL_TEMPVLTIME = 34 ++IPV6CTL_AUTO_LINKLOCAL = 35 ++IPV6CTL_RIP6STATS = 36 ++IPV6CTL_PREFER_TEMPADDR = 37 ++IPV6CTL_ADDRCTLPOLICY = 38 ++IPV6CTL_USE_DEFAULTZONE = 39 ++IPV6CTL_MAXFRAGS = 41 ++IPV6CTL_IFQ = 42 ++IPV6CTL_ISATAPRTR = 43 ++IPV6CTL_MCAST_PMTU = 44 ++IPV6CTL_STEALTH = 45 ++IPV6CTL_MAXID = 46 +diff -uN empty/regen misc/build/Python-2.3.4/Lib/plat-freebsd8/regen +--- empty/regen 1969-12-31 16:00:00.000000000 -0800 ++++ misc/build/Python-2.3.4/Lib/plat-freebsd8/regen 2007-11-18 18:44:44.000000000 -0800 +@@ -0,0 +1,3 @@ ++#! /bin/sh ++set -v ++python ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h *** misc/Python-2.3.4/configure Fri May 7 21:13:40 2004 --- misc/build/Python-2.3.4/configure Thu May 24 09:52:33 2007 *************** From owner-freebsd-openoffice@FreeBSD.ORG Mon Nov 19 17:30:03 2007 Return-Path: Delivered-To: openoffice@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7EC5516A475 for ; Mon, 19 Nov 2007 17:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1B81113C481 for ; Mon, 19 Nov 2007 17:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lAJHU3hr060020 for ; Mon, 19 Nov 2007 17:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lAJHU3DC060015; Mon, 19 Nov 2007 17:30:03 GMT (envelope-from gnats) Date: Mon, 19 Nov 2007 17:30:03 GMT Message-Id: <200711191730.lAJHU3DC060015@freefall.freebsd.org> To: openoffice@FreeBSD.org From: Don Lewis Cc: Subject: Re: ports/112283: editors/openoffice-2 fails to build with "pyconfig.h: No such file or directory" error X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Don Lewis List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2007 17:30:03 -0000 The following reply was made to PR ports/112283; it has been noted by GNATS. From: Don Lewis To: shuvaev@physik.uni-wuerzburg.de Cc: openoffice@FreeBSD.org, bug-followup@FreeBSD.org Subject: Re: ports/112283: editors/openoffice-2 fails to build with "pyconfig.h: No such file or directory" error Date: Mon, 19 Nov 2007 08:50:15 -0800 (PST) On 13 Nov, Alexey Shuvaev wrote: > The following reply was made to PR ports/112283; it has been noted by GNATS. > > From: "Alexey Shuvaev" > To: bug-followup@FreeBSD.org, zaa@zaa.pp.ru > Cc: > Subject: Re: ports/112283: editors/openoffice-2 fails to build with "pyconfig.h: No such file or directory" error > Date: Tue, 13 Nov 2007 15:16:38 +0100 > > Well, with the help of makc at issp dot ac dot ru I have managed > to compile editors/openoffice.org-2. > > One should put this in /bin/uname > --------------------------------- > #!/bin/sh > /usr/bin/uname $* | sed 's:8\.0:7\.0:g' > --------------------------------- > I think the appropriate patch could be applied to python/Python-2.3.4.patch > in the OOo source directory. > > Despite of successful compilation there is at least one runtime problem. > By opening of the file saved by itself it hangs with > the following messages on the console it was started from: > --------------------------------- > [wep4017] ~> openoffice.org-2.3.0 test.odt > > (process:89927): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function > > (process:89927): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed > > (process:89927): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed > --------------------------------- > OOo fails with the same errors while opening *.doc, *.ppt and *.sxw files. > This issue is mentioned in openoffice mailing list with GLib-GObject-CRITICAL > subject. The author said the problem is gone by downgrading jdk16 to jdk15, > but in my case it is not so (I have jdk15). I was able to build OOo on FreeBSD 8.0-CURRENT by adding the patch below to the port's files/ directory. The missing pyconfig.h problem is caused by an earlier error: mkdir ./Lib/plat-freebsd8 cp ./Lib/plat-generic/regen ./Lib/plat-freebsd8/regen export PATH; PATH="`pwd`:$PATH"; \ export PYTHONPATH; PYTHONPATH="`pwd`/Lib"; \ export DYLD_FRAMEWORK_PATH; DYLD_FRAMEWORK_PATH="`pwd`"; \ export EXE; EXE=""; \ cd ./Lib/plat-freebsd8; ./regen python$EXE ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h /libexec/ld-elf.so.1: Shared object "libpython2.3.so.1.0" not found, required by "python" It appears that a private copy of python is building built with a dynamically linked copy of the executable, which fails to run because it can't find the dynamic library that is is linked against. The regen script is being used to try to create plat-freebsd*/IN.py, which is failing. It also appears that if plat-freebsd*/IN.py already exists, the regen script is *not* run, which is why the patch (which creates IN.py) fixes the problem. The python build sets DYLD_FRAMEWORK_PATH, which is the Mac OS way of setting the search path for shared libraries. The build might work on FreeBSD if LD_LIBRARY_PATH was set as well. I suspect that the GLib errors are being caused by multiple versions of the same shared library getting dynamically linked into the application. This can be caused by some of the ports that OOo (or maybe java) depends being build with older versions of the libraries and listing these older libraries as dependencies. I recently upgraded all my ports (with 'portupgrade -af') and cleaned up old cruft (with 'make delete-old', 'make delete-old-libs', and 'portsclean -L') before I did the OOo build, and I did not encounter the GLib error. I'm also using jdk15. --- python/Python-2.3.4.patch.orig 2007-07-05 01:50:55.000000000 -0700 +++ python/Python-2.3.4.patch 2007-11-18 18:52:27.000000000 -0800 @@ -15424,6 +15424,588 @@ + #! /bin/sh + set -v + python ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h +diff -uN empty/IN.py misc/build/Python-2.3.4/Lib/plat-freebsd8/IN.py +--- empty/IN.py 1969-12-31 16:00:00.000000000 -0800 ++++ misc/build/Python-2.3.4/Lib/plat-freebsd8/IN.py 2007-11-18 18:44:47.000000000 -0800 +@@ -0,0 +1,571 @@ ++# Generated by h2py from /usr/include/netinet/in.h ++ ++# Included from sys/cdefs.h ++__GNUCLIKE_ASM = 3 ++__GNUCLIKE_ASM = 2 ++__GNUCLIKE___TYPEOF = 1 ++__GNUCLIKE___OFFSETOF = 1 ++__GNUCLIKE___SECTION = 1 ++__GNUCLIKE_ATTRIBUTE_MODE_DI = 1 ++__GNUCLIKE_CTOR_SECTION_HANDLING = 1 ++__GNUCLIKE_BUILTIN_CONSTANT_P = 1 ++__GNUCLIKE_BUILTIN_VARARGS = 1 ++__GNUCLIKE_BUILTIN_STDARG = 1 ++__GNUCLIKE_BUILTIN_VAALIST = 1 ++__GNUC_VA_LIST_COMPATIBILITY = 1 ++__GNUCLIKE_BUILTIN_NEXT_ARG = 1 ++__GNUCLIKE_BUILTIN_MEMCPY = 1 ++__CC_SUPPORTS_INLINE = 1 ++__CC_SUPPORTS___INLINE = 1 ++__CC_SUPPORTS___INLINE__ = 1 ++__CC_SUPPORTS___FUNC__ = 1 ++__CC_SUPPORTS_WARNING = 1 ++__CC_SUPPORTS_VARADIC_XXX = 1 ++__CC_SUPPORTS_DYNAMIC_ARRAY_INIT = 1 ++__CC_INT_IS_32BIT = 1 ++def __P(protos): return protos ++ ++def __STRING(x): return #x ++ ++def __XSTRING(x): return __STRING(x) ++ ++def __P(protos): return () ++ ++def __STRING(x): return "x" ++ ++def __aligned(x): return __attribute__((__aligned__(x))) ++ ++def __section(x): return __attribute__((__section__(x))) ++ ++def __aligned(x): return __attribute__((__aligned__(x))) ++ ++def __section(x): return __attribute__((__section__(x))) ++ ++def __nonnull(x): return __attribute__((__nonnull__(x))) ++ ++def __predict_true(exp): return __builtin_expect((exp), 1) ++ ++def __predict_false(exp): return __builtin_expect((exp), 0) ++ ++def __predict_true(exp): return (exp) ++ ++def __predict_false(exp): return (exp) ++ ++def __format_arg(fmtarg): return __attribute__((__format_arg__ (fmtarg))) ++ ++def __FBSDID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) ++ ++def __RCSID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) ++ ++def __RCSID_SOURCE(s): return __IDSTRING(__CONCAT(__rcsid_source_,__LINE__),s) ++ ++def __SCCSID(s): return __IDSTRING(__CONCAT(__sccsid_,__LINE__),s) ++ ++def __COPYRIGHT(s): return __IDSTRING(__CONCAT(__copyright_,__LINE__),s) ++ ++_POSIX_C_SOURCE = 199009 ++_POSIX_C_SOURCE = 199209 ++__XSI_VISIBLE = 600 ++_POSIX_C_SOURCE = 200112 ++__XSI_VISIBLE = 500 ++_POSIX_C_SOURCE = 199506 ++_POSIX_C_SOURCE = 198808 ++__POSIX_VISIBLE = 200112 ++__ISO_C_VISIBLE = 1999 ++__POSIX_VISIBLE = 199506 ++__ISO_C_VISIBLE = 1990 ++__POSIX_VISIBLE = 199309 ++__ISO_C_VISIBLE = 1990 ++__POSIX_VISIBLE = 199209 ++__ISO_C_VISIBLE = 1990 ++__POSIX_VISIBLE = 199009 ++__ISO_C_VISIBLE = 1990 ++__POSIX_VISIBLE = 198808 ++__ISO_C_VISIBLE = 0 ++__POSIX_VISIBLE = 0 ++__XSI_VISIBLE = 0 ++__BSD_VISIBLE = 0 ++__ISO_C_VISIBLE = 1990 ++__POSIX_VISIBLE = 0 ++__XSI_VISIBLE = 0 ++__BSD_VISIBLE = 0 ++__ISO_C_VISIBLE = 1999 ++__POSIX_VISIBLE = 200112 ++__XSI_VISIBLE = 600 ++__BSD_VISIBLE = 1 ++__ISO_C_VISIBLE = 1999 ++ ++# Included from sys/_types.h ++ ++# Included from machine/_types.h ++ ++# Included from machine/endian.h ++_QUAD_HIGHWORD = 1 ++_QUAD_LOWWORD = 0 ++_LITTLE_ENDIAN = 1234 ++_BIG_ENDIAN = 4321 ++_PDP_ENDIAN = 3412 ++_BYTE_ORDER = _LITTLE_ENDIAN ++LITTLE_ENDIAN = _LITTLE_ENDIAN ++BIG_ENDIAN = _BIG_ENDIAN ++PDP_ENDIAN = _PDP_ENDIAN ++BYTE_ORDER = _BYTE_ORDER ++def __word_swap_int_var(x): return \ ++ ++def __word_swap_int_const(x): return \ ++ ++def __word_swap_int(x): return __word_swap_int_var(x) ++ ++def __byte_swap_int_var(x): return \ ++ ++def __byte_swap_int_const(x): return \ ++ ++def __byte_swap_int(x): return __byte_swap_int_var(x) ++ ++def __byte_swap_word_var(x): return \ ++ ++def __byte_swap_word_const(x): return \ ++ ++def __byte_swap_word(x): return __byte_swap_word_var(x) ++ ++def __htonl(x): return __bswap32(x) ++ ++def __htons(x): return __bswap16(x) ++ ++def __ntohl(x): return __bswap32(x) ++ ++def __ntohs(x): return __bswap16(x) ++ ++IPPROTO_IP = 0 ++IPPROTO_ICMP = 1 ++IPPROTO_TCP = 6 ++IPPROTO_UDP = 17 ++def htonl(x): return __htonl(x) ++ ++def htons(x): return __htons(x) ++ ++def ntohl(x): return __ntohl(x) ++ ++def ntohs(x): return __ntohs(x) ++ ++IPPROTO_RAW = 255 ++INET_ADDRSTRLEN = 16 ++IPPROTO_HOPOPTS = 0 ++IPPROTO_IGMP = 2 ++IPPROTO_GGP = 3 ++IPPROTO_IPV4 = 4 ++IPPROTO_IPIP = IPPROTO_IPV4 ++IPPROTO_ST = 7 ++IPPROTO_EGP = 8 ++IPPROTO_PIGP = 9 ++IPPROTO_RCCMON = 10 ++IPPROTO_NVPII = 11 ++IPPROTO_PUP = 12 ++IPPROTO_ARGUS = 13 ++IPPROTO_EMCON = 14 ++IPPROTO_XNET = 15 ++IPPROTO_CHAOS = 16 ++IPPROTO_MUX = 18 ++IPPROTO_MEAS = 19 ++IPPROTO_HMP = 20 ++IPPROTO_PRM = 21 ++IPPROTO_IDP = 22 ++IPPROTO_TRUNK1 = 23 ++IPPROTO_TRUNK2 = 24 ++IPPROTO_LEAF1 = 25 ++IPPROTO_LEAF2 = 26 ++IPPROTO_RDP = 27 ++IPPROTO_IRTP = 28 ++IPPROTO_TP = 29 ++IPPROTO_BLT = 30 ++IPPROTO_NSP = 31 ++IPPROTO_INP = 32 ++IPPROTO_SEP = 33 ++IPPROTO_3PC = 34 ++IPPROTO_IDPR = 35 ++IPPROTO_XTP = 36 ++IPPROTO_DDP = 37 ++IPPROTO_CMTP = 38 ++IPPROTO_TPXX = 39 ++IPPROTO_IL = 40 ++IPPROTO_IPV6 = 41 ++IPPROTO_SDRP = 42 ++IPPROTO_ROUTING = 43 ++IPPROTO_FRAGMENT = 44 ++IPPROTO_IDRP = 45 ++IPPROTO_RSVP = 46 ++IPPROTO_GRE = 47 ++IPPROTO_MHRP = 48 ++IPPROTO_BHA = 49 ++IPPROTO_ESP = 50 ++IPPROTO_AH = 51 ++IPPROTO_INLSP = 52 ++IPPROTO_SWIPE = 53 ++IPPROTO_NHRP = 54 ++IPPROTO_MOBILE = 55 ++IPPROTO_TLSP = 56 ++IPPROTO_SKIP = 57 ++IPPROTO_ICMPV6 = 58 ++IPPROTO_NONE = 59 ++IPPROTO_DSTOPTS = 60 ++IPPROTO_AHIP = 61 ++IPPROTO_CFTP = 62 ++IPPROTO_HELLO = 63 ++IPPROTO_SATEXPAK = 64 ++IPPROTO_KRYPTOLAN = 65 ++IPPROTO_RVD = 66 ++IPPROTO_IPPC = 67 ++IPPROTO_ADFS = 68 ++IPPROTO_SATMON = 69 ++IPPROTO_VISA = 70 ++IPPROTO_IPCV = 71 ++IPPROTO_CPNX = 72 ++IPPROTO_CPHB = 73 ++IPPROTO_WSN = 74 ++IPPROTO_PVP = 75 ++IPPROTO_BRSATMON = 76 ++IPPROTO_ND = 77 ++IPPROTO_WBMON = 78 ++IPPROTO_WBEXPAK = 79 ++IPPROTO_EON = 80 ++IPPROTO_VMTP = 81 ++IPPROTO_SVMTP = 82 ++IPPROTO_VINES = 83 ++IPPROTO_TTP = 84 ++IPPROTO_IGP = 85 ++IPPROTO_DGP = 86 ++IPPROTO_TCF = 87 ++IPPROTO_IGRP = 88 ++IPPROTO_OSPFIGP = 89 ++IPPROTO_SRPC = 90 ++IPPROTO_LARP = 91 ++IPPROTO_MTP = 92 ++IPPROTO_AX25 = 93 ++IPPROTO_IPEIP = 94 ++IPPROTO_MICP = 95 ++IPPROTO_SCCSP = 96 ++IPPROTO_ETHERIP = 97 ++IPPROTO_ENCAP = 98 ++IPPROTO_APES = 99 ++IPPROTO_GMTP = 100 ++IPPROTO_IPCOMP = 108 ++IPPROTO_SCTP = 132 ++IPPROTO_PIM = 103 ++IPPROTO_CARP = 112 ++IPPROTO_PGM = 113 ++IPPROTO_PFSYNC = 240 ++IPPROTO_OLD_DIVERT = 254 ++IPPROTO_MAX = 256 ++IPPROTO_DONE = 257 ++IPPROTO_DIVERT = 258 ++IPPROTO_SPACER = 32767 ++IPPORT_RESERVED = 1024 ++IPPORT_HIFIRSTAUTO = 49152 ++IPPORT_HILASTAUTO = 65535 ++IPPORT_RESERVEDSTART = 600 ++IPPORT_MAX = 65535 ++def IN_CLASSA(i): return (((u_int32_t)(i) & (-2147483648)) == 0) ++ ++IN_CLASSA_NET = (-16777216) ++IN_CLASSA_NSHIFT = 24 ++IN_CLASSA_HOST = 0x00ffffff ++IN_CLASSA_MAX = 128 ++def IN_CLASSB(i): return (((u_int32_t)(i) & (-1073741824)) == (-2147483648)) ++ ++IN_CLASSB_NET = (-65536) ++IN_CLASSB_NSHIFT = 16 ++IN_CLASSB_HOST = 0x0000ffff ++IN_CLASSB_MAX = 65536 ++def IN_CLASSC(i): return (((u_int32_t)(i) & (-536870912)) == (-1073741824)) ++ ++IN_CLASSC_NET = (-256) ++IN_CLASSC_NSHIFT = 8 ++IN_CLASSC_HOST = 0x000000ff ++def IN_CLASSD(i): return (((u_int32_t)(i) & (-268435456)) == (-536870912)) ++ ++IN_CLASSD_NET = (-268435456) ++IN_CLASSD_NSHIFT = 28 ++IN_CLASSD_HOST = 0x0fffffff ++def IN_MULTICAST(i): return IN_CLASSD(i) ++ ++def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456)) ++ ++def IN_BADCLASS(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456)) ++ ++def IN_LINKLOCAL(i): return (((u_int32_t)(i) & (-65536)) == (-1442971648)) ++ ++def IN_LOCAL_GROUP(i): return (((u_int32_t)(i) & (-256)) == (-536870912)) ++ ++INADDR_NONE = (-1) ++IN_LOOPBACKNET = 127 ++IP_OPTIONS = 1 ++IP_HDRINCL = 2 ++IP_TOS = 3 ++IP_TTL = 4 ++IP_RECVOPTS = 5 ++IP_RECVRETOPTS = 6 ++IP_RECVDSTADDR = 7 ++IP_SENDSRCADDR = IP_RECVDSTADDR ++IP_RETOPTS = 8 ++IP_MULTICAST_IF = 9 ++IP_MULTICAST_TTL = 10 ++IP_MULTICAST_LOOP = 11 ++IP_ADD_MEMBERSHIP = 12 ++IP_DROP_MEMBERSHIP = 13 ++IP_MULTICAST_VIF = 14 ++IP_RSVP_ON = 15 ++IP_RSVP_OFF = 16 ++IP_RSVP_VIF_ON = 17 ++IP_RSVP_VIF_OFF = 18 ++IP_PORTRANGE = 19 ++IP_RECVIF = 20 ++IP_IPSEC_POLICY = 21 ++IP_FAITH = 22 ++IP_ONESBCAST = 23 ++IP_FW_TABLE_ADD = 40 ++IP_FW_TABLE_DEL = 41 ++IP_FW_TABLE_FLUSH = 42 ++IP_FW_TABLE_GETSIZE = 43 ++IP_FW_TABLE_LIST = 44 ++IP_FW_ADD = 50 ++IP_FW_DEL = 51 ++IP_FW_FLUSH = 52 ++IP_FW_ZERO = 53 ++IP_FW_GET = 54 ++IP_FW_RESETLOG = 55 ++IP_FW_NAT_CFG = 56 ++IP_FW_NAT_DEL = 57 ++IP_FW_NAT_GET_CONFIG = 58 ++IP_FW_NAT_GET_LOG = 59 ++IP_DUMMYNET_CONFIGURE = 60 ++IP_DUMMYNET_DEL = 61 ++IP_DUMMYNET_FLUSH = 62 ++IP_DUMMYNET_GET = 64 ++IP_RECVTTL = 65 ++IP_MINTTL = 66 ++IP_DONTFRAG = 67 ++IP_ADD_SOURCE_MEMBERSHIP = 70 ++IP_DROP_SOURCE_MEMBERSHIP = 71 ++IP_BLOCK_SOURCE = 72 ++IP_UNBLOCK_SOURCE = 73 ++IP_MSFILTER = 74 ++MCAST_JOIN_GROUP = 80 ++MCAST_LEAVE_GROUP = 81 ++MCAST_JOIN_SOURCE_GROUP = 82 ++MCAST_LEAVE_SOURCE_GROUP = 83 ++MCAST_BLOCK_SOURCE = 84 ++MCAST_UNBLOCK_SOURCE = 85 ++IP_DEFAULT_MULTICAST_TTL = 1 ++IP_DEFAULT_MULTICAST_LOOP = 1 ++IP_MIN_MEMBERSHIPS = 31 ++IP_MAX_MEMBERSHIPS = 4095 ++IP_MAX_SOURCE_FILTER = 1024 ++MCAST_INCLUDE = 1 ++MCAST_EXCLUDE = 2 ++IP_PORTRANGE_DEFAULT = 0 ++IP_PORTRANGE_HIGH = 1 ++IP_PORTRANGE_LOW = 2 ++IPPROTO_MAXID = (IPPROTO_AH + 1) ++IPCTL_FORWARDING = 1 ++IPCTL_SENDREDIRECTS = 2 ++IPCTL_DEFTTL = 3 ++IPCTL_DEFMTU = 4 ++IPCTL_RTEXPIRE = 5 ++IPCTL_RTMINEXPIRE = 6 ++IPCTL_RTMAXCACHE = 7 ++IPCTL_SOURCEROUTE = 8 ++IPCTL_DIRECTEDBROADCAST = 9 ++IPCTL_INTRQMAXLEN = 10 ++IPCTL_INTRQDROPS = 11 ++IPCTL_STATS = 12 ++IPCTL_ACCEPTSOURCEROUTE = 13 ++IPCTL_FASTFORWARDING = 14 ++IPCTL_KEEPFAITH = 15 ++IPCTL_GIF_TTL = 16 ++IPCTL_MAXID = 17 ++def in_nullhost(x): return ((x).s_addr == INADDR_ANY) ++ ++ ++# Included from netinet6/in6.h ++__KAME_VERSION = "FreeBSD" ++IPV6PORT_RESERVED = 1024 ++IPV6PORT_ANONMIN = 49152 ++IPV6PORT_ANONMAX = 65535 ++IPV6PORT_RESERVEDMIN = 600 ++IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1) ++INET6_ADDRSTRLEN = 46 ++IPV6_ADDR_INT32_ONE = 1 ++IPV6_ADDR_INT32_TWO = 2 ++IPV6_ADDR_INT32_MNL = (-16711680) ++IPV6_ADDR_INT32_MLL = (-16646144) ++IPV6_ADDR_INT32_SMP = 0x0000ffff ++IPV6_ADDR_INT16_ULL = 0xfe80 ++IPV6_ADDR_INT16_USL = 0xfec0 ++IPV6_ADDR_INT16_MLL = 0xff02 ++IPV6_ADDR_INT32_ONE = 0x01000000 ++IPV6_ADDR_INT32_TWO = 0x02000000 ++IPV6_ADDR_INT32_MNL = 0x000001ff ++IPV6_ADDR_INT32_MLL = 0x000002ff ++IPV6_ADDR_INT32_SMP = (-65536) ++IPV6_ADDR_INT16_ULL = 0x80fe ++IPV6_ADDR_INT16_USL = 0xc0fe ++IPV6_ADDR_INT16_MLL = 0x02ff ++def IN6_IS_ADDR_UNSPECIFIED(a): return \ ++ ++def IN6_IS_ADDR_LOOPBACK(a): return \ ++ ++def IN6_IS_ADDR_V4COMPAT(a): return \ ++ ++def IN6_IS_ADDR_V4MAPPED(a): return \ ++ ++IPV6_ADDR_SCOPE_NODELOCAL = 0x01 ++IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01 ++IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 ++IPV6_ADDR_SCOPE_SITELOCAL = 0x05 ++IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 ++IPV6_ADDR_SCOPE_GLOBAL = 0x0e ++__IPV6_ADDR_SCOPE_NODELOCAL = 0x01 ++__IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01 ++__IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 ++__IPV6_ADDR_SCOPE_SITELOCAL = 0x05 ++__IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 ++__IPV6_ADDR_SCOPE_GLOBAL = 0x0e ++def IN6_IS_ADDR_LINKLOCAL(a): return \ ++ ++def IN6_IS_ADDR_SITELOCAL(a): return \ ++ ++def IN6_IS_ADDR_MC_NODELOCAL(a): return \ ++ ++def IN6_IS_ADDR_MC_INTFACELOCAL(a): return \ ++ ++def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ ++ ++def IN6_IS_ADDR_MC_SITELOCAL(a): return \ ++ ++def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ ++ ++def IN6_IS_ADDR_MC_GLOBAL(a): return \ ++ ++def IN6_IS_ADDR_MC_NODELOCAL(a): return \ ++ ++def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ ++ ++def IN6_IS_ADDR_MC_SITELOCAL(a): return \ ++ ++def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ ++ ++def IN6_IS_ADDR_MC_GLOBAL(a): return \ ++ ++def IN6_IS_SCOPE_LINKLOCAL(a): return \ ++ ++def IN6_IS_SCOPE_EMBED(a): return \ ++ ++def IFA6_IS_DEPRECATED(a): return \ ++ ++def IFA6_IS_INVALID(a): return \ ++ ++IPV6_OPTIONS = 1 ++IPV6_RECVOPTS = 5 ++IPV6_RECVRETOPTS = 6 ++IPV6_RECVDSTADDR = 7 ++IPV6_RETOPTS = 8 ++IPV6_SOCKOPT_RESERVED1 = 3 ++IPV6_UNICAST_HOPS = 4 ++IPV6_MULTICAST_IF = 9 ++IPV6_MULTICAST_HOPS = 10 ++IPV6_MULTICAST_LOOP = 11 ++IPV6_JOIN_GROUP = 12 ++IPV6_LEAVE_GROUP = 13 ++IPV6_PORTRANGE = 14 ++ICMP6_FILTER = 18 ++IPV6_2292PKTINFO = 19 ++IPV6_2292HOPLIMIT = 20 ++IPV6_2292NEXTHOP = 21 ++IPV6_2292HOPOPTS = 22 ++IPV6_2292DSTOPTS = 23 ++IPV6_2292RTHDR = 24 ++IPV6_2292PKTOPTIONS = 25 ++IPV6_CHECKSUM = 26 ++IPV6_V6ONLY = 27 ++IPV6_BINDV6ONLY = IPV6_V6ONLY ++IPV6_IPSEC_POLICY = 28 ++IPV6_FAITH = 29 ++IPV6_FW_ADD = 30 ++IPV6_FW_DEL = 31 ++IPV6_FW_FLUSH = 32 ++IPV6_FW_ZERO = 33 ++IPV6_FW_GET = 34 ++IPV6_RTHDRDSTOPTS = 35 ++IPV6_RECVPKTINFO = 36 ++IPV6_RECVHOPLIMIT = 37 ++IPV6_RECVRTHDR = 38 ++IPV6_RECVHOPOPTS = 39 ++IPV6_RECVDSTOPTS = 40 ++IPV6_RECVRTHDRDSTOPTS = 41 ++IPV6_USE_MIN_MTU = 42 ++IPV6_RECVPATHMTU = 43 ++IPV6_PATHMTU = 44 ++IPV6_REACHCONF = 45 ++IPV6_PKTINFO = 46 ++IPV6_HOPLIMIT = 47 ++IPV6_NEXTHOP = 48 ++IPV6_HOPOPTS = 49 ++IPV6_DSTOPTS = 50 ++IPV6_RTHDR = 51 ++IPV6_PKTOPTIONS = 52 ++IPV6_RECVTCLASS = 57 ++IPV6_AUTOFLOWLABEL = 59 ++IPV6_TCLASS = 61 ++IPV6_DONTFRAG = 62 ++IPV6_PREFER_TEMPADDR = 63 ++IPV6_MSFILTER = 74 ++IPV6_RTHDR_LOOSE = 0 ++IPV6_RTHDR_STRICT = 1 ++IPV6_RTHDR_TYPE_0 = 0 ++IPV6_DEFAULT_MULTICAST_HOPS = 1 ++IPV6_DEFAULT_MULTICAST_LOOP = 1 ++IPV6_PORTRANGE_DEFAULT = 0 ++IPV6_PORTRANGE_HIGH = 1 ++IPV6_PORTRANGE_LOW = 2 ++IPV6PROTO_MAXID = (IPPROTO_PIM + 1) ++IPV6CTL_FORWARDING = 1 ++IPV6CTL_SENDREDIRECTS = 2 ++IPV6CTL_DEFHLIM = 3 ++IPV6CTL_DEFMTU = 4 ++IPV6CTL_FORWSRCRT = 5 ++IPV6CTL_STATS = 6 ++IPV6CTL_MRTSTATS = 7 ++IPV6CTL_MRTPROTO = 8 ++IPV6CTL_MAXFRAGPACKETS = 9 ++IPV6CTL_SOURCECHECK = 10 ++IPV6CTL_SOURCECHECK_LOGINT = 11 ++IPV6CTL_ACCEPT_RTADV = 12 ++IPV6CTL_KEEPFAITH = 13 ++IPV6CTL_LOG_INTERVAL = 14 ++IPV6CTL_HDRNESTLIMIT = 15 ++IPV6CTL_DAD_COUNT = 16 ++IPV6CTL_AUTO_FLOWLABEL = 17 ++IPV6CTL_DEFMCASTHLIM = 18 ++IPV6CTL_GIF_HLIM = 19 ++IPV6CTL_KAME_VERSION = 20 ++IPV6CTL_USE_DEPRECATED = 21 ++IPV6CTL_RR_PRUNE = 22 ++IPV6CTL_MAPPED_ADDR = 23 ++IPV6CTL_V6ONLY = 24 ++IPV6CTL_RTEXPIRE = 25 ++IPV6CTL_RTMINEXPIRE = 26 ++IPV6CTL_RTMAXCACHE = 27 ++IPV6CTL_USETEMPADDR = 32 ++IPV6CTL_TEMPPLTIME = 33 ++IPV6CTL_TEMPVLTIME = 34 ++IPV6CTL_AUTO_LINKLOCAL = 35 ++IPV6CTL_RIP6STATS = 36 ++IPV6CTL_PREFER_TEMPADDR = 37 ++IPV6CTL_ADDRCTLPOLICY = 38 ++IPV6CTL_USE_DEFAULTZONE = 39 ++IPV6CTL_MAXFRAGS = 41 ++IPV6CTL_IFQ = 42 ++IPV6CTL_ISATAPRTR = 43 ++IPV6CTL_MCAST_PMTU = 44 ++IPV6CTL_STEALTH = 45 ++IPV6CTL_MAXID = 46 +diff -uN empty/regen misc/build/Python-2.3.4/Lib/plat-freebsd8/regen +--- empty/regen 1969-12-31 16:00:00.000000000 -0800 ++++ misc/build/Python-2.3.4/Lib/plat-freebsd8/regen 2007-11-18 18:44:44.000000000 -0800 +@@ -0,0 +1,3 @@ ++#! /bin/sh ++set -v ++python ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h *** misc/Python-2.3.4/configure Fri May 7 21:13:40 2004 --- misc/build/Python-2.3.4/configure Thu May 24 09:52:33 2007 *************** From owner-freebsd-openoffice@FreeBSD.ORG Tue Nov 20 23:21:39 2007 Return-Path: Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F20C016A46D for ; Tue, 20 Nov 2007 23:21:39 +0000 (UTC) (envelope-from gofdpo-freebsd-openoffice@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 8E3D013C478 for ; Tue, 20 Nov 2007 23:21:39 +0000 (UTC) (envelope-from gofdpo-freebsd-openoffice@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1IucNu-0003ls-QD for freebsd-openoffice@freebsd.org; Tue, 20 Nov 2007 23:20:02 +0000 Received: from 81.210.227.230 ([81.210.227.230]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Nov 2007 23:20:02 +0000 Received: from saper by 81.210.227.230 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Nov 2007 23:20:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-openoffice@freebsd.org From: Marcin Cieslak Date: Wed, 21 Nov 2007 00:14:46 +0100 Lines: 65 Message-ID: References: <18228.22439.46200.204991@jerusalem.litteratus.org> <134205.97463.qm@web34307.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 81.210.227.230 User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.8.1.9) Gecko/20071119 SeaMonkey/1.1.6 In-Reply-To: <134205.97463.qm@web34307.mail.mud.yahoo.com> Sender: news Subject: Re: GLib-GObject-CRITICAL - same here with 7.0 X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2007 23:21:40 -0000 >>> # openoffice.org-2.3.0 >>> >>> (process:74772): GLib-GObject-CRITICAL **: >>> gtype.c:2242: initialization assertio >>> n failed, use IA__g_type_init() prior to this >> function >>> >>> (process:74772): GLib-CRITICAL **: >> g_once_init_leave: >>> assertion `initialization_ >>> value != 0' failed >>> >>> (process:74772): GLib-GObject-CRITICAL **: >>> g_object_new: assertion `G_TYPE_IS_OB >>> JECT (object_type)' failed >>> ^C >> I have the same issue, although with freshly compiled OOo 2.3: Freshly installed FreeBSD 7.0-BETA3 machine for amd64, using ZFS (no upgrade). cd /usr/ports/editors/openoffice.org-2-RC make LOCALIZED_LANG=all -DWITH_CCACHE -DWITH_SYSTEM_FREETYPE -DWITHOUT_MOZILLA -DWITHOUT_GNOMEVFS -DNO_CLEAN\ CPUTYPE is set to "core2" (after about 10 hours, done) This installs: /var/db/pkg/openoffice.org-alllangs-2.3.20071019 Issues: 1. it did not detect my JRE (I have /usr/local/diablo-jdk1.5.0 for amd64 there - /var/db/pkg/diablo-jdk-1.5.0.07.01_8) -> adding /usr/local/diablo-jdk1.5.0/jre/bin to $PATH helped (although it still cannot find JRE in the options dialog) 2. it warned about missing "paperconfig" not found; following this: https://bugs.launchpad.net/debian/+source/openoffice.org/+bug/122978 I have installed "print/libpaper" and added /usr/local/sbin to OOo's $PATH. 3. OOo opens, you can create document but when saving (click ok after entering filename) or opening (same button) it displays GLib messages like above and hangs: (process:12317): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function (process:12317): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed (process:12317): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed How to debug further? --Marcin From owner-freebsd-openoffice@FreeBSD.ORG Thu Nov 22 16:12:54 2007 Return-Path: Delivered-To: openoffice@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E676116A500; Thu, 22 Nov 2007 16:12:54 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id 6191113C467; Thu, 22 Nov 2007 16:12:54 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id 6F3BDFFC5; Thu, 22 Nov 2007 16:44:52 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id 617CAFFDD; Thu, 22 Nov 2007 16:44:52 +0100 (CET) Received: from mail.physik.uni-wuerzburg.de (wptd92.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id 2760BFFC5; Thu, 22 Nov 2007 16:44:50 +0100 (CET) Received: from wep4017.physik.uni-wuerzburg.de ([132.187.37.17]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 7.0.3) with ESMTP id 2007112216444942-3329 ; Thu, 22 Nov 2007 16:44:49 +0100 Received: by wep4017.physik.uni-wuerzburg.de (sSMTP sendmail emulation); Thu, 22 Nov 2007 16:44:49 +0100 From: "Alexey Shuvaev" Date: Thu, 22 Nov 2007 16:44:49 +0100 To: freebsd-openoffice@freebsd.org Message-ID: <20071122154449.GA67968@wep4017.physik.uni-wuerzburg.de> MIME-Version: 1.0 Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.16 (2007-06-09) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 7.0.3|September 26, 2007) at 11/22/2007 16:44:49, Serialize by Router on domino1/uni-wuerzburg(Release 7.0.3|September 26, 2007) at 11/22/2007 16:44:52, Serialize complete at 11/22/2007 16:44:52 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Cc: truckman@FreeBSD.org, openoffice@FreeBSD.org Subject: Re: GLib-GObject-CRITICAL X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2007 16:12:55 -0000 I have applied the patch pointed by Don Lewis and available under "http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/112283" I have recompiled the editors/openoffice.org-2 (recompiled java/jdk15 just before). While opening any document the following error messages appear in the terminal openoffice is launched from: (process:67964): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function (process:67964): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed (process:67964): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed I believe it is amd64 specific. One of the differences is that amd64 build of OOo is always made WITHOUT_MOZILLA. Can anyone on 7.0 or 8-CURRENT on i386 test OOo WITHOUT_MOZILLA? In comparison with Marcin I have no problems (I hope) with JRE, but I have compiled the native one, bootstrapping from native jdk too. And I can save the newly created .odt file, OOo hangs with the error messages above when I try to close (saved) document. System conf: [wep4017] ~> ls /var/db/pkg/ | grep jdk jdk-1.5.0.13p7_1,1 [wep4017] ~> java -version java version "1.5.0_13-p7" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-p7-root_20_nov_2007_17_47) Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_13-p7-root_20_nov_2007_17_47, mixed mode) [wep4017] ~> uname -a FreeBSD wep4017.physik.uni-wuerzburg.de 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Nov 19 19:14:19 CET 2007 root@wep4017.physik.uni-wuerzburg.de:/usr/obj/usr/src/sys/GENERIC amd64 [wep4017] ~> cat /etc/make.conf CPUTYPE ?= nocona SUP_UPDATE = YES SUPFILE = /root/standard-supfile PORTSSUPFILE = /root/ports-supfile DOCSUPFILE = /root/doc-supfile DOC_LANG = en_US.ISO8859-1 .if ${.CURDIR:M*/usr/ports*} .include "/etc/ports.conf" .endif # added by use.perl 2007-11-12 11:31:04 PERL_VER=5.8.8 PERL_VERSION=5.8.8 [wep4017] ~> cat /etc/ports.conf WITH_OPTIMIZED_CFLAGS= yes WITH_OPTIMIZED_FLAGS= yes WITH_GHOSTSCRIPT_AFPL= yes WITHOUT_CUPS= yes A4= yes RANDOMIZE_MASTER_SITES= yes .if ${.CURDIR:M*/editors/openoffice.org-2*} WITH_KDE= yes WITH_SYSTEM_FREETYPE= yes WITHOUT_GNOMEVFS= yes WITHOUT_MOZILLA= yes # Not enough space #LOCALIZED_LANG= all .endif From owner-freebsd-openoffice@FreeBSD.ORG Thu Nov 22 16:12:54 2007 Return-Path: Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E676116A500; Thu, 22 Nov 2007 16:12:54 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id 6191113C467; Thu, 22 Nov 2007 16:12:54 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id 6F3BDFFC5; Thu, 22 Nov 2007 16:44:52 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id 617CAFFDD; Thu, 22 Nov 2007 16:44:52 +0100 (CET) Received: from mail.physik.uni-wuerzburg.de (wptd92.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id 2760BFFC5; Thu, 22 Nov 2007 16:44:50 +0100 (CET) Received: from wep4017.physik.uni-wuerzburg.de ([132.187.37.17]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 7.0.3) with ESMTP id 2007112216444942-3329 ; Thu, 22 Nov 2007 16:44:49 +0100 Received: by wep4017.physik.uni-wuerzburg.de (sSMTP sendmail emulation); Thu, 22 Nov 2007 16:44:49 +0100 From: "Alexey Shuvaev" Date: Thu, 22 Nov 2007 16:44:49 +0100 To: freebsd-openoffice@freebsd.org Message-ID: <20071122154449.GA67968@wep4017.physik.uni-wuerzburg.de> MIME-Version: 1.0 Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.16 (2007-06-09) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 7.0.3|September 26, 2007) at 11/22/2007 16:44:49, Serialize by Router on domino1/uni-wuerzburg(Release 7.0.3|September 26, 2007) at 11/22/2007 16:44:52, Serialize complete at 11/22/2007 16:44:52 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Cc: truckman@FreeBSD.org, openoffice@FreeBSD.org Subject: Re: GLib-GObject-CRITICAL X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2007 16:12:55 -0000 I have applied the patch pointed by Don Lewis and available under "http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/112283" I have recompiled the editors/openoffice.org-2 (recompiled java/jdk15 just before). While opening any document the following error messages appear in the terminal openoffice is launched from: (process:67964): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function (process:67964): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed (process:67964): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed I believe it is amd64 specific. One of the differences is that amd64 build of OOo is always made WITHOUT_MOZILLA. Can anyone on 7.0 or 8-CURRENT on i386 test OOo WITHOUT_MOZILLA? In comparison with Marcin I have no problems (I hope) with JRE, but I have compiled the native one, bootstrapping from native jdk too. And I can save the newly created .odt file, OOo hangs with the error messages above when I try to close (saved) document. System conf: [wep4017] ~> ls /var/db/pkg/ | grep jdk jdk-1.5.0.13p7_1,1 [wep4017] ~> java -version java version "1.5.0_13-p7" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-p7-root_20_nov_2007_17_47) Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_13-p7-root_20_nov_2007_17_47, mixed mode) [wep4017] ~> uname -a FreeBSD wep4017.physik.uni-wuerzburg.de 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Nov 19 19:14:19 CET 2007 root@wep4017.physik.uni-wuerzburg.de:/usr/obj/usr/src/sys/GENERIC amd64 [wep4017] ~> cat /etc/make.conf CPUTYPE ?= nocona SUP_UPDATE = YES SUPFILE = /root/standard-supfile PORTSSUPFILE = /root/ports-supfile DOCSUPFILE = /root/doc-supfile DOC_LANG = en_US.ISO8859-1 .if ${.CURDIR:M*/usr/ports*} .include "/etc/ports.conf" .endif # added by use.perl 2007-11-12 11:31:04 PERL_VER=5.8.8 PERL_VERSION=5.8.8 [wep4017] ~> cat /etc/ports.conf WITH_OPTIMIZED_CFLAGS= yes WITH_OPTIMIZED_FLAGS= yes WITH_GHOSTSCRIPT_AFPL= yes WITHOUT_CUPS= yes A4= yes RANDOMIZE_MASTER_SITES= yes .if ${.CURDIR:M*/editors/openoffice.org-2*} WITH_KDE= yes WITH_SYSTEM_FREETYPE= yes WITHOUT_GNOMEVFS= yes WITHOUT_MOZILLA= yes # Not enough space #LOCALIZED_LANG= all .endif From owner-freebsd-openoffice@FreeBSD.ORG Fri Nov 23 01:22:27 2007 Return-Path: Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 04EE116A41B for ; Fri, 23 Nov 2007 01:22:27 +0000 (UTC) (envelope-from gofdpo-freebsd-openoffice@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id C183013C45D for ; Fri, 23 Nov 2007 01:22:26 +0000 (UTC) (envelope-from gofdpo-freebsd-openoffice@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IvNFM-0000al-5C for freebsd-openoffice@freebsd.org; Fri, 23 Nov 2007 01:22:20 +0000 Received: from 81.210.227.230 ([81.210.227.230]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Nov 2007 01:22:20 +0000 Received: from saper by 81.210.227.230 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Nov 2007 01:22:20 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-openoffice@freebsd.org From: Marcin Cieslak Date: Fri, 23 Nov 2007 02:21:59 +0100 Lines: 12 Message-ID: References: <20071122154449.GA67968@wep4017.physik.uni-wuerzburg.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 81.210.227.230 User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.8.1.9) Gecko/20071119 SeaMonkey/1.1.6 In-Reply-To: <20071122154449.GA67968@wep4017.physik.uni-wuerzburg.de> Sender: news Subject: Re: GLib-GObject-CRITICAL X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2007 01:22:27 -0000 Alexey Shuvaev wrote: > I believe it is amd64 specific. One of the differences is that > amd64 build of OOo is always made WITHOUT_MOZILLA. > Can anyone on 7.0 or 8-CURRENT on i386 test OOo WITHOUT_MOZILLA? > In comparison with Marcin I have no problems (I hope) with JRE, but > I have compiled the native one, bootstrapping from native jdk too. > And I can save the newly created .odt file, OOo hangs with the error > messages above when I try to close (saved) document. I think we have exactly the same problem. My JRE works otherwise fine. --Marcin From owner-freebsd-openoffice@FreeBSD.ORG Fri Nov 23 15:04:11 2007 Return-Path: Delivered-To: openoffice@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE91D16A417 for ; Fri, 23 Nov 2007 15:04:11 +0000 (UTC) (envelope-from securityupdate@anz.com.au) Received: from all4motion.com (all4motion.com [87.106.23.223]) by mx1.freebsd.org (Postfix) with ESMTP id 7C4B613C46A for ; Fri, 23 Nov 2007 15:04:11 +0000 (UTC) (envelope-from securityupdate@anz.com.au) Received: from [127.0.0.1] (helo=infongd10402.rtr.kundenserver.de) by all4motion.com with esmtp (Exim 3.35 #1) id 1IvXiY-000300-00 for openoffice@freebsd.org; Fri, 23 Nov 2007 13:33:10 +0100 Received: from 83.229.66.43 (IP may be forged by CGI script) by infongd10402.rtr.kundenserver.de with HTTP id 0Xgp58-1IvXiY0x3t-0002zt; Fri, 23 Nov 2007 13:33:10 +0100 X-Sender-Info: <155420315@infongd10402.rtr.kundenserver.de> Date: Fri, 23 Nov 2007 13:33:10 +0100 Message-Id: <0Xgp58-1IvXiY0x3t-0002zt@infongd10402.rtr.kundenserver.de> Precedence: bulk To: openoffice@freebsd.org From: ANZ INTERNET BANKING Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Unauthorized Access Notification On Your Account X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2007 15:04:11 -0000 [anzib_logo.gif] [photo_family.jpg] [h_protectBanking.gif] Dear Customer, As part of our security measures, we regularly screen activity in the ANZ Internet Banking system. We recently contacted you after noticing an issue on your account.We requested information from you for the following reason: We have observed multiple logons on your Internet Banking Account,From different blacklisted IP's therefore been blocked,to prevent further unauthorized access for your safety. We have decided to put an extra verification process to ensure your identity and your Internet Banking Account Security. Due to this, you are requested to follow the provided steps and confirm your ANZ Internet Banking details for the safety of your Accounts. [1]Click Here to continue to the verification process. Yours sincerely, ANZ Account Review Department Copyright ©1999-2007 ANZ Internet Banking Society . _________________________________________________________________ References 1. http://www.caminosajesus.com/php/components/com_banners/frontpage/index.htm