Re: Test failed for libseccomp-2.6.0 BLFS 12.3 (SysV Version)
| Newsgroups | gmane.linux.lfs.beyond.support |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 2025-08-22 at 00:15 +0000, azazel xes wrote: > > > > > > > > > > > > > > > From: [email protected] > <[email protected]> on behalf of tjoen > <[email protected]> > Sent: Thursday, August 21, 2025 8:02 AM > To: [email protected] > <[email protected]> > Subject: Re: [blfs-support] Test failed for libseccomp-2.6.0 BLFS 12.3 > (SysV Version) > > > On 8/21/25 5:32 AM, Xi Ruoyao ([email protected] via blfs-support > > Mailing List) wrote: > > .. > > $ ls -l /usr/bin/python > > lrwxrwxrwx 1 root root 7 Jun 14 19:46 /usr/bin/python -> python3 > > > > This symlink is **not** in (B)LFS and we'll not add it into any book > > per > > discussion at https://wiki.linuxfromscratch.org/lfs/ticket/5529. > > > > Causing problem with Python2? > > I deleted /ysr/bin/python > > Easy to relink if necessary > > Hi All, > > Problem solved! > > Regression Test Summary > tests run: 15864 > tests skipped: 174 > tests passed: 15864 > tests failed: 0 > tests errored: 0 > ============================================================ > PASS: regression > ============= > 1 test passed > ============= > Making check in doc > > > Thanks for helping, I created > ln -svf python3 /usr/bin/python as indicated in the wiki page The conclusion of the page is **not** to create it on (B)LFS. If you must create it you are deviating from the book and risking to break other packages in the book. Instead the book is now fixed with libseccomp: Note that a sed is needed if running the test suite and the Python module is enabled diff --git a/general/genlib/libseccomp.xml b/general/genlib/libseccomp.xml index be20308d30..52d3b5f678 100644 --- a/general/genlib/libseccomp.xml +++ b/general/genlib/libseccomp.xml @@ -116,7 +116,9 @@ make</userinput></screen> <option>--enable-python</option>: this switch is needed to build python bindings if <xref linkend="cython"/> is installed. The option <option>--disable-static</option> must not be given if this option - is used. + is used. And you must run <command>sed 's/env python/&3/' -i + tests/regression</command> if this option is used and you want to + run the test suite. </para> </sect2> -- Xi Ruoyao <[email protected]> -- http://lists.linuxfromscratch.org/sympa/info/blfs-support Unsubscribe: See the above information page