Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - microchip-mplabxc16-bin

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: microchip-mplabxc16-bin 1.30-1

Git Clone URL: https://aur-dev.archlinux.org/microchip-mplabxc16-bin.git (read-only)
Package Base: microchip-mplabxc16-bin
Description: Microchip's MPLAB XC16 C compiler toolchain for their dsPIC and PIC24 microcontroller families
Upstream URL: http://www.microchip.com/xc16
Licenses: custom
Submitter: bxs
Maintainer: greyltc
Last Packager: greyltc
Votes: 9
Popularity: 0.003930
First Submitted: 2012-05-10 14:26
Last Updated: 2016-12-19 17:31

Latest Comments

1 2 3 4 5 Next › Last »

greyltc commented on 2015-06-24 16:33

@ModYokosuka thanks for the heads up. This should be fixed now in pkgrel=8

ModYokosuka commented on 2015-06-24 16:23

Almost not worth bringing up but the license file is not correctly linked. This actually attempts to link to the file *icense.txt for some reason instead of the actual file.

- ln -s /opt/$pkgname/docs/*icense.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
+ ln -s /opt/$pkgname/docs/MPLAB_XC16_Compiler_License.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE

greyltc commented on 2015-04-02 18:31

@ivanovp would you consider borrowing from or switching to my PKGBUILD here: https://aur.archlinux.org/packages/xc32-toolchain-bin/
to fix some things with the current packaging method? I've removed the need to actually run Microchip's installer package which prevents it from reaching around the users system and needing random directories to be created beforehand.

clu commented on 2015-03-03 18:30

For those of you with -lpic30* errors you need to add the option 'staticlibs' to the PKGBUILD options field. Right now the packaging process deletes loads of static libraries in the /opt/microchip/xc16/v1.24/lib/* subdirectories.

A minor update is needed in the .install file which references the path for v1.23 instead of v1.24...

Good luck...

ivanovp commented on 2014-12-01 05:38

How can I add 32bit fakeroot to build dep?

antoniovazquez commented on 2014-11-28 22:25

Is there any reason why fakeroot is not an build dep instead of downloading it and compiling?

On the other hand, you should warn people this is a 32bit application with no 64bit support unless multilib is enabled (http://microchip.wikidot.com/install:mplabx-lin64). Maybe optional dependencies could point to the needed libraries.

Any hint on my previous comment about not found -lpic30-elf?


antoniovazquez commented on 2014-11-16 21:04

I can't build in Mplab X with XC16. I think it is a compiler bug....

make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory '/home/antonio/Projects/PCD8544.X'
make -f nbproject/Makefile-default.mk dist/default/production/PCD8544.X.production.hex
make[2]: Entering directory '/home/antonio/Projects/PCD8544.X'
"/opt/microchip/xc16/v1.23/bin/xc16-gcc" -o dist/default/production/PCD8544.X.production.elf build/default/production/main.o build/default/production/PCD8544.o -mcpu=33FJ32MC202 -omf=elf -Wl,,--defsym=__MPLAB_BUILD=1,,--script=p33FJ32MC202.gld,--stack=16,--check-sections,--data-init,--pack-data,--handles,--isr,--no-gc-sections,--fill-upper=0,--stackguard=16,--no-force-link,--smart-io,-Map="dist/default/production/PCD8544.X.production.map",--report-mem
/opt/microchip/xc16/v1.23/bin/bin/../bin/elf-ld: cannot find -lpic30-elf
nbproject/Makefile-default.mk:137: recipe for target 'dist/default/production/PCD8544.X.production.hex' failed
make[2]: Leaving directory '/home/antonio/Projects/PCD8544.X'
nbproject/Makefile-default.mk:78: recipe for target '.build-conf' failed
make[1]: Leaving directory '/home/antonio/Projects/PCD8544.X'
make[2]: *** [dist/default/production/PCD8544.X.production.hex] Error 255
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed

BUILD FAILED (exit value 2, total time: 508ms)

antoniovazquez commented on 2014-11-16 20:33

Working now! Thanks!

ivanovp commented on 2014-11-16 19:51

@antoniovazquez: thanks, I've updated the PKGBUILD.

antoniovazquez commented on 2014-11-16 00:12

$ aurget -S microchip-mplabxc16-bin
:: Searching AUR...

Targets (1): microchip-mplabxc16-bin-1.23-1

Proceed with installation? [Y/n]
:: Retrieving taurball from AUR...
:: Building package...
Edit microchip-mplabxc16-bin's PKGBUILD before building? [Y/n] n
==> Making package: microchip-mplabxc16-bin 1.23-1 (Sun Nov 16 01:03:04 CET 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading xc16-v1.23-full-install-linux-installer.run...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 67.5M 100 67.5M 0 0 592k 0 0:01:56 0:01:56 --:--:-- 735k
-> Downloading fakeroot-i686.pkg.tar.xz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 383 100 383 0 0 692 0 --:--:-- --:--:-- --:--:-- 692
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
100 68716 100 68716 0 0 28918 0 0:00:02 0:00:02 --:--:-- 766k
==> Validating source files with md5sums...
xc16-v1.23-full-install-linux-installer.run ... Passed
fakeroot-i686.pkg.tar.xz ... FAILED
==> ERROR: One or more files did not pass the validity check!
warning: package microchip-mplabxc16-bin failed to build, skipping