glibc 2.1.1 to 2.1.3 : Check ERROR

glibc 2.1.1 to 2.1.3 : Check ERROR

Post by Olivier Gaquier » Sun, 29 Apr 2001 05:43:48



Hello,

I have to upgrade my libc 2.1.1 to 2.1.3 (jdk 1.3 needs this upgrade).
I work with Suse 6.2 and my system's components are :
    Make 3.79
    Gcc 2.95.2
    Binutils 2.9.1.0.25
    Bash 2.03

Sources of glibc 2.1.3 are in /opt/progs/glibc-2.1.3 and i created a
distinct directory
for building (/usr/local/glibc-build).

I ran configure with LinuxThreads and Crypt Add-ons, and with
--prefix=/usr
Configure runs OK
Make runs OK

My problem is :

"Make check" exits with an error on
/usr/local/glibc-build/stdlib/test-canon
(i included the file "test-canon.out")

I run "make check" again and the other tests seem to pass with success.
(i say "seem" because interpretation of some .out files is not obvious
and some
.out files are empty)

My questions are :
- What this error means ?
- Can i try to launch make install without risk ?
- Where can i find some more detailed documentation on the glibc upgrade
process ?

Thanks in advance

Olive

[ test-canon.out 1K ]
/usr/local/glibc-build/stdlib/test-canon: flunked test 8 (expected `./doesExist', got `NULL')
/usr/local/glibc-build/stdlib/test-canon: flunked test 9 (expected `./doesExist', got `NULL')
/usr/local/glibc-build/stdlib/test-canon: flunked test 10 (expected `./doesExist', got `NULL')
/usr/local/glibc-build/stdlib/test-canon: flunked test 14 (expected errno 40, got 2)
/usr/local/glibc-build/stdlib/test-canon: flunked test 15 (expected errno 40, got 2)
/usr/local/glibc-build/stdlib/test-canon: flunked test 16 (expected `.', got `NULL')
/usr/local/glibc-build/stdlib/test-canon: flunked test 17 (expected resolved `./foobar', got `/opt/progs/glibc-2.1.3/stdlib/SYMLINK_1')
/usr/local/glibc-build/stdlib/test-canon: flunked test 18 (expected `/etc', got `NULL')
/usr/local/glibc-build/stdlib/test-canon: flunked test 19 (expected `.', got `NULL')
/usr/local/glibc-build/stdlib/test-canon: flunked test 20 (expected `/etc', got `NULL')
/usr/local/glibc-build/stdlib/test-canon: flunked test 21 (expected `.', got `NULL')
/usr/local/glibc-build/stdlib/test-canon: flunked test 22 (expected `/etc', got `NULL')
/usr/local/glibc-build/stdlib/test-canon: flunked test 23 (expected `.', got `NULL')
/usr/local/glibc-build/stdlib/test-canon: flunked test 24 (expected `/etc', got `NULL')
/usr/local/glibc-build/stdlib/test-canon: flunked test 25 (expected resolved `./doesNotExist', got `/opt/progs/glibc-2.1.3/stdlib/SYMLINK_5')
/usr/local/glibc-build/stdlib/test-canon: flunked test 26 (expected resolved `./doesNotExist', got `/opt/progs/glibc-2.1.3/stdlib/SYMLINK_5')
/usr/local/glibc-build/stdlib/test-canon: flunked test 27 (expected resolved `./doesNotExist', got `/opt/progs/glibc-2.1.3/stdlib/SYMLINK_5')
/usr/local/glibc-build/stdlib/test-canon: flunked test 28 (expected `./doesExist', got `NULL')
/usr/local/glibc-build/stdlib/test-canon: flunked test 29 (expected `.', got `NULL')
19 errors.

 
 
 

glibc 2.1.1 to 2.1.3 : Check ERROR

Post by Andreas Jaege » Mon, 30 Apr 2001 01:31:28



> Hello,

> I have to upgrade my libc 2.1.1 to 2.1.3 (jdk 1.3 needs this upgrade).

2.1.3 is quite old...

Quote:> I work with Suse 6.2 and my system's components are :
>     Make 3.79
>     Gcc 2.95.2
>     Binutils 2.9.1.0.25
>     Bash 2.03

> Sources of glibc 2.1.3 are in /opt/progs/glibc-2.1.3 and i created a

Can you write in that directory or is it read-only?  If it's
read-only, then you've encountered a bug in test-canon that has been
fixed some time ago.

Quote:> distinct directory
> for building (/usr/local/glibc-build).

> I ran configure with LinuxThreads and Crypt Add-ons, and with
> --prefix=/usr
> Configure runs OK
> Make runs OK

> My problem is :

> "Make check" exits with an error on
> /usr/local/glibc-build/stdlib/test-canon
> (i included the file "test-canon.out")

> I run "make check" again and the other tests seem to pass with success.
> (i say "seem" because interpretation of some .out files is not obvious
> and some
> .out files are empty)

We create out files for each test, empty .out files are ok.  So it
seems that only test-canon is broken.  If you have a read-only source
directory, then go ahead.

Andreas
--
 Andreas Jaeger


    http://www.suse.de/~aj

 
 
 

glibc 2.1.1 to 2.1.3 : Check ERROR

Post by Olivier Gaquier » Wed, 02 May 2001 00:05:15


Thanks andreas,

I know 2.1.3 is not the latest but i've been heard that upgrading from 2.1.x
to another
2.1.x is more secure than upgrading to 2.2.x.
Is that true ??

I have another question before i try to install libc 2.1.3 over 2.1.1 :

In theory, the libc librairies are called libc-2.1.1.so, libm-2.1.1.so....
There are simlinks to these files, libc6.so to libc-2.1.1.so for example.
So with this sheme, it's "easy" to restore the old library after an failed
upgrade.

However, on my system, there is no link for libc in /lib
the file is called libc6.so and that's all.
So, when upgrading to another libc, i suppose libc6.so is replaced !!??

What is the way to save my current library and restore it if "make install"
fails ???

Besides, when i watch for the library files in the building directory, i
don't see
"libc-2.1.3.so" but "libc6.so" (i configured with "--prefix=/usr").
I configured with "--prefix=/usr/local/glibc-new" on another machine and
building
process had created "libc-2.1.3.so"
Why ??

Olivier

Andreas Jaeger a crit :


> > Hello,

> > I have to upgrade my libc 2.1.1 to 2.1.3 (jdk 1.3 needs this upgrade).

> 2.1.3 is quite old...

> > I work with Suse 6.2 and my system's components are :
> >     Make 3.79
> >     Gcc 2.95.2
> >     Binutils 2.9.1.0.25
> >     Bash 2.03

> > Sources of glibc 2.1.3 are in /opt/progs/glibc-2.1.3 and i created a

> Can you write in that directory or is it read-only?  If it's
> read-only, then you've encountered a bug in test-canon that has been
> fixed some time ago.

> > distinct directory
> > for building (/usr/local/glibc-build).

> > I ran configure with LinuxThreads and Crypt Add-ons, and with
> > --prefix=/usr
> > Configure runs OK
> > Make runs OK

> > My problem is :

> > "Make check" exits with an error on
> > /usr/local/glibc-build/stdlib/test-canon
> > (i included the file "test-canon.out")

> > I run "make check" again and the other tests seem to pass with success.
> > (i say "seem" because interpretation of some .out files is not obvious
> > and some
> > .out files are empty)

> We create out files for each test, empty .out files are ok.  So it
> seems that only test-canon is broken.  If you have a read-only source
> directory, then go ahead.

> Andreas
> --
>  Andreas Jaeger


>     http://www.suse.de/~aj

 
 
 

glibc 2.1.1 to 2.1.3 : Check ERROR

Post by Andreas Jaege » Wed, 02 May 2001 00:29:58



> Thanks andreas,

> I know 2.1.3 is not the latest but i've been heard that upgrading from 2.1.x
> to another
> 2.1.x is more secure than upgrading to 2.2.x.
> Is that true ??

No idea about that.

Quote:> I have another question before i try to install libc 2.1.3 over 2.1.1 :

> In theory, the libc librairies are called libc-2.1.1.so, libm-2.1.1.so....
> There are simlinks to these files, libc6.so to libc-2.1.1.so for example.
> So with this sheme, it's "easy" to restore the old library after an failed
> upgrade.

> However, on my system, there is no link for libc in /lib
> the file is called libc6.so and that's all.
> So, when upgrading to another libc, i suppose libc6.so is replaced !!??

Should be.

Quote:> What is the way to save my current library and restore it if "make install"
> fails ???

Build an RPM of libc (check how your distribution does it), install
the RPM - and if that fails use the old RPM.

Quote:> Besides, when i watch for the library files in the building directory, i
> don't see
> "libc-2.1.3.so" but "libc6.so" (i configured with "--prefix=/usr").
> I configured with "--prefix=/usr/local/glibc-new" on another machine and
> building
> process had created "libc-2.1.3.so"
> Why ??

What?  You see libc.so.6 in your builddirectory, nothing else.  The
other names are created during installation.

Andreas
--
 Andreas Jaeger


    http://www.suse.de/~aj

 
 
 

1. Glibc upgrade : MAKE CHECK ERROR !!

Hello,

I have to upgrade my libc 2.1.1 to 2.1.3 (jdk 1.3 needs this upgrade).
I work with Suse 6.2 and my system's components are :
    Make 3.79
    Gcc 2.95.2
    Binutils 2.9.1.0.25
    Bash 2.03

Sources of glibc 2.1.3 are in /opt/progs/glibc-2.1.3 and i created a
distinct directory
for building (/usr/local/glibc-build).

I ran configure with LinuxThreads and Crypt Add-ons, and with
--prefix=/usr
Configure runs OK
Make runs OK

My problem is :

"Make check" exits with an error on
/usr/local/glibc-build/stdlib/test-canon
(i included the file "test-canon.out")

I run "make check" again and the other tests seem to pass with success.
(i say "seem" because interpretation of some .out files is not obvious
and some
.out files are empty)

My questions are :
- What this error means ?
- Can i try to launch make install without risk ?
- Where can i find some more detailed documentation on the glibc upgrade
process ?

Thanks in advance

Olive

[ test-canon.out 1K ]
/usr/local/glibc-build/stdlib/test-canon: flunked test 8 (expected `./doesExist', got `NULL')
/usr/local/glibc-build/stdlib/test-canon: flunked test 9 (expected `./doesExist', got `NULL')
/usr/local/glibc-build/stdlib/test-canon: flunked test 10 (expected `./doesExist', got `NULL')
/usr/local/glibc-build/stdlib/test-canon: flunked test 14 (expected errno 40, got 2)
/usr/local/glibc-build/stdlib/test-canon: flunked test 15 (expected errno 40, got 2)
/usr/local/glibc-build/stdlib/test-canon: flunked test 16 (expected `.', got `NULL')
/usr/local/glibc-build/stdlib/test-canon: flunked test 17 (expected resolved `./foobar', got `/opt/progs/glibc-2.1.3/stdlib/SYMLINK_1')
/usr/local/glibc-build/stdlib/test-canon: flunked test 18 (expected `/etc', got `NULL')
/usr/local/glibc-build/stdlib/test-canon: flunked test 19 (expected `.', got `NULL')
/usr/local/glibc-build/stdlib/test-canon: flunked test 20 (expected `/etc', got `NULL')
/usr/local/glibc-build/stdlib/test-canon: flunked test 21 (expected `.', got `NULL')
/usr/local/glibc-build/stdlib/test-canon: flunked test 22 (expected `/etc', got `NULL')
/usr/local/glibc-build/stdlib/test-canon: flunked test 23 (expected `.', got `NULL')
/usr/local/glibc-build/stdlib/test-canon: flunked test 24 (expected `/etc', got `NULL')
/usr/local/glibc-build/stdlib/test-canon: flunked test 25 (expected resolved `./doesNotExist', got `/opt/progs/glibc-2.1.3/stdlib/SYMLINK_5')
/usr/local/glibc-build/stdlib/test-canon: flunked test 26 (expected resolved `./doesNotExist', got `/opt/progs/glibc-2.1.3/stdlib/SYMLINK_5')
/usr/local/glibc-build/stdlib/test-canon: flunked test 27 (expected resolved `./doesNotExist', got `/opt/progs/glibc-2.1.3/stdlib/SYMLINK_5')
/usr/local/glibc-build/stdlib/test-canon: flunked test 28 (expected `./doesExist', got `NULL')
/usr/local/glibc-build/stdlib/test-canon: flunked test 29 (expected `.', got `NULL')
19 errors.

2. apache proxy inter-/intranet

3. Glibc 2.2.2 Make Check Errors (Repost)

4. freeBSD book form freebsd.org ?

5. "make check" Error On Glibc-2.1.2

6. What is Linux similar too?

7. Glibc upgrade : MAKE CHECK ERROR !!

8. Looking for a.out ver of binutils

9. Glibc upgrade : Make check error !!

10. Glibc 2.2.2 Make Check Errors

11. How to check the dependence with kernel and glibc

12. bug(?) when checking glibc-2.2.4 on PPC

13. glibc math failure on check