<p> Attention is currently required from: Michael Bradeen. </p>
<p>Patch set 1:<span style="border-radius: 3px; display: inline-block; margin: 0 2px; padding: 4px;background-color: #ffd4d4; color: #000000;">Code-Review -1</span></p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/18605">View Change</a></p><p>2 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="null">Patchset:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/c/asterisk/+/18605?tab=comments">Patch Set #1:</a> </p><p style="white-space: pre-wrap; word-wrap: break-word;">The problem with this approach is that you can't do a "sudo make install" on a clean tree and expect it to build and install. </p><p style="white-space: pre-wrap; word-wrap: break-word;">Options:<br>Always run make_version as the directory owner: sudo -u $(MAKEGUID) build_tools/make_version</p><p style="white-space: pre-wrap; word-wrap: break-word;">Add a flag "--set-safe-directory" to ./configure and have the Makefile check it.  If it's set AND the current user isn't the directory owner, issue a "git config --global --add safe.directory <builddir>" before calling make_version.</p><p style="white-space: pre-wrap; word-wrap: break-word;"><br>Also, do we have any idea on how other projects might be handling this?  We can't be the only ones with the issue.<br></p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="null">File build_tools/list_valid_installed_externals:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/c/asterisk/+/18605/comment/6c9d2320_c34ea714">Patch Set #1, Line 41:</a> <code style="font-family:monospace,monospace">version=$(${ASTTOPDIR}/build_tools/make_version ${ASTTOPDIR})</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">make_version gets called in download_externals as well.  Does that need to change as well?</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/18605">change 18605</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/18605"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-Change-Id: If8f10cac8f509c08981120f17555762342020221 </div>
<div style="display:none"> Gerrit-Change-Number: 18605 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Michael Bradeen <mbradeen@sangoma.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Attention: Michael Bradeen <mbradeen@sangoma.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Mon, 06 Jun 2022 12:28:19 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: Yes </div>
<div style="display:none"> Gerrit-MessageType: comment </div>