If /run/lock/lockdev is owned by group root, you can run
$ sudo chgrp lock /run/lock/lockdev
Let me know if this fixes it and I'll add the permission change to the tmpfile.
Search Criteria
Package Details: energia 1.8.10E23-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/energia.git (read-only, click to copy) |
---|---|
Package Base: | energia |
Description: | Energia is a Arduino IDE clone for use with the MSP430 launchpad |
Upstream URL: | http://energia.nu/ |
Licenses: | GPL |
Provides: | energia |
Submitter: | will.price94 |
Maintainer: | mpento |
Last Packager: | mpento |
Votes: | 23 |
Popularity: | 0.000000 |
First Submitted: | 2013-01-07 23:18 (UTC) |
Last Updated: | 2020-03-08 13:47 (UTC) |
Dependencies (4)
- gcc-libs-multilib (gcc-libs-snapshotAUR, gcc-libs)
- java-environment (jdk12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jdk16-openjdkAUR, jdk14-openjdkAUR, jdk18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jdk-openj9AUR, jdk11-graalvm-ee-binAUR, jdk12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk13-openjdkAUR, jdk15-openjdkAUR, jdk21-graalvm-binAUR, jdk17-jetbrainsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jdk21-jetbrains-gitAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-11-lite-binAUR, jdk17-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jdk19-openjdkAUR, zulu-jdk-fx-binAUR, jabba-binAUR, jdk21-jetbrainsAUR, jdk17-zulu-prime-binAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk11-openj9-binAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk-android-studioAUR, jdk-openj9-binAUR, zulu-11-binAUR, jdk8-graalvm-ee-binAUR, jdk11AUR, jdk21-graalvm-ee-binAUR, jdk8-openj9-binAUR, jdk8AUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jdk23-graalvm-ee-binAUR, openjdk-zulu8-ca-fx-binAUR, openjdk-zulu11-ca-fx-binAUR, openjdk-zulu17-ca-fx-binAUR, openjdk-zulu21-ca-fx-binAUR, openjdk-liberica8-full-binAUR, openjdk-liberica11-full-binAUR, openjdk-liberica17-full-binAUR, openjdk-liberica21-full-binAUR, openjdk-zulu-ca-fx-binAUR, openjdk-liberica-full-binAUR, jdk24-graalvm-ee-binAUR, jdk8-perfAUR, zing-21-binAUR, jdk17-jetbrains-binAUR, jdk21-dragonwell-standard-binAUR, java-openjdk-binAUR, jdk24-graalvm-ce-binAUR, jdkAUR, jdk-ltsAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk8-dragonwell-extendedAUR, liberica-jdk-11-binAUR, zulu-17-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-21-binAUR, zulu-17-fx-binAUR, liberica-jdk-17-full-binAUR, zulu-21-binAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk-temurinAUR, jdk21-temurinAUR, jdk17-temurinAUR, jdk11-temurinAUR, zing-8-binAUR, zulu-24-binAUR, jdk23-temurinAUR, liberica-nik-23-full-binAUR, zing-23-binAUR, jdk22-openjdkAUR, jdk23-openjdkAUR, jdk21-openj9-binAUR, jdk17-openj9-binAUR, jdk8-temurinAUR, jdk24-graalvm-binAUR, jdk17-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk21-jetbrains-binAUR, jdk-openjdk-wakefieldAUR, jre-jetbrainsAUR, java-openjdk-ea-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jdk8-openjdk)
- java-rxtx
- libusb-compat (libusb0AUR)
Required by (1)
- platformio-git (optional)
Sources (3)
will.price94 commented on 2014-05-08 09:08 (UTC)
will.price94 commented on 2014-05-08 09:06 (UTC)
Hi whakim,
Thanks for the tip, I've fixed the PKGBUILD.
Could you post the output of...
$ ls -l /run | grep lock
$ ls -l /run/lock
Could you also make sure that the tmpfile has been installed to /etc/tmpfiles.d/legacy.conf
whakim commented on 2014-05-08 04:20 (UTC)
It seems that adding staticlibs to the options solve the issue, but I still have problem on the permission during the upload process although I've add user to uucp and lock group after the installation.
So, I have to run energia through sudo.
will.price94 commented on 2014-05-07 15:34 (UTC)
It appears however the files are copied in the PKGBUILD the result in the pkg/ directory yields this error. Not quite sure what's going on since I can copy the files manually using the same `cp` commands without problems.
will.price94 commented on 2014-05-06 08:41 (UTC)
That's strange, I also get that error. I'm busy today, but I'll try and get it fixed tomorrow :)
dongfengweixiao commented on 2014-05-06 02:43 (UTC)
I have those error:
/opt/energia/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld: cannot find -lm
/opt/energia/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld: cannot find -lgcc
/opt/energia/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld: cannot find -lc
/opt/energia/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld: cannot find -lgcc
/opt/energia/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld: cannot find -lcrt0
collect2: ld returned 1 exit status
If i donnot install this package,No problem!
will.price94 commented on 2014-05-04 22:59 (UTC)
Alright, I've updated the package... here's a changelog:
* Updated energia to 0012
* We now use a tmpfile.d configuration `legacy.conf' to override the default permissions set by arch on the /run/lock directory. This should (hopefully) cure issues with not being able to access the serial port as a user
* Use the icons bundled in the source distribution, and install them using `xdg-icon-resource'
* The desktop file has been updated a little to reflect deprecated values in the desktop specification
* Modularize the PKGBUILD to be a little more literate in style
Let me know if you have any problems (email is better than a comment)
Sorry it's been so long since the last update, I left Arch for a bit, but now I'm back :)
Mithefe commented on 2014-05-04 19:02 (UTC)
oops, this too
+ Icon=/opt/energia/energia_48.png
Mithefe commented on 2014-05-04 14:23 (UTC)
diff 009.3 -vs- 0012.1
+pkgver=0012
+pkgrel=1
+
+if [[ $CARCH == "x86_64" ]]; then
+ source=('http://energia.nu/download/downloadv3.php?file=energia-0101E0012-linux64.tgz')
+ md5sums=('5046bfda7c04f9539a36fe13063ef180' )
+else
+ source=('http://energia.nu/download/downloadv3.php?file=energia-0101E0012-linux.tgz')
+ md5sums=('bddf7f34ceb0288222d8ecddb206665b')
+fi
+build() {
+ echo
+}
duca commented on 2014-02-05 23:48 (UTC)
Here is an upated pkguild
https://bitbucket.org/eduardoml/archlinux-aur/src/1b1f0ecca11ed56984bfd4c3f634710fc7db468d/energia/PKGBUILD?at=default
Pinned Comments
mpento commented on 2025-06-08 17:35 (UTC)
NOTE:
This package is not out of date. It represents the last official binary release from http://energia.nu/ of Energia at version 23 (1.8.10E23)
I am in the process of creating a new package (energia-git) which will provide the latest fork of the project.
I will replace this pinned comment with the link to the new AUR package when it is complete.