All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 12331] New: meson issue
@ 2019-11-20 14:08 bugzilla at busybox.net
  2019-11-20 15:19 ` [Buildroot] [Bug 12331] " bugzilla at busybox.net
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2019-11-20 14:08 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12331

            Bug ID: 12331
           Summary: meson issue
           Product: buildroot
           Version: 2019.02.7
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: jpcartal at free.fr
                CC: buildroot at uclibc.org
  Target Milestone: ---

Meson script uses full path to python3 when executed which gives errors when
the path is too long :

$ cat host/bin/meson 
#!/home/Dev/Ssd/buildroot/buildroot-2019.02.7/host/bin/python3
# EASY-INSTALL-ENTRY-SCRIPT: 'meson==0.49.0','console_scripts','meson'
__requires__ = 'meson==0.49.0'
import re
import sys
from pkg_resources import load_entry_point

if __name__ == '__main__':
    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
    sys.exit(
        load_entry_point('meson==0.49.0', 'console_scripts', 'meson')()
    )

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 12331] meson issue
  2019-11-20 14:08 [Buildroot] [Bug 12331] New: meson issue bugzilla at busybox.net
@ 2019-11-20 15:19 ` bugzilla at busybox.net
  2019-11-27  7:58 ` bugzilla at busybox.net
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2019-11-20 15:19 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12331

--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
Yes, I also encountered this error. What I did so far to work around it is:

define HOST_MESON_FIXUP_SHEBANG
        $(SED) 's%^#!.*%#!/usr/bin/env python3%' $(HOST_DIR)/bin/meson
endef
HOST_MESON_POST_INSTALL_HOOKS += HOST_MESON_FIXUP_SHEBANG

in package/meson/meson.mk.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 12331] meson issue
  2019-11-20 14:08 [Buildroot] [Bug 12331] New: meson issue bugzilla at busybox.net
  2019-11-20 15:19 ` [Buildroot] [Bug 12331] " bugzilla at busybox.net
@ 2019-11-27  7:58 ` bugzilla at busybox.net
  2019-11-27  8:09 ` bugzilla at busybox.net
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2019-11-27  7:58 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12331

--- Comment #2 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
Looking back at this, your path
"/home/Dev/Ssd/buildroot/buildroot-2019.02.7/host/bin/python3" is not that
long, it's only 61 bytes long. This shouldn't cause a problem, the maximum
shebang line is 128 bytes.

So I'm not sure why you think the length of the path is a problem. Could you
give more details about the error you're seeing ?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 12331] meson issue
  2019-11-20 14:08 [Buildroot] [Bug 12331] New: meson issue bugzilla at busybox.net
  2019-11-20 15:19 ` [Buildroot] [Bug 12331] " bugzilla at busybox.net
  2019-11-27  7:58 ` bugzilla at busybox.net
@ 2019-11-27  8:09 ` bugzilla at busybox.net
  2020-01-13 17:37 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2019-11-27  8:09 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12331

--- Comment #3 from Jean-pierre Cartal <jpcartal@free.fr> ---
My bad, I removed parts of the path, so it seems shorter that the maximum
allowed, but the real problem is indeed the length and your patch solved it.

Regards.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 12331] meson issue
  2019-11-20 14:08 [Buildroot] [Bug 12331] New: meson issue bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2019-11-27  8:09 ` bugzilla at busybox.net
@ 2020-01-13 17:37 ` bugzilla at busybox.net
  2020-01-13 18:08 ` bugzilla at busybox.net
  2020-02-03 12:10 ` bugzilla at busybox.net
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2020-01-13 17:37 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12331

Yann E. MORIN <yann.morin.1998@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m.weisser.m at gmail.com

--- Comment #4 from Yann E. MORIN <yann.morin.1998@free.fr> ---
*** Bug 12461 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 12331] meson issue
  2019-11-20 14:08 [Buildroot] [Bug 12331] New: meson issue bugzilla at busybox.net
                   ` (3 preceding siblings ...)
  2020-01-13 17:37 ` bugzilla at busybox.net
@ 2020-01-13 18:08 ` bugzilla at busybox.net
  2020-02-03 12:10 ` bugzilla at busybox.net
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2020-01-13 18:08 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12331

Yann E. MORIN <yann.morin.1998@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yann.morin.1998 at free.fr

--- Comment #5 from Yann E. MORIN <yann.morin.1998@free.fr> ---
I've sent a tentative patch to the list:
https://patchwork.ozlabs.org/patch/1222257/

It's not unlike Thomas' proposal, but with my little touch... ;-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 12331] meson issue
  2019-11-20 14:08 [Buildroot] [Bug 12331] New: meson issue bugzilla at busybox.net
                   ` (4 preceding siblings ...)
  2020-01-13 18:08 ` bugzilla at busybox.net
@ 2020-02-03 12:10 ` bugzilla at busybox.net
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2020-02-03 12:10 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12331

Peter Korsgaard <jacmet@uclibc.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Peter Korsgaard <jacmet@uclibc.org> ---
Fixed in git:
https://git.buildroot.org/buildroot/commit/?id=62df914ced5adab3869c2ce6f9a41203802e6358

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

end of thread, other threads:[~2020-02-03 12:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-20 14:08 [Buildroot] [Bug 12331] New: meson issue bugzilla at busybox.net
2019-11-20 15:19 ` [Buildroot] [Bug 12331] " bugzilla at busybox.net
2019-11-27  7:58 ` bugzilla at busybox.net
2019-11-27  8:09 ` bugzilla at busybox.net
2020-01-13 17:37 ` bugzilla at busybox.net
2020-01-13 18:08 ` bugzilla at busybox.net
2020-02-03 12:10 ` bugzilla at busybox.net

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.