Currently the sources/archives needed for kde for windows are downloaded in the following folders: -download -git -svn Thus one might retry to compile kde using a clean %kderoot% folder, where only the above folders exist and the etc folder. However, an Internet connection is still needed, because emerge tries first to connect to the Internet before checking local file/folder existence. This is true for both the files to download and the folders to clone with git. A better approach would be to check for file/folder existence first before trying to connect to the Internet so that an offline compilation to be possible. Reproducible: Always Steps to Reproduce: 1. Try to emerge a package, e.g. 'emerge okular' 2. Download all required sources, then clean the %kderoot% folder so that only download, git, svn and etc folders remain 3. Disconnect computer from Internet 4. 'emerge okular' Actual Results: Without Internet connection, step 4 fails. Expected Results: Step 4 should allow package compilation with no errors. emerge should have an option to clean %kderoot% folder by keeping the downloaded files/folders (i.e. download, git, svn) and the configuration folder (etc). My test platform:Win8 x86_64 Release Candidate, Visual Studio 2010, using emerge from master branch. kde for windows was compiled for x86 architecture.
Have you tried 'emerge --offline okular'? Typing 'emerge' will tell you all its command line arguments. Although emerge won't delete the directories you mentioned, you can have emerge ignore an install and recompile/install using 'emerge -i okular'. You can even combine these commands 'emerge -i --offline okular'.
No, I was not aware about this command line option, sorry, my mistake.