erlyaws / yaws

Yaws webserver
https://erlyaws.github.io
BSD 3-Clause "New" or "Revised" License
1.28k stars 267 forks source link

build breaks with OTP 27 #467

Closed 0-wiz-0 closed 8 months ago

0-wiz-0 commented 1 year ago

After installing erlang 27, I see:

  ERLC     ../ebin/yaws_compile.beam
compile: warnings being treated as errors
yaws_config.erl:3563:20: file:pid2name/1 is deprecated and will be removed in OTP 27; this functionality is no longer supported
% 3563|     {ok, Config} = file:pid2name(FD),
%     |                    ^

yaws_config.erl:3579:20: file:pid2name/1 is deprecated and will be removed in OTP 27; this functionality is no longer supported
% 3579|     {ok, Config} = file:pid2name(FD),
%     |                    ^

gmake[1]: *** [Makefile:664: ../ebin/yaws_config.beam] Error 1
vinoski commented 1 year ago

I've been working on getting Yaws working on Erlang/OTP 26, but it's not complete yet.

gvsafronov commented 1 year ago

Thank you very much!