Package Details: esp-idf 4.3.1-1

Git Clone URL: https://aur.archlinux.org/esp-idf.git (read-only, click to copy)
Package Base: esp-idf
Description: Espressif IoT Development Framework. Official development framework for ESP32.
Upstream URL: https://github.com/espressif/esp-idf
Licenses: Apache
Submitter: GPereira
Maintainer: alex.henrie
Last Packager: alex.henrie
Votes: 13
Popularity: 1.16
First Submitted: 2018-04-01 22:44
Last Updated: 2021-10-19 18:19

Latest Comments

1 2 3 4 Next › Last »

abougouffa commented on 2021-08-02 10:56

Hello,

I'm trying to install this package, I'm getting a bunch of annoying strip messages:

  -> Stripping unneeded symbols from binaries and libraries...
strip: Unable to recognise the format of the input file `./opt/esp-idf/components/bt/controller/lib_esp32/esp32/libbtdm_app.a(arch_main.o)'
strip: Unable to recognise the format of the input file `./opt/esp-idf/components/bt/controller/lib_esp32/esp32/libbtdm_app.a(btdm_log.o)'
strip: Unable to recognise the format of the input file `./opt/esp-idf/components/bt/controller/lib_esp32/esp32/libbtdm_app.a(bt_util_buf.o)'
strip: Unable to recognise the format of the input file `./opt/esp-idf/components/bt/controller/lib_esp32/esp32/libbtdm_app.a(bt_util_sp.o)'

I think you need to disable the strip option in this package, you can just modify the PKGBUILD like this:

diff --git a/PKGBUILD b/PKGBUILD
index c857013..d4f435e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,6 +10,7 @@ depends=('cmake' 'git' 'libusb' 'python' 'python-click' 'python-cryptography' 'p
 makedepends=('unzip')
 install='esp-idf.install'
 source=(https://github.com/espressif/${pkgname}/releases/download/v${pkgver}/${pkgname}-v${pkgver}.zip)
+options=(!strip)
 noextract=(${pkgname}-v${pkgver}.zip)
 sha512sums=('8580fbda9208bf4fb807c5f7e5c04621985ca7894cd56862928b68dedf097dca5bacc9d8a104f5b3dccd52a82c54997284350b960ab476122b7fae4397cd9961')

archmkr commented on 2021-06-26 14:53

For reference, it isn't clear anywhere that after installing it, you need to run /opt/esp-idf/install.sh and source /opt/esp-idf/export.sh to be able to use idf.py or idf_tools.py. I think this package should at least show a message about these steps.

istobic commented on 2021-06-25 07:33

Hi, to my understanding, v4.3 is already released. Could you please check?

alex.henrie commented on 2021-06-09 16:00

@Sidju Thanks for letting me know. I just added the missing dependencies on python-virtualenv, libusb, cmake, and git.

Sidju commented on 2021-06-06 18:42

Seems like python-virtualenv is an undeclared dependency (for install.sh).

alex.henrie commented on 2021-05-05 18:20

@thevoidnn: /opt/esp-idf/.git has to be present or source /opt/esp-idf/export.sh prints the following error:

fatal: not a git repository (or any of the parent directories): .git WARNING: Git describe was unsuccessul: Command '['git', 'describe']' returned non-zero exit status 128.

nobodywasishere commented on 2020-12-28 05:29

Also to add to that, it needs its own python environment as it won't work with the latest release of one of the python libraries (pyparsing>=2.0.3,<2.4.0)

nobodywasishere commented on 2020-12-28 05:28

I am attempting to update this PKGBUILD working with v4.2 but the zip release is giving me an error

bsdtar: Unsupported ZIP compression method during decompression of link entry (8: deflation) bsdtar: Error exit delayed from previous errors.

I could try going instead seeing if I could install this via the released source code instead of the release zip, calling the install script within the pkgdir, unsure if it will like it though. Anyone else got ideas?

thevoidnn commented on 2020-06-14 05:53

why keep .git folder in package? (rm -rf .git before cp -R . ? ) it's 368M of wasted disk space :D

plus, adding IDF_PATH=/opt/esp-idf into ~/.pam_environment (or syswide /etc/environment) instead of /etc/profile.d/esp-idf.sh|csh allows setting this env var without any bash sessions (e.g. starting CLion IDE in Xfce session)

And1G commented on 2020-03-20 12:10

When building in a clean chroot, the git command is missing. So I would suggest adding makedepends=('git')