Subject: Re: bug#57581: Failing to build the website

From: Julien Lepiller <[email-masked]>
Date: Wed, 07 Sep 2022 19:14:28 +0200

Le 7 septembre 2022 19:07:10 GMT+02:00, zimoun <[email-masked]> a écrit :
>Hi,
>
>Well, the field reads,
>
>+    (license (package-home-page qtbase))))
>
>so why is the compiler accepting that?  Is a warning raised?
>

No warning because the compiler has no way to know you don't want to do that. license is a field, and fields don't have a specific type except for convention.

package-home-page will read a field from another object, return a perfectly valid Scgeme object (a string) and Scheme is happy to put it in the license field. Why would it care? (:

It fails much later when something tries to read the license field and gets a string it treats as a license object.