QubesOS / qubes-issues

The Qubes OS Project issue tracker
https://www.qubes-os.org/doc/issue-tracking/
536 stars 48 forks source link

archlinux template build failed on the deprecated font-bitstream-speedo package installation #5961

Closed lubellier closed 3 years ago

lubellier commented 4 years ago

Qubes OS version R4.0

Affected component(s) or functionality Affected component : qubes-builder (qubes-builder-archlinux sub-component). Affected functionality : building an archlinux template.

Brief summary In the make template / Installing package groups, pacman didn't found the font-bitstream-speedo package.

To Reproduce Steps to reproduce the behavior: _1. Apply the Archlinux template building instructions _2. On 8th step (make template) got an error _3. Check the qubes-builder/build-logs/template-archlinux.log log file _4. Found the target not found: font-bitstream-speedo error

Expected behavior make template doesn't return error code, go to the end and build the qubes-template-archlinux-4.0.1 rpm

Actual behavior make template stopped with the target not found: font-bitstream-speedo error on the Installing package groups step.

Screenshots Error trace showing the problem:

--> Archlinux 02_install_groups.sh
  --> Synchronize resolv.conf...
  --> Installing archlinux package groups...
    --> Selected packages: xorg xterm ethtool net-tools sudo wget diffutils ldns tmux vim terminus-font font-bitstream-speedo ttf-dejavu ttf-inconsolata ttf-linux-libertine noto-fonts noto-fonts-emoji gnome-settings-daemon gtk-engines gvfs lxappearance leafpad thunar thunar-volman xfce4-terminal evince firefox thunderbird checksec
:: There are 49 members in group xorg:
:: Repository extra
   1) xf86-video-vesa  2) xorg-bdftopcf  3) xorg-docs  4) xorg-font-util  5) xorg-fonts-100dpi  6) xorg-fonts-75dpi  7) xorg-fonts-encodings  8) xorg-iceauth  9) xorg-luit  10) xorg-mkfontscale  11) xorg-server  12) xorg-server-common  13) xorg-server-devel  14) xorg-server-xephyr  15) xorg-server-xnest  16) xorg-server-xvfb  17) xorg-server-xwayland  18) xorg-sessreg  19) xorg-setxkbmap  20) xorg-smproxy  21) xorg-x11perf  22) xorg-xauth  23) xorg-xbacklight  24) xorg-xcmsdb  25) xorg-xcursorgen  26) xorg-xdpyinfo  27) xorg-xdriinfo  28) xorg-xev  29) xorg-xgamma  30) xorg-xhost  31) xorg-xinput  32) xorg-xkbcomp  33) xorg-xkbevd  34) xorg-xkbutils  35) xorg-xkill  36) xorg-xlsatoms  37) xorg-xlsclients  38) xorg-xmodmap  39) xorg-xpr  40) xorg-xprop  41) xorg-xrandr  42) xorg-xrdb  43) xorg-xrefresh  44) xorg-xset  45) xorg-xsetroot  46) xorg-xvinfo  47) xorg-xwd  48) xorg-xwininfo  49) xorg-xwud

Enter a selection (default=all): error: target not found: font-bitstream-speedo

make[1]: *** [Makefile:64: rootimg-build] Error 1

Solutions you've tried The archlinux font-bitstream-speedo package no more exists, I replaced it with ttf-bitstream-vera in packages.list file which solved the problem. And finally, the archlinux template creation worked, now I use it.

So in the qubes-builder-archlinux component, I applied:

index 073270a..a577480 100644
--- a/scripts/packages.list
+++ b/scripts/packages.list
@@ -16,7 +16,8 @@ vim

 # Fonts
 terminus-font
-font-bitstream-speedo
+#font-bitstream-speedo
+ttf-bitstream-vera
 ttf-dejavu
 ttf-inconsolata
 ttf-linux-libertine

Relevant documentation you've consulted I followed the Archlinux template building instructions documentation.

lubellier commented 4 years ago

See https://github.com/QubesOS/qubes-builder-archlinux/pull/35 pull request.

lubellier commented 3 years ago

Validation of the issue: [user@build-archlinux2 qubes-builder]$ make template in build-logs/template-archlinux.log:

...
  --> Installing archlinux package groups...
    --> Selected packages: xorg xterm ethtool net-tools sudo wget diffutils ldns tmux vim terminus-font ttf-bitstream-vera 
...
installing ttf-bitstream-vera...
...

So the ttf-bitstream-vera package installed in replacement of font-bitstream-speedo.

I validate the solution and close this issue.