arturo-lang / arturo

Simple, expressive & portable programming language for efficient scripting
http://arturo-lang.io
MIT License
709 stars 32 forks source link

arturo 0.9.82 regression test failure #986

Closed chenrui333 closed 1 year ago

chenrui333 commented 1 year ago

๐Ÿ‘‹ trying to build the latest release, but run into some build issue. The error log is as below:

error test log ``` $ arturo -m list >> Runtime | uncaught system exception: error | cannot open: /Users/rui/.arturo/stores/config.art ```

full build log, https://github.com/Homebrew/homebrew-core/actions/runs/4143054756/jobs/7164538882 relates to Homebrew/homebrew-core#122741

drkameleon commented 1 year ago

Thanks A LOT for pointing it out!

I've already spotted it and I will release an intermediate version, probably today, with a fix.

For now, if you want to get running... just create an empty folder /Users/rui/.arturo/stores/ ๐Ÿ˜‰, but there has to be a most serious approach to this.

EDIT:

Given that we are talking about HomeBrew... perhaps a better idea would be to auto-create the expected folder at the expected location (~/.arturo/stores)?

drkameleon commented 1 year ago

@chenrui333 Could you please let me know if the issue has been resolved with 0.9.83? (AFAIK, it should have)

https://github.com/arturo-lang/arturo/releases/tag/v0.9.83

chenrui333 commented 1 year ago

yeah, let me give it a try now. Thanks!!

chenrui333 commented 1 year ago

actually build failed, https://github.com/Homebrew/homebrew-core/actions/runs/4150793182/jobs/7180703569

drkameleon commented 1 year ago

actually build failed, https://github.com/Homebrew/homebrew-core/actions/runs/4150793182/jobs/7180703569

Hmm... Tricky.

I'm not sure I can decrypt the log. What is the actual error here?

As a sidenote, in case it helps in some way:

chenrui333 commented 1 year ago

it actually builds out fine on ventura machines but failed to build on monterey and big_sur. Let me dig a bit on my side as well.

drkameleon commented 1 year ago

it actually builds out fine on ventura machines but failed to build on monterey and big_sur. Let me dig a bit on my side as well.

Very weird! Please, do let me know about your findings! :)

chenrui333 commented 1 year ago

Yeah, absolutely!

chenrui333 commented 1 year ago

seems building out fine, weird

chenrui333 commented 1 year ago

I am gonna see how it goes with this workflow run (PR ref)

chenrui333 commented 1 year ago

I am gonna see how it goes with this workflow run (PR ref)

this also works.

drkameleon commented 1 year ago

I'm a bit confused too. Today I've been having issues with the Windows build, which I wasn't supposed to be having, but oh well...

Let me know in case I can shed some light into anything technical regarding the building process! ๐Ÿ˜‰

chenrui333 commented 1 year ago

I am not quite familiar with nims, how can I have it output debug verbose logs? From the CI, I cannot which is failing ๐Ÿคฆ

  ==> ./build.nims install
  =====================================================================
                                 _                                     
                                | |                                    
                       __ _ _ __| |_ _   _ _ __ ___                    
                      / _` | '__| __| | | | '__/ _ \                   
                     | (_| | |  | |_| |_| | | | (_) |                  
                      \__,_|_|   \__|\__,_|_|  \___/                   

                       Arturo Programming Language              
                        (c)2023 Yanis Zafirรณpulos                      

  =====================================================================
   โ–บ INSTALL                                            
  =====================================================================

  --------------------------------------------
   โ— Checking environment...
  --------------------------------------------
     os: macosx
     compiler: Nim v1.6.10

  --------------------------------------------
   โ— Building...
  --------------------------------------------
     version: 0.9.83 b/0
     config: @full
drkameleon commented 1 year ago

Sorry for the delayed reply. I just noticed your message.

Could you please try ./build.nims install log ?


P.S. The script is nothing related to Nim per se; yes, it's written in Nim (or NimScript to be precise) but it's actually a totally custom build script written by me. Nothing to fancy... ๐Ÿ˜‰

drkameleon commented 1 year ago

@chenrui333 Any progress with this? I'm still trying to figure out what the culprit of this regression might be...

chenrui333 commented 1 year ago

Sorry about the late reply, it got resolved per https://github.com/Homebrew/homebrew-core/pull/122741, so I am good now. Thanks!

drkameleon commented 1 year ago

Sorry about the late reply, it got resolved per Homebrew/homebrew-core#122741, so I am good now. Thanks!

Awesome news! Thanks for letting me know! ๐Ÿ˜‰