# ebuild 失败: x11-libs/libdrm

/etc/portage/make.conf 中:

/etc/portage/make.conf
1
2
MAKEOPTS="-j1"
CHOST="aarch64-pc-linux-gnu"

# 报错: Clock skew detected. File <file> has a time stamp <time> in the future.

报错:Clock skew detected. Filehas a time stamp
1
Clock skew detected. File <file> has a time stamp <time> in the future.

执行命令:

执行命令
1
2
3
touch <file>
# 或执行命令
#touch -d "yyyy-MM-dd hh:mm:ss" your/file

# ebuild 失败: media-libs/mesa

ebuild失败:media-libs/mesa
1
ninja: build stopped: subcommand failed.

执行命令:

执行命令
1
USE="-llvm" emerge media-libs/mesa

# ebuild 失败: x11-libs/gtk+

ebuild失败:x11-libs/gtk+
1
2
3
4
nmake[3]: *** [Makefile:509: all-recursive] Error 1
make[2]: *** [Makefile:507: all-recursive] Error 1
make[1]: *** [Makefile:737: all-recursive] Error 1
make: *** [Makefile:629: all] Error 2

/etc/portage/make.conf 中:

/etc/portage/make.conf
1
CHOST="aarch64-pc-linux-gnu"

# 报错: startx /etc/X11/xinit/xinitrc: line 58: twm: command not found

报错:startxline 58: twm: command not found
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

X.Org X Server 1.21.1.13
X Protocol Version 11, Revision 0
Current Operating System: Linux YupyeEnochGentoo 6.8.8-gentoo #1 SMP PREEMPT Wed May 1 18:25:38 CST 2024 aarch64
Kernel command line: BOOT_IMAGE=/vmlinuz-6.8.8-gentoo root=UUID=c32ddad3-23ae-44a8-a9be-cec96f2f27ec ro

Current version of pixman: 0.43.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu May 2 22:09:08 2024
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
/etc/X11/xinit/xinitrc: line 58: twm: command not found
/etc/X11/xinit/xinitrc: line 59: xclock: command not found
/etc/X11/xinit/xinitrc: line 60: xterm: command not found
/etc/X11/xinit/xinitrc: line 62: exec: xterm: not found
/etc/X11/xinit/xinitrc: line 61: xterm: command not found
xinit: connection to X server lost

waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.

执行命令:

执行命令
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
USE="-llvm" emerge twm xclock xterm
xinit /usr/bin/startplasma-x11 --display :1 -- /usr/bin/Xorg :1
# 或执行命令
#emerge --autounmask --autounmask-write qt5ct xcb alsa-utils alsa-plugins xdm
#etc-update
#emerge qt5ct xcb alsa-utils alsa-plugins xdm
#chmod u+s /usr/bin/xinit
#usermod -a -G video <username>
#rc-update add udev sysinit
#rc-update add elogind boot
#rc-update add dbus default
#rc-update add alsasound boot
#rc-update add xdm default
#echo 'DISPLAYMANAGER="sddm"' >> /etc/conf.d/xdm
#reboot