Can't build fbsplash kernel module. "libtool: warning: complete static linking is impossible in this configuration" (more details inside)

I’m trying to build fbsplash and it seems to go OK apart from one error.

libtool: warning: complete static linking is impossible in this configuration
In file included from kernel.c:23:
common.h:33: warning: "PATH_SYS" redefined
   33 |         #define PATH_SYS        FBSPLASH_DIR"/sys"
      |

I think it’s probably just a matter of changing a path or something in the PKGbuild, I’m just not experienced enough to know what this means.

What do you think?

During make I then get these errors.

Making install in .
  /usr/bin/mkdir -p '/home/ian/home/ian/newtmp/trizen-ian/fbsplash/pkg/fbsplash/usr/lib'
  /bin/sh ../libtool --silent  --mode=install /usr/bin/install -c   libfbsplash.la libfbsplashrender.la '/home/ian/home/ian/newtmp/trizen-ian/fbsplash/pkg/fbsplash/usr/lib'
 libtool: warning: relinking 'libfbsplashrender.la'
 libtool: warning: remember to run 'libtool --finish /usr/lib'
  /usr/bin/mkdir -p '/home/ian/home/ian/newtmp/trizen-ian/fbsplash/pkg/fbsplash/usr/bin'
   /bin/sh ../libtool --silent  --mode=install /usr/bin/install -c fbsplashctl fbcondecor_helper '/home/ian/home/ian/newtmp/trizen-ian/fbsplash/pkg/fbsplash/usr/bin'
 libtool: warning: 'libfbsplash.la' has not been installed in '/usr/lib'
  /usr/bin/mkdir -p '/home/ian/home/ian/newtmp/trizen-ian/fbsplash/pkg/fbsplash/usr/bin'
   /bin/sh ../libtool --silent  --mode=install /usr/bin/install -c fbcondecor_ctl fbsplashd splash_util '/home/ian/home/ian/newtmp/trizen-ian/fbsplash/pkg/fbsplash/usr/bin'
 libtool: warning: 'libfbsplashrender.la' has not been installed in '/usr/lib'
 libtool: warning: '/home/ian/home/ian/newtmp/trizen-ian/fbsplash/src/splashutils-1.5.4.4/src/libfbsplash.la' has not been installed in '/usr/lib'
 libtool: warning: 'libfbsplash.la' has not been installed in '/usr/lib'
 libtool: warning: 'libfbsplashrender.la' has not been installed in '/usr/lib'
 libtool: warning: '/home/ian/home/ian/newtmp/trizen-ian/fbsplash/src/splashutils-1.5.4.4/src/libfbsplash.la' has not been installed in '/usr/lib'
 libtool: warning: 'libfbsplash.la' has not been installed in '/usr/lib'
 libtool: warning: 'libfbsplashrender.la' has not been installed in '/usr/lib'
 libtool: warning: '/home/ian/home/ian/newtmp/trizen-ian/fbsplash/src/splashutils-1.5.4.4/src/libfbsplash.la' has not been installed in '/usr/lib'
 libtool: warning: 'libfbsplash.la' has not been installed in '/usr/lib'
  /usr/bin/mkdir -p '/home/ian/home/ian/newtmp/trizen-ian/fbsplash/pkg/fbsplash/usr/include'
  /usr/bin/install -c -m 644 fbsplash.h '/home/ian/home/ian/newtmp/trizen-ian/fbsplash/pkg/fbsplash/usr/include'
  /usr/bin/mkdir -p '/home/ian/home/ian/newtmp/trizen-ian/fbsplash/pkg/fbsplash/usr/lib/pkgconfig'
  /usr/bin/install -c -m 644 libfbsplash.pc libfbsplashrender.pc '/home/ian/home/ian/newtmp/trizen-ian/fbsplash/pkg/fbsplash/usr/lib/pkgconfig'

And during mkinitcpio I obviously get

==> ERROR: module not found: 'fbsplash'

Here’s the build log so you don’t tell me off for not including details

--------------------------------------------------------------------------------
:: Content of /home/user/home/user/newtmp/trizen-ian/fbsplash/PKGBUILD
--------------------------------------------------------------------------------

# Maintainer: nemesys <nemstar zoho com>
# Contributor: Heiko Baums <heiko@baums-on-web.de>
# Contributor: Kurt J. Bosch <kjb-temp-2009 at alpenjodel.de>

pkgname=fbsplash
pkgver=1.5.4.4
pkgrel=17
pkgdesc="A userspace implementation of a splash screen for Linux (formerly known as gensplash)"
arch=('x86_64')
url="https://sourceforge.net/projects/fbsplash.berlios/"
license=('GPL')
depends=('miscsplashutils' 'freetype2' 'libjpeg' 'libpng' 'libmng' 'lcms' 'gpm') 
optdepends=('linux-fbcondecor: enable console background images'
            'fbsplash-extras: additional functionality like daemon icons'
            'fbset: framebuffer setup utility'
            'uswsusp-fbsplash: suspend to disk with fbsplash'
            'python: convert themes from splashy to fbsplash')
conflicts=('fbsplash-scripts' 'initscripts-fork' 'mkinitcpio-fbsplash')
options=('!makeflags')
backup=('etc/conf.d/fbcondecor' 'etc/conf.d/splash')
install=fbsplash.install
source=(https://master.dl.sourceforge.net/project/fbsplash.berlios/splashutils-${pkgver}.tar.bz2
        splash_start_initcpio.patch
        splash.conf
        fbsplash-basic.sh
        fbsplash.initcpio_install
        fbsplash.initcpio_hook
        fbcondecor.daemon
        fbcondecor.conf
	fbsplash-freetype-fix.patch)

build() {
  cd "$srcdir/splashutils-$pkgver"

  autoreconf -i

  # fix fbcondecor_ctl splash type
  sed -e 's,fbsplash_lib_init(fbspl_bootup),fbsplash_lib_init(fbspl_undef),' -i src/fbcon_decor_ctl.c

  # switch fprintf to fputs
  sed -i '696,696 s/fprintf/fputs/g' src/libfbsplash.c

  # fix libdir
  sed -i "s:/lib/splash/cache:/usr/lib/splash/cache:g" debian/splashutils.dirs
  sed -i "s:/lib/splash/tmp:/usr/lib/splash/tmp:g" debian/splashutils.dirs
  sed -i "s:/lib/splash/cache:/usr/lib/splash/cache:g" debian/splash.conf
  sed -i "s:/lib/splash/cache:/usr/lib/splash/cache:g" debian/changelog
  sed -i "s:/lib/splash/tmp:/usr/lib/splash/tmp:g" debian/changelog
  sed -i "s:/lib/splash/cache:/usr/lib/splash/cache:g" docs/daemon
  sed -i "s:@libdir@/splash/cache:/usr/lib/splash/cache:g" scripts/splash-functions.sh.in
  sed -i "s:@libdir@/splash/tmp:/usr/lib/splash/tmp:g" scripts/splash-functions.sh.in
  sed -i "s:@libdir@/splash/bin:/usr/lib/splash/bin:g" scripts/splash-functions.sh.in
  sed -i "s:/lib/splash/cache:/usr/lib/splash/cache:g" src/daemon_cmd.c
  sed -i "s:@libdir@/splash/sys:/usr/lib/splash/sys:g" scripts/splash_geninitramfs.in
  sed -i "s:@libdir@/splash:/usr/lib/splash:g" scripts/splash_manager.in
  sed -i "s:@libdir@/splash:/usr/lib/splash:g" src/fbsplash.h.in

  sed -i '17 a #include <sys/sysmacros.h>' src/common.c

  # fix set_event_dev call for initcpio usage (if evdev module is there)
  patch -Np2 -i "$srcdir/splash_start_initcpio.patch"

  # patch to fix freetype error when compiling by removing static freetype.
  patch -Np1 -i "$srcdir/fbsplash-freetype-fix.patch"

  export LIBS="-lbz2"
  export LDFLAGS+=" -z muldefs"
  export LIBTOOL="/usr/bin/libtool/"

  ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc --without-klibc --enable-fbcondecor --with-gpm --with-mng --with-png --with-ttf --with-ttf-kernel
  make 
}

