pocmatos
2021-7-1 14:10:28

I am seeing this a lot:



pocmatos
2021-7-1 14:10:34

even in my own repos.


pocmatos
2021-7-1 14:10:35

any idea why?


pocmatos
2021-7-1 14:10:47

http://status.github.com\|status.github.com says everything is fine… sigh


mflatt
2021-7-1 14:12:28

Does setup-racket use http://mirror.racket-lang.org\|mirror.racket-lang.org (which is down) or http://download.racket-lang.org\|download.racket-lang.org (which should redirect to the current mirror)?



pocmatos
2021-7-1 14:13:01

oh - hummm, that could be it.


pocmatos
2021-7-1 14:13:03

:disappointed:


pocmatos
2021-7-1 14:13:17

Racket News issue 52 is stuck trying to publish because of that.


samth
2021-7-1 14:13:48

I think the reason for that is that if you go to http://download.racket-lang.org\|download.racket-lang.org, it hyperlinks to http://mirror.racket-lang.org\|mirror.racket-lang.org (normally, right now it hyperlinks to http://cs.utah.edu\|cs.utah.edu)


samth
2021-7-1 14:14:04

So it’s not easy to discover that you can or should link to http://download.racket-lang.org\|download.racket-lang.org


mflatt
2021-7-1 14:14:17

Yes, I agree that it makes sense to change that.


mflatt
2021-7-1 14:14:56

I’ll try a little later this morning.




pocmatos
2021-7-1 14:16:15

as in let base = <https://download.racket-lang.org/installers/${version}>;


pocmatos
2021-7-1 14:16:16

?


pocmatos
2021-7-1 14:17:21

@popa.bogdanp ^^^^


samth
2021-7-1 14:18:38

yes, I think that’s the right change


mflatt
2021-7-1 14:27:37

I’ve changed the download web pages, and things seem to work ok there.


samth
2021-7-1 14:28:11

They work for me too.


pocmatos
2021-7-1 14:29:28

does that mean setup-racket can keep using mirror?


samth
2021-7-1 14:29:43

no


samth
2021-7-1 14:30:06

it means people in the future will be less likely to think they should use mirror


samth
2021-7-1 14:30:24

mirror is a machine at northeastern that currently is turned off



pocmatos
2021-7-1 14:31:02

ok lets hope @popa.bogdanp merges this then.


popa.bogdanp
2021-7-1 15:12:32

Seems like some tests are failing with the new URL: https://github.com/Bogdanp/setup-racket/runs/2964058645


popa.bogdanp
2021-7-1 15:12:56

popa.bogdanp
2021-7-1 15:14:10

Looks like the failures are for BC variants so I assume the Utah site needs the -bc suffix for versions 8.0 and up where the other one didn’t


pocmatos
2021-7-1 15:23:33

Oh no - do you have time to get a fix sorted for that?


popa.bogdanp
2021-7-1 15:23:56

Yeah, I’m working on that now


mflatt
2021-7-1 15:24:04

I guess the Utah mirror doesn’t have links for the default variants.


mflatt
2021-7-1 15:24:16

Leaving out “-cs” or “-bc” would get “-cs” in the case of v8.0 and v8.1.


pocmatos
2021-7-1 15:24:33

Thanks @popa.bogdanp


popa.bogdanp
2021-7-1 15:26:15

Yeah, I think that was a bug in setup-racket anyway. Anyone asking for BC 8.0 would’ve received CS 8.0, b/c it didn’t add the suffix


popa.bogdanp
2021-7-1 15:37:52

pocmatos
2021-7-1 15:39:28

running - lets see if we get a draft version of RN52 published. :slightly_smiling_face:



popa.bogdanp
2021-7-1 15:41:01

You may need to re-run it once. I forgot to publish the built artifacts initially.


pocmatos
2021-7-1 15:41:33

popa.bogdanp
2021-7-1 15:42:23

Yeah, I realized I’d forgot to publish the artifacts just as I typed out my other message :sweat_smile:


