Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 14321] New: Error: Could not install package {PACKAGE}: 'name'
@ 2021-11-04 14:33 bugzilla
  2021-11-04 15:38 ` [Buildroot] [Bug 14321] " bugzilla
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: bugzilla @ 2021-11-04 14:33 UTC (permalink / raw)
  To: buildroot

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

            Bug ID: 14321
           Summary: Error: Could not install package {PACKAGE}: 'name'
           Product: buildroot
           Version: 2021.02.6
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned@buildroot.uclibc.org
          Reporter: kr886q@att.com
                CC: buildroot@uclibc.org
  Target Milestone: ---

root@4802338a3fcd:/buildroot-2021.02.6# utils/scanpypi pyinstaller
utils/scanpypi:21: DeprecationWarning: the imp module is deprecated in favour
of importlib; see the module's documentation for alternative uses
  import imp
buildroot package name for pyinstaller: python-pyinstaller
Package: python-pyinstaller
Fetching package pyinstaller
Downloading package pyinstaller from
https://files.pythonhosted.org/packages/90/8c/3aa36c18d2f05dc85d810b3fdd23dbadee15375b15c75533247347b4bb86/pyinstaller-4.6.tar.gz...
Error: Could not install package pyinstaller: 'name'


I also get the same error when trying to install the wheel package.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [Bug 14321] Error: Could not install package {PACKAGE}: 'name'
  2021-11-04 14:33 [Buildroot] [Bug 14321] New: Error: Could not install package {PACKAGE}: 'name' bugzilla
@ 2021-11-04 15:38 ` bugzilla
  2021-11-04 15:38 ` [Buildroot] [Bug 14321] scanpypi doesn't work with the pyinstaller module bugzilla
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla @ 2021-11-04 15:38 UTC (permalink / raw)
  To: buildroot

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

--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@bootlin.com> ---
scanpypi is not there to install a Python package, it is a script to help
create a new Buildroot package for a Python module.

First of all, you should not use Buildroot as root, nor scanpypi itself.

Secondly, I'm not sure how pyinstaller can be useful in the context of
Buildroot. According to its description, "PyInstaller bundles a Python
application and all its dependencies into a single package. The user can run
the packaged app without installing a Python interpreter or any modules.". I
don't see how having pyinstaller available on the target system is going to be
of any use.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [Bug 14321] scanpypi doesn't work with the pyinstaller module
  2021-11-04 14:33 [Buildroot] [Bug 14321] New: Error: Could not install package {PACKAGE}: 'name' bugzilla
  2021-11-04 15:38 ` [Buildroot] [Bug 14321] " bugzilla
@ 2021-11-04 15:38 ` bugzilla
  2021-11-04 17:09 ` bugzilla
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla @ 2021-11-04 15:38 UTC (permalink / raw)
  To: buildroot

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

Thomas Petazzoni <thomas.petazzoni@bootlin.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Error: Could not install    |scanpypi doesn't work with
                   |package {PACKAGE}: 'name'   |the pyinstaller module

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [Bug 14321] scanpypi doesn't work with the pyinstaller module
  2021-11-04 14:33 [Buildroot] [Bug 14321] New: Error: Could not install package {PACKAGE}: 'name' bugzilla
  2021-11-04 15:38 ` [Buildroot] [Bug 14321] " bugzilla
  2021-11-04 15:38 ` [Buildroot] [Bug 14321] scanpypi doesn't work with the pyinstaller module bugzilla
@ 2021-11-04 17:09 ` bugzilla
  2021-11-04 17:36 ` bugzilla
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla @ 2021-11-04 17:09 UTC (permalink / raw)
  To: buildroot

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

--- Comment #2 from Kevin <kr886q@att.com> ---
I started down this rabbit hole when trying to create a executable(written in
python) to run on a target device (aarch64) with uclibc (basic busybox). I was
able to virtualize the target arch with docker/buildx but could not find a
suitable image that had uclibc, gcc, python, and other needed things to cross
compile.

