Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16530 - Documentation references a missing /usr/share/zoneinfo in stage1
Summary: Documentation references a missing /usr/share/zoneinfo in stage1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Everything (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
: 16656 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-02-27 23:16 UTC by Tim Redman
Modified: 2005-03-25 11:24 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Redman 2003-02-27 23:16:40 UTC
Following the installation documentation of 1.4 RC 3, when it's time to do step
11, the directory /usr/share/zoneinfo does not exist.

I am using the stage 1 tarball stage1-x86-1.4_rc3.tar.bz2 from
distro.ibiblio.org, and according to the MD5 checksum in
stage1-x86-1.4_rc3.tar.bz2.md5, file integrity is good.

Can this step wait until after the bootstrap process?  It was my recollection
that creating this particular symbolic link was further along in the process for
earlier versions.
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-02-28 12:59:58 UTC
it was further along, and the docs have been changed back to the original for now.  I think we need to find another solution to this.  The possible scenarios are:

forgot to set BIOS time
CMOS clock broken

so we need to find a solution that addresses both.  unless we actually include (one) default: /usr/share/zoneinfo/UTC or whatever, so that the clock can be set, and then later on in the docs, have them set the actual timezone.

thoughts?
Comment 2 SpanKY gentoo-dev 2003-03-02 14:57:14 UTC
/usr/share/zoneinfo used to be in stage1, and imo it really should be ...
Comment 3 SpanKY gentoo-dev 2003-03-02 14:57:22 UTC
*** Bug 16656 has been marked as a duplicate of this bug. ***
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2003-03-26 18:32:44 UTC
Ok, so why do we need to set the timezone *before* bootstrap ?  I cannot
think why it cannot be set just after bootstrap, before emerge system ?
Comment 5 Daniel Robbins (RETIRED) gentoo-dev 2003-04-04 02:31:51 UTC
Martin, the time needs to be set before bootstrap so that systems with messed-up clocks with the time set to somewhere in 1980 will not cause configure scripts to fail due to dates on files being set in the future. Yes, this causes many a configure script to fail. The best solution is to set the time before doing any building, and the best way to do this is to also take care of the zoneinfo stuff at the same time. Therefore, it makes sense to add /usr/share/zoneinfo to glibc builds that appear on the stage1 to make the install process go more smoothly.
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2003-04-06 05:08:35 UTC
Daniel, I changed the else part of 'if [ -z "`use build`" ] to:

-------------------------------------------------------
    else
        einfo "Installing Timezone data..."
        make PARALLELMFLAGS="${MAKEOPTS}" \
            install_root=${D} \
            timezone/install-others -C buildhere || die

        rm -rf ${D}/usr/share ${D}/usr/lib/gconv
    fi
--------------------------------------------------------

Which works if ${D}/usr/share/zoneinfo do not exist outside
the ebuild.  Do not work inside it though.  Any ideas ?
Comment 7 Martin Schlemmer (RETIRED) gentoo-dev 2003-04-06 05:11:52 UTC
Arg, dont worry, I am stupid.  the rm -rf just following removes it again :P
Comment 8 Martin Schlemmer (RETIRED) gentoo-dev 2003-04-06 06:27:16 UTC
Ok, this should be fixed for all glibc-2.3 ebuilds.
Comment 9 Mark Manashirov 2003-11-17 05:25:57 UTC
I don't believe this is fixed.  So far every attempt at installation my timezone data files are missing.

I'm installing with the 1.4 basic x86 cd, and I'm using the stage2 pentium4 tarball.

However, if I extract the tarball again after the installation, all the timezone data files are there.
Comment 10 Chris Gianelloni (RETIRED) gentoo-dev 2005-03-25 11:24:28 UTC
Moving these so we can remove the "Install CD" component from "Gentoo Linux".

I apologize to everyone for this spam, but according to the bugzilla developers,
this is the only reasonable way to do this.