Package Details: microchip-mplabx-bin 6.20-1

Git Clone URL: https://aur.archlinux.org/microchip-mplabx-bin.git (read-only, click to copy)
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 (danwood76)
Last Packager: mickael9
Votes: 57
Popularity: 0.000001
First Submitted: 2011-12-17 04:28 (UTC)
Last Updated: 2024-02-04 15:45 (UTC)

Dependencies (13)

Required by (0)

Sources (3)

Latest Comments

« First ‹ Previous 1 .. 23 24 25 26 27 28 29 30 31 Next › Last »

<deleted-account> commented on 2011-10-05 23:52 (UTC)

In my laste comment, i spoke about the "env". D'ont know why but it is the problem, now i've reinstalled it without "env -i" it worked. Juste don't know why.

bxs commented on 2011-10-05 17:35 (UTC)

I think that we are having a communication problem. (mine, yours or both) This will lead us nowhere. I also run a "true" 64bit ArchLinux. Just one example of success: http://www.microchip.com/forums/fb.ashx?m=605182 I even asked 2 personal friends to test it again, and no problems, worked just fine. Again simple run makepkg for my pkgbuild, and look at generated package, it should look like http://www.microchip.com/forums/download.axd?file=0;603507 As I said, if you removed the &> /dev/null in pkgbuild to see the output of the binary installer, and it returned: "Error copying file from packed archive /home/leryan/MPLAB-PKGBUILD/mplabx-ide-beta7.02-linux-64-bit-installer.bin to /etc/.mplab_ide/mchplinusbdevice" This message proves that it just worked, fakeroot did the job well, stop fighting this error message, is this case, it is your friend. It just did what it supposed to do, nothing more that I can say about it, that's it. A new version of MPLAB_X should be out soon, maybe in this new version we will be in the same track ;-) Best Regards, BxS

<deleted-account> commented on 2011-10-05 17:01 (UTC)

I know running makepkg in root will make it able to write in my filesystem. Remove "env -i [...]" make the PKGBUILD working for x86_64, can you add a test for that ?

bxs commented on 2011-10-05 16:24 (UTC)

I read again your posts, and you got: "Error copying file from packed archive /home/leryan/MPLAB-PKGBUILD/mplabx-ide-beta7.02-linux-64-bit-installer.bin to /etc/.mplab_ide/mchplinusbdevice" Using fakerrot, the installer have been executed and placed the files at $pkgdir/opt/microchip/mplabx, that's what you want, nothing more. All the files are at $pkgdir/opt/microchip/mplabx, that's it, that's what we want, forget the error of the binary installer. So the package works just fine. Please read again my comment: Comment by: bxs on Wed, 05 Oct 2011 14:46:01 +0000 Leryan: "There is a problem with the fakeroot : Error copying file from packed archive /home/leryan/MPLAB-PKGBUILD/mplabx-ide-beta7.02-linux-64-bit-installer.bin to /etc/.mplab_ide/mchplinusbdevice" Yes it's normal, fakeroot can't write for /etc, the binary installer try to write to several places, like /etc, it can't so it will fail and stop it's installation, that's normal, that's why after that I do thinks like: cp $pkgdir/opt/microchip/mplabx/mplab_ide/mplablibs/modules/mchpdefport $pkgdir/etc/.mplab_ide The PKGBUILD simple run the bynary installer, the installer will put all the files at $pkgdir/opt/microchip/mplabx and then try to copy some of this files to places like /etc, it can'r write there so it will fail, but it's ok, we have the files ;-) We just need to put then in correct places, like $pkgdir/etc, not in the /etc. This is a stupid binary installer, so we have to work around it, it's that simple. To see how a generated package should like, loo at: http://www.microchip.com/forums/download.axd?file=0;603507

bxs commented on 2011-10-05 16:11 (UTC)

@Leryan I think that you just don't want to see output error messages, but that's ok, we are counting with it, don't run it as root just to don't get the error msg. But if it really don't make a package for you, for some reason, and http://paste.pocoo.org/show/487749/ worked for you, try my PKGBUILD, just remove: env -i \ PATH=$PATH \ LD_PRELOAD=$LD_PRELOAD \ LD_LIBRARY_PATH=$LD_LIBRARY_PATH \ FAKEROOTKEY=$FAKEROOTKEY \ FAKED_MODE=$FAKED_MODE \ And try again, but please, don't run makepkg as root, it will have all the permissions to write to your filesystem.

bxs commented on 2011-10-05 15:59 (UTC)

OK, I uploaded a new PKGBUILD, the only change is when you have spaces " " in the path to the directory where is PKGBUILD.

bxs commented on 2011-10-05 15:40 (UTC)

No, never use makepkg in root, no way I will do that, fakeroot it's just fine. Again, never run it in root, the installer will really write in your file system, this is what you don't want. This is why we make a package, to let pacman be the only one writing there. Again, never run makepkg as root, really stupid idea.

<deleted-account> commented on 2011-10-05 15:25 (UTC)

PKGBUILD fixed for x86_64, please try it in 32bit system ;) http://paste.pocoo.org/show/487749/ And remembre : it's necessary to launch the build in root...