First attempt to build KDE fails

Ian McCarthy idm.kde at cronkshaw.com
Mon May 20 00:04:44 UTC 2013


Hello good people, I'm hoping you can point me in the correct direction.
I have got feed up with Digikam not working reliably on my machine so I 
thought I would start from the beginning and do my own build, so I was 
on the latest software and so I would stand a fighting chance of helping 
get it fixed.
To this end some time ago I downloaded KDE, whoever as is sometimes the 
case, time ran out. So I have now come back to it, and done an update to 
my download and started again

The Build has crashed :(

I have been following this webpage

http://techbase.kde.org/Getting_Started/Build/Windows/emerge

What I did in a window 7 64bit command shell was

set KDEROOT=C:\kderoot
cd /d %KDEROOT%
cd emerge
git pull

git branch -a
# this says what one has
git checkout kde-4.10

C:\kderoot\emerge>kdeenv.bat

kdesettings.bat executed
KDEROOT     : r:\
KDECOMPILER : mingw4
KDESVNDIR   : s:\
KDEGITDIR   : q:\
DOWNLOADDIR : t:\

the other emerge commands appear to work so I did

emerge qt

It has eventually stopped with this as the last good few lines in the 
cmd window more available if required.

Cloning into '.'...
remote: Counting objects: 736986, done.
remote: Compressing objects: 100% (128642/128642), done.
remote: Total 736986 (delta 602624), reused 736870 (delta 602553)
Receiving objects: 100% (736986/736986), 464.98 MiB | 110 KiB/s, done.
Resolving deltas: 100% (602624/602624), done.
Checking out files: 100% (40555/40555), done.
Checking out files: 100% (23089/23089), done.
Switched to a new branch '_v4.8.4'
creating: r:\build\libs\qt-4.8.2.20120321\work\mingw4-RelWithDebInfo-4.8.4
entering: r:\build\libs\qt-4.8.2.20120321\work\mingw4-RelWithDebInfo-4.8.4
cleaning r:\build\libs\qt-4.8.2.20120321\work\mingw4-RelWithDebInfo-4.8.4
r:\emerge\portage\libs\qt\patches/4.7/out-of-source-build.patch:27: 
trailing whi
tespace.
     my $cnt_ofs = 0;
r:\emerge\portage\libs\qt\patches/4.7/out-of-source-build.patch:28: 
trailing whi
tespace.
     if($match_dir =~ /^[a-zA-Z]:$/) {
r:\emerge\portage\libs\qt\patches/4.7/out-of-source-build.patch:29: 
trailing whi
tespace.
       $cnt_ofs = 1;
r:\emerge\portage\libs\qt\patches/4.7/out-of-source-build.patch:30: 
trailing whi
tespace.
     }
r:\emerge\portage\libs\qt\patches/4.7/out-of-source-build.patch:34: 
trailing whi
tespace.
         my $count = ($after =~ tr,/,,) - $cnt_ofs;
warning: bin/syncqt has type 100644, expected 100755
warning: squelched 6 whitespace errors
warning: 11 lines add whitespace errors.
r:\emerge\portage\libs\qt\patches/4.8/add-pdbs-on-msvc.diff:8: trailing 
whitespa
ce.
#!isEmpty(QT_BREAKPAD_ROOT_PATH): \   # quick test first whether 
requested ...
r:\emerge\portage\libs\qt\patches/4.8/add-pdbs-on-msvc.diff:13: trailing 
whitesp
ace.
#        system($$QT_BREAKPAD_ROOT_PATH/qtbreakpadsymbols 
--breakpad-exists) {
   # do we really have it?
r:\emerge\portage\libs\qt\patches/4.8/add-pdbs-on-msvc.diff:14: trailing 
whitesp
ace.
#    CONFIG += breakpad
r:\emerge\portage\libs\qt\patches/4.8/add-pdbs-on-msvc.diff:20: trailing 
whitesp
ace.
#}
r:\emerge\portage\libs\qt\patches/4.8/add-pdbs-on-msvc.diff:29: trailing 
whitesp
ace.
#breakpad {
warning: squelched 3 whitespace errors
warning: 8 lines add whitespace errors.
r:\emerge\portage\libs\qt\patches/4.8/fix-debug-webkit-linkage-QTBUG-20556.patch
:7: trailing whitespace.
QMAKE_LFLAGS_LTCG =
r:\emerge\portage\libs\qt\patches/4.8/fix-debug-webkit-linkage-QTBUG-20556.patch
:8: trailing whitespace.
QMAKE_CXXFLAGS_LTCG =
r:\emerge\portage\libs\qt\patches/4.8/fix-debug-webkit-linkage-QTBUG-20556.patch
:9: trailing whitespace.
QMAKE_CFLAGS_LTCG =
r:\emerge\portage\libs\qt\patches/4.8/fix-debug-webkit-linkage-QTBUG-20556.patch
:10: trailing whitespace.

warning: 3 lines applied after fixing whitespace errors.
r:\emerge\portage\libs\qt\patches/4.8.1/Use-windows-path-for-pkgconfig-mkdir_p_a
sstring.patch:20: trailing whitespace.
                     ret += mkdir_p_asstring(fileFixify(dst_pc_dir, 
FileFixifyAbs
olute), true);
warning: 1 line adds whitespace errors.
r:\emerge\portage\libs\qt\patches/4.8/moc-boost-fix-bug-22829.diff:9: 
trailing w
hitespace.
     pp.macros["BOOST_TT_HAS_OPERATOR_HPP_INCLUDED"]; // QTBUG-22829
warning: 1 line adds whitespace errors.
entering: r:\build\libs\qt-4.8.2.20120321\work\mingw4-RelWithDebInfo-4.8.4
Traceback (most recent call last):
   File "r:\emerge\portage\libs\qt\qt-4.8.2.20120321.py", line 336, in 
<module>
     Package().execute()
   File "r:\emerge\bin\Package\PackageBase.py", line 268, in execute
     self.runAction(command)
   File "r:\emerge\bin\Package\PackageBase.py", line 295, in runAction
     ok = getattr(self, functions[command])()
   File "r:\emerge\bin\BuildSystem\BuildSystemBase.py", line 52, in compile
     return configure() and make()
   File "r:\emerge\portage\libs\qt\qt-4.8.2.20120321.py", line 214, in 
configure
     os.environ[ "INCLUDE" ] = os.environ[ "INCLUDE" ] + ";" + 
os.path.join( self
.sqlite.installDir(), "include" )
   File "C:\python33\lib\os.py", line 669, in __getitem__
     value = self._data[self.encodekey(key)]
KeyError: 'INCLUDE'
emerge fatal error: running python 
r:\emerge\portage\libs\qt\qt-4.8.2.20120321.p
y compile
emerge debug: Task: Emerge stopped after: 4:12:31.125400
r:\>

Please can anybody advise me? I note it says qt-4.8.2 rather than 4.10?
-- 
cheers Ian Mac


More information about the Kde-windows mailing list