[release candidate][16.0.0-rc1]

Daniel Kochmański daniel at turtleware.eu
Mon Aug 24 06:43:21 UTC 2015


Or even more complete version of patch:

-- CUT HERE --
diff --git a/src/lsp/config.lsp.in b/src/lsp/config.lsp.in
index ee8bb9d..e4eb842 100644
--- a/src/lsp/config.lsp.in
+++ b/src/lsp/config.lsp.in
@@ -26,6 +26,17 @@
         @(return) = output;
 }" :one-liner nil))
 
+#+(and ecl-min uname)
+(defun uname ()
+  "A poor man's uname"
+  (list "@SOFTWARE_TYPE@"
+        NIL #| hostname |#
+        #.(let ((aux "@SOFTWARE_VERSION@"))
+            (when (plusp (length aux))
+              aux))
+        NIL #| kernel version |#
+        "@ARCHITECTURE@"))
+
 ;;
 ;; * Short and long site names
 ;;
-- CUT END --

Daniel Kochmański writes:

> Hello,
>
> I've compared it with my successful build and there is no significant
> differences until fail you encounter. I can't reproduce error on my
> machines.
>
> ASDF uses the functions: machine-instance, machine-type etc. to allow
> UIOP returning relevant information. They piggyback on uname if uname
> feature is present. The function is defined only when we're outside
> ecl-min, maybe this is why the problem arise?
>
> Does applying the following patch help?
>
> -- CUT HERE --
> diff --git a/src/lsp/config.lsp.in b/src/lsp/config.lsp.in
> index ee8bb9d..9545500 100644
> --- a/src/lsp/config.lsp.in
> +++ b/src/lsp/config.lsp.in
> @@ -26,6 +26,14 @@
>          @(return) = output;
>  }" :one-liner nil))
>  
> +#+(and ecl-min uname)
> +(defun uname ()
> +  (list "Unknown"
> +        "Unknown"
> +        "Unknown"
> +        "Unknown"
> +        "Unknown"))
> +
>  ;;
>  ;; * Short and long site names
>  ;;
> -- 
> 2.5.0
> -- CUT HERE --
>
> Best regards,
> Daniel
>
> Anton Vodonosov writes:
>
>> 23.08.2015, 23:08, "Daniel Kochmański" <daniel at turtleware.eu>:
>>> Anton Vodonosov writes:
>>>
>>>> I can't build it:
>>>>
>>>> Condition of type: UNDEFINED-FUNCTION
>>>> The function CL::UNAME is undefined.
>>>> Available restarts:
>>>>
>>>> 1. (ABORT) ABORT
>>>>
>>>> I am not sure, but it looks like the error happens when compiling
>>>> asdf.lisp
>>>
>>> CL:UNAME is function used only when bootstrapping the ECL (ASDF doesn't
>>> call it – checked with grep).
>>>
>>> Could you try to remove "build/" directory completly (if you did git
>>> pull, you might have some glitches from a previous build) and try once
>>> more?
>>>
>>> If error remains, could you share build-stamp, config.log, config.status
>>> and full build log? The last one might be tapped when invoking make:
>>>
>>> $ make |& tee build.out
>>
>> Attached. I did
>>   $ ./ecl-rebuild.sh |& tee build.out
>>
>> The ecl-rebuild.sh which includes configure is attached too.
>>
>>>
>>> Best regards,
>>> Daniel
>>>
>>>> Best regards,
>>>> - Anton
>>>>
>>>> 21.08.2015, 21:53, "Daniel Kochmański" <daniel at turtleware.eu>:
>>>>> Dear all,
>>>>>
>>>>> release candidate ECL-16.0.0-rc1 has been published. All remarks and
>>>>> tests will be deeply appreciated (thanks!). Changes from last release
>>>>> can be found here:
>>>>> https://gitlab.com/embeddable-common-lisp/ecl/blob/develop/CHANGELOG
>>>>>
>>>>> Git repository addresses are (branch of interest is ECL-16.0.0-rc1):
>>>>> git at gitlab.com:embeddable-common-lisp/ecl.git
>>>>> https://gitlab.com/embeddable-common-lisp/ecl.git
>>>>>
>>>>> and downloadable tarball address is:
>>>>> https://common-lisp.net/project/ecl/files/ecl-16.0.0-rc1.tgz
>>>>>
>>>>> (in this directory all future releases will be stored and previous ones
>>>>> will be imported).
>>>>>
>>>>> I plan to describe changes in more detail in ECL Quarterly when
>>>>> finished. If no serious issues will come up next release is planned at
>>>>> 2015-08-28. Windows will have prebuilt version with MSVC.
>>>>>
>>>>> Best regards,
>>>>> Daniel Kochmański
>>>>>
>>>>> --
>>>>> Daniel Kochmański | Poznań, Poland
>>>>> ;; aka jackdaniel
>>>>>
>>>>> "Be the change that you wish to see in the world." - Mahatma Gandhi
>>>
>>> --
>>> Daniel Kochmański | Poznań, Poland
>>> ;; aka jackdaniel
>>>
>>> "Be the change that you wish to see in the world." - Mahatma Gandhi

-- 
Daniel Kochmański | Poznań, Poland
;; aka jackdaniel

"Be the change that you wish to see in the world." - Mahatma Gandhi



More information about the ecl-devel mailing list