Skip to Content.
Sympa Menu

sm-commit - Re: [SM-Commit] GIT changes to master grimoire by Sukneet Basuta (2a70a4dcd7bc71c256a7503a3dbdd67f5a2be1f4)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Arjan Bouter <abouter AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: Re: [SM-Commit] GIT changes to master grimoire by Sukneet Basuta (2a70a4dcd7bc71c256a7503a3dbdd67f5a2be1f4)
  • Date: Sat, 19 May 2012 14:15:27 +0200

On Sat, 19 May 2012 08:08:48 -0400
Sukneet Basuta <sukneet AT sourcemage.org> wrote:

> On Thu, May 17, 2012 at 11:53 AM, Arjan Bouter <abouter AT sourcemage.org>
> wrote:
> >
> > When casting tzdata, at least on this box, I get this:
> >
> > Preparing to install tzdata
> > Installing tzdata
> > Local TIme Zone:  UTC
> > zic: Can't link from /usr/share/zoneinfo/Antarctica/McMurdo
> > to /usr/share/zoneinfo/Antarctica/South_Pole: File exists Problem
> > Detected!
> > INSTALL failed!
> > Creating compile log /var/log/sorcery/compile/tzdata-2012c.bz2
> >
> >
> > Hmm, are we supposed to clean up the target dir for spells?
> > Or are existing zoneinfo files and links something the spells should take
> > care
> > off?
>
> Sorry for the late reply, your email somehow ended up in my spam folder.
>
> You shouldn't have to, but on every install where I used your test
> basesystem tar I get that error (even on glibc installs when it still
> installed the timezone rules, which often left me with broken systems
> and prompted this change). On installs where the iso or new chroot was
> used, there was no error. So I attribute the error to something on
> your basesystem tar. I'm not sure what the problem is, but it has
> something to do with how glibc is installed. Before I added this
> spell, I would remove /usr/share/zoneinfo and reinstall glibc, which
> would solve the problem.
>
> I originally added a few lines to remove the offending directories and
> files under /usr/share/zoneinfo, but I opted against it in the case
> the user had a custom installed timezone. I imagine that there are
> only a few users who used your test basesystem tar, so I did not see
> it as too much as an issue.
>
> Anyway, if you don't have any custom timezones installed just remove
> /usr/share/zoneinfo (and /etc/localtime) and install tzdata.
> _______________________________________________
> SM-Commit mailing list
> SM-Commit AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-commit

Thanks for the feedback :)

Just a thought, grepping /usr/share/zoneinfo from the files installed by glibc
and removing them if it's a regular file should keep custom zoneinfo while
removing the default ones, right?

That could make the spell work on every box.

Just a thought,
Arjan

+===================
Source Mage GNU/Linux developer,
http://www.sourcemage.org
+============




Archive powered by MHonArc 2.6.24.

Top of Page