[MacPorts] #65723: yaws fails on Rosetta: compile: warnings being treated as errors
MacPorts
noreply at macports.org
Thu Aug 25 23:01:19 UTC 2022
#65723: yaws fails on Rosetta: compile: warnings being treated as errors
-------------------------------------------+----------------------
Reporter: barracuda156 | Owner: ci42
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Keywords: powerpc, rosetta, snowleopard | Port: yaws
-------------------------------------------+----------------------
{{{
: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
}}}
--
Ticket URL: <https://trac.macports.org/ticket/65723>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list