Project

General

Profile

Bug #11

Updated by Vincent Rubiolo over 2 years ago

When trying to build the "helloworld" binding with rp-cli, command "rp-cli local package run" fails as follows: 

 ``` 
 

 
 sipload@localhost:~/my_rp_builder_dir/gitsources> rp-cli local package run helloworld-binding --target x86_64 --project clitest 

 -- Packaging requested by user -- 

 Checking application details...           [OK] 
 Checking packaging directories... 

 "gitsources/" directory used:     /home/sipload/my_rp_builder_dir/gitsources/helloworld-binding 
 "gitpkgs/" directory used:        /home/sipload/my_rp_builder_dir/gitpkgs/helloworld-binding 

 Retrieving packaging parameters for helloworld-binding...         [OK] 
 Packaging the application... 

 PACKAGING LOGS >>>                                                                                                                                                                                                                                                              
 sources file doesn't exist. Source files download skipped. 
 Creating repo object from /home/devel/gitpkgs/helloworld-binding 
 Could not execute localbuild: Could not find the release/dist from branch name clitest_5e45bf18--redpesk-lts-arz-1.0-update 
 Please specify with --release 
 Traceback (most recent call last): 
   File "/usr/lib/python3.6/site-packages/iotpkg/cli.py", line 392, in localbuild 
     noOptimization=self.args.without_optimization) 
   File "/usr/lib/python3.6/site-packages/iotpkg/__init__.py", line 475, in localbuild 
     self.load_nameverrel() 
   File "/usr/lib/python3.6/site-packages/pyrpkg/__init__.py", line 680, in load_nameverrel 
     cmd.extend(self.rpmdefines) 
   File "/usr/lib/python3.6/site-packages/pyrpkg/__init__.py", line 747, in rpmdefines 
     self.load_rpmdefines() 
   File "/usr/lib/python3.6/site-packages/iotpkg/__init__.py", line 170, in load_rpmdefines 
     self.branch_merge) 
 pyrpkg.errors.rpkgError: Could not find the release/dist from branch name clitest_5e45bf18--redpesk-lts-arz-1.0-update 
 Please specify with --release 

 During handling of the above exception, another exception occurred: 

 Traceback (most recent call last): 
   File "/usr/bin/iotpkg", line 11, in <module> 
     load_entry_point('iotpkg==1.8.0', 'console_scripts', 'iotpkg')() 
   File "/usr/lib/python3.6/site-packages/iotpkg/__main__.py", line 77, in main 
     sys.exit(client.args.command()) 
   File "/usr/lib/python3.6/site-packages/iotpkg/cli.py", line 394, in localbuild 
     raise rpkgError(e) 
 pyrpkg.errors.rpkgError: Could not find the release/dist from branch name clitest_5e45bf18--redpesk-lts-arz-1.0-update 
 Please specify with --release 
 <<< PACKAGING LOGS 

 Results and/or logs in: /home/sipload/my_rp_builder_dir/gitpkgs/helloworld-binding/results_helloworld-binding/1.0.2/0.rp*/ 

 Oups... An error appeared while packaging your application 
 Error: End of process W5MiLDgFVit6EEO2IbsDnw with status 256 
 ```

Back