Package Details: micropython-git 1:1.25.0.r33.g611d8f9ce8-1

Git Clone URL: https://aur.archlinux.org/micropython-git.git (read-only, click to copy)
Package Base: micropython-git
Description: A Python implementation for microcontrollers and constrained systems (UNIX git version)
Upstream URL: https://micropython.org/
Licenses: MIT
Conflicts: micropython, mpy-cross
Provides: micropython, mpy-cross
Submitter: wenLiangcan
Maintainer: SpotlightKid
Last Packager: SpotlightKid
Votes: 2
Popularity: 0.000000
First Submitted: 2014-07-14 09:13 (UTC)
Last Updated: 2024-11-15 13:18 (UTC)

Dependencies (6)

Required by (1)

Sources (5)

Latest Comments

1 2 Next › Last »

andreas_baumann commented on 2023-09-07 11:00 (UTC)

I'm using devtools core-staging-x86_64-build, in order to get a fresh build chroot. I cannot figure out, what the problem might be either..

Thanks for looking into this. I'll keep you posted, if I find something.

SpotlightKid commented on 2023-09-07 10:30 (UTC)

Still can't reproduce the error, even if I run make manually in ports/unix.

Just to make sure to de-install any old / third-party version of micropython you might have installed (check ~/bin and /usr/local/bin), remove pkg, src and any checkout dirs in the build directory and use makepkg directly instead of any aur helper (not saying you did use one before).

andreas_baumann commented on 2023-09-07 10:04 (UTC)

Executing make manually in 'unix/ports' yields:

make V=1
python3 ../../py/makeversionhdr.py build-standard/genhdr/mpversion.h
test -e "../../lib/micropython-lib/README.md" || (echo -e "\033[1;31mError: micropython-lib submodule is not initialized.\033[0m Run 'make submodules'"; false)
python3 ../../tools/makemanifest.py -o build-standard/frozen_content.c -v "MPY_DIR=../.." -v "MPY_LIB_DIR=../../lib/micropython-lib" -v "PORT_DIR=/home/abaumann/micropython-git/src/micropython/ports/unix" -v "BOARD_DIR=" -b "build-standard"  --mpy-tool-flags="" variants/standard/manifest.py
MPY argparse.py
error compiling argparse.py:
<>

make: *** [../../py/mkrules.mk:194: build-standard/frozen_content.c] Error 1

make submodules does something, but not enough - I think - the error above persists. I tried fast to do a git clone of micropython and did a

( cd mpy-cross; make ) ( cd ports/unix; make ) this works (as running the tests works)

Maybe there is something up with modtimes of files confusing make or so?

SpotlightKid commented on 2023-09-07 09:44 (UTC)

@andreas_baumann: I can't reproduce this error. The snippet you post really doesn't provide enough context to make any guess what's happening.

andreas_baumann commented on 2023-09-07 08:38 (UTC)

I get:

MPY argparse.py
error compiling argparse.py:
<>

make: *** [../../py/mkrules.mk:194: build-standard/frozen_content.c] Error 1

SpotlightKid commented on 2019-09-12 06:19 (UTC)

@JuniioJPDJ: Sorry, that will have to be done by someone else. I don't use that fork and I'm not as involved with MicroPython anymore as I used to be.

JuniorJPDJ commented on 2019-09-12 03:57 (UTC)

Could you also provide pycopy package? It's probably the same pkgbuild with minor modifications. Pycopy is micropython fork maintained by one of major ex-contributors for original micropython.

SpotlightKid commented on 2017-01-24 13:51 (UTC)

Since this PKGBUILD is quite out of date and doesn't compile with the latest MicroPython repo, here's an updated one: https://gist.github.com/SpotlightKid/bf7870b57fc1a9c6de2508a73f75b483

SpotlightKid commented on 2016-08-11 20:48 (UTC)

The compilation steps for the unix version of micropython changed. You now need to do: git submodule update --init cd unix make deplibs make Can you update the PKGBUILD?

SpotlightKid commented on 2015-08-24 16:11 (UTC)

Ok, I see. Let's wait what the maintainer of the micropython package thinks.