Re: OE on fedora9

2008-06-22 Thread Andy Green

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Somebody in the thread at some point said:
| On Thursday 19 June 2008 12:48:45 Michael 'Mickey' Lauer wrote:
|> Am Donnerstag 19 Juni 2008 09:54:09 schrieb Andy Green:
|>> Besides, I can't use
|>> our wonderful flawless Openmoko build+packaging system to work on tslib
|>> because it can't cope with exotic hosts like Fedora 9.
|> Still? What's the problem now, gmp-native's problem with gcc 4.3 was
fixed
|> as far as I can recall.
|
| Okay,
| four days, three kernel oopses of the fedora 9 kernel in virtualbox
and two
| patches to OE later I can say that the asu image is building on fedora 9.

F9 kernel (actually, I pick bits out of development / rawhide so it's a
later kernel here right now) has been very solid here but of course if
one doesn't use the bit that's broken that would always seem to be the case.

Nice work anyway, it's quite a herd of cats to get to build.

- -Andy
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkhelm8ACgkQOjLpvpq7dMoavwCgiZ74AEz68aSIvRJrWfmZ0aMA
Z9MAnRSYi190pGm9THJ61ab4Oe8TJYQ9
=O67C
-END PGP SIGNATURE-



Re: OE on fedora9 (was: [PATCH] touchscreen-meddling.patch)

2008-06-22 Thread Michael 'Mickey' Lauer
Am Sonntag 22 Juni 2008 16:13:59 schrieb Holger Freyther:
> On Thursday 19 June 2008 12:48:45 Michael 'Mickey' Lauer wrote:
> > Am Donnerstag 19 Juni 2008 09:54:09 schrieb Andy Green:
> > > Besides, I can't use
> > > our wonderful flawless Openmoko build+packaging system to work on tslib
> > > because it can't cope with exotic hosts like Fedora 9.
> >
> > Still? What's the problem now, gmp-native's problem with gcc 4.3 was
> > fixed as far as I can recall.
>
> Okay,
> four days, three kernel oopses of the fedora 9 kernel in virtualbox and two
> patches to OE later I can say that the asu image is building on fedora 9.
>
> z.

yay! Z. to the rescue.

-- 
:M:



Re: OE on fedora9 (was: [PATCH] touchscreen-meddling.patch)

2008-06-22 Thread Holger Freyther
On Thursday 19 June 2008 12:48:45 Michael 'Mickey' Lauer wrote:
> Am Donnerstag 19 Juni 2008 09:54:09 schrieb Andy Green:
> > Besides, I can't use
> > our wonderful flawless Openmoko build+packaging system to work on tslib
> > because it can't cope with exotic hosts like Fedora 9.
>
> Still? What's the problem now, gmp-native's problem with gcc 4.3 was fixed
> as far as I can recall.

Okay,
four days, three kernel oopses of the fedora 9 kernel in virtualbox and two 
patches to OE later I can say that the asu image is building on fedora 9.

z.



Re: OE on fedora9

2008-06-19 Thread Andy Green

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Somebody in the thread at some point said:
| On Thu, Jun 19, 2008 at 02:48:24PM +0100, Andy Green wrote:
|> -BEGIN PGP SIGNED MESSAGE-
|> Hash: SHA1
|>
|> Somebody in the thread at some point said:
|> | Andy Green wrote:
|> |> We just need to be able to install the target packages and -dev on the
|> |> build host so we can build against them, like any other normal distro.
|> |
|> | Hmm, don't we have this already with opkg-target ? (See John Lee's
|> | mail from May 29.)
|>
|> He said he was going to work on it... is this part of the toolchain
|> tarball now then?  That would be a great thing indeed.
|
| afaik, not yet.  julian was interested in it so he took it over.  the
| structure is there already, but we need to fix the related bb files in
| OE because most of the time install a -dev package will trigger the
| installation of some non exist packages.  this will cause opkg failure.

OK but this is still striding out in the right direction, great.  To
close the circle the other thing we need is "rpmbuild" so the guy can in
turn package "his app" into opkg.  With those two in place we actually
have a real story for developers really based on the packages.

|> | By the way, what really puzzles me in all this discussion is whether
|> | you're really the only person on the whole planet who tries to get
|> | OE to work on Fedora.
|>
|> Seems so if we mean Fedora 9.  Most folks in OM are on Ubuntu it seems,
|> you're on Gentoo.  I didn't meet anyone on Fedora (maybe Carsten uses it
|> for old times' sake I don't remember).

| hmm i believe some OE guys use fedora.  actually i did bring your question
| to them but he doesn't use the experimental (? I can't recall the
right name)
| version you're using by then.

"Development" branch... the reason it didn't think that was inherently
the source of the trouble is it was only a couple of weeks away from
mutating into Fedora 9 release at that time, and I believe they always
use their own distro gcc to build the distro.