I then tried to use buildroot (running in ubuntu container) to create an image
and run in docker but ran into some trouble and decided to pivot. 

I discovered that the Rpi3 has the same chip (cortex A53) as my target device.
So I used buildroot to create an image and flash it to the Rpi3. Now I have the
correct toolchain and everything I need EXCEPT pyinstaller, to cross compile.

Due to certain restrictions I am unable to cross compile on the target device.

also this is my first experience going deeper into linux than just the basic
terminal commands, so my apologies.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [Bug 14321] scanpypi doesn't work with the pyinstaller module
  2021-11-04 14:33 [Buildroot] [Bug 14321] New: Error: Could not install package {PACKAGE}: 'name' bugzilla
                   ` (2 preceding siblings ...)
  2021-11-04 17:09 ` bugzilla
@ 2021-11-04 17:36 ` bugzilla
  2021-11-05 15:19 ` bugzilla
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla @ 2021-11-04 17:36 UTC (permalink / raw)
  To: buildroot

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

--- Comment #3 from Kevin <kr886q@att.com> ---
I have also tried to install pyinstaller with pip on the rpi, but i get an
error

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [Bug 14321] scanpypi doesn't work with the pyinstaller module
  2021-11-04 14:33 [Buildroot] [Bug 14321] New: Error: Could not install package {PACKAGE}: 'name' bugzilla
                   ` (3 preceding siblings ...)
  2021-11-04 17:36 ` bugzilla
@ 2021-11-05 15:19 ` bugzilla
  2021-11-05 23:24 ` bugzilla
  2021-11-06 11:04 ` bugzilla
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla @ 2021-11-05 15:19 UTC (permalink / raw)
  To: buildroot

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

--- Comment #4 from Kevin <kr886q@att.com> ---
So after days of fiddling and multiple build I finally figured out that there
is no GCC on the target... are there any unsanctioned work arounds?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [Bug 14321] scanpypi doesn't work with the pyinstaller module
  2021-11-04 14:33 [Buildroot] [Bug 14321] New: Error: Could not install package {PACKAGE}: 'name' bugzilla
                   ` (4 preceding siblings ...)
  2021-11-05 15:19 ` bugzilla
@ 2021-11-05 23:24 ` bugzilla
  2021-11-06 11:04 ` bugzilla
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla @ 2021-11-05 23:24 UTC (permalink / raw)
  To: buildroot

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

--- Comment #5 from Fabrice Fontaine <fontaine.fabrice@gmail.com> ---
The fact that wheel (and pyinstaller) don't work with scanpypi is a duplicate
of https://bugs.buildroot.org/show_bug.cgi?id=13321

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [Bug 14321] scanpypi doesn't work with the pyinstaller module
  2021-11-04 14:33 [Buildroot] [Bug 14321] New: Error: Could not install package {PACKAGE}: 'name' bugzilla
                   ` (5 preceding siblings ...)
  2021-11-05 23:24 ` bugzilla
@ 2021-11-06 11:04 ` bugzilla
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla @ 2021-11-06 11:04 UTC (permalink / raw)
  To: buildroot

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE
                 CC|                            |yann.morin.1998@free.fr

--- Comment #6 from Yann E. MORIN <yann.morin.1998@free.fr> ---
Kevin, All,

Thanks for the report. As noticed by Fabrice, this is already tracked as
#13321.

Regards,
Yann E. MORIN.

*** This bug has been marked as a duplicate of bug 13321 ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2021-11-06 11:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-04 14:33 [Buildroot] [Bug 14321] New: Error: Could not install package {PACKAGE}: 'name' bugzilla
2021-11-04 15:38 ` [Buildroot] [Bug 14321] " bugzilla
2021-11-04 15:38 ` [Buildroot] [Bug 14321] scanpypi doesn't work with the pyinstaller module bugzilla
2021-11-04 17:09 ` bugzilla
2021-11-04 17:36 ` bugzilla
2021-11-05 15:19 ` bugzilla
2021-11-05 23:24 ` bugzilla
2021-11-06 11:04 ` bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox