trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: April 2011

Re: [trinity-devel] gcc 4.6 & Qt3 - build failure -- Is it me or gcc?

From: "David C. Rankin" <drankinatty@...>
Date: Sat, 30 Apr 2011 23:43:01 -0500
On 04/30/2011 11:17 PM, David C. Rankin wrote:
> On 04/30/2011 06:15 PM, Ilya Chernykh wrote:
>> On Sunday 01 May 2011 01:57:41 David C. Rankin wrote:
>>
>>> I have finally gotten a few minutes to dive back into Trinity. To my
>>> chagrin, we have Arch has bumped from gcc 4.5 to gcc 4.6. I am having
>>> problems building Qt3. Adding to the difficulty, the Qt3 build script for
>>> Arch has been through a number of changes lately and I haven't had time to
>>> verify the new build script under gcc 4.5 before the jump to gcc 4.6. So I
>>> am working to understand whether this build failure is gcc related or if it
>>> is a normal screw-up on my end.
>>
>> See if this can help:
>> https://api.opensuse.org/public/source/KDE:KDE3/qt3/gcc46.diff
>>
>>
>
> Hah!
>
> It did -- Qt3 is building as we speak. Here is the PKGBUILD I'm using (including
> the gcc46.diff). Baho, I don't know why the 'make subtools' works without the
> patch, but I guess the parts that need #include <cstddef> aren't triggered by
> that make. Here is what I have so far. I'll report back after I have finished
> the build and tested it. Then I can catch up on all the changes in the Trinity
> packages and what else I can build now :P
>

Wohoo!

==> Tidying install...
   -> Purging other files...
   -> Compressing man and info pages...
   -> Stripping unneeded symbols from binaries and libraries...
   -> Removing libtool .la files...
==> WARNING: Package contains reference to $srcdir
==> Creating package...
   -> Generating .PKGINFO file...
   -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: trinity-qt3 3.3.8b-1 (Sat Apr 30 23:32:12 CDT 2011)
23:32 supersff:~/tblds/trinity-qt3> l
total 25868
drwxr-xr-x 4 david david     4096 Apr 30 23:31 .
drwxr-xr-x 7 david david     4096 Apr 30 16:38 ..
drwxr-xr-x 4 david david     4096 Apr 30 23:31 pkg
drwxr-xr-x 4 david david     4096 Apr 30 23:30 src
-rw-r--r-- 1 david david    10386 Apr 30 23:11 PKGBUILD
-rw-r--r-- 1 david david     1437 Jan 21 17:32 eastern_asian_languagues.diff
-rw-r--r-- 1 david david     1824 Apr 30 22:59 gcc46.diff
-rw-r--r-- 1 david david      698 Jan 21 17:32 qt-odbc.patch
-rw-r--r-- 1 david david     3708 Jan 21 17:32 qt-patches.tar.bz2
-rw-r--r-- 1 david david 17313883 Apr 30 16:38 qt-x11-free-3.3.8b.tar.gz
-rw-r--r-- 1 david david     1339 Jan 21 17:32 qt3-png14.patch
-rw-r--r-- 1 david david     2378 Mar 25 19:17 qt3_3.3.8c.arch.diff
-rw-r--r-- 1 david david  9075324 Apr 30 23:32 trinity-qt3-3.3.8c-1-i686.pkg.tar.xz

Back in the saddle again :)

-- 
David C. Rankin, J.D.,P.E.