Package Details: microchip-mplabxc32-bin 2.40-1

Git Clone URL: (read-only, click to copy)
Package Base: microchip-mplabxc32-bin
Description: Microchip's MPLAB XC32 C compiler toolchain for all of their 32bit microcontrollers
Upstream URL:
Licenses: custom
Submitter: bxs
Maintainer: greyltc (mickael9, thodnev)
Last Packager: greyltc
Votes: 11
Popularity: 0.050470
First Submitted: 2012-03-24 20:37
Last Updated: 2020-04-17 12:08

Latest Comments

1 2 3 4 5 Next › Last »

Pandor commented on 2020-05-23 16:08

The PKGBUILD posted by ashleyr works a treat. just upgraded to 2.41.

ashleyr commented on 2020-04-22 12:07

Issue was fixed using the modifed PKGBUILD also suggest that the comment in bitrock-unpacker.tcl be updated to remove the 32 bit notes.

Needed to uninstall lib32-tclkit, I uninstalled sdx as well to allow this.

Then changed the dependencies for x86_64 to be tclkit and rebuilt the package and it worked.

EDIT: can probably remove the 32 bit support from the PKGBUILD now that it is 64 bit only.

Microchip are shipping 64 bit executables as of 2.40 it seems. 2.30 was still a 32 bit executable.

ashleyr commented on 2020-04-22 03:01

Having trouble extractig the v2.40-1 version. I get the following error:

==> Starting build()...
  -> Unpacking files from installer
couldn't load file "/tmp/tcl_9p9SHN": /tmp/tcl_9p9SHN: wrong ELF class: ELFCLASS64
    while executing
"load /installer/libraries/lzma-decoder-linux-x64/"
    ("package ifneeded Tcllzmadec 0.2" script)
    invoked from within
"package require Tcllzmadec"
    (file "./bitrock-unpacker.tcl" line 26)
==> ERROR: A failure occurred in build().

However the previous 2.10-1 build works fine (re-ran it to verify).

After some digging, the download is now an ELF64 bit binary, the previous version was an ELF32.

thodnev commented on 2018-09-09 05:42

Guys, here's the latest 2.10 version PKGBUILD with NO LICENSE REQUIRED

(for those who ask -- yes, it's absolutely legal: 1. XC-32 is based on GCC. And it's open-source 2. Bad as$ Microchip make it almost impossible to build from source 3. Here all binaries of original distibution left as is ) Don't forget to add bitrock-unpacker.tcl

calcmogul commented on 2018-05-09 17:00

v2.05 moved some files around. I had to make the following changes to fix packaging: That patch also does "chmod +s" on xclm so xclm doesn't complain about it during compiler invocations.

greyltc commented on 2018-03-18 12:12

logicnotlogical, could you please post your working PKGBUILD somewhere so I don't have to re-invent the wheel?

logicnotlogical commented on 2017-12-24 16:44

I had to wrangle a lot of the package() method to get this to build successfully. notably the xclmallBin directory no longer exists, files are found at xclmBinlinux32 instead. This concerns lines 35-39 in the PKGBUILD.

anatolyb commented on 2017-01-13 09:48

replace 39'th string with this:

mv unpacked.vfs/licensecomponent/xclmallBin/etc/xclm.conf "${pkgdir}${instdir}/etc"

gdamjan commented on 2016-08-07 17:09

==> Starting build()...
-> Unpacking files from installer
Creating directories...
Unpacking files, please wait...
|=== ( 4.52% ) |couldn't open "./unpacked.vfs/compiler/programfilesosx/examples/assembly_examples/ports_control/ports_control.X/nbproject/": no such file or directory
while executing
"open $destDir/$fileName a"
("foreach" body line 14)
invoked from within
"foreach {fileName props} $manifest {
set type [lindex $props 0]

if {$type == "file"} {
set mode [lindex $props 1]
set sizes [..."
(file "./bitrock-unpacker.tcl" line 77)
==> ERROR: A failure occurred in build().
warning: package microchip-mplabxc32-bin failed to build, skipping

doragasu commented on 2016-07-11 07:37

Build fails here:

==> Starting package()...
mv: cannot move 'unpacked.vfs/licensecomponent/xclmallBin/etc' to '/home/jalon/src/aur/microchip-mplabxc32-bin/pkg/microchip-mplabxc32-bin/opt/microchip/xc32/v1.42/etc': Directory not empty
==> ERROR: A failure occurred in package().