All of lore.kernel.org
 help / color / mirror / Atom feed
* meta-python: outrageously long cython shebang with pyro
@ 2017-05-13  6:34 S. Lockwood-Childs
  2017-05-15 11:58 ` Alexander Kanavin
  2017-05-19 22:27 ` [meta-python][master][pyro][PATCH] python-cython: mangle scripts to use /usr/bin/env python S. Lockwood-Childs
  0 siblings, 2 replies; 5+ messages in thread
From: S. Lockwood-Childs @ 2017-05-13  6:34 UTC (permalink / raw)
  To: openembedded-devel

The recipe-specific sysroots in pyro are a wonderful thing for uncovering 
missing dependencies, but they also make it easier than ever to break
the cython scripts by exceeding the measly 128-byte limit on shebang lines. 

The cython recipe builds fine -- this is runtime breakage from recipes that
depend on cython. This was always a danger when using lengthy toplevel
directory names (e.g. as tends to happen in jenkins auto-builds), but
now I managed to get the dreaded "bad interpreter: No such file or directory"
failure from cython despite a not-ridiculously-long toplevel path:

#!/var/data/sjl/poky/build/tmp/work/armv7a-neon-oe-linux-gnueabi/libplist/git-r0/recipe-sysroot-native/usr/bin/python-native/python

Does anybody know of a recommended strategy for solving the shebang problem,
now that it has been exacerbated by the sysroot move? I'll be happy to submit a
corresponding cython patch if so. 


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-05-20  0:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-13  6:34 meta-python: outrageously long cython shebang with pyro S. Lockwood-Childs
2017-05-15 11:58 ` Alexander Kanavin
2017-05-19 22:27 ` [meta-python][master][pyro][PATCH] python-cython: mangle scripts to use /usr/bin/env python S. Lockwood-Childs
2017-05-19 23:45   ` [meta-python][master][pyro][PATCH, v2] " S. Lockwood-Childs
2017-05-20  0:13   ` [meta-python][master][pyro][PATCH, v3] " S. Lockwood-Childs

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.