when I emerge any package with linux module inside(such as app-crpyt/truecrpty),the emerge will fail like this: >>> Source compiled. --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/var/log/sandbox/sandbox-app-crypt_-_truecrypt-4.3a-24825.log" open_wr: /data/build/amd64/linux-2.6.22-suspend2-r1/-.gcda open_wr: /data/build/amd64/linux-2.6.22-suspend2-r1/-.gcda and I've used sandboxshell to check the reason,it's caused by linux-mod_src_compile in the src_compile stage,here is the log: sip truecrypt-4.3a # sandboxshell * Loading sandboxed shell * Log File: /tmp/sandboxme-07.09.2007-13.53.06.log * Debug Log File: /tmp/sandboxme-07.09.2007-13.53.06.log.debug * sandboxon: turn sandbox on * sandboxoff: turn sandbox off * addread <path>: allow <path> to be read * addwrite <path>: allow <path> to be written * adddeny <path>: deny access to <path> * addpredict <path>: allow fake access to <path> Found environment at /var/tmp/portage/app-crypt/truecrypt-4.3a/temp/environment * Would you like to enter the portage environment ? y [s]sip truecrypt-4.3a # src_compile * Preparing truecrypt module make[1]: Entering directory `/usr/src/linux-2.6.22-suspend2-r1' CC [M] /data/tmp/portage/app-crypt/truecrypt-4.3a/work/truecrypt-4.3a-source-code/Linux/Kernel/../../Crypto/Aescrypt.o [1]+ Stopped emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} * * ERROR: app-crypt/truecrypt-4.3a failed. * Call stack: * environment, line 1: Called linux-mod_src_compile * environment, line 1611: Called die * * Unable to make KERNEL_SRC=/usr/src/linux NO_WARNINGS=1 truecrypt. * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/app-crypt:truecrypt-4.3a:20070907-055258.log'. * bash: kill: (25984) - No such process exit There are stopped jobs. * Building truecrypt utility building normal application succeeds. my kernel source tree is in normal place /usr/linux/ my kernel build tree is different to my kernel source tree, with KBUILD_OUTPUT=/home/build/amd64/linux Reproducible: Always Steps to Reproduce: 1. emerge truecrypt 2. 3. Actual Results: >>> Source compiled. --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/var/log/sandbox/sandbox-app-crypt_-_truecrypt-4.3a-24825.log" open_wr: /data/build/amd64/linux-2.6.22-suspend2-r1/-.gcda open_wr: /data/build/amd64/linux-2.6.22-suspend2-r1/-.gcda
ah, the wonders of actually searching *** This bug has been marked as a duplicate of bug 135745 ***