Summary: | drm-fbsd13-mod: Build failure | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Jason W. Bacon <jwb> |
Component: | Individual Port(s) | Assignee: | freebsd-x11 (Nobody) <x11> |
Status: | Closed Not A Bug | ||
Severity: | Affects Some People | CC: | manu |
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(x11) |
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Jason W. Bacon
2021-04-19 12:37:44 UTC
Cannot reproduce in : - Cirrus-ci https://cirrus-ci.com/task/5023012320706560 - Poudriere with a 13.0 jail - Locally from the ports tree on a 13.0 box - Locally from https://github.com/freebsd/drm-kmod/ on a 13.0 box Do you have any modification to the system ? (/etc/src.conf or /etc/make.conf) Thanks, Yeah, interesting. For some reason it's sensitive to CFLAGS+=-O -Wall -g which I had added for some local builds. I remove that and the error goes away. Note to posterity: The following addition to /etc/make.conf allows building ports without the extra CFLAGS, while they are used for building and testing code elsewhere: # Enable full conmpiler warnings and debug symbols outside ports PWD!= pwd .if empty(PWD:M/usr/ports*) CFLAGS+=-O -Wall -g .endif Closing this, since code comes from Linux and we don't like to modifying too much it's unreasonable to expect this to build with -Wall. Also warning changes at each clang version so ... |