On Sat, 2017-11-04 at 22:49 -0500, DJ Lucas wrote: > > On 11/04/2017 10:10 PM, Ken Moffat wrote: > > On Sat, Nov 04, 2017 at 12:14:06PM +0100, Riccardo G Corsi wrote: > > > Hello, building serf (to build an svn client), I had problems in > > > compilation: > > > > > > ... > > > gcc -o auth/auth_spnego_sspi.os -c -std=c89 -Wdeclaration-after-statement > > > -Wmissing-prototypes -Wall -g -O2 -pthread -fPIC -DNDEBUG -DLINUX > > > -D_REENTRANT -D_GNU_SOURCE -I. -I/usr/include/apr-1 -I/usr/include > > > -I/usr/include auth/auth_spnego_sspi.c > > > scons: *** [libserf-1.so.1.3.0] Implicit dependency `/usr/lib/libuuid.a' > > > not > > > found, needed by target `libserf-1.so.1.3.0'. > > > scons: building terminated because of errors. > > > scons: Reading SConscript files ... > > > Checking for GNU-compatible C compiler...(cached) yes > > > scons: done reading SConscript files. > > > scons: Building targets ... > > > scons: *** [libserf-1.so.1.3.0] Implicit dependency `/usr/lib/libuuid.a' > > > not > > > found, needed by target `libserf-1.so.1.3.0'. > > > scons: building terminated because of errors. > > > > > > > [ ignoring the rest, people have already answered ] > > > > I found this apparent dependency on static libuuid.a frightening > > because I tend to delete static libs from LFS after I determine that > > I don't need them. But actually we configure util-linux with > > --disable-static. > > > > Fortunately I have already installed serf-1.3.9 on my 8.1 server in > > the absence of that static lib (I tend to delete static libs from > > LFS after I determine that I don't need them), so I'm puzzled why > > your system thinks it needs the static lib. > > > > Maybe you aren't building on LFS and ld looking for a static lib is > > its fallback position, or perhaps scons falls back to looking for > > static libs. Whatever, avoid static libs (I mean those installed by > > an earlier packages, not static .a files created within a package) > > whenever possible - if ever a vulnerability is found in the package > > which provides that lib, you will need to rebuild not only it, but > > also the packages which use it - that is why we try to avoid them. > > > > ĸen > > > > Ken, this is a known issue on systemd. It's a leftover from when we had > the build order munging when we merged the two books. Fix is coming > shortly. As to the problem, just remove the bogus links. > > --DJ >
I think this is worthy of an Errata entry for the 8.1-systemd LFS Book to remove those links as a number of people have reported this issue now. Wayne. -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
