sorawee
2020-10-29 07:01:36

This is what I’m confused about


sorawee
2020-10-29 07:02:12

Yesterday, I git pull; make and it failed due to the htdp error.


sorawee
2020-10-29 07:02:46

Today, I did it again, and despite the fact that there’s no bug fix, somehow the error is gone.


sorawee
2020-10-29 07:03:01

The same occurs in DrDr: http://drdr.racket-lang.org/


sorawee
2020-10-29 07:03:18

See the 55733 build vs 55734


sorawee
2020-10-29 07:03:30

I have no idea what’s going on


pocmatos
2020-10-29 07:04:40

That’s strange indeed.


pocmatos
2020-10-29 07:04:58

I usually build a racketcs per day and I couldn’t build it due to the error.


pocmatos
2020-10-29 07:05:00

let me try again.


pocmatos
2020-10-29 07:06:52

It might depend on how you install it. I have found that sometimes I run raco pkg install ... and it fails during raco setup. But if you issue raco pkg install .. again, it says the package is already instealled and raco command succeeds.


pocmatos
2020-10-29 07:07:00

This has driven me insane in the past.


pocmatos
2020-10-29 07:07:30

So, if you have installed racket and went for htdp user scope, then the same happened.


pocmatos
2020-10-29 07:07:51

I always use installation scope to try to mitigate these things.


sorawee
2020-10-29 07:07:55

Also, I just noticed that https://snapshot.racket-lang.org/ci-snapshots/ has stopped working since June


pocmatos
2020-10-29 07:08:18

oh wow


pocmatos
2020-10-29 07:08:22

hadn’t noticed that.


pocmatos
2020-10-29 07:08:26

are those generated by ci?


pocmatos
2020-10-29 07:08:41

the snapshot job works on a regular basis, so unsure what’s going on here.


sorawee
2020-10-29 07:09:24

Another possibility is that the snapshot job works fine, but the webpage is not updated properly


pocmatos
2020-10-29 07:10:29

pocmatos
2020-10-29 07:10:31

which succeeded.


pocmatos
2020-10-29 07:10:39

I am honestly unsure how it work.s


pocmatos
2020-10-29 07:10:46

Surely @samth will know straight away


pocmatos
2020-10-29 07:13:15

@sorawee by the way, my CS daily build failed again.


pocmatos
2020-10-29 07:13:19

so problem is still there.


pocmatos
2020-10-29 07:14:04

Unsure what the policy is here but I think we need to be clear that these breakages shouldn’t happen.


pocmatos
2020-10-29 07:14:21

@samth @mflatt can we revert the breaking commit to htdp until Mike has a chance to fix it?


sorawee
2020-10-29 08:02:59

@pocmatos is it the make-result is unbound error?


sorawee
2020-10-29 08:03:29

sorawee
2020-10-29 08:03:54

could it be the case that your deinprogramm is not up-to-date somehow?


sorawee
2020-10-29 08:09:12

Yeah, and this explains the weirdness that I saw.


sorawee
2020-10-29 08:11:12

The commit in racket/htdp was merged, but it depends on a change in deinprogramm which had not been merged yet.

Then, I git pull; make between these points, so I got the errors.

But now that the change in deinprogramm is merged, git pull; make works fine once again.


pocmatos
2020-10-29 08:11:16

yes - it’s the make-result unbound error


pocmatos
2020-10-29 08:11:47

deinprogramm?



pocmatos
2020-10-29 08:12:51

oh my brain translated the german and I got confused “could it be the case that your "your program” is not up-to-date somehow?" lol sounded funny.


sorawee
2020-10-29 08:12:59

lololol


sorawee
2020-10-29 08:13:12

I don’t even know what deinprogramm means


pocmatos
2020-10-29 08:13:20

but I don’t understand, racket should be downloading deinprogramm from master.


sorawee
2020-10-29 08:13:30

that’s true


pocmatos
2020-10-29 08:13:34

so, it should be getting the most recent version.


pocmatos
2020-10-29 08:13:38

when did the fix went in?


sorawee
2020-10-29 08:13:46

1am yesterday


sorawee
2020-10-29 08:13:52

(PST)


pocmatos
2020-10-29 08:13:54

hummm, I am confuse.d


pocmatos
2020-10-29 08:14:01

I will need to look again.


pocmatos
2020-10-29 08:14:23

I am quite busy today so probably won’t have time, lets see.


sorawee
2020-10-29 08:14:40

So things that could be improved is that these merges should have happened at the same time.


sorawee
2020-10-29 08:15:32

Matthias merged a change in htdp at 4pm, Oct 27.


pocmatos
2020-10-29 08:15:33

right.


sorawee
2020-10-29 08:15:47

but it needs a change in deinprogramm which was merged later at 1am Oct 28


pocmatos
2020-10-29 08:16:20

Another thing that got me thinking is… I never used htdp or deinprogramm . I am compiling the very base of racket. Why is racket even trying to compile those…


pocmatos
2020-10-29 08:16:58

Oh - I figured it out…


sorawee
2020-10-29 08:17:00

Do you build DrRacket?


sorawee
2020-10-29 08:17:09

DrRacket requires htdp, I think


pocmatos
2020-10-29 08:17:24

Nope - no DrRacket, but I know what it is…


pocmatos
2020-10-29 08:17:52

make install goes to your $HOME/.racket/7.9.0.3 and runs raco setup on all of it.


pocmatos
2020-10-29 08:18:06

So, I kept getting the error on the broken packages I got installed.


pocmatos
2020-10-29 08:18:32

I did an rm -rf $HOME/.racket/7.9.0.3 and now racket compiled and installed fine.


pocmatos
2020-10-29 08:18:35

grrrr….


pocmatos
2020-10-29 08:18:41

That’s a bit annoying.


sorawee
2020-10-29 08:19:00

ah


pocmatos
2020-10-29 08:19:12

Mainly because I thought I am always using installation scope, so .racket shouldn’t even be populated.


pocmatos
2020-10-29 08:19:38

I should look into this but it’s one of those things that you postpone cause it’s not too bad…


sorawee
2020-10-30 03:36:25

@pocmatos: it looks like xvfb-run is not available in https://github.com/racket/htdp/pull/114


sorawee
2020-10-30 03:36:40

which is weird. I copied it from https://github.com/racket/drracket/blob/master/.github/workflows/ci.yml and it seems to work fine there


sorawee
2020-10-30 03:37:10

One difference is ubuntu version. Another is that one is in a container and the other is not.


sorawee
2020-10-30 03:37:23

Do you know how to fix the problem?


pocmatos
2020-10-30 05:23:40

Sorry @sorawee didn’t know xvfb-run was necessary.


pocmatos
2020-10-30 05:26:29

So xvfb-run is not installed in the container. We should update the container to have it.


pocmatos
2020-10-30 05:28:28

I am now rebuilding the container and will push the new image soon after testing. Give me a couple of hours. Your PR should just transparently work.


pocmatos
2020-10-30 05:49:44

@sorawee it should now work. I don’t have permissions to re-run tests on htdp. However you can force it by force-pushing your commit.