Subject: Forward: Re: Building openoffice2 on amd64
To: None <pkgsrc-users@NetBSD.org>
From: Kouichirou Hiratsuka <hira@po6.nsk.ne.jp>
List: pkgsrc-users
Date: 12/26/2007 20:04:29
--Multipart_Wed_Dec_26_20:04:29_2007-1
Content-Type: text/plain; charset=US-ASCII

I'm sorry, I sent to a wrong list.  Forward to a correct list.


--Multipart_Wed_Dec_26_20:04:29_2007-1
Content-Type: message/rfc822

Date: Wed, 26 Dec 2007 19:50:37 +0900
Message-ID: <m2odcdk9vm.wl%hira@po6.nsk.ne.jp>
From: Kouichirou Hiratsuka <hira@po6.nsk.ne.jp>
To: paul@whooppee.com
Cc: tech-pkg@NetBSD.org, joerg@britannica.bec.de
Subject: Re: Building openoffice2 on amd64
In-Reply-To: <Pine.NEB.4.64.0712251107550.10708@quicky.whooppee.com>
References: <20071223020133.22895dab.darcy@NetBSD.org>
	<m2y7bk3kup.wl%hira@po6.nsk.ne.jp>
	<20071223214029.43d62f86.darcy@NetBSD.org>
	<m2wsr4olkf.wl%hira@po6.nsk.ne.jp>
	<Pine.NEB.4.64.0712240234510.11692@quicky.whooppee.com>
	<m2prww74h4.wl%hira@po6.nsk.ne.jp>
	<Pine.NEB.4.64.0712240605540.13305@quicky.whooppee.com>
	<m2mys06mbw.wl%hira@po6.nsk.ne.jp>
	<Pine.NEB.4.64.0712241005340.6825@quicky.whooppee.com>
	<m2lk7j7t3r.wl%hira@po6.nsk.ne.jp>
	<Pine.NEB.4.64.0712242302380.8427@quicky.whooppee.com>
	<Pine.NEB.4.64.0712251107550.10708@quicky.whooppee.com>
User-Agent: Wanderlust/2.15.5 (Almost Unreal) SEMI/1.14.6 (Maruoka)
 FLIM/1.14.8 (=?ISO-2022-JP-2?B?U2hpahskKEQrVxsoQg==?=) APEL/10.7
 Emacs/23.0.60 (i386-unknown-netbsdelf4.99.44) MULE/6.0 (HANACHIRUSATO)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: multipart/mixed;
 boundary="Multipart_Wed_Dec_26_19:50:37_2007-1"
Sender: tech-pkg-owner@NetBSD.org

--Multipart_Wed_Dec_26_19:50:37_2007-1
Content-Type: text/plain; charset=US-ASCII

Hello,

At Tue, 25 Dec 2007 11:13:42 -0800 (PST),
Paul Goyette wrote:
>
> On Mon, 24 Dec 2007, Paul Goyette wrote:
> 
> > On Tue, 25 Dec 2007, Kouichirou Hiratsuka wrote:
> >> 
> >> Did you compile gcc34 with `USE_BINUTILS=yes'?
> >> It seems not work for this package.
> >
> > Yes, I removed the gcc34 package and did
> >
> > 	make USE_BINUTILS=yes cleandir install
> >
> > and then re-ran the make for openoffice2 and got the same errors.
> >
> > How can I force gcc34 to build _without_ using USE_BINUTILS?  Does
> > USE_BINUTILS=no work?
> 
> Well, I built gcc34 with USE_BINUTILS=no and that doesn't help either. 
> Same errors.
>
> I'm pretty much at the end of my rope now.  Joerg Sonnenberger suggested 
> (on current-users) making it link against libstdc++ instead of libsupc++ 
> but I can't figure out how to make the makefiles do that.  Indeed, I 
> can't even figure out where it's getting libsupc++ in the first place. 

There is only one -lsupc++ in build log.  I've attached a patch for
removing it.  I'm trying it on NetBSD/amd64 4.0.  Please try it on
-current.

  <save patch-cy to /somewhere>
  # cd /usr/pkgsrc/misc/openoffice2
  # vi Makefile.NetBSD.x86_64
  <comment out USE_PKGSRC_GCC>
  # make clean && make patch
  # patch -d `make show-var VARNAME=WRKSRC` < /somewhere/patch-cy
  # make

If the patch works fine, I'll commit it.

best regards.
-- 
 Kouichirou Hiratsuka
   hira@po6.nsk.ne.jp


--Multipart_Wed_Dec_26_19:50:37_2007-1
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="patch-cy"
Content-Transfer-Encoding: base64

LS0tIHN0b3JlL3V0aWwvbWFrZWZpbGUubWsub3JpZwkyMDA3LTEyLTI2IDE5OjAyOjU1LjAwMDAw
MDAwMCArMDkwMAorKysgc3RvcmUvdXRpbC9tYWtlZmlsZS5tawkyMDA3LTEyLTI2IDE5OjA0OjMy
LjAwMDAwMDAwMCArMDkwMApAQCAtNzksOSArNzksNyBAQAogLklGICIkKEdVSSkiPT0iV05UIgog
U0hMMVNURExJQlMrPSAJLWxzdXBjKysKIC5FTFNFCi0uSUYgIiQoT1MpIj09Ik5FVEJTRCIKLVNI
TDFTVERMSUJTKz0gCS1sc3VwYysrCi0uRUxJRiAiJChPUykiPT0iTUFDT1NYIgorLklGICIkKE9T
KSI9PSJNQUNPU1giIHx8ICIkKE9TKSI9PSJORVRCU0QiCiAuSUYgIiQoQ0NOVU1WRVIpIjw9IjAw
MDM5OTk5OTk5OSIKIFNITDFTVERMSUJTKz0JLWxzdXBjKysKIC5FTkRJRiAjIENDTlVNVkVSCg==

--Multipart_Wed_Dec_26_19:50:37_2007-1--


--Multipart_Wed_Dec_26_20:04:29_2007-1--