gtristan commented on issue #1658:
URL: https://github.com/apache/buildstream/issues/1658#issuecomment-1169843411

   > Sidenote, if I reset the workspace after 1. on hello.bst, it leads to a 
stack trace since it can't find files/src.
   
   Note that with BuildStream 1.95.0 I was unable to reproduce any stack trace 
after creating the strange *self workspace* scenario, and instead I get clean 
error messages:
   
   
   ### Resetting the self workspace
   ```
   tristan@pony:~/work/buildstream/doc/examples/developing$ bst workspace reset 
hello.bst
   [--:--:--][        ][    main:core activity                 ] START   
Loading elements
   [00:00:00][        ][    main:core activity                 ] SUCCESS 
Loading elements
   [--:--:--][        ][    main:core activity                 ] START   
Resolving elements
   [00:00:00][        ][    main:core activity                 ] SUCCESS 
Resolving elements
   [--:--:--][        ][    main:core activity                 ] START   
Initializing remote caches
   [00:00:00][        ][    main:core activity                 ] SUCCESS 
Initializing remote caches
   [--:--:--][        ][    main:core activity                 ] START   
Removing workspace directory 
/home/tristan/work/buildstream/doc/examples/developing/files/src
   [00:00:00][        ][    main:core activity                 ] SUCCESS 
Removing workspace directory 
/home/tristan/work/buildstream/doc/examples/developing/files/src
   [--:--:--][        ][    main:core activity                 ] INFO    Closed 
workspace for hello.bst
   [--:--:--][        ][    main:core activity                 ] START   
Loading elements
   [00:00:00][        ][    main:core activity                 ] SUCCESS 
Loading elements
   [--:--:--][        ][    main:core activity                 ] START   
Resolving elements
   [00:00:00][        ][    main:core activity                 ] FAILURE 
Resolving elements
   
   hello.bst [line 13 column 10]: Specified path 'files/src' does not exist
   [--:--:--][        ][    main:core activity                 ] START   
Terminating buildbox-casd
   [00:00:00][        ][    main:core activity                 ] SUCCESS 
Terminating buildbox-casd
   
   ```
   
   ### Building the self workspace
   ```
   tristan@pony:~/work/buildstream/doc/examples/developing$ bst build hello.bst 
   [--:--:--][        ][    main:core activity                 ] START   Build
   [--:--:--][        ][    main:core activity                 ] START   
Loading elements
   [00:00:00][        ][    main:core activity                 ] SUCCESS 
Loading elements
   [--:--:--][        ][    main:core activity                 ] START   
Resolving elements
   [00:00:00][        ][    main:core activity                 ] FAILURE 
Resolving elements
   [00:00:00][        ][    main:core activity                 ] FAILURE Build
   
   
   hello.bst [line 13 column 10]: Specified path 'files/src' does not exist
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to