Re: glibc-2.42 instuctions don't clearly say where to build Time Zone data

"Rainer Fiebig" ([email protected] via lfs-support Mailing List) <[email protected]> Sat, 29 Nov 2025 19:44:59 +0100
Newsgroups gmane.linux.lfs.support
Message-ID <[email protected]>
Am 29.11.25 um 18:22 schrieb Richard Henschel ([email protected]
via lfs-support Mailing List):
> On 11/29/25 08:51, Rainer Fiebig ([email protected] via lfs-support
> Mailing List) wrote:
> 
>> Am 29.11.25 um 02:57 schrieb Richard Henschel ([email protected]
>> via lfs-support Mailing List):
>>> On 11/28/25 00:28, Bruce Dubbs ([email protected] via lfs-support
>>> Mailing List) wrote:
>>>> On 11/26/25 7:16 PM, "Richard" ([email protected] via
>>>> lfs-support Mailing List) wrote:
>>>>> The instructions work fine, just not clear where:
>>>>>
>>>>> Add 'cd glibc-2.42/timezone' directory or ../timezone if in the
>>>>> 'build'
>>>>> directory at the top.
>>>>> There is also a timezone directory in the 'build' directory where
>>>>> this won't
>>>>> work.
>>>> As stated in Part III, page iii, General Compilation Instructions,
>>>> Second 'Important' note:
>>>>
>>>> 3. For each package:
>>>>
>>>>     a. Using the tar program, extract the package to be built.
>>>>
>>>>     b. Change to the directory created when the package was extracted.
>>>>
>>>>     ...
>>>>
>>>> So we assume starting in the directory  $LFS/sources/glibc-2.42/, or
>>>> in Chapters 7 and 8 just /sources/glibc-2.42.
>>>>
>>>> The only time we say to change directories is
>>>>
>>>>    mkdir -v build
>>>>    cd       build
>>>>
>>>> Don't read things into the instructions that are not there.  All other
>>>> commands use either relative directory locations or absolute directory
>>>> paths.
>>>>
>>>>    -- Bruce
>>>>
>>> True, but you never tell the installer to "cd timezone" directory in the
>>> root of the package source.  You should.  I only did because I did
>>> install of libc years ago and knew there was such a directory, and got a
>>> clue when did "tar -xf ../../tzdata2025b.tar.gz" showing that I was
>>> supposed to be in a subdirectory under the source root.  A newbie might
>>> not catch that.  The instruction block should be:
>> I think you got this wrong.  If the user follows the instructions he is
>> still in the  /build  directory when the time-zone-data are untarred.
>> And the time-zone-data are untarred into this directory.  The program
>> "zic" which is then used to compile/install the timezones has already
>> been installed at this point with "make install".  Thus it is neither
>> necessary nor would it make sense to "cd timezone".
>>
>>
>> Rainer
> 
> OK.  I understand my mistake now.  I took the scenic tour through
> DESTDIR because at the time it was a glibc upgrade.  I did not return
> exactly back to where I came from and confused myself.  My apologies for
> putting you through this.
I've been through worse. ;)

Rainer

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-support
Unsubscribe: See the above information page