Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] plymouth 0.9.3-r1 not generating bootsplash
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
cesarguere
n00b
n00b


Joined: 05 Nov 2016
Posts: 53
Location: Buenos Aires, Argentina

PostPosted: Sat Aug 19, 2017 4:44 pm    Post subject: [SOLVED] plymouth 0.9.3-r1 not generating bootsplash Reply with quote

recently, plymouth updated to 0.9.3-r1 and plymouth splash disappeared.
these are the messages when plymouth was installed:

Code:
 * Messages for package sys-boot/plymouth-0.9.3-r1:

 * QA Warning: running libtoolize in configure phase
 * QA Warning: running aclocal in configure phase
 * QA Warning: running autoconf in configure phase
 * QA Warning: running autoheader in configure phase
 * QA Warning: running automake in configure phase
 * QA Warning: running automake in configure phase
>>> Auto-cleaning packages...


and this is the message when run genkernel initramfs

Code:
cesar@gentoo ~ $ sudo genkernel initramfs
* Gentoo Linux Genkernel; Version 66
* Running with options: initramfs

* Using genkernel.conf from /etc/genkernel.conf
* Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86_64/config.sh ..
* Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86_64/modules_load ..

* Linux Kernel 4.12.8-gentoo for x86_64...
* .. with config file /usr/share/genkernel/arch/x86_64/kernel-config
* busybox: >> Using cache
* initramfs: >> Initializing...
*         >> Appending base_layout cpio data...
*         >> Appending udev cpio data...
cp: no se puede efectuar `stat' sobre '/etc/modprobe.d/blacklist.conf': No existe el fichero o el directorio
* cannot copy /etc/modprobe.d/blacklist.conf from udev
cp: no se puede efectuar `stat' sobre '/usr/lib/systemd/network/99-default.link': No existe el fichero o el directorio
* cannot copy /usr/lib/systemd/network/99-default.link from udev
*         >> Appending auxilary cpio data...
*         >> Copying keymaps
*         >> Appending busybox cpio data...
*         >> Appending modules cpio data...
*         >> Appending blkid cpio data...
*         >> Skipping modprobed copy
*         >> Appending plymouth cpio data...
*   >> Installing plymouth [ using the compile theme and plugin: "script" ]...
* ERROR: Binary /usr/lib*/libply-splash-core.so.* could not be found
*
* -- Grepping log... --
*
* Running with options: initramfs
* Using genkernel.conf from /etc/genkernel.conf
* Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86_64/config.sh ..
* Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86_64/modules_load ..
*
* ERROR: Binary /usr/lib*/libply-splash-core.so.* could not be found
*
* -- End log... --
*
* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.
*
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
*


evidently, there's a missing file!! is it a bug?


Last edited by cesarguere on Tue Aug 22, 2017 3:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
russK
l33t
l33t


Joined: 27 Jun 2006
Posts: 665

PostPosted: Sat Aug 19, 2017 11:58 pm    Post subject: Reply with quote

You can see what files belong to a package with equery (from the gentoolkit package):
Code:
# equery files plymouth | grep libply
/usr/lib64/libply-boot-client.so
/usr/lib64/libply-boot-client.so.4
/usr/lib64/libply-boot-client.so.4.0.0
/usr/lib64/libply-splash-core.so
/usr/lib64/libply-splash-core.so.4
/usr/lib64/libply-splash-core.so.4.0.0
/usr/lib64/libply-splash-graphics.so
/usr/lib64/libply-splash-graphics.so.4
/usr/lib64/libply-splash-graphics.so.4.0.0
/usr/lib64/libply.so
/usr/lib64/libply.so.4
/usr/lib64/libply.so.4.0.0

Note I'm still on 0.9.2-r1. Your result may be different.
HTH
Back to top
View user's profile Send private message
cesarguere
n00b
n00b


Joined: 05 Nov 2016
Posts: 53
Location: Buenos Aires, Argentina

PostPosted: Sun Aug 20, 2017 7:15 am    Post subject: Reply with quote

russK wrote:
You can see what files belong to a package with equery (from the gentoolkit package):
Code:
# equery files plymouth | grep libply
/usr/lib64/libply-boot-client.so
/usr/lib64/libply-boot-client.so.4
/usr/lib64/libply-boot-client.so.4.0.0
/usr/lib64/libply-splash-core.so
/usr/lib64/libply-splash-core.so.4
/usr/lib64/libply-splash-core.so.4.0.0
/usr/lib64/libply-splash-graphics.so
/usr/lib64/libply-splash-graphics.so.4
/usr/lib64/libply-splash-graphics.so.4.0.0
/usr/lib64/libply.so
/usr/lib64/libply.so.4
/usr/lib64/libply.so.4.0.0

Note I'm still on 0.9.2-r1. Your result may be different.
HTH


These are the installed files: (/usr/lib*/libply-splash-core.so.* are not in the list)

