gobolinux / Compile

The GoboLinux build tool
52 stars 15 forks source link

Compile does not download all files specified under urls=() #52

Closed Nuc1eoN closed 3 years ago

Nuc1eoN commented 3 years ago

It seems that Compile, in the case of Pahole 1.18, does not download the second archive specified in the urls section.

To reproduce try Compile Pahole 1.18. It will fail with the message:

ls: cannot access '/Data/Compile/Archives/libbpf-0.2.tar.gz': No such file or directory

(If you are unable to reproduce, make sure libbpf-0.2.tar.gz is not already present under /Data/Compile/Archives/)

Looking at the output, It appears that Compile does not even attempt to download the archive.

Nuc1eoN commented 3 years ago

@lucasvr Would you mind taking a glance?

I just stumbled upon this issue again on a new PC (Pahole is a depenancy to build the Linux kernel). I think it should be fairly easy to reproduce.

It seems like Compile is simply ignoring to download second tarball specified under urls=.

I am not sure though if this problem is specific to the Pahole recipe (for whatever reason) or if it is a general problem with Compile... But I do not recall ever having this issue with other recipes.

lucasvr commented 3 years ago

Hi there. Yes, I just noticed what's going on. Will provide a fix in a couple of minutes.