Re: Test failed for libseccomp-2.6.0 BLFS 12.3 (SysV Version)

"Bruce Dubbs" ([email protected] via blfs-support Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.support
Message-ID <[email protected]>
On 8/20/25 9:24 PM, azazel xes ([email protected] via blfs-support Mailing List) 
wrote:
> Hi,
> 
> I tried to install libseccomp-2.6.0 but when doing the make check I got 1 of 1 test 
> failed, attached is the last part of the make check output.
> 
> Regression Test Summary
>   tests run: 7941
>   tests skipped: 174
>   tests passed: 7933
>   tests failed: 8
>   tests errored: 509
> ============================================================
> FAIL: regression
> ==================
> 1 of 1 test failed
> ==================
> make[2]: *** [Makefile:1463: check-TESTS] Error 1
> make[1]: *** [Makefile:1589: check-am] Error 2
> make: *** [Makefile:529: check-recursive] Error 1
> 
> 
> I see that following message repeats a lot when the test started to fail:
> 
> /usr/bin/env: ‘python’: No such file or directory
> 
> 
> My build environment:
> 
>   LFS: 12.2 (SysV Version)
>   BLFS: 12.3
> 
> 
> Required optional dependencies for libseccomp-2.6.0:
> 
>   Which-2.23 (Installed GNU which package)
>   Valgrind-3.24.0 (Not installed)
>   cython-3.0.12 (Installed)
>   LCOV (Not installed)
> 
> 
> Command used to install libseccomp-2.6.0:
> 
> ./configure --prefix=/usr --enable-python &&
> make
> 
> 
> Looking at /usr/bin I see that I have:
> 
> azazel-xes@lfs-12-2 [ /usr/bin ]$
> lrwxrwxrwx 1 root  root         10 Jan 14  2025  python3 -> python3.12
> -rwxr-xr-x 1 root  root      19824 Jan 14  2025  python3.12
> -rwxr-xr-x 1 root  root       3012 Jan 14  2025  python3.12-config
> lrwxrwxrwx 1 root  root         17 Jan 14  2025  python3-config -> python3.12-config
> 
> 
> Did I miss something somewhere the road that I should have ended with an /env 
> directory or a ‘python’ file or symlink to it?

It's hard to say.  I just installed that package yesterday on a lfs-12.4/blfs-12.4 
(both will be released on September 1st) and got:

  tests run: 7973
  tests skipped: 46
  tests passed: 7973
  tests failed: 0
  tests errored: 0

It's a big deal to upgrade Python to 3.13 because you have to rebuild all the modules.

You might want to try just using './configure --prefix=/usr --disable-static' and see 
if you get different results.

   -- Bruce

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-support
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.