Closed logopk closed 1 month ago
Might be an issue due to using .write
rather than special etc.install
logic (which would create/modify rsyslog.conf.default
if rsyslog.conf
already exists).
Using a temporary file may help like in percona-server
:
https://github.com/Homebrew/homebrew-core/blob/f4861d055bf1593f5d0b1934b4756cb9ed9e8246/Formula/p/percona-server.rb#L163-L169
Hi, is there anyone in charge of this formula who would be able to fix this? Would it be sufficient for me to post a PR?
I've never mad a PR besides a bump...
@branchvincent Thank you!
brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
outputVerification
brew doctor
output saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
and am still able to reproduce my issue.brew doctor
and that did not fix my problem.What were you trying to do (and why)?
brew reinstall --build-from-source rsyslog
What happened (include all command output)?
==> Installing rsyslog ==> ./configure --enable-imfile --enable-usertools --enable-diagtools --disable-
==> make ==> make install Error: An exception occurred within a child process: RuntimeError: Will not overwrite /opt/homebrew/etc/rsyslog.conf
What did you expect to happen?
skip
as there is already a more sophisticated conf file.
I know build-from-source is unsupported but is there a way to update the formula to skip this message?
Step-by-step reproduction instructions (by running
brew
commands)