Opened 11 years ago

Closed 11 years ago

#3486 closed task (fixed)

glibc-2.19

Reported by: bdubbs@… Owned by: bdubbs@…
Priority: high Milestone: 7.5
Component: Book Version: SVN
Severity: normal Keywords:
Cc:

Description

New minor version. This is, of course, important. I have not yet had achance to download it or look at release notes.

Change History (6)

comment:1 by bdubbs@…, 11 years ago

Owner: changed from lfs-book@… to bdubbs@…
Status: newassigned

Looking at NEWS nothing dramatic jumps out to me, but six CVE issues are fixed and about 175 bugs closed.

The two seds we use are no longer necessary. The build in a full (not chroot) environment seems to be clean. The tests using our standard check gives:

make[2]: [/mnt/lfs/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
make[2]: *** [/mnt/lfs/sources/glibc-build/nptl/tst-robust8.out] Error 1
make[1]: *** [nptl/tests] Error 2
make[2]: [/mnt/lfs/sources/glibc-build/conform/run-conformtest.out] Error 1 (ignored)
make: *** [check] Error 2

There are several places where it says things like:

haracter map `BIG5' is not ASCII compatible, locale not ISO C compliant
character map `BIG5' is not ASCII compatible, locale not ISO C compliant
character map `BIG5' is not ASCII compatible, locale not ISO C compliant
character map `BIG5' is not ASCII compatible, locale not ISO C compliant
character map `test5' is not ASCII compatible, locale not ISO C compliant
character map `test6' is not ASCII compatible, locale not ISO C compliant
character map `UTF-8' is not ASCII compatible, locale not ISO C compliant

The conform test gives:

ISO...
ISO99...
ISO11...
POSIX...
  Total number of tests   : 2585
  Number of failed tests  :   49 (  1%)
  Number of skipped tests :   37 (  1%)
XPG3...
  Total number of tests   : 3993
  Number of failed tests  :  189 (  4%)
  Number of skipped tests :   89 (  2%)
XPG4...
  Total number of tests   : 4175
  Number of failed tests  :   53 (  1%)
  Number of skipped tests :   10 ( <1%)
UNIX98...
  Total number of tests   : 4830
  Number of failed tests  :   87 (  1%)
  Number of skipped tests :   48 ( <1%)
XOPEN2K...
  Total number of tests   : 6856
  Number of failed tests  :   35 ( <1%)
  Number of skipped tests :    5 ( <1%)
XOPEN2K8...
  Total number of tests   : 7114
  Number of failed tests  :   32 ( <1%)
  Number of skipped tests :    1 ( <1%)
POSIX2008...
  Total number of tests   : 6307
  Number of failed tests  :   10 ( <1%)
  Number of skipped tests :    0 (  0%)
make[2]: [/mnt/lfs/sources/glibc-build/conform/run-conformtest.out] Error 1 (ignored)

A DESTDIR install ran without error. It looks like the headers in sunrpc/rpc/, nis/rpcsvc/, and sunrpc/rpcsvc/ still appear to need a manual install, but there are a few files in /usr/include/rpc and /usr/include/rpcsvc. I just don't know if they are sufficient. Copying the header probably doesn't hurt anything.

comment:2 by bdubbs@…, 11 years ago

A test LFS build using glibc-2.19 only showed the following errors for me:

073-glibc-2.19:make[3]: *** [/sources/glibc-build/libio/tst-ftell-partial-wide.out] Error 1
073-glibc-2.19:make[3]: *** [/sources/glibc-build/posix/tst-getaddrinfo4.out] Error 1
073-glibc-2.19:make[3]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
073-glibc-2.19:make[3]: [/sources/glibc-build/conform/run-conformtest.out] Error 1 (ignored)

I don't recall seeing that first error before, but it didn't fail the test build earlier so it must be some kind of environment or timing error so I won't worry about it.

I'll add the new glibc to the book later today.

comment:3 by Armin, 11 years ago

I've only noticed that this release removed libbsd-compat.a library and added few new locales.

comment:4 by Armin, 11 years ago

There's also an issue with tzselect script in this release.

Issuing just tzselect gives:

/usr/bin/tzselect: line 171: /root/iso3166.tab: No such file or directory
/usr/bin/tzselect: time zone files are not set up correctly

It seems that now tzselect looks for timezone data in $PWD if TZDIR isn't set. Using

TZDIR=/usr/share/zoneinfo tzselect

makes it work again.

I don't know if this is issue with my setup or the default install. It worked flawlessly with 2.18.

comment:5 by bdubbs@…, 11 years ago

Yes, I noticed that libbsd-compat.a had been removed, but didn't associate that with the book. I'll remove that from contents.

tzselect is a bash script. The old version has:

: ${TZDIR=/usr/share/zoneinfo}

but the new version has:

: ${TZDIR=pwd}

I'll add a sed to change it to default back to /usr/share/zoneinfo

sed -i 's/.pwd./usr/share/zoneinfo/' ./timezone/tzselect.ksh

Actually, looking at my log, I have:

sed -e 's|/bin/bash|/bin/bash|g' \
    -e '/TZDIR=/s|\$(pwd)|/usr/share/zoneinfo|' \
    -e '/TZVERSION=/s|see_Makefile|"2.19"|' \
    -e '/PKGVERSION=/s|=.*|="(GNU libc) "|' \
    -e '/REPORT_BUGS_TO=/s|=.*|="<http://www.gnu.org/software/libc/bugs.html>"|' \
    < tzselect.ksh > /sources/glibc-build/timezone/tzselect.new

It looks like they changed $(pwd) to pwd and missed this. The alternative is to edit timezone/Makefile:

sed -i 's/\\$$(pwd)/`pwd`/' timezone/Makefile
Last edited 11 years ago by bdubbs@… (previous) (diff)

comment:6 by bdubbs@…, 11 years ago

Resolution: fixed
Status: assignedclosed

Fixed at revision 10460.

Note: See TracTickets for help on using tickets.