package() {
  cd "$srcdir/splashutils-$pkgver"

  make  DESTDIR="$pkgdir" sbindir="/usr/bin" eexecbindir="/usr/bin" eexecsbindir="/usr/bin" install

  cd "$pkgdir"

  # fix duplicate slashes to get splash_cache_cleanup grep to work
  sed -r -e 's,^(export spl_.*="/)/+,\1,' -i usr/bin/splash-functions.sh

  # fix the path to splash_util
  sed -r -e 's|sbin|usr/bin|g' -i usr/bin/splash{-functions.sh,_{geninitramfs,manager}} usr/share/doc/splashutils/{porting,early_bootup} usr/include/fbsplash.h

  # provide the mountpoint needed by splash-functions.sh
  install -m755 -d usr/lib/splash/{cache,tmp}
  install -m700 -d usr/lib/splash/sys

  # Install fbsplash scripts and config file
  install -D -m644 "$srcdir/splash.conf" "etc/conf.d/splash"
  install -D -m644 "$srcdir/fbsplash-basic.sh" "etc/rc.d/functions.d/fbsplash-basic.sh"
  install -D -m644 "$srcdir/fbsplash.initcpio_install" "usr/lib/initcpio/install/fbsplash"
  install -D -m644 "$srcdir/fbsplash.initcpio_hook" "usr/lib/initcpio/hooks/fbsplash"

  # Install fbcodecor script and config file
  install -D -m644 "$srcdir/fbcondecor.conf" "etc/conf.d/fbcondecor"
  install -D -m755 "$srcdir/fbcondecor.daemon" "etc/rc.d/fbcondecor"

  #Finish libtool setup.

  /usr/bin/libtool --finish "/usr/lib"
}
md5sums=('2a16704c4adde97b58812cd89e3f2342'
         '4045e315c52f5a576fca4f7e634eeb91'
         '7541820998613094ad6d7a893302b5db'
         'b5e6c08bbe7645a1c035565ea7d66437'
         '2860cc29d5da2ea65c810de068bcc262'
         'f65cf94d4d4959bb44cda5fa634ab405'
         '4b1bc27908fd763c57d8137035418d5c'
         'b3db9d4fd902b62ac9e38589677e2d16'
         '64cf5c9a86b595733e8f2f428a183419')

=>> Edit fbsplash/PKGBUILD? [y/N]: 
--------------------------------------------------------------------------------
:: Content of /home/user/home/user/newtmp/trizen-ian/fbsplash/fbcondecor.conf
--------------------------------------------------------------------------------

# /etc/conf.d/fbcondecor
#

## Virtual terminals to load with fbcondecor backgrounds
SPLASH_TTYS="1 2 3 4 5 6"

=>> Edit fbsplash/fbcondecor.conf? [y/N]: 
--------------------------------------------------------------------------------
:: Content of /home/user/home/user/newtmp/trizen-ian/fbsplash/fbcondecor.daemon
--------------------------------------------------------------------------------

#!/bin/bash

# /etc/rc.d/fbcondecor

# Set FbConDecor backgrounds
#

. /etc/rc.conf
. /etc/rc.d/functions.d/fbsplash-basic.sh
. /etc/conf.d/fbcondecor
. /usr/bin/splash-functions.sh

splash_setup force

retval=0
[ -z "${SPLASH_TTYS%% }" ] && retval=1
case "$1"
in start )
	if [ "${SPLASH_MODE_REQ}" != "off" ]; then
		stat_busy "Setting FBconDecor console images"
		for tty in ${SPLASH_TTYS}; do
			# avoid blinking on boot
			[[ "$( fbcondecor_ctl --tty=${tty} -c getstate )" == *\ on ]] && continue
			fbcondecor_set_theme ${SPLASH_THEME} ${tty} || retval=1
		done
		if [ $retval = 0 ]; then
			stat_done
		else
			stat_fail
		fi
	fi
;; stop )
	stat_busy "Disabling FBconDecor console images"
	for tty in ${SPLASH_TTYS}; do
		# avoid errors on restart
		[[ "$( fbcondecor_ctl --tty=${tty} -c getstate )" == *\ off ]] && continue
		fbcondecor_ctl --tty=${tty} -c off || retval=1
	done
	if [ $retval = 0 ]; then
		stat_done
	else
		stat_fail
	fi
;; restart )
	$0 stop
	sleep .1
	echo # don't swallow our status line
	$0 start
;; * )
	echo "usage: $0 {start|stop|restart}"
esac

exit 0

# EOF #

=>> Edit fbsplash/fbcondecor.daemon? [y/N]: 
--------------------------------------------------------------------------------
:: Content of /home/user/home/user/newtmp/trizen-ian/fbsplash/fbsplash-basic.sh
--------------------------------------------------------------------------------

#  /etc/rc.d/functions.d/fbsplash-basic.sh                                   #

#  Basic Fbsplash script for Arch Linux initscripts                          #
#                                                                            #
#  Author:                Kurt J. Bosch    <kjb-temp-2009 at alpenjodel.de>  #
#  Based on the work of   Greg Helton                <gt at fallendusk.org>  #
#                         Thomas Baechler         <thomas at archlinux.org>  #
#                         and others                                         #
#                                                                            #
#  Distributed under the terms of the GNU General Public License (GPL)       #

[[ $PREVLEVEL && $RUNLEVEL ]] || return 0

# Do nothing if advanced script is installed
[[ -r /etc/rc.d/functions.d/fbsplash-extras.sh ]] && return

# Only do this where needed
# Since we use BASH, all important functions and variables are exported
case ${0#/etc/rc.} in sysinit | multi | shutdown )
	# splash-functions.sh will run splash_setup which needs /proc
	# code line copied from /etc/rc.sysinit
	/bin/mountpoint -q /proc || /bin/mount -n -t proc proc /proc -o nosuid,noexec,nodev
	export SPLASH_PUSH_MESSAGES SPLASH_VERBOSE_ON_ERRORS
	. /usr/bin/splash-functions.sh # /etc/conf.d/splash is also sourced by this
	unset options opt i # eliminate splash_setup non local vars   ## FIX ME ##
	SPLASH_STEPS=3 # sysinit steps
	SPLASH_STEPS_DONE=0
esac

# Verbose mode is handled by fbcondecor kernel patch and daemon script
[[ $SPLASH_MODE_REQ = silent ]] || return 0

# Override - Don't try to use /usr/bin/basename
splash_comm_send() {
	[[ $( /bin/pidof -o %PPID $spl_daemon ) ]] && echo "$@" >$spl_fifo &
}

case $0 in /etc/rc.sysinit )
	# Prevent splash destruction
	CONSOLEFONT=""
	# Continue to use a splash daamon started in initcpio
	if /bin/mountpoint -q /run/.splash-cache; then
		/bin/mount --move /run/.splash-cache $spl_cachedir || return
		splash_comm_send set message "$SPLASH_BOOT_MESSAGE"
	# Mount a tmpfs
	else
		( splash_cache_prep ) || return
	fi
	add_hook sysinit_udevsettled  splash_sysinit_udevsettled
	add_hook sysinit_postfsck     splash_sysinit_postfsck
	add_hook sysinit_postfsckloop splash_sysinit_postfsck
	add_hook sysinit_premount     splash_sysinit_premount
	add_hook sysinit_end          splash_sysinit_end
	splash_sysinit_udevsettled() {
		splash_begin
		splash_progress_init
		splash_progress
	}
	splash_sysinit_premount() {
		splash_progress
	}
	splash_sysinit_postfsck() { # fsck failure emergency exit
		(( fsckret > 1 && fsckret != 32 )) && chvt 1
	}
	splash_sysinit_end() {
		splash_progress
	}
