Skip to contentSkip to conversation

Where to put a check if my tmp is a symlink?

DISCUSSION Stefan Schmidt 2 participants 2 messages Jan 21, 2009

lore
Share & tools
lore
#0 lore raw

Hello.

I spent at least 2 hours yesterday to understand why lintool-native breaks on a build from scratch for me now.

Finally I found this bugreport:
http://bugs.openembedded.org/show_bug.cgi?id=4904

And yes I thought symlinking between different tmp dirs would be a neat idea. Without symlink it works fine again. This leads me to the question if we should check for this and bail out instead of letting the first 150 tasks go through and then fail in libtool with "already configured use make distclean"

Anything I missed?

regards
Stefan Schmidt

#1 lore raw
Quoted 5 lines · Stefan Schmidt

Hello.

I spent at least 2 hours yesterday to understand why lintool-native breaks on a build from scratch for me now.

Quoted 7 lines

Finally I found this bugreport:
http://bugs.openembedded.org/show_bug.cgi?id=4904

And yes I thought symlinking between different tmp dirs would be a neat idea. Without symlink it works fine again. This leads me to the question if we should check for this and bail out instead of letting the first 150 tasks go through and then fail in libtool with "already configured use make distclean"

binutils will fail as well

Quoted 1 line

Anything I missed?

It *is* mentioned in http://wiki.openembedded.net/index.php/Getting_Started, but it does that a small mental leap to apply the symlink warning to directories below /stuff as well :)

Anyway, checking for a symlink in sanity.bbclass would be a good idea.

regards,

Koen