popa.bogdanp
2021-7-1 15:42:58

Looks like it works!


popa.bogdanp
2021-7-1 15:45:13

I’d recommend using the full distribution (distribution: full in YAML), btw. It would probably speed up your builds significantly based on the dependencies you have


pocmatos
2021-7-1 15:45:42

Thanks, will do.


pocmatos
2021-7-1 15:45:58

Excelent - thanks @popa.bogdanp - also update the racket repo to use v1.5



pocmatos
2021-7-1 15:53:17

@popa.bogdanp i wonder what changed… now using v1.5, building docs fails with : “raco setup: docs failure: setup: install SQLite to build documentation”


popa.bogdanp
2021-7-1 15:54:45

Yeah, I was surprised by that failure. I wonder if the Northeastern builds (accidentally?) shipped SQLite .so s


popa.bogdanp
2021-7-1 15:55:20

IIRC, there’s no package to distribute sqlite on Linux in the standard distribution


popa.bogdanp
2021-7-1 15:55:34

@mflatt any idea?


mflatt
2021-7-1 15:56:10

sqlite3 normally needs to be installed at the Linux package-manager level to work with docs; but that’s not something new


pocmatos
2021-7-1 15:56:13

yeah, this was not failing when installing CS8.0 from mirror.


pocmatos
2021-7-1 15:56:24

but now from download, it is failing.


pocmatos
2021-7-1 15:56:54

the only thing that changed on the racket news side was the upgrade from setup-racket v0.10 to v1.5


mflatt
2021-7-1 15:57:01

Is there a raco setup that wasn’t happening with older versions of setup-racket, or something like that?


popa.bogdanp
2021-7-1 15:57:32

No, the only difference is the installer that’s used


pocmatos
2021-7-1 15:58:11

but before setup racket was not trying to build documentation.



mflatt
2021-7-1 15:59:05

@pocmatos From the GitHub Actions log, it looks like you switched from minimal to full. Is that not right?



pocmatos
2021-7-1 15:59:33

@mflatt that’s the last commit. if fails even before that commit.


pocmatos
2021-7-1 16:00:19

the commit : “Update setup-racket to v1.5” still uses minimal and fails with sqlite problem as well.


popa.bogdanp
2021-7-1 16:00:39

The action just runs the installer with echo "yes\n1\n" \| sh ${path} --create-dir --unix-style --dest /usr/ so it doesn’t really control what gets built. The installer decides.


pocmatos
2021-7-1 16:00:48

i mean v0.10 was quite old… maybe something changed in between then and v1.5…


pocmatos
2021-7-1 16:01:19

@popa.bogdanp how are the packages installed?


pocmatos
2021-7-1 16:01:29

that installs racket but then the failures is while installing packages.


pocmatos
2021-7-1 16:01:44

i see that setup-racket changed the way it presents the installation in the github actions log


popa.bogdanp
2021-7-1 16:01:48

Ah, I didn’t realize you were using the packages syntax


popa.bogdanp
2021-7-1 16:02:14

Yeah, the --no-docs flag was dropped at some point between 0.10 and now so that’s it


pocmatos
2021-7-1 16:02:36

where you purposefully passing that flag and you dropped it?


popa.bogdanp
2021-7-1 16:02:56

Yes, but I’d have to look up why I did that


pocmatos
2021-7-1 16:03:21

no worries… is there a way to pass custom flags to setup?


popa.bogdanp
2021-7-1 16:04:35

No. I’d just change your worflow to drop the packages entry and add a job like - run: raco pkg install ... with all the right flags


pocmatos
2021-7-1 16:05:20

ok - thanks.


pocmatos
2021-7-1 16:06:26

thanks - lets wait and see :slightly_smiling_face:


popa.bogdanp
2021-7-1 16:10:07

shu--hung
2021-7-1 16:14:51

I think --no-docs is dropped in package: because earlier Racket 7.x does not support it