Opened 2 days ago

Last modified 43 hours ago

#5650 new enhancement

Move check to BLFS or remove it

Reported by: Xi Ruoyao Owned by: lfs-book
Priority: normal Milestone: 12.4
Component: Book Version: git
Severity: normal Keywords:
Cc:

Description

It seems nothing in LFS uses it. And moving it should be much easier than moving intltool + XML::Parser: Arch only lists 40 packages "depending on" it and most of them are not in BLFS. (Note that those packages include kbd NOT requiring check anymore that we've just figured out.)

Change History (2)

comment:1 by Bruce Dubbs, 2 days ago

In arch I see the following LFS/BLFS packages that depend on check:

kbd (just determined that it's not needed)
libevdev (make) 
libinput (make) 
pulseaudio
gdm

If we move it we need to change those packages to reflect the dependency. We could delete it, but the dependencies would then become external.

My stats (at -j4) from the last build are:

            [check-0.15.2]            
Build time is:                3 minutes and 0 seconds
Build time in seconds is:           180
Approximate SBU time is:            2.1
Disk usage before unpacking the package:     4239356 KB or 4139.996 MB
Disk usage before deleting the source and build dirs: 4250724 KB or 4151.098 MB
Required space to build the package:         11368 KB or 11.102 MB
Installed files disk usage:            624 KB or 0.609 MB

I'm not sure if the time and effort to move (or remove) the package is worth any benefit. The last change to the package was August 2020.

in reply to:  1 comment:2 by Joe Locash, 43 hours ago

Replying to Bruce Dubbs:

In arch I see the following LFS/BLFS packages that depend on check:

kbd (just determined that it's not needed)
libevdev (make) 
libinput (make) 
pulseaudio
gdm

libinput and gdm don't use it from what I can tell.

libevdev only needs it for tests and that can be disabled with -D tests=disabled

pulseaudio also only needs it for tests and that can be disabled with -D tests=false

The BLFS book disables the libinput tests and says gdm doesn't have a usable test suite so I would just get rid of check and make it optional for the other 2 packages if tests want to be run.

Note: See TracTickets for help on using tickets.