온라인 매뉴얼을 따라 오래된 노트북에 젠투를 설치하려고 합니다. 커널 소스를 설치했습니다(참조:여기): 설치하다
emerge --ask sys-kernel/gentoo-sources
정확한 오류 메시지 없이 실패할 때까지 정상적으로 실행되는 것 같습니다. 로그 파일
/var/tmp/portage/sys-kernel/gentoo-sources-4.4.6/temp/build.log
오류 메시지를 포함하지 않습니다. 파일의 마지막 몇 줄을 읽었습니다.
* Final size of build directory: 1 KiB
* Final size of installed tree: 623669 KiB
ecompressdir: bzip2 -9 /usr/share/doc
/var/log/emerge.log
또한 오류 메시지가 포함되어 있지 않은 이것을 살펴보았습니다 .
1473188561: Started emerge on: set 06, 2016 21:02:40
1473188561: *** emerge --ask sys-kernel/gentoo-sources
1473188622: >>> emerge (1 of 1) sys-kernel/gentoo-sources-4.4.6 to /
1473188622: === (1 of 1) Cleaning (sys-kernel/gentoo-sources-4.4.6::/usr/portage/sys-kernel/gentoo-sources/gentoo-sources-4.4.6.ebuild)
1473188698: === (1 of 1) Compiling/Merging (sys-kernel/gentoo-sources-4.4.6::/usr/portage/sys-kernel/gentoo-sources/gentoo-sources-4.4.6.ebuild)
1473189553: === (1 of 1) Merging (sys-kernel/gentoo-sources-4.4.6::/usr/portage/sys-kernel/gentoo-sources/gentoo-sources-4.4.6.ebuild)
1473190741: *** Finished. Cleaning up...
1473190743: *** exiting unsuccessfully with status '1'.
1473190751: *** terminating.
다음에 무엇을 확인해야할지 모르겠습니다. 어떤 아이디어가 있나요?
편집하다
내용은 다음과 같습니다 /var/tmp/portage/sys-kernel/gentoo-sources-4.4.6/temp/build.log
(각 줄의 시작 부분에 표시되는 인쇄할 수 없는 일부 문자를 제거했습니다).
Package: sys-kernel/gentoo-sources-4.4.6
Repository: gentoo
Maintainer: [email protected]
USE: abi_x86_32 elibc_glibc kernel_linux userland_GNU x86
FEATURES: preserve-libs sandbox userpriv usersandbox
>>> Preparing to unpack ...
>>> Unpacking source...
>>> Unpacking linux-4.4.tar.xz to /var/tmp/portage/sys-kernel/gentoo-sources-4.4.6/work
>>> Unpacking genpatches-4.4-8.base.tar.xz to /var/tmp/portage/sys-kernel/gentoo-sources-4.4.6/work/patches
>>> Unpacking genpatches-4.4-8.extras.tar.xz to /var/tmp/portage/sys-kernel/gentoo-sources-4.4.6/work/patches
Excluding Patch #5000_enable-additional-cpu-optimizations-for-gcc.patch ...
Excluding Patch #5015_kdbus*.patch ...
Applying 1000_linux-4.4.1.patch (-p1) ...
Applying 1001_linux-4.4.2.patch (-p1) ...
Applying 1002_linux-4.4.3.patch (-p1) ...
Applying 1003_linux-4.4.4.patch (-p1) ...
Applying 1004_linux-4.4.5.patch (-p1) ...
Applying 1005_linux-4.4.6.patch (-p1) ...
Applying 1500_XATTR_USER_PREFIX.patch (-p1) ...
Applying 1510_fs-enable-link-security-restrictions-by-default.patch (-p1) ...
Applying 2700_ThinkPad-30-brightness-control-fix.patch (-p1) ...
Applying 2900_dev-root-proc-mount-fix.patch (-p1) ...
Applying 4200_fbcondecor-3.19.patch (-p1) ...
Applying 4567_distro-Gentoo-Kconfig.patch (-p1) ...
>>> Source unpacked in /var/tmp/portage/sys-kernel/gentoo-sources-4.4.6/work
>>> Preparing source in /var/tmp/portage/sys-kernel/gentoo-sources-4.4.6/work/linux-4.4.6-gentoo ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-kernel/gentoo-sources-4.4.6/work/linux-4.4.6-gentoo ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-kernel/gentoo-sources-4.4.6/work/linux-4.4.6-gentoo ...
>>> Source compiled.
>>> Test phase [not enabled]: sys-kernel/gentoo-sources-4.4.6
>>> Install gentoo-sources-4.4.6 into /var/tmp/portage/sys-kernel/gentoo-sources-4.4.6/image/ category sys-kernel
>>> Copying sources ...
>>> Completed installing gentoo-sources-4.4.6 into /var/tmp/portage/sys-kernel/gentoo-sources-4.4.6/image/
Final size of build directory: 1 KiB
Final size of installed tree: 623669 KiB
ecompressdir: bzip2 -9 /usr/share/doc
답변1
답변2
노력하다:
rm -vR /usr/portage/distfiles
emerge-webrsync
emerge --sync && emerge -av sys-kernel/gentoo-sources
.
출력 결과에 따르면 tarball을 올바르게 다운로드하지 않은 것 같습니다. @oscarandrea의 스크린샷을 보면 그의 빌드 디렉터리는 4kb입니다. 당신의 것은 1kb에 불과합니다.