Commits to SVN

DJ Lucas dj at linuxfromscratch.org
Sat Oct 4 11:56:45 PDT 2008


DJ Lucas wrote:
> No patches.  Bad testing.  I built glibc 3 times last night, but I guess 
> I did not test that one with a full rebuild. 
>   
Okay... Yes I did, but I applied the patch before running the existing 
script.  Also, glibc was installed already.  I don't think the 
iconv-test fix is entirely correct.  It did not work this time, maybe it 
passed because glibc was already installed?  Starting a new build of 
glibc (with one installed).  Greg, when you get time, can you confirm 
that the copy does fix the testsuite immediately after the temp tools 
phase on DIY?  If so, then I have no idea why this did not work.

FYI, my packager uses the build commands at the top of the log file to 
do the build.  IOW, I create the log file with the build commands at the 
top, complete with subshell and time commands, then source the file from 
the extract directory.  Here are the first few lines of the log 
(including the build commands) and other useful parts of the log:

root:/sources# head -n 46 glibc-2.8-20080929-build.log
{
time {
patch -Np0 -i ../glibc-2.8-20080929-fix_idouble-1.patch &&
sed -i 's|@BASH@|/bin/bash|' elf/ldd.bash.in &&
mkdir -v ../glibc-build &&
cd ../glibc-build &&
echo "CFLAGS += -march=i486 -mtune=native" > configparms &&
../glibc-2.8-20080929/configure --prefix=/usr \
    --disable-profile --enable-add-ons \
    --enable-kernel=2.6.0 --libexecdir=/usr/lib/glibc &&
make &&
cp -v ../glibc-2.8-20080929/iconvdata/gconv-modules iconvdata &&
make -k check 2>&1 | tee glibc-check-log
touch /etc/ld.so.conf &&
make install &&
make localedata/install-locales &&
cat > /etc/nsswitch.conf << "EOF"
# Begin /etc/nsswitch.conf

passwd: files
group: files
shadow: files

hosts: files dns
networks: files

protocols: files
services: files
ethers: files
rpc: files

# End /etc/nsswitch.conf
EOF
cp -v --remove-destination /usr/share/zoneinfo/America/Chicago 
/etc/localtime &&
cat > /etc/ld.so.conf << "EOF"
# Begin /etc/ld.so.conf

/usr/local/lib
/opt/lib

# End /etc/ld.so.conf
EOF
}
} 2>&1 | tee -a ../glibc-2.8-20080929-build.log
patching file sysdeps/i386/fpu/libm-test-ulps
mkdir: created directory `../glibc-build'
root:/sources#

root:/sources# grep "Error" glibc-2.8-20080929-build.log
make[2]: *** [/sources/glibc-build/iconvdata/bug-iconv6.out] Error 1
make[2]: *** [/sources/glibc-build/iconvdata/tst-iconv7.out] Error 1
make[1]: *** [iconvdata/tests] Error 2
make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
make: *** [check] Error 2
root:/sources#

root:/sources# grep iconvdata glibc-2.8-20080929-build.log | grep 
gconv-modules
cp -v ../glibc-2.8-20080929/iconvdata/gconv-modules iconvdata &&
`../glibc-2.8-20080929/iconvdata/gconv-modules' -> `iconvdata/gconv-modules'
root:/sources#

root:/sources# tail -n 10 glibc-2.8-20080929-build.log
zu_ZA.UTF-8... done
zu_ZA.ISO-8859-1... done
make[2]: Leaving directory `/sources/glibc-2.8-20080929/localedata'
make[1]: Leaving directory `/sources/glibc-2.8-20080929'
removed `/etc/localtime'
`/usr/share/zoneinfo/America/Chicago' -> `/etc/localtime'

real    78m37.792s
user    63m4.288s
sys    5m37.524s
root:/sources#

I am starting a fresh build of glibc to see what happens when it is 
already installed.

-- DJ Lucas

-- 
This message has been scanned for viruses and
dangerous content, and is believed to be clean.




More information about the lfs-dev mailing list