wpunix icon indicating copy to clipboard operation
wpunix copied to clipboard

build8.sh broken; libc-5.3.12-27.i386.rpm no longer exists!?

Open rogerxxxx opened this issue 9 months ago • 4 comments

Break/bug within build8.sh script, looks like the file libc-5.3.12-27.i386.rpm no longer exists!

Searching the Internet also seems to be returning null/failed searches for just libc-5.3.12-27.i386.rpm file. Rpmfind.net only shows some a few i386.rpm built packages, and likely will be likely far fewer within the next year(s).

Seems the build8.sh script was just updated last year, indicative build8.sh script may have been still working with a still likely still present RPM file, until the past months.

These pre-built dependencies should be stored within this archive, rather than depending on remote always changing URLs.

Meanwhile, I was just trying to build a generic tarball (installing to /usr/local), rather than using the eccentric Linux package manager packages. RPM prebuilt installs to /usr.

$ ./build8.sh
...
./build8.sh line 56: chmod 0755 wordperfect8_i386/usr/bin/wp
./build8.sh line 59: test -f libc-5.3.12-27.i386.rpm
./build8.sh line 59: wget https://archive.download.redhat.com/pub/redhat/linux/5.2/en/os/i386/RedHat/RPMS/libc-5.3.12-27.i386.rpm
--2024-05-09 20:37:18--  https://archive.download.redhat.com/pub/redhat/linux/5.2/en/os/i386/RedHat/RPMS/libc-5.3.12-27.i386.rpm
Resolving archive.download.redhat.com (archive.download.redhat.com)... 23.45.46.233, 23.45.46.234
Connecting to archive.download.redhat.com (archive.download.redhat.com)|23.45.46.233|:443... connected.
OpenSSL: error:0A000438:SSL routines::tlsv1 alert internal error
Unable to establish SSL connection.
4 :-(

WORKAROUND: Get the Red Hat 5.2 CD ISO, likely the first red-hat-linux-5.2-cd1.iso file. https://archive.org/details/red-hat-linux-5.2/

Temporarily mount the redhat 5.2 ISO file and copy over the specifically named and libc-5.3.12-27.i386.rpm and glibc-2.0.7-29.i386.rpm files. Script should then either ignore trying to download again, or the lines can be commented out for doing so manually.

# mount /home/user/downloads/red-hat-linux-5.2-cd1.iso /mnt/tmp
$ cp /mnt/tmp/RedHat/RPMS/glibc-2.0.7-29.i386.rpm /home/user/src/wpunix/
$ cp /mnt/tmp/RedHat/RPMS/libc-5.3.12-27.i386.rpm /home/user/src/wpunix/

PROPOSED SOLUTION: A more permanent solution, download the redhat 5.2 ISO file, either include the entire redhat 5.2 ISO file here for users, or extract the specifically required files as denoted above (smaller space requirements), and include them within the archive here. Not sure on the legalities, but will likely need to most certainly do so privately while deciding upon legalities, else these files maybe lost as time continues. There's likely other i386 distributions, providing similarly built libc and glibc i386 builds as well. Also, /usr files should be most certainly packaged as /usr/local files! Think the /opt directory is fine, or as intended.

rogerxxxx avatar May 10 '24 00:05 rogerxxxx