;; /etc/rc.multi )
	add_hook multi_start splash_multi_start
	add_hook multi_end   splash_multi_end
	splash_multi_start() {
		SPLASH_STEPS_DONE=$SPLASH_STEPS
		splash_progress_init
	}
	start_daemon() {
		[[ $1 = $SPLASH_XSERVICE ]] && SPLASH_EXIT_TYPE=staysilent splash_stop
		/etc/rc.d/$1 start
		splash_progress
	}
	start_daemon_bkgd() {
		[[ $1 = $SPLASH_XSERVICE ]] && SPLASH_EXIT_TYPE=staysilent splash_stop
		stat_bkgd "Starting $1"
		( SPLASH_PUSH_MESSAGES="no" SPLASH_VERBOSE_ON_ERRORS="no" \
			/etc/rc.d/$1 start ) &>/dev/null &
	}
	splash_multi_end() {
		if [[ $PREVLEVEL = N ]]; then
			if ! in_array "$SPLASH_XSERVICE" "${DAEMONS[@]}"; then
				if [[ $RUNLEVEL = 5 ]]; then
					SPLASH_EXIT_TYPE=staysilent splash_stop
				else
					splash_stop
					[[ $( $spl_bindir/fgconsole ) = $SPLASH_TTY ]] && chvt 1
				fi
			fi
			# Now do setfont
			/usr/lib/systemd/systemd-vconsole-setup
			# Umount the tmpfs
			splash_cache_cleanup
		fi
	}
;; /etc/rc.shutdown )
	( splash_cache_prep ) || return
	# Not using XSERVICE here to avoid missing errors - X should chvt back to SPLASH_TTY
	add_hook shutdown_start       splash_shutdown_start
	add_hook shutdown_prekillall  splash_shutdown_prekillall
	add_hook shutdown_postkillall splash_shutdown_postkillall
	add_hook shutdown_poweroff    splash_shutdown_poweroff
	splash_shutdown_start() {
		splash_begin
	}
	splash_shutdown_prekillall() {
		splash_comm_send progress $(( 65535*1/3 )); splash_comm_send paint
		[[ -r $spl_pidfile ]] && add_omit_pids $( <$spl_pidfile )
	}
	splash_shutdown_postkillall() {
		splash_comm_send progress $(( 65535*2/3 )); splash_comm_send paint
	}
	splash_shutdown_poweroff() {
		SPLASH_EXIT_TYPE=staysilent splash_stop
	}
esac

splash_progress_init() {
	for daemon in "${DAEMONS[@]}"; do
		case $daemon in $SPLASH_XSERVICE | @$SPLASH_XSERVICE ) break
		;; \!* |@* ) continue
		esac
		(( SPLASH_STEPS++ ))
	done
}

splash_progress() {
	splash_comm_send progress $(( 65535*++SPLASH_STEPS_DONE/SPLASH_STEPS ))
	splash_comm_send paint
}

