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.



Attachment: make.errlog
Description: Binary data

Attachment: make-check.out
Description: Binary data

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

Reply via email to