Package Details: microchip-mplabx-bin 3.35-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: 42
Popularity: 1.211786
First Submitted: 2011-12-17 04:28
Last Updated: 2016-06-23 15:51

Dependencies (14)

Required by (0)

Sources (3)

Pinned Comments

mickael9 commented on 2016-08-11 17:16

For anyone getting the dlsym() errors, this is caused by an older lib32-fakeroot (which hasn't been updated to 1.21 in the official repos). Here is a PKGBUILD for a working lib32-fakeroot: https://gist.github.com/mickael9/6ae2b1856560941919ab1534308e52c9

Latest Comments

vinadoros commented on 2016-08-11 18:18

@mickael9 With this new lib32-fakeroot 1.21 PKGBUILD, this mplabx package is now building properly. Thank you for digging into this, I really appreciate it.

mickael9 commented on 2016-08-11 17:16

For anyone getting the dlsym() errors, this is caused by an older lib32-fakeroot (which hasn't been updated to 1.21 in the official repos). Here is a PKGBUILD for a working lib32-fakeroot: https://gist.github.com/mickael9/6ae2b1856560941919ab1534308e52c9

mickael9 commented on 2016-08-11 16:11

@vinadoros: It might be worth researching those dlsym() issues, because I don't have them.

Here is my bitrock_install.log for reference: http://ix.io/1daz
And the MPLABComm one: http://ix.io/1daA

The JRE is correctly extracted into pkg/microchip-mplabx-bin/opt/microchip/mplabx/v3.35/sys/java/jre1.8.0_91/

(That is, with "exit 1" added in the PKGBUILD just after running the installer, before any customization is done)

**EDIT**: Actually, I just updated my system and I have the same errors that you have, I'll try to research those.

vinadoros commented on 2016-08-11 15:49

@mickael9 Thanks for the tip. So I used the Arch Rollback Machine and downgraded using the following package (I don't have it in my own pacman cache): https://archive.archlinux.org/packages/f/fakeroot/fakeroot-1.20.2-1-x86_64.pkg.tar.xz. This means both fakeroot and lib32-fakeroot are 1.20.2-1. After installing this (and a reboot just to be on the safe side), this output occurs (and I have stripped the dlsym fakeroot messages from the output, which there are a lot of):

==> Extracting sources...
-> Extracting MPLABX-v3.35-linux-installer.tar with bsdtar
-> Extracting fakechroot-i686.pkg.tar.xz with bsdtar
==> Entering fakeroot environment...
==> Starting package()...
Extracting installers...
Running MPLABX installer...
Problem running post-install step. Installation may not complete correctly
Error running /opt/microchip/mplabx/v3.35/MPLABCOMM-v3.20.00-linux-installer.run --jrebinary "/opt/microchip/mplabx/v3.35/sys/java/jre1.8.0_91/bin/java":
==> ERROR: A failure occurred in package().
Aborting...

Just to be on the safe side, I tried cloning the MPLAB-X 3.30 PKGBUILD from the AUR (which I know for sure used to work), and used makepkg on it. Similar sort of error:

Problem running post-install step. Installation may not complete correctly
Error running /opt/microchip/mplabx/v3.30/MPLABCOMM-v3.17.02-linux-installer.run --jrebinary "/opt/microchip/mplabx/v3.30/sys/java/jre1.8.0_65/bin/java"

In the pkg/microchip-mplabx-bin/tmp folder of the PKGBUILD, there are bitrock_installer logs which are more descriptive about the problem. I noticed that the jre it is looking for in the above command (1.8.0_91 for 3.35 and 65 for 3.30)is supposed to be unpacked by the installer. I can see this in the bitrock_installer.log:

Unpacking files
Unpacking /opt/microchip/mplabx/v3.30/sys/java/jre-8u65-linux-x64.tar.gz

However, this jre tar remains only a tar file when it gets to the above MPLABCOMM install steps. This suggests to me that something is still wrong with fakeroot (or maybe the lib32 version of fakeroot, which I don't think has changed at all). I have no idea why the MPLAB installer can't extract that inside the fakeroot...

mickael9 commented on 2016-08-11 14:52

@vinadoros I rolled back fakeroot to 1.20.2 and it worked.

I think it might fail because lib32-fakeroot is still at 1.20.2 while fakeroot is at 1.21

vinadoros commented on 2016-08-11 12:12

I'm not able to build this on my Arch x86_64 machine (its a recent clean install, and is up-to-date) for some reason (either with yaourt or makepkg in a place other than /tmp). The stdout log seems to stop at this point:

==> Extracting sources...
-> Extracting MPLABX-v3.35-linux-installer.tar with bsdtar
-> Extracting fakechroot-i686.pkg.tar.xz with bsdtar
==> Entering fakeroot environment...
==> Starting package()...
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

The ACL errors are probably not even relevant to whatever issue is occurring. After this, no processes are consuming CPU, and it looks like the MPLAB installer isn't proceeding at all (even after about 30 minutes). Anyone else with this issue? Maybe I am missing some dependency I am not aware of?

krishnac commented on 2016-06-27 17:59

The problem was indeed with /tmp. Thank you very much for your help.

danwood76 commented on 2016-06-27 07:39

The new version built and installed with yaourt just fine for me.

Is it possible that your /tmp is full and that is why it failed?

Reboot and try again as this should clear your /tmp

krishnac commented on 2016-06-27 04:36

I get the following errors while trying to install
sed: can't read /tmp/yaourt-tmp-myuser/aur-microchip-mplabx-bin/pkg/microchip-mplabx-bin/etc/udev/rules.d/99-jlink.rules: No such file or directory

and
sed: can't read /tmp/yaourt-tmp-myuser/aur-microchip-mplabx-bin/pkg/microchip-mplabx-bin/opt/microchip/mplabx/v3.35/mplab_ipe/ipecmd.sh: No such file or directory

Can you please help?

maximevince commented on 2016-04-07 07:29

The JLink files are indeed duplicate with this package:
* jlink-software-and-documentation

it would be nice not to install these files as part of this package,
but add an (optional) depency to the 'jlink-software-and-documentation' package.

Now I get this warning all the time:
"error: file owned by 'jlink-software-and-documentation' and 'microchip-mplabx-bin': 'etc/udev/rules.d/99-jlink.rules' "

All comments