# Start the splash daemon - using upstream function
splash_begin() {
	if ! [[ $( /bin/pidof -o %PPID $spl_daemon ) ]]; then
		stat_busy "Starting Fbsplash daemon"
		if [ -x /etc/splash/$SPLASH_THEME/scripts/rc_init-pre ]; then
			/etc/splash/$SPLASH_THEME/scripts/rc_init-pre ${0#/etc/rc.d} $RUNLEVEL
		fi &&
		splash_start &&
		stat_done || stat_fail
	fi
}

# Stop the splash daemon - if any
splash_stop() {
	if [[ $( /bin/pidof -o %PPID $spl_daemon ) ]]; then
		SPLASH_PUSH_MESSAGES="no" stat_busy "Stopping Fbsplash daemon"
		splash_comm_send progress 65535; splash_comm_send paint; /usr/bin/sleep .1
		splash_comm_send exit $SPLASH_EXIT_TYPE
		# Wait for painting/fadeout
		local -i i=0
		while [[ i++ -lt 100 && $( /bin/pidof -o %PPID $spl_daemon ) ]]; do
			/usr/bin/sleep .1
		done
		stat_done
	fi
}

stat_busy() {
	printf "${C_OTHER}${PREFIX_REG} ${C_MAIN}${1}${C_CLEAR} "
	printf "${SAVE_POSITION}"
	deltext
	printf "   ${C_OTHER}[${C_BUSY}BUSY${C_OTHER}]${C_CLEAR} "
	SPLASH_BUSY_MSG=$1
	if [[ $SPLASH_PUSH_MESSAGES = yes ]]; then
		splash_comm_send set message "${1}"
		splash_comm_send paint
	fi
}

stat_fail() {
	deltext
	printf "   ${C_OTHER}[${C_FAIL}FAIL${C_OTHER}]${C_CLEAR} \n"
	local event=stop_failed; [[ $PREVLEVEL = N ]] && event=start_failed
	# Provide a general failure status event and write to msglog textbox
	splash_comm_send update_svc fbsplash-dummy svc_${event}
	splash_comm_send log "Error $SPLASH_BUSY_MSG"
	splash_comm_send paint
	# Save for daemon restart                                     ## FIX ME ##
	if /bin/mountpoint -q $spl_cachedir; then
		: >|$spl_cachedir/${event}-fbsplash-dummy
	fi
	# Upstream way of error handling
	if [[ $SPLASH_VERBOSE_ON_ERRORS = yes ]]; then
		chvt 1
	fi
}

# EOF #

=>> Edit fbsplash/fbsplash-basic.sh? [y/N]: 
--------------------------------------------------------------------------------
:: Content of /home/user/home/user/newtmp/trizen-ian/fbsplash/fbsplash-freetype-fix.patch
--------------------------------------------------------------------------------

diff -ruN a/src/ttf.c b/src/ttf.c
--- a/src/ttf.c	2011-06-12 17:43:39.000000000 -0400
+++ b/src/ttf.c	2014-09-11 12:20:14.076012078 -0400
@@ -25,8 +25,8 @@
 #include <assert.h>
 
 #include <ft2build.h>
-#include <freetype/ftoutln.h>
-#include <freetype/ttnameid.h>
+#include FT_OUTLINE_H
+#include FT_TRUETYPE_IDS_H
 
 #include "common.h"
 #include "render.h"
diff -ruN a/src/ttf.h b/src/ttf.h
--- a/src/ttf.h	2011-06-12 17:43:39.000000000 -0400
+++ b/src/ttf.h	2014-09-11 12:20:14.069012078 -0400
@@ -1,8 +1,8 @@
 #ifndef _TTF_H
 #define _TTF_H
 #include <ft2build.h>
-#include <freetype/ftoutln.h>
-#include <freetype/ttnameid.h>
+#include FT_OUTLINE_H
+#include FT_TRUETYPE_IDS_H
 
 #define CACHED_METRICS  0x10
 #define CACHED_BITMAP   0x01

=>> Edit fbsplash/fbsplash-freetype-fix.patch? [y/N]: 
--------------------------------------------------------------------------------
:: Content of /home/user/home/user/newtmp/trizen-ian/fbsplash/fbsplash.initcpio_hook
--------------------------------------------------------------------------------

run_hook ()
{
	# avoid exporting configuration
	(
		SPLASH_INIT_MESSAGE="Initializing the kernel"
		# Get configuration and functions (faking sysinit for config file hacks)
		PREVLEVEL=N; RUNLEVEL=S
		. /usr/bin/splash-functions.sh
		unset PREVLEVEL RUNLEVEL

		[ "${SPLASH_MODE_REQ}" = "silent" ] || exit 0

		# Start the daemon here if possible
		# to show animations early and gain some bootup speed
		if [ -x "$spl_daemon" ]; then
			msg "Starting Fbsplash Daemon"
			set -e
			# Mount the cache within /run to get it moved to the new root
			mkdir /run/.splash-cache
			( spl_cachedir=/run/.splash-cache; splash_cache_prep )
			# Take over any existing cache content
			mkdir -p $spl_cachedir
			parent=$( dirname $spl_cachedir )
			mv $spl_cachedir $parent/.splash-cache
			cp -a $parent/.splash-cache /run/
			# Symlink for starting the daemon
			ln -s /run/.splash-cache $spl_cachedir
			# Wait for any fbcondecor fadein - may take very long on some broken systems
			i=0
			while [ -n "$( pidof fbcondecor_helper )" ]; do
				if [ $i -ge 50 ]; then
					err "timeout on waiting for fbcondecor_helper to die!"
					exit 1
				fi
				sleep .1
				i=$(( i + 1 ))
			done
			# Actually start the daemon
			cd /run/.splash-cache
			set +e
			SPLASH_BOOT_MESSAGE="${SPLASH_INIT_MESSAGE}"
			splash_start && sleep .1 # allow the daemon to open the event dev
			exit
		fi

		# Start the fbcondecor helper if not already done by fbcondecor kernel
		if ! fbcondecor_supported; then
			BOOT_MSG="${SPLASH_INIT_MESSAGE}" \
				/usr/bin/fbcondecor_helper 2 init 0 0 $SPLASH_THEME
		fi
	)
}

=>> Edit fbsplash/fbsplash.initcpio_hook? [y/N]: 
--------------------------------------------------------------------------------
:: Content of /home/user/home/user/newtmp/trizen-ian/fbsplash/fbsplash.initcpio_install
--------------------------------------------------------------------------------

build() {
	# Add config file, splash-functions and the helper
	add_file   /etc/conf.d/splash
	add_file   /usr/bin/splash-functions.sh
	add_binary /usr/bin/fbcondecor_helper

	# Get in configuration, parameters and functions
	. /etc/conf.d/splash
	. /usr/bin/splash-functions.sh

	# Unmount any stale cache tmpfs
	splash_cache_cleanup

	SPLASH_PROFILE=off

	if [[ $SPLASH_DAEMON = early ]]; then
		# Add stuff needed to run splash_start function (except optional evdev module)
		add_dir    $spl_tmpdir
		add_binary $spl_daemon
		if [[ -e /etc/rc.d/functions.d/fbsplash-extras.sh ]]; then
			. /etc/rc.d/functions.d/fbsplash-extras.sh
			# Add files from a prepared cache (faking sysinit)
			splash_cache_prep_initcpio && add_full_dir $spl_cachedir
		fi
	fi

	# List file paths contained in given Fbsplash theme cfg files
	# (Only file paths containing at least one slash will be found by this.)
	fbsplash_list_paths() {
		(( $# )) || return 0
		/bin/sed -re '
			# convert all whitespace into single blanks
			s,[[:space:]]+, ,g ; t L1
			:L1
			# drop comments, grouping directives and blank lines
			/^ *([#<]|$)/ d
			# get a filepath or drop
			s,.*[ =]([^ ]*/[^ ]+).*,\1, ; t ; d
		' "$@" | /usr/bin/sort -u
	}

	# Check if arg is a theme cfg file path
	fbsplash_is_cfg() {
		[[ $1 =~ ^/etc/splash/[^/]+/[0-9]+x[0-9]+\.cfg$ ]]
	}

	# Add all files referenced by path in given theme cfg files
	# args: <theme-root-dir> <cfg-file>...
	fbsplash_add_files_from_cfgs() {
		local file theme_dir=$1; shift
		while read file; do
			if [[ $file == /* ]]; then
				add_file $file
			else # Path may be relative to /etc/splash or theme-dir
				local found=0
				for file in /etc/splash/$file "$theme_dir"/$file; do
					[[ -f $file ]] && { add_file $file; found=1; }
				done
				(( found )) || error "Theme '${theme_dir##*/}': File not found: '$file'"
			fi
		done < <( fbsplash_list_paths "$@" )
	}

	# Add common files (may be referenced in cfg by plain file name)
	local file
	for file in /etc/splash/*; do
		[[ -f $file ]] && add_file "$file"
	done

	# Add themes
	local file theme
	for theme in $SPLASH_THEMES; do
		if [[ -d /etc/splash/$theme && $theme != */* ]]; then
			add_full_dir /etc/splash/$theme
			local files=()
			for file in /etc/splash/$theme/*.cfg; do
				[[ -f $file ]] && fbsplash_is_cfg "$file" && files+=( $file )
			done
			fbsplash_add_files_from_cfgs /etc/splash/$theme "${files[@]}"
		elif [[ -f /etc/splash/$theme ]] && fbsplash_is_cfg /etc/splash/$theme; then
			file=/etc/splash/$theme; theme=${theme%/*}
			add_file $file
			fbsplash_add_files_from_cfgs /etc/splash/$theme $file
			# Add all non-cfg files from theme dir (may be referenced by plain file name)
			for file in /etc/splash/$theme/*; do
				[[ -f $file ]] && ! fbsplash_is_cfg "$file" && add_file "$file"
			done
		else
			error "Theme invalid or not found: '$theme'"
		fi
	done

	add_runscript fbsplash
}

help() {
cat<<HELPEOF
  This hook adds the FBconDecor helper and Fbsplash themes and maybe the
  Fbsplash daemon as specified in /etc/conf.d/splash.
HELPEOF
}

#EOF

=>> Edit fbsplash/fbsplash.initcpio_install? [y/N]: 
--------------------------------------------------------------------------------
:: Content of /home/user/home/user/newtmp/trizen-ian/fbsplash/fbsplash.install
--------------------------------------------------------------------------------

post_install() {
	echo "------------------------------------------------------------"
	echo "> This package doesn't contain a default theme."
	echo "> You need to install one separately."
        echo "> To find some themes, just search AUR for \"fbsplash-theme\","
        echo "> or GNOME-Look.org or KDE-Look.org for \"fbsplash\"."
        echo "------------------------------------------------------------"
        echo "> Configuration for fbsplash: /etc/conf.d/splash"
        echo "> Configuration for fbcondecor: /etc/conf.d/fbcondecor"
	echo "------------------------------------------------------------"
        echo "> Remember to rebuild the initrd after changing the"
        echo "> configuration."
        echo "------------------------------------------------------------"
	echo "> Please read http://wiki.archlinux.org/index.php/Fbsplash"
	echo "> for more details."
	echo "------------------------------------------------------------"
}

post_upgrade() {
	if [ -d /lib/splash/sys ]; then
	  rm -r /lib/splash/sys
	fi
	if [ ! "$(ls -A /lib/splash)" ]; then
	  rmdir /lib/splash
	fi
	post_install
}

op=$1
shift
$op $*

#EOF

=>> Edit fbsplash/fbsplash.install? [y/N]: 
--------------------------------------------------------------------------------
:: Content of /home/user/home/user/newtmp/trizen-ian/fbsplash/splash.conf
--------------------------------------------------------------------------------

#
# /etc/conf.d/splash
#

####  WARNING!
## This file is also sourced in the initcpio hook.
## No BASH-code (like arrays) is allowed here!

####  initcpio and Fbsplash daemon  ##########################################

## Themes to include into initcpio
## For a smaller initcpio you may try theme cfg files instead of directories.
## Add theme names between the quotes of SPLASH_THEMES="". The ones listed are examples of 
## Arch Linux Fbsplash themes that can be installed. Once installed then move the theme up into the ""
## You can also download or create more themes and add them into the /etc/splash/ directory and then enter them below.
## Be sure that image canvas size matches image internal resolution, or else you will not have a console background.
## In otherwords, if you upscale an image to your desired resolution, use the linux `file` command on the output image, 
## To see if the dimensions were changed correctly.
## To make all of this easier, it helps to use the GIMP to do image resizes.
SPLASH_THEMES=""
##    arch-black
##    arch-banner-icons/1024x768.cfg
##    arch-banner-icons/1280x800.cfg
##    arch-banner-noicons/1024x768.cfg
##    arch-banner-noicons/1280x800.cfg

## Override the initial silent splash screen status message defaults.
## Note: '$progress' will be replaced by Fbsplash itself.
## * initcpio - (no effect with fbcondecor kernel)
SPLASH_INIT_MESSAGE="Initializing the kernel"
## * bootup
SPLASH_BOOT_MESSAGE="Booting '$HOSTNAME' (\$progress%)"
## * reboot
SPLASH_REBOOT_MESSAGE="Rebooting '$HOSTNAME' (\$progress%)"
## * shutdown
SPLASH_SHUTDOWN_MESSAGE="Shutting down '$HOSTNAME' (\$progress%)"

## Include and use the Fbsplash daemon (1.5 MiB) in the initcpio
## instead of the small helper only.
## Usefull to show animations early.
## Note: Themes with 'scripts/rc_init-pre' like 'arch-banner-icons' are
##       supported now if fbsplash-extras>=2.0.10 is installed, but there
##       might still be some sophisticated ones which break when using this.
SPLASH_DAEMON="early"

## Make the splash daemon use fade effects.
## Note: The initcpio helper does only use the kernel parameter!
# Just use fadein on bootup and fadeout on shutdown/reboot
case $PREVLEVEL in  N   ) SPLASH_EFFECTS="fadein" ; esac
case  $RUNLEVEL in [06] ) SPLASH_EFFECTS="fadeout"; esac
# Uncomment this line to allways use both
# SPLASH_EFFECTS="fadein,fadeout"

## Enable the textbox when starting the Fbsplash daemon.
## Useful if the theme provides a message log or other textbox.
## The scripts write any initscripts [FAIL] messages to the log.
## Note: The textbox can also be toggled by pressing F3-key.
SPLASH_TEXTBOX="yes"

## Splash progress timeout
## If set to a positive value, Fbsplash will automatically switch to verbose
## mode if there is no progress for the specified number of seconds.
SPLASH_AUTOVERBOSE=0

####  scripts behaviour  #####################################################

## Change to verbose mode on any initscripts [FAIL] message
## Useful with very simple themes and also when starting Xorg from DAEMONS
SPLASH_VERBOSE_ON_ERRORS="no"

## Name of the DAEMONS script starting Xorg if any
## Set this to avoid virtual terminal change struggle between X and Fbsplash.
SPLASH_XSERVICE="gdm"
#SPLASH_XSERVICE="kdm"
#SPLASH_XSERVICE="xdm"
#SPLASH_XSERVICE="lxdm"
#SPLASH_XSERVICE="slim"

## Push initscripts [BUSY] messages to the splash status message line.
SPLASH_PUSH_MESSAGES="no"

# EOF #

=>> Edit fbsplash/splash.conf? [y/N]: 
--------------------------------------------------------------------------------
:: Content of /home/user/home/user/newtmp/trizen-ian/fbsplash/splash_start_initcpio.patch
--------------------------------------------------------------------------------

diff -ru src.orig//splashutils-1.5.4.3/scripts/splash-functions.sh.in src//splashutils-1.5.4.3/scripts/splash-functions.sh.in
--- src.orig//splashutils-1.5.4.3/scripts/splash-functions.sh.in	2008-11-13 20:54:19.000000000 +0100
+++ src//splashutils-1.5.4.3/scripts/splash-functions.sh.in	2011-03-03 09:45:29.258901793 +0100
@@ -250,6 +250,9 @@
 	# Start the splash daemon
 	BOOT_MSG="$(splash_get_boot_message)" ${spl_daemon} --theme="${SPLASH_THEME}" --pidfile="${spl_pidfile}" --type=${ttype} ${options}

+	# First let the daemon open the event dev before it's gone away in case this is run in the initcpio
+	splash_set_event_dev
+
 	# Set the silent TTY and boot message
 	splash_comm_send "set tty silent ${SPLASH_TTY}"

@@ -261,8 +264,6 @@

 	splash_comm_send "set autoverbose ${SPLASH_AUTOVERBOSE}"

-	splash_set_event_dev
-
 	return 0
 }

=>> Edit fbsplash/splash_start_initcpio.patch? [y/N]: 


Repository      : AUR
Name            : fbsplash
Version         : 1.5.4.4-17
Maintainer      : nemstar
URL             : https://sourceforge.net/projects/fbsplash.berlios/
AUR URL         : https://aur.archlinux.org/packages/fbsplash
License         : GPL
Votes           : 0
Popularity      : 0%
Installed       : No
Out Of Date     : No
Depends On      : miscsplashutils
                  freetype2
                  libjpeg
                  libpng
                  libmng
                  gpm
                  lcms
Make Deps       : None
Check Deps      : None
Optional Deps   : fbset: framebuffer setup utility
                  python: convert themes from splashy to fbsplash
                  linux-fbcondecor: enable console background images
                  fbsplash-extras: additional functionality like daemon icons
                  uswsusp-fbsplash: suspend to disk with fbsplash
Provides        : None
Conflicts With  : fbsplash-scripts
                  initscripts-fork
                  mkinitcpio-fbsplash
Replaces        : None
Package Base    : fbsplash
Last Update     : Mon Feb 21 15:58:53 2022
Description     : A userspace implementation of a splash screen for Linux (formerly known as gensplash)


:: Pacman command: /usr/bin/sudo /usr/bin/pacman /home/user/home/user/newtmp/trizen-ian/lcms/lcms-1.19-7-x86_64.pkg.tar.zst -U --asdeps
Swipe your finger across the fingerprint reader
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) lcms-1.19-7

Total Installed Size:  0.51 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                                                  [------------------------------------------------------------------------------] 100%
(1/1) checking package integrity                                                                                                [------------------------------------------------------------------------------] 100%
(1/1) loading package files                                                                                                     [------------------------------------------------------------------------------] 100%
(1/1) checking for file conflicts                                                                                               [------------------------------------------------------------------------------] 100%
(1/1) checking available disk space                                                                                             [------------------------------------------------------------------------------] 100%
:: Processing package changes...
(1/1) installing lcms                                                                                                           [------------------------------------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Making package: fbsplash 1.5.4.4-17 (Mon 14 Aug 2023 12:12:26 BST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found splashutils-1.5.4.4.tar.bz2
  -> Found splash_start_initcpio.patch
  -> Found splash.conf
  -> Found fbsplash-basic.sh
  -> Found fbsplash.initcpio_install
  -> Found fbsplash.initcpio_hook
  -> Found fbcondecor.daemon
  -> Found fbcondecor.conf
  -> Found fbsplash-freetype-fix.patch
==> Validating source files with md5sums...
    splashutils-1.5.4.4.tar.bz2 ... Passed
    splash_start_initcpio.patch ... Passed
    splash.conf ... Passed
    fbsplash-basic.sh ... Passed
    fbsplash.initcpio_install ... Passed
    fbsplash.initcpio_hook ... Passed
    fbcondecor.daemon ... Passed
    fbcondecor.conf ... Passed
    fbsplash-freetype-fix.patch ... Passed
==> Extracting sources...
  -> Extracting splashutils-1.5.4.4.tar.bz2 with bsdtar
==> Starting build()...
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltversion.m4'
configure.ac:29: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:29: You should run autoupdate.
m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
configure.ac:29: the top level
configure.ac:80: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:80: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:80: the top level
configure.ac:97: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:97: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:97: the top level
configure.ac:114: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:114: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:114: the top level
configure.ac:131: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:131: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:131: the top level
configure.ac:148: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:148: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:148: the top level
configure.ac:165: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:165: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:165: the top level
configure.ac:182: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:182: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:182: the top level
configure.ac:199: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:199: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:199: the top level
configure.ac:216: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:216: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:216: the top level
configure.ac:233: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:233: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:233: the top level
configure.ac:354: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:354: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:354: the top level
configure.ac:27: installing './compile'
src/Makefile.am:53: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/test/Makefile.am:5: warning: source file '../parse.c' is in a subdirectory,
src/test/Makefile.am:5: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least one source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled.  For now, the corresponding output
automake: object file(s) will be placed in the top-level directory.  However, this
automake: behavior may change in a future Automake major version, with object
automake: files being placed in the same subdirectory as the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
parallel-tests: installing './test-driver'
patching file scripts/splash-functions.sh.in
patching file src/ttf.c
patching file src/ttf.h
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/user/home/user/newtmp/trizen-ian/fbsplash/src/splashutils-1.5.4.4/missing: Unknown `--is-lightweight' option
Try `/home/user/home/user/newtmp/trizen-ian/fbsplash/src/splashutils-1.5.4.4/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for gcc... gcc
checking for klcc... no
configure: WARNING: could not determine compiler to use when building against klibc.
checking for math.h... yes
checking for ceilf in -lm... yes
checking for time.h... yes
checking for clock_gettime in -lrt... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking for pthread.h... (cached) yes
checking for xxpthread_create in -lpthread... no
checking for pthread_create in -lpthread... (cached) yes
checking for jpeglib.h... yes
checking for jpeg_set_defaults in -ljpeg... yes
checking for gpm.h... yes
checking for Gpm_Open in -lgpm... yes
checking for libmng.h... yes
checking for mng_initialize in -lmng... yes
checking for zlibVersion in -lz... yes
checking for cmsCloseProfile in -llcms... yes
checking for libpng-config... /usr/bin/libpng-config
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for FREETYPE2... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating libs/Makefile
config.status: creating misc/Makefile
config.status: creating src/test/Makefile
config.status: creating docs/Makefile
config.status: creating scripts/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make --silent all-recursive
Making all in libs
Making all in src
  CREATE  fbsplash.h
Making all in .
daemon_cmd.c: In function ‘cmd_log’:
daemon_cmd.c:350:17: warning: implicit declaration of function ‘list_ringadd’; did you mean ‘list_add’? [-Wimplicit-function-declaration]
  350 |                 list_ringadd(&theme->msglog, strndup(args[0], theme->log_cols));
      |                 ^~~~~~~~~~~~
      |                 list_add
daemon.c: In function ‘thf_switch_ttymon’:
daemon.c:476:17: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  476 |                 read(fd_tty[config.tty_s], &ret, 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
daemon.c: In function ‘daemon_start’:
daemon.c:652:9: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  652 |         chdir("/");
      |         ^~~~~~~~~~
daemon.c:578:52: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 122 [-Wformat-truncation=]
  578 |                         snprintf(name, 128, "/proc/%s/stat", namelist[n]->d_name);
      |                                                    ^~
In file included from /usr/include/stdio.h:964,
                 from daemon.c:15:
In function ‘snprintf’,
    inlined from ‘daemon_check_running’ at daemon.c:578:4,
    inlined from ‘daemon_start’ at daemon.c:606:33:
/usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 12 and 267 bytes into a destination of size 128
   54 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   55 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
util.c: In function ‘util_main’:
util.c:177:25: warning: statement will never be executed [-Wswitch-unreachable]
  177 |                 theme = fbsplashr_theme_load();
      |                         ^~~~~~~~~~~~~~~~~~~~~~
libfbsplashrender.c: In function 'fbsplashr_theme_load':
libfbsplashrender.c:510:25: warning: implicit declaration of function 'obj_visibility_set' [-Wimplicit-function-declaration]
  510 |                         obj_visibility_set(st, co, true);
      |                         ^~~~~~~~~~~~~~~~~~
libfbsplashrender.c: In function 'fbsplashr_input_init':
libfbsplashrender.c:216:33: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
  216 |                                 fscanf(fp, "%x", &ev);
      |                                 ^~~~~~~~~~~~~~~~~~~~~
libfbsplashrender.c: In function 'fbsplashr_tty_silent_init':
libfbsplashrender.c:627:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  627 |                 write(fd, "\e[H\e[2J", 7);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
libfbsplashrender.c: In function 'vt_cursor_disable':
libfbsplashrender.c:593:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  593 |         write(fd, "\e[?25l\e[?1c", 11);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libfbsplashrender.c: In function 'vt_cursor_enable':
libfbsplashrender.c:598:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  598 |         write(fd, "\e[?25h\e[?0c", 11);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
common.c: In function 'dev_create':
common.c:48:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
   48 |         read(fd, buf, 256);
      |         ^~~~~~~~~~~~~~~~~~
image.c: In function 'is_png':
image.c:171:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
  171 |         fread(header, 1, 8, fp);
      |         ^~~~~~~~~~~~~~~~~~~~~~~
ttf.c: In function 'UTF8_to_UNICODE':
ttf.c:282:32: warning: overflow in conversion from 'int' to 'short unsigned int' changes value from '(int)(short unsigned int)*(utf8 + (sizetype)i) << 18 & 1835008' to '0' [-Woverflow]
  282 |                         ch  =  (unsigned short)(utf8[i]&0x07) << 18;
      |                                ^
ttf.c: In function 'text_get_output':
ttf.c:676:9: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result]
  676 |         pipe(pfds);
      |         ^~~~~~~~~~
ttf.c:687:17: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result]
  687 |                 dup(pfds[1]);
      |                 ^~~~~~~~~~~~
libfbsplash.c: In function 'fbsplash_send':
libfbsplash.c:696:15: warning: passing argument 1 of 'fputs' from incompatible pointer type [-Wincompatible-pointer-types]
  696 |         fputs(fp_fifo, cmd);
      |               ^~~~~~~
      |               |
      |               FILE *
In file included from libfbsplash.c:12:
/usr/include/stdio.h:713:42: note: expected 'const char * restrict' but argument is of type 'FILE *'
  713 | extern int fputs (const char *__restrict __s, FILE *__restrict __stream);
      |                   ~~~~~~~~~~~~~~~~~~~~~~~^~~
libfbsplash.c:696:24: warning: passing argument 2 of 'fputs' from incompatible pointer type [-Wincompatible-pointer-types]
  696 |         fputs(fp_fifo, cmd);
      |                        ^~~
      |                        |
      |                        char *
/usr/include/stdio.h:713:64: note: expected 'FILE * restrict' but argument is of type 'char *'
  713 | extern int fputs (const char *__restrict __s, FILE *__restrict __stream);
      |                                               ~~~~~~~~~~~~~~~~~^~~~~~~~
libfbsplash.c: In function 'fbsplash_parse_kcmdline':
libfbsplash.c:177:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  177 |         fgets(buf, 1024, fp);
      |         ^~~~~~~~~~~~~~~~~~~~
libfbsplash.c: In function 'fbsplash_cache_cleanup':
libfbsplash.c:498:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result]
  498 |         system("/bin/sed -i -e '\\#"FBSPLASH_CACHEDIR"# d' /etc/mtab");
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libfbsplash.c: In function 'fbsplash_check_sanity':
libfbsplash.c:571:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  571 |         fgets(buf, 128, fp);
      |         ^~~~~~~~~~~~~~~~~~~
libfbsplash.c: In function 'fbsplash_set_evdev':
libfbsplash.c:615:25: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  615 |                         fgets(buf, 128, fp);
      |                         ^~~~~~~~~~~~~~~~~~~
libfbsplash.c: In function 'fbsplash_profile':
libfbsplash.c:650:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
  650 |         fscanf(fp, "%f", &uptime);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
libtool: warning: complete static linking is impossible in this configuration
In file included from kernel.c:23:
common.h:33: warning: "PATH_SYS" redefined
   33 |         #define PATH_SYS        FBSPLASH_DIR"/sys"
      | 
common.h:30: note: this is the location of the previous definition
   30 | #define PATH_SYS        "/sys"
      | 
common.h:34: warning: "PATH_PROC" redefined
   34 |         #define PATH_PROC       FBSPLASH_DIR"/proc"
      | 
common.h:29: note: this is the location of the previous definition
   29 | #define PATH_PROC       "/proc"
      | 
kernel.c: In function ‘handle_init’:
kernel.c:63:9: warning: implicit declaration of function ‘mkdir’ [-Wimplicit-function-declaration]
   63 |         mkdir(PATH_PROC,0700);
      |         ^~~~~
kernel.c:64:13: warning: implicit declaration of function ‘mount’ [-Wimplicit-function-declaration]
   64 |         h = mount("proc", PATH_PROC, "proc", 0, NULL);
      |             ^~~~~
kernel.c:67:17: warning: implicit declaration of function ‘umount’ [-Wimplicit-function-declaration]
   67 |                 umount(PATH_PROC);
      |                 ^~~~~~
kernel.c: In function ‘main’:
kernel.c:239:17: warning: implicit declaration of function ‘umount2’ [-Wimplicit-function-declaration]
  239 |                 umount2(PATH_SYS, 0);
      |                 ^~~~~~~
In file included from libfbsplash.c:32:
common.h:33: warning: "PATH_SYS" redefined
   33 |         #define PATH_SYS        FBSPLASH_DIR"/sys"
      | 
common.h:30: note: this is the location of the previous definition
   30 | #define PATH_SYS        "/sys"
      | 
common.h:34: warning: "PATH_PROC" redefined
   34 |         #define PATH_PROC       FBSPLASH_DIR"/proc"
      | 
common.h:29: note: this is the location of the previous definition
   29 | #define PATH_PROC       "/proc"
      | 
libfbsplash.c: In function ‘fbsplash_parse_kcmdline’:
libfbsplash.c:177:9: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  177 |         fgets(buf, 1024, fp);
      |         ^~~~~~~~~~~~~~~~~~~~
In file included from libfbsplashrender.c:27:
common.h:33: warning: "PATH_SYS" redefined
   33 |         #define PATH_SYS        FBSPLASH_DIR"/sys"
      | 
common.h:30: note: this is the location of the previous definition
   30 | #define PATH_SYS        "/sys"
      | 
common.h:34: warning: "PATH_PROC" redefined
   34 |         #define PATH_PROC       FBSPLASH_DIR"/proc"
      | 
common.h:29: note: this is the location of the previous definition
   29 | #define PATH_PROC       "/proc"
      | 
libfbsplashrender.c: In function ‘fbsplashr_theme_load’:
libfbsplashrender.c:510:25: warning: implicit declaration of function ‘obj_visibility_set’ [-Wimplicit-function-declaration]
  510 |                         obj_visibility_set(st, co, true);
      |                         ^~~~~~~~~~~~~~~~~~
libfbsplashrender.c: In function ‘fbsplashr_tty_silent_init’:
libfbsplashrender.c:627:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  627 |                 write(fd, "\e[H\e[2J", 7);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
libfbsplashrender.c: In function ‘vt_cursor_disable’:
libfbsplashrender.c:593:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  593 |         write(fd, "\e[?25l\e[?1c", 11);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libfbsplashrender.c: In function ‘vt_cursor_enable’:
libfbsplashrender.c:598:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  598 |         write(fd, "\e[?25h\e[?0c", 11);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from fbcon_decor.c:23:
common.h:33: warning: "PATH_SYS" redefined
   33 |         #define PATH_SYS        FBSPLASH_DIR"/sys"
      | 
common.h:30: note: this is the location of the previous definition
   30 | #define PATH_SYS        "/sys"
      | 
common.h:34: warning: "PATH_PROC" redefined
   34 |         #define PATH_PROC       FBSPLASH_DIR"/proc"
      | 
common.h:29: note: this is the location of the previous definition
   29 | #define PATH_PROC       "/proc"
      | 
In file included from common.c:27:
common.h:33: warning: "PATH_SYS" redefined
   33 |         #define PATH_SYS        FBSPLASH_DIR"/sys"
      | 
common.h:30: note: this is the location of the previous definition
   30 | #define PATH_SYS        "/sys"
      | 
common.h:34: warning: "PATH_PROC" redefined
   34 |         #define PATH_PROC       FBSPLASH_DIR"/proc"
      | 
common.h:29: note: this is the location of the previous definition
   29 | #define PATH_PROC       "/proc"
      | 
common.c: In function ‘dev_create’:
common.c:48:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   48 |         read(fd, buf, 256);
      |         ^~~~~~~~~~~~~~~~~~
In file included from parse.c:17:
common.h:33: warning: "PATH_SYS" redefined
   33 |         #define PATH_SYS        FBSPLASH_DIR"/sys"
      | 
common.h:30: note: this is the location of the previous definition
   30 | #define PATH_SYS        "/sys"
      | 
common.h:34: warning: "PATH_PROC" redefined
   34 |         #define PATH_PROC       FBSPLASH_DIR"/proc"
      | 
common.h:29: note: this is the location of the previous definition
   29 | #define PATH_PROC       "/proc"
      | 
In file included from list.c:12:
common.h:33: warning: "PATH_SYS" redefined
   33 |         #define PATH_SYS        FBSPLASH_DIR"/sys"
      | 
common.h:30: note: this is the location of the previous definition
   30 | #define PATH_SYS        "/sys"
      | 
common.h:34: warning: "PATH_PROC" redefined
   34 |         #define PATH_PROC       FBSPLASH_DIR"/proc"
      | 
common.h:29: note: this is the location of the previous definition
   29 | #define PATH_PROC       "/proc"
      | 
In file included from render.c:30:
common.h:33: warning: "PATH_SYS" redefined
   33 |         #define PATH_SYS        FBSPLASH_DIR"/sys"
      | 
common.h:30: note: this is the location of the previous definition
   30 | #define PATH_SYS        "/sys"
      | 
common.h:34: warning: "PATH_PROC" redefined
   34 |         #define PATH_PROC       FBSPLASH_DIR"/proc"
      | 
common.h:29: note: this is the location of the previous definition
   29 | #define PATH_PROC       "/proc"
      | 
In file included from image.c:31:
common.h:33: warning: "PATH_SYS" redefined
   33 |         #define PATH_SYS        FBSPLASH_DIR"/sys"
      | 
common.h:30: note: this is the location of the previous definition
   30 | #define PATH_SYS        "/sys"
      | 
common.h:34: warning: "PATH_PROC" redefined
   34 |         #define PATH_PROC       FBSPLASH_DIR"/proc"
      | 
common.h:29: note: this is the location of the previous definition
   29 | #define PATH_PROC       "/proc"
      | 
image.c: In function ‘is_png’:
image.c:171:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  171 |         fread(header, 1, 8, fp);
      |         ^~~~~~~~~~~~~~~~~~~~~~~
In file included from effects.c:17:
common.h:33: warning: "PATH_SYS" redefined
   33 |         #define PATH_SYS        FBSPLASH_DIR"/sys"
      | 
common.h:30: note: this is the location of the previous definition
   30 | #define PATH_SYS        "/sys"
      | 
common.h:34: warning: "PATH_PROC" redefined
   34 |         #define PATH_PROC       FBSPLASH_DIR"/proc"
      | 
common.h:29: note: this is the location of the previous definition
   29 | #define PATH_PROC       "/proc"
      | 
In file included from ttf.c:31:
common.h:33: warning: "PATH_SYS" redefined
   33 |         #define PATH_SYS        FBSPLASH_DIR"/sys"
      | 
common.h:30: note: this is the location of the previous definition
   30 | #define PATH_SYS        "/sys"
      | 
common.h:34: warning: "PATH_PROC" redefined
   34 |         #define PATH_PROC       FBSPLASH_DIR"/proc"
      | 
common.h:29: note: this is the location of the previous definition
   29 | #define PATH_PROC       "/proc"
      | 
ttf.c:40:5: warning: conflicting types for built-in function ‘ceil’; expected ‘double(double)’ [-Wbuiltin-declaration-mismatch]
   40 | int ceil(float a)
      |     ^~~~
ttf.c:33:1: note: ‘ceil’ is declared in header ‘<math.h>’
   32 | #include "render.h"
  +++ |+#include <math.h>
   33 | 
ttf.c: In function ‘UTF8_to_UNICODE’:
ttf.c:282:32: warning: overflow in conversion from ‘int’ to ‘short unsigned int’ changes value from ‘(int)(short unsigned int)*(utf8 + (sizetype)i) << 18 & 1835008’ to ‘0’ [-Woverflow]
  282 |                         ch  =  (unsigned short)(utf8[i]&0x07) << 18;
      |                                ^
ttf.c: In function ‘text_get_output’:
ttf.c:676:9: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  676 |         pipe(pfds);
      |         ^~~~~~~~~~
ttf.c:687:17: warning: ignoring return value of ‘dup’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  687 |                 dup(pfds[1]);
      |                 ^~~~~~~~~~~~
daemon_cmd.c: In function ‘cmd_log’:
daemon_cmd.c:350:17: warning: implicit declaration of function ‘list_ringadd’; did you mean ‘list_add’? [-Wimplicit-function-declaration]
  350 |                 list_ringadd(&theme->msglog, strndup(args[0], theme->log_cols));
      |                 ^~~~~~~~~~~~
      |                 list_add
daemon.c: In function ‘thf_switch_ttymon’:
daemon.c:476:17: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  476 |                 read(fd_tty[config.tty_s], &ret, 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
daemon.c: In function ‘daemon_start’:
daemon.c:652:9: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  652 |         chdir("/");
      |         ^~~~~~~~~~
daemon.c:578:52: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 122 [-Wformat-truncation=]
  578 |                         snprintf(name, 128, "/proc/%s/stat", namelist[n]->d_name);
      |                                                    ^~
In file included from /usr/include/stdio.h:964,
                 from daemon.c:15:
In function ‘snprintf’,
    inlined from ‘daemon_check_running’ at daemon.c:578:4,
    inlined from ‘daemon_start’ at daemon.c:606:33:
/usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 12 and 267 bytes into a destination of size 128
   54 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   55 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
util.c: In function ‘util_main’:
util.c:177:25: warning: statement will never be executed [-Wswitch-unreachable]
  177 |                 theme = fbsplashr_theme_load();
      |                         ^~~~~~~~~~~~~~~~~~~~~~
  CREATE  libfbsplash.pc
  CREATE  libfbsplashrender.pc
Making all in test
Making all in docs
Making all in misc
Making all in scripts
==> Entering fakeroot environment...
==> Starting package()...
Making install in libs
Making install in src
Making install in .
 /usr/bin/mkdir -p '/home/user/home/user/newtmp/trizen-ian/fbsplash/pkg/fbsplash/usr/lib'
 /bin/sh ../libtool --silent  --mode=install /usr/bin/install -c   libfbsplash.la libfbsplashrender.la '/home/user/home/user/newtmp/trizen-ian/fbsplash/pkg/fbsplash/usr/lib'
libtool: warning: relinking 'libfbsplashrender.la'
libtool: warning: remember to run 'libtool --finish /usr/lib'
 /usr/bin/mkdir -p '/home/user/home/user/newtmp/trizen-ian/fbsplash/pkg/fbsplash/usr/bin'
  /bin/sh ../libtool --silent  --mode=install /usr/bin/install -c fbsplashctl fbcondecor_helper '/home/user/home/user/newtmp/trizen-ian/fbsplash/pkg/fbsplash/usr/bin'
libtool: warning: 'libfbsplash.la' has not been installed in '/usr/lib'
 /usr/bin/mkdir -p '/home/user/home/user/newtmp/trizen-ian/fbsplash/pkg/fbsplash/usr/bin'
  /bin/sh ../libtool --silent  --mode=install /usr/bin/install -c fbcondecor_ctl fbsplashd splash_util '/home/user/home/user/newtmp/trizen-ian/fbsplash/pkg/fbsplash/usr/bin'
libtool: warning: 'libfbsplashrender.la' has not been installed in '/usr/lib'
libtool: warning: '/home/user/home/user/newtmp/trizen-ian/fbsplash/src/splashutils-1.5.4.4/src/libfbsplash.la' has not been installed in '/usr/lib'
libtool: warning: 'libfbsplash.la' has not been installed in '/usr/lib'
libtool: warning: 'libfbsplashrender.la' has not been installed in '/usr/lib'
libtool: warning: '/home/user/home/user/newtmp/trizen-ian/fbsplash/src/splashutils-1.5.4.4/src/libfbsplash.la' has not been installed in '/usr/lib'
libtool: warning: 'libfbsplash.la' has not been installed in '/usr/lib'
libtool: warning: 'libfbsplashrender.la' has not been installed in '/usr/lib'
libtool: warning: '/home/user/home/user/newtmp/trizen-ian/fbsplash/src/splashutils-1.5.4.4/src/libfbsplash.la' has not been installed in '/usr/lib'
libtool: warning: 'libfbsplash.la' has not been installed in '/usr/lib'
 /usr/bin/mkdir -p '/home/user/home/user/newtmp/trizen-ian/fbsplash/pkg/fbsplash/usr/include'
 /usr/bin/install -c -m 644 fbsplash.h '/home/user/home/user/newtmp/trizen-ian/fbsplash/pkg/fbsplash/usr/include'
 /usr/bin/mkdir -p '/home/user/home/user/newtmp/trizen-ian/fbsplash/pkg/fbsplash/usr/lib/pkgconfig'
 /usr/bin/install -c -m 644 libfbsplash.pc libfbsplashrender.pc '/home/user/home/user/newtmp/trizen-ian/fbsplash/pkg/fbsplash/usr/lib/pkgconfig'
Making install in test
Making install in docs
 /usr/bin/mkdir -p '/home/user/home/user/newtmp/trizen-ian/fbsplash/pkg/fbsplash/usr/share/doc/splashutils'
 /usr/bin/install -c -m 644 bootsplash_compatibility daemon early_bootup kernel_parameters libfbsplash metadata_sample.xml porting quickstart theme_format thememeta.xsd '/home/user/home/user/newtmp/trizen-ian/fbsplash/pkg/fbsplash/usr/share/doc/splashutils'
Making install in misc
Making install in scripts
 /usr/bin/mkdir -p '/home/user/home/user/newtmp/trizen-ian/fbsplash/pkg/fbsplash/usr/bin'
 /usr/bin/install -c bootsplash2fbsplash splash_manager splash_resize splashy2fbsplash.py '/home/user/home/user/newtmp/trizen-ian/fbsplash/pkg/fbsplash/usr/bin'
 /usr/bin/mkdir -p '/home/user/home/user/newtmp/trizen-ian/fbsplash/pkg/fbsplash/usr/bin'
 /usr/bin/install -c splash-functions.sh '/home/user/home/user/newtmp/trizen-ian/fbsplash/pkg/fbsplash/usr/bin'
 /usr/bin/mkdir -p '/home/user/home/user/newtmp/trizen-ian/fbsplash/pkg/fbsplash/usr/bin'
 /usr/bin/install -c splash_geninitramfs '/home/user/home/user/newtmp/trizen-ian/fbsplash/pkg/fbsplash/usr/bin'
libtool: finish: PATH="/home/user/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/local/pgsql/bin:/opt/cuda/bin:/opt/cuda/nsight_compute:/opt/cuda/nsight_systems/bin:/var/lib/snapd/snap/bin:/sbin" ldconfig -n /usr/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "fbsplash"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: fbsplash 1.5.4.4-17 (Mon 14 Aug 2023 12:13:04 BST)
==> Cleaning up...
:: Pacman command: /usr/bin/sudo /usr/bin/pacman /home/user/home/user/newtmp/trizen-ian/fbsplash/fbsplash-1.5.4.4-17-x86_64.pkg.tar.zst -U
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) fbsplash-1.5.4.4-17

Total Installed Size:  0.45 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                                                                                  [------------------------------------------------------------------------------] 100%
(1/1) checking package integrity                                                                                                [------------------------------------------------------------------------------] 100%
(1/1) loading package files                                                                                                     [------------------------------------------------------------------------------] 100%
(1/1) checking for file conflicts                                                                                               [------------------------------------------------------------------------------] 100%
(1/1) checking available disk space                                                                                             [------------------------------------------------------------------------------] 100%
:: Processing package changes...
(1/1) installing fbsplash                                                                                                       [------------------------------------------------------------------------------] 100%
------------------------------------------------------------
> This package doesn't contain a default theme.
> You need to install one separately.
> To find some themes, just search AUR for "fbsplash-theme",
> or GNOME-Look.org or KDE-Look.org for "fbsplash".
------------------------------------------------------------
> Configuration for fbsplash: /etc/conf.d/splash
> Configuration for fbcondecor: /etc/conf.d/fbcondecor
------------------------------------------------------------
> Remember to rebuild the initrd after changing the
> configuration.
------------------------------------------------------------
> Please read http://wiki.archlinux.org/index.php/Fbsplash
> for more details.
------------------------------------------------------------
Optional dependencies for fbsplash
    linux-fbcondecor: enable console background images
    fbsplash-extras: additional functionality like daemon icons
    fbset: framebuffer setup utility [installed]
    uswsusp-fbsplash: suspend to disk with fbsplash
    python: convert themes from splashy to fbsplash [installed]
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.1-x86_64 -g /boot/initramfs-6.1-x86_64.img --microcode /boot/intel-ucode.img
==> Starting build: '6.1.44-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [filesystems]
  -> Running build hook: [resume]
  -> Running build hook: [fsck]
==> ERROR: module not found: 'fbsplash'
==> Generating module dependencies
==> Creating lz4-compressed initcpio image: '/boot/initramfs-6.1-x86_64.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.1-x86_64 -g /boot/initramfs-6.1-x86_64-fallback.img -S autodetect --microcode /boot/intel-ucode.img
==> Starting build: '6.1.44-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [filesystems]
  -> Running build hook: [resume]
  -> Running build hook: [fsck]
==> ERROR: module not found: 'fbsplash'
==> Generating module dependencies
==> Creating lz4-compressed initcpio image: '/boot/initramfs-6.1-x86_64-fallback.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
error: command failed to execute correctly


Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text

To have a background image of your virtual terminals you will need to install a kernel patched with fbcondecor, see below.

With a kernel that supports Fbcondecor (e.g., one with a framebuffer console decoration patch applied), you can have a background image of your virtual consoles.

Fbsplash - ArchWiki

Manjaro kernels have never included that patch that I know of. As far as supported kernels, there are only patches for 5.4 & 5.15. You can try applying them if you really want to build your own kernel just for that.