Package Details: microchip-mplabx-bin 4.00-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: custom
Conflicts: mplab
Provides: mplab
Submitter: bxs
Maintainer: mickael9
Last Packager: mickael9
Votes: 46
Popularity: 0.020988
First Submitted: 2011-12-17 04:28
Last Updated: 2017-08-11 16:13

Latest Comments

methril commented on 2017-08-15 11:55

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.

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

All comments