Tim, Serghei,
I went to build trinity tonight and found all arch PKGBUILDS fail with the same error:
CMake Error at cmake/modules/TDEMacros.cmake:20 (message): #################################################
Please use out-of-source building, like this:
rm /home/david/tblds/trinity-tqtinterface/src/tqtinterface/CMakeCache.txt mkdir /tmp/tqt.build cd /tmp/tqt.build cmake /home/david/tblds/trinity-tqtinterface/src/tqtinterface [arguments...]
################################################# Call Stack (most recent call first): cmake/modules/TDEMacros.cmake:1124 (tde_message_fatal) CMakeLists.txt:29 (include)
I'm not sure why this is needed since the PKGBUILD process takes place in a *newly* created src directory that is *outside* the svn tree. This will take a rewrite of all PKGBUILDS to accommodate this change.
Tim, Serghei,
I went to build trinity tonight and found all arch PKGBUILDS fail with the same error:
CMake Error at cmake/modules/TDEMacros.cmake:20 (message): #################################################
Please use out-of-source building, like this: rm
/home/david/tblds/trinity-tqtinterface/src/tqtinterface/CMakeCache.txt mkdir /tmp/tqt.build cd /tmp/tqt.build cmake /home/david/tblds/trinity-tqtinterface/src/tqtinterface [arguments...]
################################################# Call Stack (most recent call first): cmake/modules/TDEMacros.cmake:1124 (tde_message_fatal) CMakeLists.txt:29 (include)
I'm not sure why this is needed since the PKGBUILD process takes place in a *newly* created src directory that is *outside* the svn tree. This will take a rewrite of all PKGBUILDS to accommodate this change.
-- David C. Rankin, J.D.,P.E.
Hi Serghei,
Please undo this change. Also, I am having problems building the Qt3 version of kdebase due to failed detection; see https://quickbuild.pearsoncomputing.net/~trinity/+archive/trinity-nightly-bu...
Thanks!
Tim
Tim, Serghei,
I went to build trinity tonight and found all arch PKGBUILDS fail with the same error:
CMake Error at cmake/modules/TDEMacros.cmake:20 (message): #################################################
Please use out-of-source building, like this: rm
/home/david/tblds/trinity-tqtinterface/src/tqtinterface/CMakeCache.txt mkdir /tmp/tqt.build cd /tmp/tqt.build cmake /home/david/tblds/trinity-tqtinterface/src/tqtinterface [arguments...]
################################################# Call Stack (most recent call first): cmake/modules/TDEMacros.cmake:1124 (tde_message_fatal) CMakeLists.txt:29 (include)
I'm not sure why this is needed since the PKGBUILD process takes place in a *newly* created src directory that is *outside* the svn tree. This will take a rewrite of all PKGBUILDS to accommodate this change.
-- David C. Rankin, J.D.,P.E.
Hi Serghei,
Please undo this change. Also, I am having problems building the Qt3 version of kdebase due to failed detection; see https://quickbuild.pearsoncomputing.net/~trinity/+archive/trinity-nightly-bu...
Thanks!
Tim
FYI I was able to get my builds working again, so you can work on David's problem instead.
Thanks!
Tim
On Friday 25 March 2011 07:52:42 David C. Rankin wrote: [...]
I'm not sure why this is needed since the PKGBUILD process takes place in a *newly* created src directory that is *outside* the svn tree. This will take a rewrite of all PKGBUILDS to accommodate this change.
newly created src != out of source
I made out-of-source mode mandatory because too many people have weird building problems and I waste far too much time to debug it.
On 03/25/2011 03:47 AM, Serghei Amelian wrote:
On Friday 25 March 2011 07:52:42 David C. Rankin wrote: [...]
I'm not sure why this is needed since the PKGBUILD process takes place
in a *newly* created src directory that is *outside* the svn tree. This will take a rewrite of all PKGBUILDS to accommodate this change.
newly created src != out of source
I made out-of-source mode mandatory because too many people have weird building problems and I waste far too much time to debug it.
Serghei,
The change prevents Arch PKGBUILDs from working. Arch PKGBUILDs start with a *new* directory, eg:
trinity-kdelibs
Arch then creates:
trinity-kdelibs -pkg -src
The svn checkout is then done in:
trinity-kdelibs -pkg -src -kdelibs
Building is then done under the *new* 'kdelibs' and finish packages are then installed into the fake-root '-pkg' where the final package is created from.
The change you have implemented prevents the Arch 'makepkg' process from working as it traditionally does. It *is* possible to force the build in an alternate directory in the PKGBUILD scripts, but that is *not* the way Arch traditionally works.
The key here is that Arch downloads the trinity code into a new directory. Yes -- if you keep building over and over again in the same directory without deleting 'src' or without issuing --clean or --cleancache, you can run into problems, but I don't think forcing an out-of-source-build is the right way to cure the problem.
Of course I will do it however you guys decide, but I would suggest it is far better to warn about potential problems when reusing a source tree than it is to mandate a change from the traditional build methods.
You guys think about it and let me know. I would change the *mandate* of the out-or-source requirement to a *WARNING* so that the build can proceed, but the builder is aware that if he is not building from a clean source, then unforeseen problems can arise. Something like:
WARNING: you are attempting to build withing the original source tree. If you have built from this same source tree earlier, your build may fail or you may experience runtime errors due to a compromised build cache. Please insure you are building from a clean source. Out-of-source building is strongly advised. http://link/to/out/of/source/build/howto
I'll get with Baho and sort out what will be required if this out of source change is kept as an error instead of a warning. I'm swamped for the next few days, but will fit this in if needed. Thanks :)
On Friday 25 March 2011 18:19:54 David C. Rankin wrote: [...]
Of course I will do it however you guys decide, but I would suggest it is far better to warn about potential problems when reusing a source tree than it is to mandate a change from the traditional build methods.
You guys think about it and let me know. I would change the *mandate* of the out-or-source requirement to a *WARNING* so that the build can proceed, but the builder is aware that if he is not building from a clean source, then unforeseen problems can arise. Something like:
[...]
I recommend you to try to comply with out-of-source requirement. Otherwise, you will be on your own, I will refuse to debug problems generated by in-source mode. Trinity build system is *very* complicated, with a lot generated files, which can interfere with sources in many unexpected ways.
On 03/25/2011 01:59 PM, Serghei Amelian wrote:
[...]
Of course I will do it however you guys decide, but I would suggest it
is far better to warn about potential problems when reusing a source tree than it is to mandate a change from the traditional build methods.
You guys think about it and let me know. I would change the*mandate* of
the out-or-source requirement to a*WARNING* so that the build can proceed, but the builder is aware that if he is not building from a clean source, then unforeseen problems can arise. Something like:
[...]
I recommend you to try to comply with out-of-source requirement. Otherwise, you will be on your own, I will refuse to debug problems generated by in-source mode. Trinity build system is*very* complicated, with a lot generated files, which can interfere with sources in many unexpected ways.
OK,
Decision made, we will start re-working all of the Arch PKGBUILDs to use out of source building...
On Friday 25 March 2011 03:03:57 pm David C. Rankin wrote:
On 03/25/2011 01:59 PM, Serghei Amelian wrote:
[...]
Of course I will do it however you guys decide, but I would
suggest it is far better to warn about potential problems when reusing a source tree than it is to mandate a change from the traditional build methods.
You guys think about it and let me know. I would change
the*mandate* of the out-or-source requirement to a*WARNING* so that the build can proceed, but the builder is aware that if he is not building from a clean source, then unforeseen problems can arise. Something like:
[...]
I recommend you to try to comply with out-of-source requirement. Otherwise, you will be on your own, I will refuse to debug problems generated by in-source mode. Trinity build system is*very* complicated, with a lot generated files, which can interfere with sources in many unexpected ways.
OK,
Decision made, we will start re-working all of the Arch PKGBUILDs to use out of source building...
Or use the ones I have created. Out of source works just fine. You may want to modify them to your own tatse though.
On Friday 25 March 2011 12:19:54 pm David C. Rankin wrote:
On 03/25/2011 03:47 AM, Serghei Amelian wrote:
On Friday 25 March 2011 07:52:42 David C. Rankin wrote: [...]
I'm not sure why this is needed since the PKGBUILD process takes
place in a *newly* created src directory that is *outside* the svn tree. This will take a rewrite of all PKGBUILDS to accommodate this change.
newly created src != out of source
I made out-of-source mode mandatory because too many people have weird building problems and I waste far too much time to debug it.
Serghei,
The change prevents Arch PKGBUILDs from working. Arch PKGBUILDs start with a *new* directory, eg:
trinity-kdelibs
Arch then creates:
trinity-kdelibs \-pkg \-src
The svn checkout is then done in:
trinity-kdelibs \-pkg \-src \-kdelibs
Building is then done under the *new* 'kdelibs' and finish packages are then installed into the fake-root '-pkg' where the final package is created from.
The change you have implemented prevents the Arch 'makepkg' process from working as it traditionally does. It *is* possible to force the build in an alternate directory in the PKGBUILD scripts, but that is *not* the way Arch traditionally works.
The key here is that Arch downloads the trinity code into a new directory. Yes -- if you keep building over and over again in the same directory without deleting 'src' or without issuing --clean or --cleancache, you can run into problems, but I don't think forcing an out-of-source-build is the right way to cure the problem.
I do out of source builds with all my PKGBUILDS and I do not hit the svn server every time I build. I do an update once daily and then build all the packages from there. When 3.5.13 comes out I will change the PKGBUILD scripts to build from the 3.5.13 tarballs not from the svn tree.
Of course I will do it however you guys decide, but I would suggest it is far better to warn about potential problems when reusing a source tree than it is to mandate a change from the traditional build methods.
You guys think about it and let me know. I would change the *mandate* of the out-or-source requirement to a *WARNING* so that the build can proceed, but the builder is aware that if he is not building from a clean source, then unforeseen problems can arise. Something like:
WARNING: you are attempting to build withing the original source tree. If you have built from this same source tree earlier, your build may fail or you may experience runtime errors due to a compromised build cache. Please insure you are building from a clean source. Out-of-source building is strongly advised. http://link/to/out/of/source/build/howto
I'll get with Baho and sort out what will be required if this out of source change is kept as an error instead of a warning. I'm swamped for the next few days, but will fit this in if needed. Thanks :)
Have a look at my clean chroot build system and PKGBUILDs. It does not require the VM that you presently use and produces clean packages without unwanted dependences.
My PKGBUILDs do exactly what Serghei has proposed. They have worked perfect until just this past week, but that is due to the state of flux in the svn source tree. I am confindent when the svn source tree settles down all will be well.
On Friday 25 March 2011 01:52:42 am David C. Rankin wrote:
Tim, Serghei,
I went to build trinity tonight and found all arch PKGBUILDS fail with the same error:
CMake Error at cmake/modules/TDEMacros.cmake:20 (message): #################################################
Please use out-of-source building, like this: rm
/home/david/tblds/trinity-tqtinterface/src/tqtinterface/CMakeCache.txt mkdir /tmp/tqt.build cd /tmp/tqt.build cmake /home/david/tblds/trinity-tqtinterface/src/tqtinterface [arguments...]
################################################# Call Stack (most recent call first): cmake/modules/TDEMacros.cmake:1124 (tde_message_fatal) CMakeLists.txt:29 (include)
I'm not sure why this is needed since the PKGBUILD process takes place in a *newly* created src directory that is *outside* the svn tree. This will take a rewrite of all PKGBUILDS to accommodate this change.
David I am working on the problem and I have been able to build trinity upto kdelibs. I have found that your PKGBUILD of qt3 to be bad as the patch from the trinity stie contains an addition.
Have a look at my PKBUILDS that I uploaded to your site last nite.
I'll see if I can get past my current failure in kdelibs tonite.
Out of source mode is the way to go, the reason being debugging, working on and improving CMake is about 100 times easier. while we will have to change our PKGBUILDS, it will save us time working through errors.
My thoughts, Calvin Morrison
On 25 March 2011 05:35, Baho Utot baho-utot@columbus.rr.com wrote:
On Friday 25 March 2011 01:52:42 am David C. Rankin wrote:
Tim, Serghei,
I went to build trinity tonight and found all arch PKGBUILDS fail with the same error:
CMake Error at cmake/modules/TDEMacros.cmake:20 (message): #################################################
Please use out-of-source building, like this:
rm /home/david/tblds/trinity-tqtinterface/src/tqtinterface/CMakeCache.txt mkdir /tmp/tqt.build cd /tmp/tqt.build cmake /home/david/tblds/trinity-tqtinterface/src/tqtinterface [arguments...]
################################################# Call Stack (most recent call first): cmake/modules/TDEMacros.cmake:1124 (tde_message_fatal) CMakeLists.txt:29 (include)
I'm not sure why this is needed since the PKGBUILD process takes place in a *newly* created src directory that is *outside* the svn tree. This will take a rewrite of all PKGBUILDS to accommodate this change.
David I am working on the problem and I have been able to build trinity upto kdelibs. I have found that your PKGBUILD of qt3 to be bad as the patch from the trinity stie contains an addition.
Have a look at my PKBUILDS that I uploaded to your site last nite.
I'll see if I can get past my current failure in kdelibs tonite.
To unsubscribe, e-mail: trinity-devel-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-devel-help@lists.pearsoncomputing.net Read list messsages on the Web archive: http://trinity-devel.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
On 03/25/2011 07:01 AM, Calvin Morrison wrote:
Out of source mode is the way to go, the reason being debugging, working on and improving CMake is about 100 times easier. while we will have to change our PKGBUILDS, it will save us time working through errors.
My thoughts, Calvin Morrison
Agreed,
Serghei has made that decision and I begrudgingly agree. It's the right thing to do. Take a look at the Arch KDE4 pkgbuilds. They do an out-of-source build, but IIRC it is with a direct 'copy' of the source tree to another dir and then building.
Baho, I'll try and combine your improvements into the build scripts this weekend. It may be Sunday before I can get to it.
On 03/25/2011 07:01 AM, Calvin Morrison wrote:
Out of source mode is the way to go, the reason being debugging, working on and improving CMake is about 100 times easier. while we will have to change our PKGBUILDS, it will save us time working through errors.
My thoughts, Calvin Morrison
Agreed,
Serghei has made that decision and I begrudgingly agree. It's the right thing to do. Take a look at the Arch KDE4 pkgbuilds. They do an out-of-source build, but IIRC it is with a direct 'copy' of the source tree to another dir and then building.
Baho, I'll try and combine your improvements into the build scripts this weekend. It may be Sunday before I can get to it.
-- David C. Rankin, J.D.,P.E.
OK, I will go along with this, considering that Debian does an out of source build as well.
Tim
On 03/25/2011 04:35 AM, Baho Utot wrote:
I have found that your PKGBUILD of qt3 to be bad as the patch from the trinity stie contains an addition.
Hmm.. I'll go through the patch again. I haven't downloaded a new .diff for qt3 since we started. I didn't know it had changed. Thanks for the heads up.
Ahh found it :)
diff -u -r qt-x11-free-3.3.8b.orig/src/tools/qglobal.h qt-x11-free-3.3.8b/src/tools/qglobal.h --- qt-x11-free-3.3.8b.orig/src/tools/qglobal.h 2008-01-15 21:09:13.000000000 +0200 +++ qt-x11-free-3.3.8b/src/tools/qglobal.h 2011-03-15 00:28:11.221711757 +0200 @@ -41,7 +41,7 @@ #ifndef QGLOBAL_H #define QGLOBAL_H
-#define QT_VERSION_STR "3.3.8b" +#define QT_VERSION_STR "3.3.8c" /* QT_VERSION is (major << 16) + (minor << 8) + patch. */
Aaahh... It wasn't in the original .diff I downloaded :)