coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: building old coreutils versions on new glibc systemsy


From: Bernhard Voelker
Subject: Re: building old coreutils versions on new glibc systemsy
Date: Sat, 10 Aug 2019 15:19:48 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

On 8/3/19 4:30 AM, Assaf Gordon wrote:
> Attached a patch to add these (+ README + build script)
> to a new 'contrib' directory.
> 
> NOTE:
> I had to disable the 'commit-msg' hook (for the 'contrib' prefix)
> and the 'precommit' hook (because the patch files contains spaces at
> end of lines, and lines longer than 80 characters).

The whole stuff could go into 'scripts' instead of a new 'contrib'.

> Not sure if this is valid, or will cause troubles later on.
> An alternative might be to gzip the patches before commiting?
> Ideas welcomed.

Of course, I immediately tried to build and install all versions
which are possible with it since 5.0. ;-)

My observation was that the locale data and the info files were
overwritten by each next version being installed.
Earlier versions' configure script have a slightly different
set of options to control where those files go.  Therefore,
I suggest to simply install each version in it's own
directory beneath PREFIX, e.g. $PREFIX/coreutils-5.0, and
then add symlinks to the executables and manpages to common
$PREFIX/{bin,man} directories which one could add to PATH/MANPATH.
WDYT - the attached does this.

Furthermore, it:
- allows builds of newer versions which don't need a patch (>=8.30).
- adds error handling to trivial cd/mkdir commands,
- builds and installs PDF documentation.

Have a nice day,
Berny

Attachment: build-older-versions.sh.tar.xz
Description: application/xz


reply via email to

[Prev in Thread] Current Thread [Next in Thread]