<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en" style='--code-editor-font: var(--default-mono-font, "GitLab Mono"), JetBrains Mono, Menlo, DejaVu Sans Mono, Liberation Mono, Consolas, Ubuntu Mono, Courier New, andale mono, lucida console, monospace;'>
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>
<style data-premailer="ignore" type="text/css">
a { color: #1068bf; }
</style>
<style>img {
max-width: 100%; height: auto;
}
body {
font-size: .875rem;
}
body {
-webkit-text-shadow: rgba(255,255,255,.01) 0 0 1px;
}
body {
font-family: var(--default-regular-font, "GitLab Sans"),-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; font-size: inherit;
}
</style>
</head>
<body style='font-size: inherit; -webkit-text-shadow: rgba(255,255,255,.01) 0 0 1px; font-family: var(--default-regular-font, "GitLab Sans"),-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";'>
<div class="content">
<p class="details" style="font-style: italic; color: #737278;">
<a href="https://gitlab.rtems.org/zhengxiaojun">xiaojun zheng</a> created an issue: <a href="https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/27">#27</a>
</p>
<div class="md" style="color: #333238; word-wrap: break-word;">
<h2 dir="auto" style="font-size: 1.5em; font-weight: 600; padding-bottom: .3em; border-bottom-width: 1px; border-bottom-color: #bfbfc3; border-bottom-style: solid; color: #333238; margin: 0 0 16px;" align="initial">
<a href="#summary" aria-hidden="true" class="anchor" id="user-content-summary" style="margin-top: 0; float: left; margin-left: -20px; text-decoration: none; outline: none;"></a>Summary</h2>
<p dir="auto" style="color: #333238; margin: 0 0 16px;" align="initial">MSYS2, target arm,aarch64</p>
<p dir="auto" style="color: #333238; margin: 0 0 16px;" align="initial">build command</p>
<div class="gl-relative markdown-code-block js-markdown-code">
<pre class="code highlight js-syntax-highlight language-plaintext" v-pre="true" style='display: block; font-size: 14px; color: #333238; line-height: 1.6em; overflow-x: auto; border-radius: .25rem; position: relative; font-family: var(--default-mono-font, "GitLab Mono"),"JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; margin: 0 0 16px; padding: 12px; border: 1px solid #dcdcde;'><code style='font-size: inherit; color: inherit; word-wrap: normal; word-break: keep-all; background-color: inherit; border-radius: .25rem; white-space: pre; margin-top: 0; font-family: var(--default-mono-font, "GitLab Mono"),"JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; vertical-align: bottom; overflow-wrap: normal; padding: unset;'><span id="LC1" class="line" lang="plaintext" style="margin-top: 0;">../source-builder/sb-set-builder --log=l-arm.txt --prefix=/opt/rtems/6.1 6/rtems-arm</span></code></pre>
<copy-code></copy-code>
</div>
<p dir="auto" style="color: #333238; margin: 0 0 16px;" align="initial">There are 2 issues.</p>
<h3 dir="auto" style="font-size: 1.3em; margin: 24px 0 16px;" align="initial">
<a href="#awk-command" aria-hidden="true" class="anchor" id="user-content-awk-command" style="margin-top: 0; float: left; margin-left: -20px; text-decoration: none; outline: none;"></a>awk command</h3>
<p dir="auto" style="color: #333238; margin: 0 0 16px;" align="initial">This is same as <a href="https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/4191" data-reference-type="issue" data-original="https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/4191" data-link="false" data-link-reference="true" data-issue="26716" data-project="26" data-iid="4191" data-project-path="rtems/rtos/rtems" data-issue-type="issue" data-container="body" data-placement="top" title="MSYS2 build error" class="gfm gfm-issue" style="margin-top: 0;">rtems/rtos/rtems#4191</a></p>
<div class="gl-relative markdown-code-block js-markdown-code">
<pre class="code highlight js-syntax-highlight language-plaintext" v-pre="true" style='display: block; font-size: 14px; color: #333238; line-height: 1.6em; overflow-x: auto; border-radius: .25rem; position: relative; font-family: var(--default-mono-font, "GitLab Mono"),"JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; margin: 0 0 16px; padding: 12px; border: 1px solid #dcdcde;'><code style='font-size: inherit; color: inherit; word-wrap: normal; word-break: keep-all; background-color: inherit; border-radius: .25rem; white-space: pre; margin-top: 0; font-family: var(--default-mono-font, "GitLab Mono"),"JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; vertical-align: bottom; overflow-wrap: normal; padding: unset;'><span id="LC1" class="line" lang="plaintext" style="margin-top: 0;">RTEMS Source Builder - Set Builder, 6 (c4975f3bc2a9 modified)</span>
<span id="LC2" class="line" lang="plaintext">Build Set: 6/rtems-arm</span>
<span id="LC3" class="line" lang="plaintext">Build Set: tools/rtems-default-tools.bset</span>
<span id="LC4" class="line" lang="plaintext">config: tools/rtems-gdb-14.2.cfg</span>
<span id="LC5" class="line" lang="plaintext">error: shell macro failed: sh -c "/usr/bin/python3-config --ldflags --embed | awk '{for(i=1;i<NF;++i)if(match($i,\".*lpython.*\")) print \"lib\"substr($i,3)\"\\*\";}'": 1: awk: cmd. line:1: {for(i=1;i<NF;++i)if(match(,".*lpython.*")) print "lib"substr(,3)"\*";}</span>
<span id="LC6" class="line" lang="plaintext">awk: cmd. line:1: ^ syntax error</span>
<span id="LC7" class="line" lang="plaintext">Build FAILED</span>
<span id="LC8" class="line" lang="plaintext">Build Set: Time 0:00:02.209720</span>
<span id="LC9" class="line" lang="plaintext">error: shell macro failed: sh -c "/usr/bin/python3-config --ldflags --embed | awk '{for(i=1;i<NF;++i)if(match($i,\".*lpython.*\")) print \"lib\"substr($i,3)\"\\*\";}'": 1: awk: cmd. line:1: {for(i=1;i<NF;++i)if(match(,".*lpython.*")) print "lib"substr(,3)"\*";}</span>
<span id="LC10" class="line" lang="plaintext">awk: cmd. line:1: ^ syntax error</span>
<span id="LC11" class="line" lang="plaintext">Build Set: Time 0:00:02.218058</span>
<span id="LC12" class="line" lang="plaintext">Build FAILED</span></code></pre>
<copy-code></copy-code>
</div>
<p dir="auto" style="color: #333238; margin: 0 0 16px;" align="initial">'\' should be added before '$i' and '\\*' in gdb-common-1.cfg:line131-132</p>
<p dir="auto" style="color: #333238; margin: 0 0 16px;" align="initial">when fixed this, there is another error.</p>
<h3 dir="auto" style="font-size: 1.3em; margin: 24px 0 16px;" align="initial">
<a href="#no-usable-python-found-at-usrbinpython3" aria-hidden="true" class="anchor" id="user-content-no-usable-python-found-at-usrbinpython3" style="margin-top: 0; float: left; margin-left: -20px; text-decoration: none; outline: none;"></a>no usable python found at /usr/bin/python3</h3>
<p dir="auto" style="color: #333238; margin: 0 0 16px;" align="initial"><a href="https://gitlab.rtems.org/-/project/7/uploads/7ccb399f7e4c0116d12f52990eb33f0e/rsb-report-arm-rtems6-gdb-14.2-x86_64-w64-mingw32-1.txt" data-canonical-src="/uploads/7ccb399f7e4c0116d12f52990eb33f0e/rsb-report-arm-rtems6-gdb-14.2-x86_64-w64-mingw32-1.txt" data-link="true" class="gfm" style="margin-top: 0;">rsb-report-arm-rtems6-gdb-14.2-x86_64-w64-mingw32-1.txt</a></p>
<p dir="auto" style="color: #333238; margin: 0 0 16px;" align="initial">But python3 is there.</p>
<div class="gl-relative markdown-code-block js-markdown-code" style="margin-bottom: 0;">
<pre class="code highlight js-syntax-highlight language-plaintext" v-pre="true" style='display: block; font-size: 14px; color: #333238; line-height: 1.6em; overflow-x: auto; border-radius: .25rem; position: relative; font-family: var(--default-mono-font, "GitLab Mono"),"JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; margin: 0 0 16px; padding: 12px; border: 1px solid #dcdcde;'><code style='font-size: inherit; color: inherit; word-wrap: normal; word-break: keep-all; background-color: inherit; border-radius: .25rem; white-space: pre; margin-top: 0; font-family: var(--default-mono-font, "GitLab Mono"),"JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; vertical-align: bottom; overflow-wrap: normal; padding: unset;'><span id="LC1" class="line" lang="plaintext" style="margin-top: 0;">MINGW64 ~/rtems-source-builder/rtems$ whereis python3</span>
<span id="LC2" class="line" lang="plaintext">python3: /usr/bin/python3.11-config /usr/bin/python3.exe /usr/lib/python3.11 /usr/include/python3.11 /usr/share/man/man1/python3.1.gz</span></code></pre>
<copy-code></copy-code>
</div>
</div>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #737278;">
—
<br>
<a href="https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/27">View it on GitLab</a>.
<br>
You're receiving this email because of your account on <a target="_blank" rel="noopener noreferrer" href="https://gitlab.rtems.org">gitlab.rtems.org</a>. <a href="https://gitlab.rtems.org/-/sent_notifications/344f21f7562fd6ddfa7ebf9a40073652/unsubscribe" target="_blank" rel="noopener noreferrer">Unsubscribe</a> from this thread · <a href="https://gitlab.rtems.org/-/profile/notifications" target="_blank" rel="noopener noreferrer" class="mng-notif-link">Manage all notifications</a> · <a href="https://gitlab.rtems.org/help" target="_blank" rel="noopener noreferrer" class="help-link">Help</a>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/27"}}</script>
</p>
</div>
</body>
</html>