| Summary: | =sys-apps/sandbox-2.6-r1: access violation during catalyst stage 2 build | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Stuart Longland <stuartl> |
| Component: | [OLD] Core system | Assignee: | Portage team <dev-portage> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Build script | ||
Created attachment 406492 [details]
Build script
This is the build script I use. Invocation:
./dostages.sh --type hardened --temp-seed --snapshot today --profile hardened/linux/amd64 --subarches amd64
*** This bug has been marked as a duplicate of bug 554252 *** |
Hi all, I'm having problems building stage 3 tarballs through catalyst. Basically when I get to Stage 2, I get the following access violations: F: open_wr S: deny P: /usr/lib64/python3.3/__pycache__/sysconfig.cpython-33.pyc.140617837619888 A: /usr/lib64/python3.3/__pycache__/sysconfig.cpython-33.pyc.140617837619888 R: /usr/lib64/python3.3/__pycache__/sysconfig.cpython-33.pyc.140617837619888 C: /usr/bin/python3.3 setup.py install --root=/var/tmp/portage/sys-apps/portage-2.2.20/image//_python3.3 --system-prefix=/usr --bindir=/usr/lib/python-exec/python3.3 --docdir=/usr/share/doc/portage-2.2.20 --htmldir=/usr/share/doc/portage-2.2.20/html --portage-bindir=/usr/lib/portage/python3.3 --sbindir=/usr/lib/python-exec/python3.3 --sysconfdir=/etc [...] -------------------------------------------------------------------------------- * Messages for package sys-apps/portage-2.2.20: * Could not find a UTF-8 locale. This may trigger build failures in * some python packages. Please ensure that a UTF-8 locale is listed in * /etc/locale.gen and run locale-gen. !!! catalyst: run script failed. Traceback (most recent call last): File "modules/generic_stage_target.py", line 1244, in run_local "run script failed.",env=self.env) File "/usr/lib64/catalyst/modules/catalyst_support.py", line 541, in cmd raise CatalystError,myexc CatalystError None !!! catalyst: Stage build aborting due to error. Traceback (most recent call last): File "/usr/lib64/catalyst/catalyst", line 218, in build_target mytarget.run() File "modules/generic_stage_target.py", line 1304, in run apply(getattr(self,x)) File "modules/generic_stage_target.py", line 1249, in run_local raise CatalystError,"Stage build aborting due to error." CatalystError !!! catalyst: Error encountered during run of target stage2 Catalyst aborting.... lockfile does not exist '/var/tmp/catalyst/tmp/hardened/stage2-amd64-20150711/.catalyst_lock' (Unfortunately the top of the error message is beyond `screen`'s scrollback buffer. Once this build is done, I'll try again and post a full log.) This is inspite of me having FEATURES="-sandbox -usersandbox" in catalystrc. The problem has persisted for at least 6 months. I've worked around it by temporarily hitting control-Z after Catalyst sets up the chroot, chrooting in myself and doing an `emerge -C sandbox`. That removes the problem package, and the build then proceeds as expected. I doubt this is done in the official Gentoo builds, and I should not need to do this. My build script used to call Catalyst is otherwise unchanged from the one I used to build Gentoo/MIPS install media many years ago. It worked fine then, and I've been using it for buiding AMD64 and i686 install media (because for a long time, it was faster for me to compile from the source code I have than download an official stage3) for the past few years. Is there some reason why my FEATURES environment variable is getting ignored? catalystrc for reference: beast ~ # cat /etc/catalyst/catalystrc #!/bin/bash # This is an example catalystrc. As such, it doesn't actually *do* anything. # Uncomment the following to increase the number of threads used to compile. #export MAKEOPTS="-j6" export FEATURES="-sandbox -usersandbox" GENTOO_MIRRORS=" http://vk4msl-mb.local/portage http://www/portage http://mirror.internode.on.net/pub/gentoo http://ftp.swin.edu.au/gentoo http://mirror.aarnet.edu.au/pub/gentoo" export PYTHONDONTWRITEBYTECODE=1 Regards, Stuart Longland