The way of setting the links in 3.65-2 worked fine.
I re-installed the packages and the debugger works properly.
@biiiep
Have you seen the debugger getting in and out with udevadm monitor?
It could be some permissions.
Search Criteria
Package Details: microchip-mplabx-bin 4.01-1
| Git Clone URL: | https://aur.archlinux.org/microchip-mplabx-bin.git (read-only) |
|---|---|
| Package Base: | microchip-mplabx-bin |
| Description: | IDE for Microchip PIC and dsPIC development |
| Upstream URL: | http://www.microchip.com/mplabx |
| Licenses: | |
| Conflicts: | |
| Provides: | |
| Submitter: | bxs |
| Maintainer: | mickael9 |
| Last Packager: | mickael9 |
| Votes: | 47 |
| Popularity: | 0.743335 |
| First Submitted: | 2011-12-17 04:28 |
| Last Updated: | 2017-09-15 17:49 |
Dependencies (14)
- alsa-lib
- gtk2 (gtk2-aqd, gtk2-patched-filechooser-icon-view, gtk2-patched-gdkwin-nullcheck, gtk2-ubuntu)
- java-openjfx (jdk, jdk-dcevm, jdk-devel, jdk7, jdk8, jre, jre-devel, jre7, jre8)
- libxslt
- libxtst
- java-runtime>=7 (intellij-jdk, java-gcj-compat, jdk, jdk-arm, jdk-dcevm, jdk-devel, jdk5, jdk6, jdk7, jdk8, jdk8-j9-bin, jdk9-openj9-bin, jre, jre-devel, jre6, jre7, jre7-openjdk-infinality, jre8, jre8-openjdk-infinality, jre8-openjdk-jetbrains, jre8-openjdk-jetbrains-git, server-jre, tuxjdk, zulu-jdk, jre7-openjdk, jre8-openjdk, jre9-openjdk)
- desktop-file-utils (make)
- fakechroot (make)
- lib32-fakeroot (make, x86_64)
- microchip-mplabc18-bin (optional) – C compiler for PIC18 MCUs
- microchip-mplabxc16-bin (optional) – C compiler for PIC24 MCUs and dsPIC DSCs
- microchip-mplabxc32-bin (optional) – C Compiler for PIC32 MCUs
- microchip-mplabxc8-bin (optional) – C compiler for PIC10 PIC12 PIC16 PIC18 MCUs
- sdcc (sdcc-svn) (optional) – C compiler for PIC16/18 MCUs
Required by (0)
Sources (3)
Latest Comments
methril commented on 2017-08-15 11:55
mickael9 commented on 2017-07-11 18:21
@biiiep: Strange, I'm pretty sure I fixed this in pkgrel 2 (I also checked all package files for broken symlinks).
Are you positive this is the one you tried?
$ pacman -Qi microchip-mplabx-bin | grep Version
Version : 3.65-2
$ pacman -Qql microchip-mplabx-bin | while read line; do [[ -h $line ]] && echo -n "$line -> " && realpath $line ; done
/etc/.mplab_ide/mchplinusbdevice -> /opt/microchip/mplabcomm/v3.25.01/lib/mchplinusbdevice
/opt/microchip/mplabx/v3.65/mplab_ide/etc/mplab_ide.conf -> /etc/mplab_ide.conf
/usr/bin/mdb -> /opt/microchip/mplabx/v3.65/mplab_ide/bin/mdb.sh
/usr/bin/mplab_ide -> /opt/microchip/mplabx/v3.65/mplab_ide/bin/mplab_ide
/usr/bin/mplab_ipe -> /opt/microchip/mplabx/v3.65/mplab_ipe/mplab_ipe
/usr/bin/prjMakefilesGenerator -> /opt/microchip/mplabx/v3.65/mplab_ide/bin/prjMakefilesGenerator.sh
/usr/lib/libSerialAccessLink_3_16.so -> /opt/microchip/mplabcomm/v3.25.01/lib/libSerialAccessLink_3_16.so
/usr/lib/libUSBAccessLink_3_25.so -> /opt/microchip/mplabcomm/v3.25.01/lib/libUSBAccessLink_3_25.so
/usr/lib/libjlinkpic32.so -> /usr/lib/libjlinkpic32.so.6.16.3
/usr/lib/libmchpusb-1.0.so -> /opt/microchip/mplabcomm/v3.25.01/lib/libmchpusb-1.0.so.0.0.0
/usr/lib/libmchpusb-1.0.so.0.0.0 -> /opt/microchip/mplabcomm/v3.25.01/lib/libmchpusb-1.0.so.0.0.0
Let me know if you have different results
biiiep commented on 2017-07-11 10:05
Hey Mickael9,
used your packages from a clean install, but ended up with a not-working programmer. I think the symlinks are not properly created after your "hack".
After setting the mplabcomm version again manually things were working fine.
Lg
mickael9 commented on 2017-07-05 16:34
@methril: Thanks, I fixed the issue in another way (since I'm too lazy to update the MPLABCOMM version manually every time :P). Let me know if you encounter issues.
methril commented on 2017-07-05 14:43
This pkg builds properly and the installed software works for debugging (tested with RealIce and ICD3).
https://pastebin.com/4J2YJyzG
Regards,
--
o0 Methril 0o
notballin commented on 2017-06-27 23:58
Running into this error.
Packed 1 file.
./kit-cli -init- ../../setupvfs.tcl -t -e tclkit-dyn dyn
application-specific initialization failed: couldn't open "build/lib/tk8.6/bgerror.tcl": no such file or directory
% ^Cmake: *** Deleting file 'tclkit-dyn'
make: *** [../../makefile.include:31: tclkit-dyn] Interrupt
==> ERROR: Aborted by user! Exiting...
==> ERROR: A failure occurred in build().
Aborting...
leo72 commented on 2017-06-24 19:39
I solved the disk space by resizing the /tmp dir. But I still continue to get this:
sed: impossibile leggere /tmp/yaourt-tmp-leo/aur-microchip-mplabx-bin/pkg/microchip-mplabx-bin/etc/udev/rules.d/99-jlink.rules: File o directory non esistente
[edit]
by commenting the following line:
# Fix broken udev rules
sed -i '/^BUS!="usb"/c \ACTION!="add", SUBSYSTEM!="usb_device", GOTO="jlink_rules_end"\r' "${pkgdir}/etc/udev/rules.d/99-jlink.rules"
I was able to install the package
danwood76 commented on 2017-06-24 17:47
Hi Leo72,
It looks like your /tmp drive is full
"Insufficient Disk Space"
A reboot might fix the issue for you or you could try building the package in a separate directory using makepkg rather than an AUR installer.
leo72 commented on 2017-06-24 17:41
I got these errors when I try to install the package:
==> Estrazione dei sorgenti in corso...
-> Estrazione di MPLABX-v3.61-linux-installer.tar usando bsdtar in corso...
-> Estrazione di fakechroot-i686.pkg.tar.xz usando bsdtar in corso...
==> Entro nell'ambiente fakeroot...
==> Avvio di package() in corso...
Extracting installers...
Running MPLABX installer...
dlsym(acl_get_fd): /usr/lib32/libfakeroot/libfakeroot.so: undefined symbol: acl_get_fd
dlsym(acl_get_file): /usr/lib32/libfakeroot/libfakeroot.so: undefined symbol: acl_get_file
dlsym(acl_set_fd): /usr/lib32/libfakeroot/libfakeroot.so: undefined symbol: acl_set_fd
dlsym(acl_set_file): /usr/lib32/libfakeroot/libfakeroot.so: undefined symbol: acl_set_file
Error copying file from packed archive /tmp/MPLABX-v3.61-linux-installer.run to /opt/microchip/mplabx/v3.61/mplab_ide/ide/modules/ext/icu4j-4_4_2.jar
:Insufficient Disk Space
Abort
sed: impossibile leggere /tmp/yaourt-tmp-leo/aur-microchip-mplabx-bin/pkg/microchip-mplabx-bin/etc/udev/rules.d/99-jlink.rules: File o directory non esistente
==> ERRORE: Si è verificato un errore in package().
L'operazione sta per essere interrotta...
==> ERRORE: Makepkg non è riuscito a compilare microchip-mplabx-bin.
(File o directory non esistente => File or Directory doesn't exist)
I don't use Jlink, I didn't install it on my system. And why I get "insufficient space"?
danwood76 commented on 2017-05-16 08:09
Hi Mickael,
Just to let you know, the Segger is working fine in your latest PKGBUILD.
Microchip haven't responded yet.
Thanks for all your work!
Regards,
Danny