Code:
cesar@gentoo ~ $ equery files plymouth | grep libply
/usr/lib64/libply-boot-client.a
/usr/lib64/libply-boot-client.la
/usr/lib64/libply-splash-core.a
/usr/lib64/libply-splash-core.la
/usr/lib64/libply-splash-graphics.a
/usr/lib64/libply-splash-graphics.la
/usr/lib64/libply.a
/usr/lib64/libply.la
Back to top
View user's profile Send private message
cesarguere
n00b
n00b


Joined: 05 Nov 2016
Posts: 53
Location: Buenos Aires, Argentina

PostPosted: Mon Aug 21, 2017 7:52 pm    Post subject: Reply with quote

I can't go back to the previous version of plymouth:

Code:
                   PLYMOUTH_THEME_PATH "%s/%s.plymouth",
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                   splash_string, splash_string);
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -Wall -Wno-sign-compare -Wno-deprecated-declarations -rdynamic -DPLYMOUTH_PLUGIN_PATH=\"/usr/lib64/plymouth/\" -DPLYMOUTH_THEME_PATH=\"/usr/share/plymouth/themes/\" -DPLYMOUTH_POLICY_DIR=\"/usr/share/plymouth//\" -DPLYMOUTH_RUNTIME_DIR=\"/var/run/plymouth\" -DPLYMOUTH_CONF_DIR=\"/etc/plymouth//\" -march=core-avx-i -O2 -pipe  -Wl,-O1 -Wl,--as-needed -o plymouthd plymouthd-ply-boot-server.o plymouthd-plugin.o plymouthd-main.o -lm -lrt -ldl libply/libply.la libply-splash-core/libply-splash-core.la
libtool: link: x86_64-pc-linux-gnu-gcc -Wall -Wno-sign-compare -Wno-deprecated-declarations -rdynamic -DPLYMOUTH_PLUGIN_PATH=\"/usr/lib64/plymouth/\" -DPLYMOUTH_THEME_PATH=\"/usr/share/plymouth/themes/\" -DPLYMOUTH_POLICY_DIR=\"/usr/share/plymouth//\" -DPLYMOUTH_RUNTIME_DIR=\"/var/run/plymouth\" -DPLYMOUTH_CONF_DIR=\"/etc/plymouth//\" -march=core-avx-i -O2 -pipe -Wl,-O1 -o .libs/plymouthd plymouthd-ply-boot-server.o plymouthd-plugin.o plymouthd-main.o  -Wl,--as-needed libply/.libs/libply.so libply-splash-core/.libs/libply-splash-core.so -L/lib64 -ludev /var/tmp/portage/sys-boot/plymouth-0.9.2-r1/work/plymouth-0.9.2_build/src/libply/.libs/libply.so -lm -lrt -ldl
libply-splash-core/.libs/libply-splash-core.so: undefined reference to `minor'
libply-splash-core/.libs/libply-splash-core.so: undefined reference to `major'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:549: plymouthd] Error 1
make[3]: Leaving directory '/var/tmp/portage/sys-boot/plymouth-0.9.2-r1/work/plymouth-0.9.2_build/src'
make[2]: *** [Makefile:700: all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/sys-boot/plymouth-0.9.2-r1/work/plymouth-0.9.2_build/src'
make[1]: *** [Makefile:456: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/sys-boot/plymouth-0.9.2-r1/work/plymouth-0.9.2_build'
make: *** [Makefile:388: all] Error 2
 * ERROR: sys-boot/plymouth-0.9.2-r1::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=sys-boot/plymouth-0.9.2-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-boot/plymouth-0.9.2-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-boot/plymouth-0.9.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-boot/plymouth-0.9.2-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-boot/plymouth-0.9.2-r1/work/plymouth-0.9.2_build'
 * S: '/var/tmp/portage/sys-boot/plymouth-0.9.2-r1/work/plymouth-0.9.2'

>>> Failed to emerge sys-boot/plymouth-0.9.2-r1, Log file:

>>>  '/var/tmp/portage/sys-boot/plymouth-0.9.2-r1/temp/build.log'

 * Messages for package sys-boot/plymouth-0.9.2-r1:

 * ERROR: sys-boot/plymouth-0.9.2-r1::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=sys-boot/plymouth-0.9.2-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-boot/plymouth-0.9.2-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-boot/plymouth-0.9.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-boot/plymouth-0.9.2-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-boot/plymouth-0.9.2-r1/work/plymouth-0.9.2_build'
 * S: '/var/tmp/portage/sys-boot/plymouth-0.9.2-r1/work/plymouth-0.9.2'
cesar@gentoo ~ $
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31100
Location: here

PostPosted: Mon Aug 21, 2017 8:07 pm    Post subject: Reply with quote

Try this patch
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
cesarguere
n00b
n00b


Joined: 05 Nov 2016
Posts: 53
Location: Buenos Aires, Argentina

PostPosted: Tue Aug 22, 2017 5:16 am    Post subject: Reply with quote

fedeliallalinea wrote:
Try this patch


Code:
>>> Installing (1 of 1) sys-boot/plymouth-0.9.3-r1::gentoo

 * Messages for package sys-boot/plymouth-0.9.3-r1:

 * User patches applied.
 * QA Warning: running libtoolize in configure phase
 * QA Warning: running aclocal in configure phase
 * QA Warning: running autoconf in configure phase
 * QA Warning: running autoheader in configure phase
 * QA Warning: running automake in configure phase
 * QA Warning: running automake in configure phase
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.


Code:
*   >> Installing plymouth [ using the compile theme and plugin: "script" ]...
* ERROR: Binary /usr/lib*/libply-splash-core.so.* could not be found
*
* -- Grepping log... --
*
* Running with options: initramfs
* Using genkernel.conf from /etc/genkernel.conf
* Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86_64/config.sh ..
* Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86_64/modules_load ..
*
* ERROR: Binary /usr/lib*/libply-splash-core.so.* could not be found
*
* -- End log... --
*
* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.
*
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
*


That didn't fix the error
Back to top
View user's profile Send private message
russK
l33t
l33t


Joined: 27 Jun 2006
Posts: 665

PostPosted: Tue Aug 22, 2017 5:42 am    Post subject: Reply with quote

What do you have for the USE flags?
Code:
# equery uses plymouth
Back to top
View user's profile Send private message
cesarguere
n00b
n00b


Joined: 05 Nov 2016
Posts: 53
Location: Buenos Aires, Argentina

PostPosted: Tue Aug 22, 2017 1:39 pm    Post subject: Reply with quote

russK wrote:
What do you have for the USE flags?
Code:
# equery uses plymouth


The question is interesting because it's happening something strange with the USE flag for this package. Even though I modify /etc/portage/package.use when I do emerge -pv the changes don't take effect. The USE flag doesn't change even if I modify them.

Code:
cesar@gentoo ~ $ equery u plymouth
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for sys-boot/plymouth-0.9.3-r1:
 U I
 + + debug       : Enable extra debug codepaths, like asserts and extra output.
                   If you want to get meaningful backtraces see https://wiki.ge
                   ntoo.org/wiki/Project:Quality_Assurance/Backtraces
 + + gdm         : Enables smooth transition to GDM
 + + gtk         : Add support for x11-libs/gtk+ (The GIMP Toolkit)
 + + libkms      : Provides abstraction to the DRM drivers (intel, nouveau and
                   vmwgfx at this moment)
 + + pango       : Adds support for printing text on splash screen and text
                   prompts, e.g. for password
 + + static-libs : Build static versions of dynamic libraries as well


Code:
  GNU nano 2.8.6     Fichero: /etc/portage/package.use/iputils                 

=media-libs/liblo-0.29 -ipv6
media-sound/guitarix2 lv2 ladspa avahi
media-libs/libsdl2 gles
net-misc/iputils -caps -filecaps
sys-auth/pambase systemd
sys-boot/plymouth -debug gdm gtk libkms pango -static-libs
dev-vcs/bzr curl
media-sound/banshee doc ipod mtp test bpm daap karma youtube ~amd64
media-libs/mesa abi_x86_32
app-admin/conky imlib curl lua lua-cairo lua-imlib rss truetype -ipv6
net-fs/nfs-utils caps ipv6 kerberos libmount nfsdcld nfsidmap nfsv4 nfsv41 tcpd$
dev-qt/qtgui gtkstyle
x11-libs/cairo -qt4
media-video/vlc dvd ffmpeg mpeg mad wxwindows aac dts a52 ogg flac theora oggvo$
media-sound/noise mpris ipod lastfm libnotify nls zeitgeist
dev-libs/libdbusmenu gtk3
gnome-base/gdm plymouth
sys-block/gparted btrfs f2fs fat hfs jfs ntfs reiser4 reiserfs xfs


Code:
cesar@gentoo ~ $ emerge -pv plymouth

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] sys-boot/plymouth-0.9.3-r1::gentoo  USE="debug gdm gtk libkms pango static-libs" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
Back to top
View user's profile Send private message
russK
l33t
l33t


Joined: 27 Jun 2006
Posts: 665

PostPosted: Tue Aug 22, 2017 2:08 pm    Post subject: Reply with quote

Check for other files in /etc/portage/package.use/

I don't think there is a precedence order of the files, they may be processed in an order similar to a 'ls' command.

As a test you can always do,
Code:
USE="-static-libs" emerge -pv plymouth
Back to top
View user's profile Send private message
cesarguere
n00b
n00b


Joined: 05 Nov 2016
Posts: 53
Location: Buenos Aires, Argentina

PostPosted: Tue Aug 22, 2017 3:05 pm    Post subject: Reply with quote

russK wrote:
Check for other files in /etc/portage/package.use/

I don't think there is a precedence order of the files, they may be processed in an order similar to a 'ls' command.

As a test you can always do,
Code:
USE="-static-libs" emerge -pv plymouth


You were right!! There was a file iputils.save that I thought didn't affect the configuration. It was created automatically by some process. i deleted it, recompile it and now it works perfectly!!!

Thanks!!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum