Imaging went well, and after 1 fix I had a clean boot.

hostnamed was failing to start, and after applying this fix cited in the final 
post of this thread it worked great.
https://communities.intel.com/thread/55805

i.e. I had to comment out the “PrivateNetwork=yes” line in 
/lib/systemd/system/systemd-hostnamed.service.



From: Martin Ward
Sent: Wednesday, January 25, 2017 6:47 PM
To: [email protected]
Subject: Re: [lfs-dev] gperf-3.1 breaks systemd-232 build

On 26/01/17 00:06, [email protected] wrote:
>
> Build Environment: CLFS 3.0.0
>
> Building: Linux From Scratch - Version 20170122-systemd
>
> Systemd ticket: https://github.com/systemd/systemd/issues/5039
>
> gperf changed a couple of function signatures and it appears that 
> systemd is responding by adjusting their configure script to detect 
> the version & apply a fix.  I’ll attempt to massage the source 
> directly and see if that works for now.
>
> Yup, the following sed makes systemd compile (I ran it before 
> configure, but it can probably be done any time before make)
>
> sed -i.orig '/lookup/,+1 s/unsigned\( int\)\?/size_t/' \
>
> src/{basic/{errno,af,arphrd,cap}-list.c,udev/{net/link-config.h,udev-builtin-keyboard.c}}
>  
> \
>
> src/{journal/journald-server,nspawn/nspawn-settings,core/load-fragment}.h 
> \
>
> src/test/test-{arphrd,af}-list.c \
>
> src/{network/networkd-{network,netdev,conf},resolve/resolved-conf}.h \
>
> src/{timesync/timesyncd-conf,login/logind}.h
>
> Mucking around in their source may not be the best solution, but it 
> should work for now until a fix is released.
>
> I’ve never seen the normal test output from this build, but the 5 
> fails I’ve attached appear unrelated – date/time formatting, no fsck 
> installed yet, something weird about running in hyperv….
>
> I’ll let you know if there are any lingering after-effects.  It’ll be 
> a few days before I have a running image.
>
>
>
Gentoo has a patch for this

https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-apps/systemd/files/232-0002-build-sys-add-check-for-gperf-lookup-function-signat.patch


Martin

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to