RE: s390 lsbsi diffs

Eliuth Pomar <[email protected]> Thu, 24 Apr 2003 16:50:39 -0400
Newsgroups gmane.linux.lsb.implementation
Message-ID <[email protected]>



Hi Mats.

> I'm applying these, have some questions. The
> error you saw is caused by one of these.

>> entities/general and general.in
>>
>> <!ENTITY linux-s390-dynlinker "ld-lsb-s390.so.1">
>> <!ENTITY lsb-s390-dynlinker "ld-lsb-s390.so.1">

> the linux-s390-dynlinker doesn't look right.
> I'm guessing the native Linux linker is ld.so.1,
> but please advise since I don't have system to check :-)

My system looks:

esll07:/mnt/93b0/src/si # dir /lib/ld-*
-rwxr-xr-x    1 root     root        90857 Nov  5 15:04 /lib/ld-2.2.5.so
lrwxrwxrwx    1 root     root           12 Apr 17 14:27
/lib/ld-lsb-s390.so.1 -> /lib/ld.so.1

So I guess you are right the values would be:

<!ENTITY linux-s390-dynlinker "ld.so.1">
<!ENTITY lsb-s390-dynlinker "ld-lsb-s390.so.1">

> */kernel.xml

>> <archive>&packages_dir;/&linux-s390-package;</archive>
...
>> <param>-i ../&linux-s390-diff;</param>

> There are no defines for linux-s390-package or linux-s390-diff.
> The lack of these is what caused the error you saw.

> Can you supply the correct values?

I found this to be the problem as well. However, I'm guessing that the
problem was not to put the entities in the entities/package file but to
take them out from the */kernel.xml file. My rational was that ai64 seems
to be doing something especial by expanding
linux-2.4.19-ia64-020821.diff.bz2 plus providing patches through
linux-2.4.19-ia64-020821.diff. At this time I have no idea what would be
the patches needed for zSeries so I took the entries out of kernel.xml.

I got a little further. However, I hit another problem which I'm thinking I
could be easily fixed if I find the right file. For some reason the
texinfo-4.3.tar.bz2 is 0 bytes long. Do you know where I can get this file?
I tried getting the code from cvs by downloading si and nALFs but it must
be inside another file because I can't find it. I also want to get the
right file for the version I'm working on. I'm getting the following error:

    I: Package texinfo...
    I: Unpacking
    /mnt/93b0/usr/src/si/lsbsi-bootstrap/usr/src/packages-1.3.0
    /texinfo-4.3.tar.bz2...
    I: Log file stored in "/root/.nALFS/packages/tar-1.13.25.log".
    -:
    -: bzip2: Compressed file ends unexpectedly;
    -:      perhaps it is corrupted?  *Possible* reason follows.
    -: bzip2: Success
    -:      Input file =
    /mnt/93b0/usr/src/si/lsbsi-bootstrap/usr/src/packages-1.3.0
    /texinfo-4.3.tar.bz2, output file = (stdout)
    -:
    -: It is possible that the compressed file(s) have become corrupted.
    -: You can use the -tvv option to test integrity of such files.
    -:
    -: You can use the `bzip2recover' program to attempt to recover
    -: data from undamaged sections of corrupted files.
    -:
    I: Done unpacking
    /mnt/93b0/usr/src/si/lsbsi-bootstrap/usr/src/packages-1.3.0
    /texinfo-4.3.tar.bz2.
    E: Changing current directory to
    /mnt/93b0/usr/src/si/lsbsi-bootstrap/usr/src/texinfo-4.3 failed.
    E:     No such file or directory
    I: Log file stored in "/root/.nALFS/packages/texinfo-4.3.log".
    E: Execution failed (255).
    I: Executing for 00:12:15, total 00:12:15.

    make: *** [bootstrap] Error 255

By the way I also found a discrepancy on the changes I sent before:

In entities/package

<!ENTITY glibc-ia64-patch "glibc-2.2.5.s390.patch">

If Anything that should be:

<!ENTITY glibc-s390-patch "glibc-2.2.5.s390.patch">


Regards,
Eliuth