Re: svn commit: r363031 - in head: contrib/bmake contrib/bmake/lst.lib contrib/bmake/mk contrib/bmake/mk/sys contrib/bmake/unit-tests usr.bin/bmake (make now broken)
Mark Millard wrote: > > though the one in ports is real issue: > > > > $ make config > > make: "/usr/ports/Mk/bsd.port.mk" line 2096: warning: String comparison > > operator should be either == or != > > make: "/usr/ports/Mk/bsd.port.mk" line 2096: Malformed conditional > > (defined(MAKE_JOBS_NUMBER_LIMIT) && ( ${MAKE_JOBS_NUMBER_LIMIT} < > > ${_MAKE_JOBS_NUMBER} )) The above should be equivalent to V42 = 42 .if defined(V69) && ( ${V69} < ${V42} ) .endif which in a unit-test works just fine. Same goes for the warnings in bsd.compiler.mk ;-( ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: svn commit: r363031 - in head: contrib/bmake contrib/bmake/lst.lib contrib/bmake/mk contrib/bmake/mk/sys contrib/bmake/unit-tests usr.bin/bmake (make now broken)
On 2020-Jul-8, at 20:35, Yuri Pankov wrote: > Mark Millard wrote: >> This seems to have broken doing buildworld buildkernel and >> other things using make: >> make[2]: "/usr/src/share/mk/bsd.compiler.mk" line 197: warning: String >> comparison operator should be either == or != >> make[2]: "/usr/src/share/mk/bsd.compiler.mk" line 197: warning: String >> comparison operator should be either == or != >> . . . >> make[3]: "/usr/src/share/mk/bsd.sys.mk" line 100: warning: String comparison >> operator should be either == or != >> . . . >> make[3]: "/usr/src/share/mk/bsd.sys.mk" line 81: warning: String comparison >> operator should be either == or != >> . . . >> Using -d c shows the likes of: >> . . . >> lhs = "clang", rhs = "clang", op = == >> lhs = "${${:UCOMPILER_TYPE}__${${:U${_empty_var_}}_cc_hash}}", rhs = "gcc", >> op = == >> make[2]: "/usr/src/share/mk/bsd.compiler.mk" line 197: warning: String >> comparison operator should be either == or != >> lhs = "clang", rhs = "clang", op = == >> lhs = "LD", rhs = "LD", op = == >> . . . >> left = 6.00, right = 2.00, op = <= >> left = 6.00, right = 1.00, op = <= >> lhs = "${${:UCOMPILER_TYPE}__${${:U${_empty_var_}}_cc_hash}}", rhs = >> "clang", op = == >> make[3]: "/usr/src/share/mk/bsd.sys.mk" line 100: warning: String comparison >> operator should be either == or != >> lhs = "${${:UCOMPILER_TYPE}__${${:U${_empty_var_}}_cc_hash}}", rhs = "gcc", >> op = == >> lhs = "clang", rhs = "gcc", op = == >> . . . >> left = 0.00, right = 6.00, op = <= >> left = 0.00, right = 3.00, op = <= >> lhs = "clang", rhs = "gcc", op = == >> make[3]: "/usr/src/share/mk/bsd.sys.mk" line 81: warning: String comparison >> operator should be either == or != >> lhs = "clang", rhs = "clang", op = == >> left = 11.00, right = 7.00, op = >= >> lhs = "amd64", rhs = "arm", op = == >> (Now I just need to figure out how to get back to a working context.) > > For me, buildworld/buildkernel produced only warnings, But, looking at the code in bmake, the expression is also evaluated differently/incorrectly when it is classified as having the problem of having a incorrect operator. In other words: the behavior in make changes via misevaluated expressions. > though the one in ports is real issue: > > $ make config > make: "/usr/ports/Mk/bsd.port.mk" line 2096: warning: String comparison > operator should be either == or != > make: "/usr/ports/Mk/bsd.port.mk" line 2096: Malformed conditional > (defined(MAKE_JOBS_NUMBER_LIMIT) && ( ${MAKE_JOBS_NUMBER_LIMIT} < > ${_MAKE_JOBS_NUMBER} )) > make: Fatal errors encountered -- cannot continue > make: stopped in /usr/ports/devel/subversion Not the only "real issue", I'm afraid. === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: svn commit: r363031 - in head: contrib/bmake contrib/bmake/lst.lib contrib/bmake/mk contrib/bmake/mk/sys contrib/bmake/unit-tests usr.bin/bmake (make now broken)
Mark Millard wrote: > [External Email. Be cautious of content] > > > This seems to have broken doing buildworld buildkernel and > other things using make: Ouch sorry I saw this at one point but couldn't reproduce while trying to work out what it was complaining about. The line numbers did/do not appear correct. Will revert if I cannot work it out. > > make[2]: "/usr/src/share/mk/bsd.compiler.mk" line 197: warning: String > comparison operator should be either == or != > make[2]: "/usr/src/share/mk/bsd.compiler.mk" line 197: warning: String > comparison operator should be either == or != > . . . > make[3]: "/usr/src/share/mk/bsd.sys.mk" line 100: warning: String comparison > operator should be either == or != > . . . > make[3]: "/usr/src/share/mk/bsd.sys.mk" line 81: warning: String comparison > operator should be either == or != > . . . > > Using -d c shows the likes of: > > . . . > lhs = "clang", rhs = "clang", op = == > lhs = "${${:UCOMPILER_TYPE}__${${:U${_empty_var_}}_cc_hash}}", rhs = "gcc", > op = == > make[2]: "/usr/src/share/mk/bsd.compiler.mk" line 197: warning: String > comparison operator should be either == or != > lhs = "clang", rhs = "clang", op = == > lhs = "LD", rhs = "LD", op = == > . . . > left = 6.00, right = 2.00, op = <= > left = 6.00, right = 1.00, op = <= > lhs = "${${:UCOMPILER_TYPE}__${${:U${_empty_var_}}_cc_hash}}", rhs = "clang", > op = == > make[3]: "/usr/src/share/mk/bsd.sys.mk" line 100: warning: String comparison > operator should be either == or != > lhs = "${${:UCOMPILER_TYPE}__${${:U${_empty_var_}}_cc_hash}}", rhs = "gcc", > op = == > lhs = "clang", rhs = "gcc", op = == > . . . > left = 0.00, right = 6.00, op = <= > left = 0.00, right = 3.00, op = <= > lhs = "clang", rhs = "gcc", op = == > make[3]: "/usr/src/share/mk/bsd.sys.mk" line 81: warning: String comparison > operator should be either == or != > lhs = "clang", rhs = "clang", op = == > left = 11.00, right = 7.00, op = >= > lhs = "amd64", rhs = "arm", op = == > > (Now I just need to figure out how to get back to a working context.) > > === > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: svn commit: r363031 - in head: contrib/bmake contrib/bmake/lst.lib contrib/bmake/mk contrib/bmake/mk/sys contrib/bmake/unit-tests usr.bin/bmake (make now broken)
This seems to have broken doing buildworld buildkernel and other things using make: make[2]: "/usr/src/share/mk/bsd.compiler.mk" line 197: warning: String comparison operator should be either == or != make[2]: "/usr/src/share/mk/bsd.compiler.mk" line 197: warning: String comparison operator should be either == or != . . . make[3]: "/usr/src/share/mk/bsd.sys.mk" line 100: warning: String comparison operator should be either == or != . . . make[3]: "/usr/src/share/mk/bsd.sys.mk" line 81: warning: String comparison operator should be either == or != . . . Using -d c shows the likes of: . . . lhs = "clang", rhs = "clang", op = == lhs = "${${:UCOMPILER_TYPE}__${${:U${_empty_var_}}_cc_hash}}", rhs = "gcc", op = == make[2]: "/usr/src/share/mk/bsd.compiler.mk" line 197: warning: String comparison operator should be either == or != lhs = "clang", rhs = "clang", op = == lhs = "LD", rhs = "LD", op = == . . . left = 6.00, right = 2.00, op = <= left = 6.00, right = 1.00, op = <= lhs = "${${:UCOMPILER_TYPE}__${${:U${_empty_var_}}_cc_hash}}", rhs = "clang", op = == make[3]: "/usr/src/share/mk/bsd.sys.mk" line 100: warning: String comparison operator should be either == or != lhs = "${${:UCOMPILER_TYPE}__${${:U${_empty_var_}}_cc_hash}}", rhs = "gcc", op = == lhs = "clang", rhs = "gcc", op = == . . . left = 0.00, right = 6.00, op = <= left = 0.00, right = 3.00, op = <= lhs = "clang", rhs = "gcc", op = == make[3]: "/usr/src/share/mk/bsd.sys.mk" line 81: warning: String comparison operator should be either == or != lhs = "clang", rhs = "clang", op = == left = 11.00, right = 7.00, op = >= lhs = "amd64", rhs = "arm", op = == (Now I just need to figure out how to get back to a working context.) === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: svn commit: r363031 - in head: contrib/bmake contrib/bmake/lst.lib contrib/bmake/mk contrib/bmake/mk/sys contrib/bmake/unit-tests usr.bin/bmake (make now broken)
Mark Millard wrote: On 2020-Jul-8, at 20:35, Yuri Pankov wrote: Mark Millard wrote: This seems to have broken doing buildworld buildkernel and other things using make: make[2]: "/usr/src/share/mk/bsd.compiler.mk" line 197: warning: String comparison operator should be either == or != make[2]: "/usr/src/share/mk/bsd.compiler.mk" line 197: warning: String comparison operator should be either == or != . . . make[3]: "/usr/src/share/mk/bsd.sys.mk" line 100: warning: String comparison operator should be either == or != . . . make[3]: "/usr/src/share/mk/bsd.sys.mk" line 81: warning: String comparison operator should be either == or != . . . Using -d c shows the likes of: . . . lhs = "clang", rhs = "clang", op = == lhs = "${${:UCOMPILER_TYPE}__${${:U${_empty_var_}}_cc_hash}}", rhs = "gcc", op = == make[2]: "/usr/src/share/mk/bsd.compiler.mk" line 197: warning: String comparison operator should be either == or != lhs = "clang", rhs = "clang", op = == lhs = "LD", rhs = "LD", op = == . . . left = 6.00, right = 2.00, op = <= left = 6.00, right = 1.00, op = <= lhs = "${${:UCOMPILER_TYPE}__${${:U${_empty_var_}}_cc_hash}}", rhs = "clang", op = == make[3]: "/usr/src/share/mk/bsd.sys.mk" line 100: warning: String comparison operator should be either == or != lhs = "${${:UCOMPILER_TYPE}__${${:U${_empty_var_}}_cc_hash}}", rhs = "gcc", op = == lhs = "clang", rhs = "gcc", op = == . . . left = 0.00, right = 6.00, op = <= left = 0.00, right = 3.00, op = <= lhs = "clang", rhs = "gcc", op = == make[3]: "/usr/src/share/mk/bsd.sys.mk" line 81: warning: String comparison operator should be either == or != lhs = "clang", rhs = "clang", op = == left = 11.00, right = 7.00, op = >= lhs = "amd64", rhs = "arm", op = == (Now I just need to figure out how to get back to a working context.) For me, buildworld/buildkernel produced only warnings, But, looking at the code in bmake, the expression is also evaluated differently/incorrectly when it is classified as having the problem of having a incorrect operator. In other words: the behavior in make changes via misevaluated expressions. though the one in ports is real issue: $ make config make: "/usr/ports/Mk/bsd.port.mk" line 2096: warning: String comparison operator should be either == or != make: "/usr/ports/Mk/bsd.port.mk" line 2096: Malformed conditional (defined(MAKE_JOBS_NUMBER_LIMIT) && ( ${MAKE_JOBS_NUMBER_LIMIT} < ${_MAKE_JOBS_NUMBER} )) make: Fatal errors encountered -- cannot continue make: stopped in /usr/ports/devel/subversion Not the only "real issue", I'm afraid. Yeah, sorry, looks like I'm late to the party, and it was already discussed and reverted. ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: svn commit: r363031 - in head: contrib/bmake contrib/bmake/lst.lib contrib/bmake/mk contrib/bmake/mk/sys contrib/bmake/unit-tests usr.bin/bmake (make now broken)
Mark Millard wrote: This seems to have broken doing buildworld buildkernel and other things using make: make[2]: "/usr/src/share/mk/bsd.compiler.mk" line 197: warning: String comparison operator should be either == or != make[2]: "/usr/src/share/mk/bsd.compiler.mk" line 197: warning: String comparison operator should be either == or != . . . make[3]: "/usr/src/share/mk/bsd.sys.mk" line 100: warning: String comparison operator should be either == or != . . . make[3]: "/usr/src/share/mk/bsd.sys.mk" line 81: warning: String comparison operator should be either == or != . . . Using -d c shows the likes of: . . . lhs = "clang", rhs = "clang", op = == lhs = "${${:UCOMPILER_TYPE}__${${:U${_empty_var_}}_cc_hash}}", rhs = "gcc", op = == make[2]: "/usr/src/share/mk/bsd.compiler.mk" line 197: warning: String comparison operator should be either == or != lhs = "clang", rhs = "clang", op = == lhs = "LD", rhs = "LD", op = == . . . left = 6.00, right = 2.00, op = <= left = 6.00, right = 1.00, op = <= lhs = "${${:UCOMPILER_TYPE}__${${:U${_empty_var_}}_cc_hash}}", rhs = "clang", op = == make[3]: "/usr/src/share/mk/bsd.sys.mk" line 100: warning: String comparison operator should be either == or != lhs = "${${:UCOMPILER_TYPE}__${${:U${_empty_var_}}_cc_hash}}", rhs = "gcc", op = == lhs = "clang", rhs = "gcc", op = == . . . left = 0.00, right = 6.00, op = <= left = 0.00, right = 3.00, op = <= lhs = "clang", rhs = "gcc", op = == make[3]: "/usr/src/share/mk/bsd.sys.mk" line 81: warning: String comparison operator should be either == or != lhs = "clang", rhs = "clang", op = == left = 11.00, right = 7.00, op = >= lhs = "amd64", rhs = "arm", op = == (Now I just need to figure out how to get back to a working context.) For me, buildworld/buildkernel produced only warnings, though the one in ports is real issue: $ make config make: "/usr/ports/Mk/bsd.port.mk" line 2096: warning: String comparison operator should be either == or != make: "/usr/ports/Mk/bsd.port.mk" line 2096: Malformed conditional (defined(MAKE_JOBS_NUMBER_LIMIT) && ( ${MAKE_JOBS_NUMBER_LIMIT} < ${_MAKE_JOBS_NUMBER} )) make: Fatal errors encountered -- cannot continue make: stopped in /usr/ports/devel/subversion ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"