Skip to contentSkip to conversation

Latest base.bbclass commit breaks meta-toolchain build

DISCUSSION Holger Freyther 3 participants 4 messages Aug 31, 2010

lore
Share & tools
lore
#0 lore raw

Hi,

with the latest change the task-host-sdk.bb tries to copy it on itself and cp breaks. Reverting the commit has fixed the issue for me. Years ago pb_ added a "safe" append path function, I think it could make sense to use it here as well?

#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 4 lines · Holger Freyther

Hi,

with the latest change the task-host-sdk.bb tries to copy it on itself and cp breaks. Reverting the commit has fixed the issue for me.

The tinderbox as work is turning red as well for tasks and images ('cp:
foo.bb and foo.bb are the same file') and reverting this change seems to make it work again.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFMfMotMkyGM64RGpERAmTjAJoCAsOvd9YXTsXLWYNk82d8KEloRwCgilez O3ez/SlE2kAuDHUWJ8dSWAI=
=awDo
-----END PGP SIGNATURE-----

#2 lore raw
Quoted 6 lines · Koen Kooi

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 2 lines · Holger Freyther

Hi,

Quoted 8 lines
Quoted 1 line

with the latest change the task-host-sdk.bb tries to copy it on itself

and cp

Quoted 1 line

breaks. Reverting the commit has fixed the issue for me.

The tinderbox as work is turning red as well for tasks and images ('cp:
foo.bb and foo.bb are the same file') and reverting this change seems to make it work again.

This makes no sense -- something must be making some really foolish assumptions somewhere. Reverted for now, we're back to having broken absolute file:// uris again.

Signature · 5 lines
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
#3 lore raw
In reply to Holger Freyther

On Tue, Aug 31, 2010 at 12:53 AM, Holger Freyther
<[email protected]<holger%[email protected]>

Quoted 9 lines

wrote:

with the latest change the task-host-sdk.bb tries to copy it on itself and cp
breaks. Reverting the commit has fixed the issue for me. Years ago pb_ added a
"safe" append path function, I think it could make sense to use it here as well?

I think you misunderstood. The latest base.bbclass changed oe_unpack_file to use pb's path join function, and that's what caused the breakage. Previously it was using os.path.join.

Signature · 5 lines
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics