* The tzdata package and a bug with tzdata-dbg
@ 2008-03-18 22:11 Holger Freyther
2008-03-18 22:32 ` Koen Kooi
0 siblings, 1 reply; 7+ messages in thread
From: Holger Freyther @ 2008-03-18 22:11 UTC (permalink / raw)
To: openembedded-devel; +Cc: openembedded-users
Hey,
there are not many consumers of the tzdata package but there is one issue you
might have when updating:
Both tzdata and tzdata-dbg are providing tzdata and at least my version of
ipkg preferred tzdata-dbg over tzdata. The result is that you don't have the
standard zoneinfo information for cities like New_York.
You want to get rid of tzdata-dbg and you want to get tzdata in this case, I
have no idea how to do this in ipk terms. An Replace in tzdata
for "tzdata-dbg" is not enough. I think tzdata-dbg should stop providing
tzdata and at one point be removed. I have a fix in the OpenMoko OE tree and
will do one for OE.dev now.
z.
PS: Do we have a policy for such kind of bugs?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: The tzdata package and a bug with tzdata-dbg
2008-03-18 22:11 The tzdata package and a bug with tzdata-dbg Holger Freyther
@ 2008-03-18 22:32 ` Koen Kooi
2008-03-19 10:43 ` Holger Freyther
0 siblings, 1 reply; 7+ messages in thread
From: Koen Kooi @ 2008-03-18 22:32 UTC (permalink / raw)
To: openembedded-devel; +Cc: openembedded-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Holger Freyther schreef:
| Hey,
|
| there are not many consumers of the tzdata package but there is one
issue you
| might have when updating:
| Both tzdata and tzdata-dbg are providing tzdata and at least my
version of
| ipkg preferred tzdata-dbg over tzdata. The result is that you don't
have the
| standard zoneinfo information for cities like New_York.
If the depchains aren't broken you also end up with $libc-dbg,
libgcc-dbg etc, if this were a library package. See
http://dominion.thruhere.net/koen/cms/the-testlab-strikes-again for
details on that.
| You want to get rid of tzdata-dbg and you want to get tzdata in this
case, I
| have no idea how to do this in ipk terms. An Replace in tzdata
| for "tzdata-dbg" is not enough.
Change RPROVIDES = "foo" to RPROVIDES_${PN} and bump PR. Every R*
variable works on _every_ package, while most people want it to work on
${PN}.
| I think tzdata-dbg should stop providing
| tzdata and at one point be removed. I have a fix in the OpenMoko OE
tree and
| will do one for OE.dev now.
|
|
| z.
|
| PS: Do we have a policy for such kind of bugs?
Yes: Change RPROVIDES = "foo" to RPROVIDES_<package> and bump PR.
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFH4ELyMkyGM64RGpERApMGAJ9f0bNStvl7fDODzrinVbd10p3VxACfUYl/
x75cApE+Vx9mzzmHQDSXJPI=
=XCkZ
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: The tzdata package and a bug with tzdata-dbg
2008-03-18 22:32 ` Koen Kooi
@ 2008-03-19 10:43 ` Holger Freyther
2008-03-19 10:57 ` Koen Kooi
0 siblings, 1 reply; 7+ messages in thread
From: Holger Freyther @ 2008-03-19 10:43 UTC (permalink / raw)
To: openembedded-devel
On Tuesday 18 March 2008 23:32:18 Koen Kooi wrote:
Hey Koen,
thanks for the fast answer
> Yes: Change RPROVIDES = "foo" to RPROVIDES_<package> and bump PR.
Yes, this part is obvious. Now to the hard part tzdata-dbg has no content, now
that the RPROVIDES are different the tzdata-dbg package will be gone. The
tricky question is:
ipkg update
ipkg upgrade
tzdata-dbg should be gone, tzdata should be installed. How to achieve this? My
attempt was to have an empty tzdata-dbg package that is not providing tzdata
anymore, so on update ipkg should try to install tzdata again....
z.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: The tzdata package and a bug with tzdata-dbg
2008-03-19 10:43 ` Holger Freyther
@ 2008-03-19 10:57 ` Koen Kooi
2008-03-19 11:48 ` Andrea Adami
2008-03-19 15:10 ` Holger Freyther
0 siblings, 2 replies; 7+ messages in thread
From: Koen Kooi @ 2008-03-19 10:57 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Holger Freyther schreef:
| On Tuesday 18 March 2008 23:32:18 Koen Kooi wrote:
| Hey Koen,
| thanks for the fast answer
|
|
|> Yes: Change RPROVIDES = "foo" to RPROVIDES_<package> and bump PR.
| Yes, this part is obvious. Now to the hard part tzdata-dbg has no
content, now
| that the RPROVIDES are different the tzdata-dbg package will be gone.
It won't, unless you removed this from bitbake.conf:
ALLOW_EMPTY_${PN}-dbg = "1"
| The
| tricky question is:
|
| ipkg update
| ipkg upgrade
opkg ;)
|
|
| tzdata-dbg should be gone, tzdata should be installed. How to achieve
this? My
| attempt was to have an empty tzdata-dbg package that is not providing
tzdata
| anymore, so on update ipkg should try to install tzdata again....
That should work with opkg. But in your case (OM), bump PR on eds-dbus
to make sure tzdata gets pulled in.
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFH4PGBMkyGM64RGpERAgpUAJ9nDVIXVXSJnHr3iWJw4de8RrLVPwCgkAX1
scmEducy/7eUqpLJkCn7Zdo=
=Xw9a
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: The tzdata package and a bug with tzdata-dbg
2008-03-19 10:57 ` Koen Kooi
@ 2008-03-19 11:48 ` Andrea Adami
2008-03-19 12:22 ` Koen Kooi
2008-03-19 15:10 ` Holger Freyther
1 sibling, 1 reply; 7+ messages in thread
From: Andrea Adami @ 2008-03-19 11:48 UTC (permalink / raw)
To: openembedded-devel
Holger, Koen,
talking about tzdata, the file /etc/localtime is missing.
I'd suggest you to look at the gentoo-ebuild here for some tips (pkg_config):
http://www.gentoo-portage.com/AJAX/Ebuild/62372/View
Andrea
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: The tzdata package and a bug with tzdata-dbg
2008-03-19 11:48 ` Andrea Adami
@ 2008-03-19 12:22 ` Koen Kooi
0 siblings, 0 replies; 7+ messages in thread
From: Koen Kooi @ 2008-03-19 12:22 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Andrea Adami schreef:
| Holger, Koen,
|
| talking about tzdata, the file /etc/localtime is missing.
|
| I'd suggest you to look at the gentoo-ebuild here for some tips
(pkg_config):
|
| http://www.gentoo-portage.com/AJAX/Ebuild/62372/View
It's intentional, since ipkg (which was/is the de-facto standard in OE)
lacks a way to do interactive configure that works well with installer
GUI. So we decided: leave it to the user.
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFH4QWEMkyGM64RGpERAivyAKCt+CZjFO9SoMDWVJ3ZHz2y5gKHIQCfQkaC
0nlMdWLPZhFeIWGVfCY0px8=
=QJOG
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: The tzdata package and a bug with tzdata-dbg
2008-03-19 10:57 ` Koen Kooi
2008-03-19 11:48 ` Andrea Adami
@ 2008-03-19 15:10 ` Holger Freyther
1 sibling, 0 replies; 7+ messages in thread
From: Holger Freyther @ 2008-03-19 15:10 UTC (permalink / raw)
To: openembedded-devel
On Wednesday 19 March 2008 11:57:05 Koen Kooi wrote:
> It won't, unless you removed this from bitbake.conf:
>
> ALLOW_EMPTY_${PN}-dbg = "1"
eeek, thank you! I hope you merged it the right way. :)
z.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-03-19 18:25 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-18 22:11 The tzdata package and a bug with tzdata-dbg Holger Freyther
2008-03-18 22:32 ` Koen Kooi
2008-03-19 10:43 ` Holger Freyther
2008-03-19 10:57 ` Koen Kooi
2008-03-19 11:48 ` Andrea Adami
2008-03-19 12:22 ` Koen Kooi
2008-03-19 15:10 ` Holger Freyther
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.