Web lists-archives.com

Re: [kde-linux] Building KDEPIM 4.7 from the GIT repository

On 12/20/2011 09:35 PM, Duncan wrote:
James Tyrer posted on Mon, 19 Dec 2011 22:58:42 -0700 as excerpted:

On 12/19/2011 05:54 PM, Duncan wrote:
James Tyrer posted on Mon, 19 Dec 2011 16:56:26 -0700 as excerpted:

On 12/19/2011 02:16 PM, James Tyrer wrote:
For several weeks building KDEPIM from GIT "origin/KDE/4.7" has
failed with this error:

/usr/GIT/KDE/kdepim/messagecomposer/akonadisender.cpp:138: error:
reference to 'Message' is ambiguous

However the tag v4.7.3 builds OK, indicating that the source was
broken since release 4.7.3 was tagged. Now, release 4.7.4 has been
tagged and it will not build.

Have you tried git bisect-ing the problem?

Yes, I have it down to the file and the changes in that file that broke

I upgraded GCC and now it builds -- my compiler was getting a bit old
although it isn't really safe to install the newest version either.

But, that doesn't establish whether it was illegal code or not since the
GCC compilers will often compile code that isn't legal.

You know how to frustrate a person, don't you? =:^(  You mention the old
compiler that was broken with the code was a bit old, and that the new
one isn't broken, but not a hint to be seen about what the actual version
was of either one!<grr!>

I was still using 4.4.4 and have now upgraded to 4.5 (BLFS was up to 4.5.1). I suppose that I could upgrade to 4.5.3 now that I have gone through a major problem with upgrading ppl, cloog, gmp, mpfr, & mpc -- they need to be built with the current compiler and the compiler needs to be be built with the current build -- not a circular dependency, but still circular.

James Tyrer

Linux (mostly) From Scratch
This message is from the kde-linux mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde-linux.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.