Page MenuHomeFreeBSD

PR/253000 Fix bsdrcmds under 13-ALPHA and 14-CURRNT
ClosedPublic

Authored by cy on Jan 26 2021, 7:15 PM.
Tags
None
Referenced Files
F102655671: D28361.diff
Fri, Nov 15, 10:24 AM
Unknown Object (File)
Thu, Nov 7, 4:52 AM
Unknown Object (File)
Wed, Oct 23, 12:37 PM
Unknown Object (File)
Wed, Oct 23, 11:17 AM
Unknown Object (File)
Tue, Oct 22, 9:36 AM
Unknown Object (File)
Sun, Oct 20, 7:43 AM
Unknown Object (File)
Oct 5 2024, 7:22 AM
Unknown Object (File)
Sep 25 2024, 12:29 PM
Subscribers

Details

Summary

1300134 broke bsdrcmds when support for NO_WERROR=1 was replaced by MK_WERROR=no. This patch fixes the build under 14-CURRENT and 13-ALPHA.

See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253000.

Test Plan

Working locally.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

cy requested review of this revision.Jan 26 2021, 7:15 PM
This revision is now accepted and ready to land.Jan 30 2021, 9:01 PM
jlh requested changes to this revision.Jan 30 2021, 9:13 PM
jlh added inline comments.
net/bsdrcmds/Makefile
21

I've just tried on 12-1-RELEASE and MK_WERROR=no seems to works. So I believe you can just swap the old one for the new one.

This revision now requires changes to proceed.Jan 30 2021, 9:13 PM

Simpler patch uploaded.

net/bsdrcmds/Makefile
21

NO_WERROR=1 is still needed for 11-STABLE. And src 7fa2f2a62f04f095e1e27ad55aa22a8f59b1df8f was never MFCed back to stable/12 nor to stable/11. Testing replacing NO_WERROR=1 with MK_WERROR=no on ref12-amd64 causes the build to fail. Similarly on ref11-amd64. Based on my tests on ref12-amd64 and ref11-amd64, and based on review of the logs for stable/12 and stable/11, a wholesale replace of NO_WERROR=1 with MK_WERROR=no will cause the build to break on older FreeBSD.

I'll upload a simpler patch.

I'm not able to test this on 11-STABLE, but this looks good to me as an unused environment variable should be harmless.

This revision is now accepted and ready to land.Feb 1 2021, 11:43 AM
This revision was automatically updated to reflect the committed changes.