Subject: Re: kdelibs2 compile failure??
To: None <tech-pkg@NetBSD.ORG>
From: K Polk <kent@goathill.org>
List: tech-pkg
Date: 12/17/2001 23:02:17
On 14 Dec 2001 15:10:01 -0600, Johnny C. Lam wrote:
> On Fri, Dec 14, 2001 at 08:37:06PM +0000, K Polk wrote:
>> Trying to compile the new kde2.2. any idea regarding the following
>> compiler error?
> [...]
>> /usr/src/gnu/usr.bin/egcs/common/../../../dist/gcc/reload1.c:1281: Internal
>> compiler error in function reload
>> gmake[3]: *** [khtml_part.lo] Error 1
> 
> On what platform and on which version of NetBSD are you trying to build
> this package?  I was able to build kdelibs-2.2.2 without problems in a
> NetBSD/i386-20001127 snapshot with the old (egcs-1.1.2) toolchain.

NetBSD <host> 1.5.2 NetBSD 1.5.2 (GENERIC) #3: Sat Aug 18 23:37:05 CEST 2001
he@hamster.urc.uninett.no:/usr/src/sys/arch/i386/compile/GENERIC i386

It built correctly on:
NetBSD <host> 1.5.1 NetBSD 1.5.1 (GENERIC) #56: Mon Jul  2 15:54:23 CEST 2001
he@nsa.uninett.no:/usr/src/sys/arch/i386/compile/GENERIC i386

and the only differences I noted were the qt2 packages on the system
that built:

qt2-libs-2.3.1      C++ X GUI toolkit
qt2-docs-2.3.1      Documentation for the QT C++ X GUI toolkit
qt2-2.3.1           "meta-package" for the QT GUI C++ toolkit
qt2-designer-2.3.1  Visual (WYSIWYG) QT GUI builder
qt2-examples-2.3.1  QT2 Tutorial, example code and HTML documentation 

Instead of:

qt2-libs-2.3.1nb1   C++ X GUI toolkit
qt2-docs-2.3.1      Documentation for the QT C++ X GUI toolkit
qt2-designer-kde-2.3.1nb1 Visual (WYSIWYG) QT GUI builder with KDE widget
qt2-examples-2.3.1  QT2 Tutorial, example code and HTML documentation
qt2-2.3.1nb2        "meta-package" for the QT GUI C++ toolkit

which were built fairly recently, I think when we were resolving
the previous kdelibs2 build problems.

Since the new kde2 updated x11-links-0.5, I suspected that possibly
there was a change therein that affected qt2 so I deleted all of
the qt2 libraries, rebuilt them and then kdelibs2 built correctly.