What Mike said sounded right, there's a lag between cutting edge tools
and OE coping with them regardless of distro they came from, which is
fair enough in itself.  The issue is minimized in most cases to zero
when we can use precooked packages, then we couldn't care less about the
build requirements for it when we will never build it ourselves.

Anyway I am really glad to hear you moved it on and Julian will take it
up, in terms of convincing a developer he can be productive quickly this
package-based story will be about a bazillion times more effective than
direct OE tools.

- -Andy
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkhae0cACgkQOjLpvpq7dMq9ZwCfQ2/ddjDTV2MPovUXuZu52Ntp
xPcAniqk9kBm4KldsR4Ivb8PqAkFmiBk
=nrwF
-END PGP SIGNATURE-



Re: OE on fedora9

2008-06-19 Thread John Lee
On Thu, Jun 19, 2008 at 02:48:24PM +0100, Andy Green wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Somebody in the thread at some point said:
> | Andy Green wrote:
> |> We just need to be able to install the target packages and -dev on the
> |> build host so we can build against them, like any other normal distro.
> |
> | Hmm, don't we have this already with opkg-target ? (See John Lee's
> | mail from May 29.)
>
> He said he was going to work on it... is this part of the toolchain
> tarball now then?  That would be a great thing indeed.

afaik, not yet.  julian was interested in it so he took it over.  the
structure is there already, but we need to fix the related bb files in
OE because most of the time install a -dev package will trigger the
installation of some non exist packages.  this will cause opkg failure.

>
> | By the way, what really puzzles me in all this discussion is whether
> | you're really the only person on the whole planet who tries to get
> | OE to work on Fedora.
>
> Seems so if we mean Fedora 9.  Most folks in OM are on Ubuntu it seems,
> you're on Gentoo.  I didn't meet anyone on Fedora (maybe Carsten uses it
> for old times' sake I don't remember).
>
> - -Andy

hmm i believe some OE guys use fedora.  actually i did bring your question
to them but he doesn't use the experimental (? I can't recall the right name)
version you're using by then.




Re: OE on fedora9

2008-06-19 Thread Mike (mwester)
Werner Almesberger wrote:
> Andy Green wrote:
>> We just need to be able to install the target packages and -dev on the
>> build host so we can build against them, like any other normal distro.
> 
> Hmm, don't we have this already with opkg-target ? (See John Lee's
> mail from May 29.)
> 
> By the way, what really puzzles me in all this discussion is whether
> you're really the only person on the whole planet who tries to get
> OE to work on Fedora.

I've been using OE on Fedora since Fedora 5; I upgraded one build
machine from F7 to F9 earlier this week; my main server will upgrade
when I have some more free time.  I build the Unslung, SlugOS (BE and
LE), and several Openmoko images regularly, and hack about on some
others from time to time.

My observations over this period of time are that there is nothing
unique about OE on Fedora; in general all the issues that appear to be
unique to Fedora are just due to "bleeding edge" things, and end up
reported by users of other distros as those distros upgrade (an example
occurred recently with F9-beta -- OE build problems that seemed on first
glance to be a beta-type bug in F9 turned out to be gcc issues that
affect all users of gcc 4.3).

At some point, someone in the OE community convinced me to switch my
build machine to Debian, because apparently this would make my problems
go away.  I actually set up a VMware image to test, and found this
generally wasn't true -- F7 vs Debian made little difference for the
issues I was having.  My conclusion is that any assertion that Fedora is
somehow more troublesome than is Debian for OE building may have at one
time been true, but is no longer the case.

A RedHat kernel patch that kills Qemu is the only "black mark" on Fedora
that I still see.  But I don't build locales for development images
anyway, so disabling that in the build actually saves time and avoids
this well-known Qemu/RedHat problem.  (I hear that this may be resolved
in Fedora 9, but I'll believe it when I test it myself!)


> - Werner

Mike (mwester)



Re: OE on fedora9

2008-06-19 Thread Andy Green

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Somebody in the thread at some point said:
| Andy Green wrote:
|> We just need to be able to install the target packages and -dev on the
|> build host so we can build against them, like any other normal distro.
|
| Hmm, don't we have this already with opkg-target ? (See John Lee's
| mail from May 29.)

He said he was going to work on it... is this part of the toolchain
tarball now then?  That would be a great thing indeed.

| By the way, what really puzzles me in all this discussion is whether
| you're really the only person on the whole planet who tries to get
| OE to work on Fedora.

Seems so if we mean Fedora 9.  Most folks in OM are on Ubuntu it seems,
you're on Gentoo.  I didn't meet anyone on Fedora (maybe Carsten uses it
for old times' sake I don't remember).

- -Andy

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkhaY6EACgkQOjLpvpq7dMrx0ACffSFiCuDpCCXhUdl+SobHdpYd
1psAoI2FyDJ6NcldrCwwnKAvRqeWUUqI
=2RP7
-END PGP SIGNATURE-



