Emerge cloned from git://anongit.kde.org/emerge.git with Git 1.9.4. This is what happens after any "emerge x" call: kdesettings.bat executed KDEROOT : C:\kderoot KDECOMPILER : mingw4 KDESVNDIR : C:\kderoot\svn KDEGITDIR : C:\kderoot\git DOWNLOADDIR : C:\kderoot\download C:\kderoot>emerge Traceback (most recent call last): File "C:\kderoot\emerge\bin\emerge.py", line 22, in <module> import portage File "C:\kderoot\emerge\bin\portage.py", line 494, in <module> PortageInstance = Portage() File "C:\kderoot\emerge\bin\portage.py", line 216, in __init__ self._readIgnores() File "C:\kderoot\emerge\bin\portage.py", line 233, in _readIgnores with open(iniPath, 'w') as configfile: FileNotFoundError: [Errno 2] No such file or directory: 'C:\\kderoot\\ etc\\kdesettings.ini' In the file portage.py in %KDEROOT%\emerge\bin: Lines 218 & 219: def _readIgnores(self): iniPath = os.path.join(ROOTDIR, "etc", "kdesettings.ini") ... Should be: Lines 218 & 219: def _readIgnores(self): iniPath = os.path.join(ROOTDIR, "kdesettings.ini") ... Which seems to fix the problem. This is my first bug report, so I apologize for any errors.
No thats find your structure should ne kderoot/emerge kderoot/etc You habe to copy your kdesettings.ini to the kderoot/etc.
Well, I tried that but that does not work, also it does not say so for example at https://community.kde.org/Calligra/Building_Calligra_on_Windows; where you only should copy kdesettings-example.bat to etc and rename it. It may be so that the location is predefined in other files. The only way I could get emerge to work, at least partially, was to change the above code, as other ways have failed.
I had a few goes at "emerge"ing in July and August 2014. kdesettings.bat should go to kderoot\etc. There are two kdesettings.ini files, one in kderoot\emerge and one in kderoot\etc. The latter is created on the fly and in my case has this content: [Portage] PACKAGE_IGNORES = Anyway, my 2 cent worth of wisdom.
the kdesettingsbat has been discontinued. Currently you have to copy the kdesettings.ini from emerge to etc and adopt it.
Oh, I see. Yes, now it works.