Opened 2 years ago

Closed 2 years ago

#65723 closed defect (fixed)

yaws fails on Rosetta: compile: warnings being treated as errors

Reported by: barracuda156 Owned by: ci42
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: powerpc, rosetta, snowleopard Cc:
Port: yaws

Description

:info:build compile: warnings being treated as errors
:info:build yaws_zlib.erl:27:13: zlib:crc32/1 is deprecated and will be removed in OTP 27; use erlang:crc32/1 on the uncompressed data instead
:info:build %   27|     Crc32 = zlib:crc32(Z),
:info:build %     |             ^
:info:build yaws_zlib.erl:47:12: zlib:crc32/3 is deprecated and will be removed in OTP 27; use erlang:crc32/2 instead
:info:build %   47|     Crc1 = zlib:crc32(Z, Crc32, Bin),
:info:build %     |            ^
:info:build make[1]: *** [../ebin/yaws_zlib.beam] Error 1
:info:build make[1]: *** Waiting for unfinished jobs....
:info:build /opt/local/bin/erlc -Werror  +debug_info  -pa .. -pa .. -pa ../ebin -I ../include -I ./../include -I ../include -I ./../include -DHAVE_SENDFILE -o ../ebin yaws_outmod.erl
:info:build compile: warnings being treated as errors
:info:build yaws_config.erl:2005:27: ssl:cipher_suites/0 is removed; use cipher_suites/2,3 instead
:info:build % 2005|                 Ciphers = ssl:cipher_suites(),
:info:build %     |                           ^
:info:build make[1]: *** [../ebin/yaws_config.beam] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_yaws/yaws/work/yaws-2.0.6/src'
:info:build make: *** [all-recursive] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_yaws/yaws/work/yaws-2.0.6'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_yaws/yaws/work/yaws-2.0.6" && /usr/bin/make -j6 -w all 
:info:build Exit code: 2
:error:build Failed to build yaws: command execution failed
:debug:build Error code: CHILDSTATUS 5345 2
:debug:build Backtrace: command execution failed

Change History (1)

comment:1 Changed 2 years ago by barracuda156

Resolution: fixed
Status: assignedclosed

In 68628ed57aca18dbec51f9c7732b07b842829c88/macports-ports (master):

yaws: patch to remove -Werror
Fixes: #65723

Note: See TracTickets for help on using tickets.