Re: Systemd Multilib build success

"Eric Clothier" ([email protected] via alfs-discuss Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.automated
Message-ID <CAAGwWFVr3e7um6wD3qu+0C4=1u-UkC_iY4dNYDnRUKqjE5U1hg@mail.gmail.com>
On Sun, Dec 22, 2024, 22:47 Thomas Trepl <
[email protected]> wrote:

> Am Sonntag, dem 22.12.2024 um 13:47 +0800 schrieb Xi Ruoyao:
> > On Fri, 2024-12-20 at 16:24 +0100, Thomas Trepl wrote:
> > > Am Dienstag, dem 17.12.2024 um 20:52 -0500 schrieb Eric Clothier:
> > > > I wanted to report that I was able to successfully build MLFS using
> > > > jhalfs with systemd init. I have NOT done any major testing of the
> > > > build, but it does successfully build and boot. I did test an ml_32
> > > > build only, as my host distro does not include the X32_ABI kernel
> > > > flag, and I simply have not taken the time to build a kernel for my
> > > > host distro from source.
> >
> > But I can see some obviously questionable things in the systemd
> > instructions:
> >
> > - Why do we need a xsltproc symlink?  The build system should disable
> > building man pages when xsltproc is not available.
> > - The instruction seems installing "/usr/lib32/systemd/*" which are
> > completely meaningless.  We only want libudev.so* and libsystemd.so*.
> > - 'CFLAGS+=" -Wno-error=shift-overflow"' seems covering up a real bug,
> > instead of covering up it you should really fix the bug and preferably
> > send the fix upstream.
> > - Why "-march=i686" for lib32?  We don't add it for all other packages.
> >
> > And maybe more.  The items above are just found in a quick one-minute
> > review.
> >
> > Thus IMO it's broken.  If it happens to work for you, it just happens.
> Obviously, its not that broken as users do use the instructions to build
> their system successfully. Of course, the instructions might be buggy - in
> this case, a patch or so is appreciated. As i said, i maintain the systemd
> variant on a "best guess" basis. I'll be happy if someone sends me patches
> if there is something to fix.
> Maybe i should note that on the MLFS page, too.
>
> --
> Thomas
>

Thomas, I have a patch that I am currently testing to update the systemd
build instructions. Once I can verify the build completed and is bootable,
I will send the patch. I addressed the issues Xi raised, aside from the
CFLAGS/CXXFLAGS, as those are on the mx32 builds only and I haven't gotten
to that point yet. I also updated the meson switches from -Dxxx to -D xxx
style, and switched to meson setup invocation, to match the non-multilib
instructions. And I removed some duplicated/deprecated switches as well.

--
Eric

>
> --
> http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
> Unsubscribe: See the above information page

-- 
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
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.