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
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, jdk8-armAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jdk11-jbr-xdgAUR, 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, jdk8-graalvm-ee-binAUR, zulu-15-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jdk11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk8-dragonwell-extendedAUR, jdk13-openjdkAUR, jdk15-openjdkAUR, jdk21-graalvm-binAUR, jdk17-jetbrainsAUR, jdk8-openj9-binAUR, jdk-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jdk21-jetbrains-gitAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk21-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jdk19-openjdkAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jabba-binAUR, jdk21-jetbrainsAUR, jdk17-zulu-prime-binAUR, zing-21-binAUR, zing-8-binAUR, jdk23-graalvm-ee-binAUR, jdk-android-studioAUR, java-openjdk-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jdk21-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk11-temurinAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk17-temurinAUR, jdk8-temurinAUR, zulu-21-binAUR, jdk-temurinAUR, jdk8AUR, zulu-17-fx-binAUR, jdk8-perfAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jdk17-openj9-binAUR, jre-jetbrainsAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, zulu-23-binAUR, jdkAUR, jdk21-jetbrains-binAUR, java-openjdk-ea-binAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-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:06 (UTC)
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
will.price94 commented on 2013-04-02 17:12 (UTC)
Sorry about that, I'd left the previous icon in my src directory and it built with the error, should be fixed now.
Pinned Comments
mpento commented on 2018-01-21 14:49 (UTC) (edited on 2018-01-21 14:50 (UTC) by mpento)
GTKLookAndFeel Issue
In reference to the following error:
After some research, this appears to be a problem in energia itself that was fixed in the arduino ide, which energia is derived from. For reasons unknown to me, that fix has not been propagated. The energia issue for this is still open and not assigned on github (https://github.com/energia/Energia/issues/980).
To work around this problem, as root, edit the 'energia' script located in /opt/energia/, change line 28 from this:
To this:
Once a fix is available, I will incorporate it here.