You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by GitBox <gi...@apache.org> on 2022/03/24 17:18:38 UTC

[GitHub] [daffodil-vscode] stevedlawrence opened a new issue #92: sbt-tpolecat plugin leads to unreproducable builds

stevedlawrence opened a new issue #92:
URL: https://github.com/apache/daffodil-vscode/issues/92


   The sbt tpoletcat plugin enables the `-Xcheckinit` scalacOption. This option causes scalac to wrap field accessors so they throw an exception on uninitialized access. Unfortunately, the error message generated in this exception includes an absolute path to scala files, which is a constant stored in the byte code. This means different build systems create different bytecode due to different paths, and so builds are not reproducible.
   
   This really feels like a bug in scalac since it's doing something that leads to non-reproducable builds, but it's also probably easier to just fix this by removing the `-Xcheckinit` option.


-- 
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: commits-unsubscribe@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [daffodil-vscode] stevedlawrence closed issue #92: sbt-tpolecat plugin leads to unreproducable builds

Posted by GitBox <gi...@apache.org>.
stevedlawrence closed issue #92:
URL: https://github.com/apache/daffodil-vscode/issues/92


   


-- 
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: commits-unsubscribe@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org