Ciao, I installed the new plcncli and the SDK 2020.0. I imported the new template in eclipse. When I tried to build the C++ program developed for AXC 2152 Fw 2020.0 target, a faillure occure during deploy. Bellow the message coming from the Eclipse console: /bin/sh -c “/opt/pxc/PLCnCLI/plcncli” deploy -p"/home/pxc/eclipse-workspace/PCWE_test" -s"src"
[EngineeringLibraryBuilder]: Failure proessing application bundle.
[EngineeringLibraryBuilder]: Failed to create directory [/var/tmp/.net/EngineeringLibraryBuilder/2d0c] for extracting bundled files
[EngineeringLibraryBuilder]: A fatal error was encountered. Could not extract contents of the bundle Do you have some suggestion? Thanks Samuele
Hello Samuele, I filed it as a defect for the toolchain and I found two possible options to workaround this issue for the moment.
1. Start eclipse as root. I don't want to need to suggest this but at the moment I didn't found a way around.
2. Take a look at the permissions of the two folders EngineeringLibraryBuilder and plcncli in /var/tmp/.net/. In my case the LibraryBuilder folder was somehow owned by root and the PLCnCLI by user. I deleted the two folders and ran Eclipse as normal user. The deployment went on but it ran into an other permission issue.
Regards
Marcel
Hello again, we figured out an issue with the permissions on the /library-builder/EngineeringLibraryBuilder. After running the setup, only the root user is allowed to execute the library builder.
Please give your normal user the permission to execute “EngineeringLibraryBuilder” with help of chmod e.g.: chmod +x librarybuilder/EngineeringLibraryBuilder To clean your system from the previous attempts, delete the folder /var/tmp/.net/plcncli and /var/tmp/.net/EngineeringLibraryBuilder and the bin folder of your project. Start Eclipse as user and it should build as expected. Kind Regards Marcel
Hi Marcel, thank you for your reply. Ciao Samuele