Re: OE on fedora9

2008-06-19 Thread Werner Almesberger
Andy Green wrote:
> We just need to be able to install the target packages and -dev on the
> build host so we can build against them, like any other normal distro.

Hmm, don't we have this already with opkg-target ? (See John Lee's
mail from May 29.)

By the way, what really puzzles me in all this discussion is whether
you're really the only person on the whole planet who tries to get
OE to work on Fedora.

- Werner



Re: OE on fedora9

2008-06-19 Thread Andy Green

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Somebody in the thread at some point said:
| Am Donnerstag 19 Juni 2008 13:24:47 schrieb Andy Green:
|> Somebody in the thread at some point said:
|> | Am Donnerstag 19 Juni 2008 09:54:09 schrieb Andy Green:
|> |> Besides, I can't use
|> |> our wonderful flawless Openmoko build+packaging system to work on
tslib
|> |> because it can't cope with exotic hosts like Fedora 9.
|> |
|> | Still? What's the problem now, gmp-native's problem with gcc 4.3 was
|>
|> fixed as
|>
|> | far as I can recall.
|>
|> "Last time I tried it" a few weeks ago it was unable to build the 1,100
|> packages it decided it wanted to build before it would do anything
|> useful: it choked on more than one but the one that made me throw my
|> hands in the air was when it failed on building build host native dbus
|> libs.
|
| Ah, bummer. Fwiw, I'd be interested in seeing your logs.

It's two months too late, but I still have the build tree, let me know
the subpath to the files you wanted.  IIRC maybe three builds failed and
we told it to simply ignore the first couple, but at seeing it build
host dbus in order to compile against target tslib, I realized with a
jolt: this is the build system Cthulhu uses and I am doomed.

The point isn't really that it failed in that Herculean effort to
install a parallel distro on my host, I would expect it to be really
fragile since it didn't quite manage to generate host compilers of a
fixed version (the end stage of the insanity): rather that the entire
Gentoo style "rebuild it" action is totally needless when the built
target packages are already available complete with -dev packages.  We
just need to be able to install the target packages and -dev on the
build host so we can build against them, like any other normal distro.

- -Andy
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkhaVjcACgkQOjLpvpq7dMpRGACeI6MMgRwMDXjum5nJ9bCYsw7B
q5IAn0HzO5FUoudrKJGg3P1ytCat6Wig
=p70f
-END PGP SIGNATURE-



Re: OE on fedora9

2008-06-19 Thread Michael 'Mickey' Lauer
Am Donnerstag 19 Juni 2008 13:24:47 schrieb Andy Green:
> Somebody in the thread at some point said:
> | Am Donnerstag 19 Juni 2008 09:54:09 schrieb Andy Green:
> |> Besides, I can't use
> |> our wonderful flawless Openmoko build+packaging system to work on tslib
> |> because it can't cope with exotic hosts like Fedora 9.
> |
> | Still? What's the problem now, gmp-native's problem with gcc 4.3 was
>
> fixed as
>
> | far as I can recall.
>
> "Last time I tried it" a few weeks ago it was unable to build the 1,100
> packages it decided it wanted to build before it would do anything
> useful: it choked on more than one but the one that made me throw my
> hands in the air was when it failed on building build host native dbus
> libs.

Ah, bummer. Fwiw, I'd be interested in seeing your logs.

:M:



Re: OE on fedora9

2008-06-19 Thread Andy Green

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Somebody in the thread at some point said:
| Am Donnerstag 19 Juni 2008 09:54:09 schrieb Andy Green:
|> Besides, I can't use
|> our wonderful flawless Openmoko build+packaging system to work on tslib
|> because it can't cope with exotic hosts like Fedora 9.
|
| Still? What's the problem now, gmp-native's problem with gcc 4.3 was
fixed as
| far as I can recall.

"Last time I tried it" a few weeks ago it was unable to build the 1,100
packages it decided it wanted to build before it would do anything
useful: it choked on more than one but the one that made me throw my
hands in the air was when it failed on building build host native dbus
libs.  (Of course it didn't need to build any of them since they are
sitting in the repo in packages already built).

All I wanted to do then was compile something else against target tslib
libs (same as we talk about now by coincidence).  But it insisted to
build host dbus libs, and after some hours churning away found it
couldn't.  "Experimental" near-release development branch Fedora - and
me - got the blame at the time, but Fedora can compile itself with its
tools and this is not the first cross build system I used.

When the happy day comes it can compile against -dev packages on the
build host, and not build even 1 extra package let alone 1,100, I'll try
it again: until then userspace on openmoko is closed to me unless I am
going to build it by hand, which is what I ended up doing on dm2.

- -Andy
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkhaQfgACgkQOjLpvpq7dMq3fQCfUQpOCBgmFlw466OPFMSy369J
gREAmwVrK4nC69qh62FkfxVPH7jf9TJi
=eJka
-END PGP SIGNATURE-