
# Set PORTDIR for backward compatibility with various tools:ĭISTDIR="$ /packages"ĭon't have the faintest clue when or why I did that, unless it's something to do with enabling local ebuilds that I misunderstood or mis-copied from somewhere. There seems to be a trend to replace environment variables with configuration files.įound where I set it in nf, and I set it to I don't know if that is still true with the new nf setup which obsoleted PORTDIR. Says that it is set in /etc/nf if it is set. Using keyboard-interactive ~ $ portageq envvar ~ ~ $ I'm guessing my distdir should be /usr/portage/distfiles, and it seems to generally be being treated as such, with where things are being put, etc. Ok, I took a closer look, and everything in /usr/local/portage is my local ebuilds, so "shouldn't" be effecting anything. I *do* have some local ebuilds, which I think are in /usr/local/portage. usr/portage/distfiles exists, /usr/local/portage also exists. My DISTDIR is "/usr/portage /usr/local/portage /distfiles" Note: You can find out what your DISTDIR is with: Code: Could you please check and/or create your folders like that? There shouldn't be any permission problems then. In your distfile folder you should have: Code:ĭrwxrwxr-x portage:portage $DISTDIR/svn-srcĭrwxrwxr-x portage:portage $DISTDIR/svn-src/codeblocks I was hoping to avoid running codeblocks in a debugger, but if I have to then I have to. I would upgrade to the 9999 ebuild, but it is refusing to grab the svn repository, keeps failing with "permission denied" Sometimes, instead of crashing completely, new editor tabs just don't load the editor in them, leaving a blank tab. When running from the terminal, all it says is "SEGMENTATION FAULT" and drops me back to the prompt. When I'm using codeblocks, seemingly at random, when I'm editing code, codeblocks crashes completely.

Once it crashes, the command "bt" gives you a backtrace. It gives you a new set which will only update live packages that actually have new commits in them.Īpart from that, try starting codeblocks using gdb.

However, to make upgrading live ebuilds easier, you could use app-portage/smart-live-rebuild. If you are using dev-util/codeblocks-13.12-r1, then you might want to consider upgrading to the live version. What's the next step to figuring this out? Running from the terminal isn't giving any extra information. Hi, not sure if this is the right forum for this, but I'm having random segfaults when using codeblocks. Posted: Wed 10:25 pm Post subject: Code::Blocks Segfaulting

Gentoo Forums Forum Index Unsupported Software Gentoo Forums :: View topic - Code::Blocks Segfaulting
