LFS-systemd branch fails Perl tests

Matt Burgess matthew at linuxfromscratch.org
Thu Feb 28 13:14:59 PST 2013


Hi,

About 2 weeks ago, Armin merged the XML-Parser instructions in the
Systemd branch of LFS into the Perl page
(http://wiki.linuxfromscratch.org/lfs/changeset/10154).  When I run
jhalfs against a systemd branch working copy it ends up producing the
following commands for the Perl page:

echo "127.0.0.1 localhost $(hostname)" > /etc/hosts
sed -i -e "s|BUILD_ZLIB\s*= True|BUILD_ZLIB = False|"           \
       -e "s|INCLUDE\s*= ./zlib-src|INCLUDE    = /usr/include|" \
       -e "s|LIB\s*= ./zlib-src|LIB        = /usr/lib|"         \
    cpan/Compress-Raw-Zlib/config.in
sh Configure -des -Dprefix=/usr                 \
                  -Dvendorprefix=/usr           \
                  -Dman1dir=/usr/share/man/man1 \
                  -Dman3dir=/usr/share/man/man3 \
                  -Dpager="/usr/bin/less -isR"  \
                  -Duseshrplib
make
make -k test >> $TEST_LOG 2>&1 || true
tar xf ../XML-Parser-2.41.tar.gz
cd XML-Parser-2.41
perl Makefile.PL
make
make test >> $TEST_LOG 2>&1
make install
make install

Note how the 'make install' from the main Perl package has been moved to
*after* the XML-Parser sub-package has been built.  This has the effect
that the XML-Parser tests fail (there are linker errors due to undefined
XML related symbols).

I suspect that the LFS/lfs.xsl stylesheet is to blame for this
reordering, but my XSL-fu is woeful :(

Thanks for any help,

Matt.




More information about the alfs-discuss mailing list