<p></p>
<p dir="auto">Attempted to use Ubuntu 24.04 on Docker, but encountered the following issue when running <code class="notranslate">bundle install</code>:</p>
<pre class="notranslate"><code class="notranslate">46.83 Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
46.83 current directory:
46.83 /var/lib/gems/3.2.0/gems/mini_racer-0.9.0/ext/mini_racer_extension
46.83 /usr/bin/ruby3.2 -I/usr/lib/ruby/vendor_ruby extconf.rb
46.83 checking for -lpthread... yes
46.83 checking for whether -Wl,--exclude-libs=ALL is accepted as LDFLAGS... no
46.83 creating Makefile
46.83 current directory:
46.83 /var/lib/gems/3.2.0/gems/mini_racer-0.9.0/ext/mini_racer_extension
46.83 make DESTDIR\= sitearchdir\=./.gem.20240724-6-5fxsmr sitelibdir\=./.gem.20240724-6-5fxsmr clean
46.83 current directory:
46.83 /var/lib/gems/3.2.0/gems/mini_racer-0.9.0/ext/mini_racer_extension
46.83 make DESTDIR\= sitearchdir\=./.gem.20240724-6-5fxsmr sitelibdir\=./.gem.20240724-6-5fxsmr
46.83 compiling mini_racer_extension.cc
46.83 linking shared-object mini_racer_extension.so
46.83 /usr/bin/ld: cannot find
46.83 /var/lib/gems/3.2.0/gems/libv8-node-18.19.0.0-aarch64-linux/vendor/v8/aarch64-linux-gnu/libv8/obj/libv8_monolith.a:
46.83 No such file or directory
46.83 collect2: error: ld returned 1 exit status
46.83 make: *** [Makefile:265: mini_racer_extension.so] Error 1
46.83 make failed, exit code 2
</code></pre>
<p dir="auto">Tried addressing this issue but couldn't find a solution. At this point, downgrading to eslint 8 seems to be the most practical approach.</p>
<p dir="auto">I was able to downgrade to eslint 8 and update the eslint config format accordingly since it won't work out of the box when downgrading. The changes are reflected on this branch: <a href="https://github.com/kcne/openstreetmap-website/tree/node-version-sync">node-version-sync</a></p>
<p dir="auto">I can open a PR to discuss this further if you think this might be a good approach. <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gravitystorm/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gravitystorm">@gravitystorm</a></p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/5010#issuecomment-2247454781">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLOAY7A5MWOJMCFH6HDZN53RBAVCNFSM6AAAAABLISYQG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBXGQ2TINZYGE">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLLQWN6RSYCQB26NMWDZN53RBA5CNFSM6AAAAABLISYQG2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUF6VYD2.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/issues/5010/2247454781</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/5010#issuecomment-2247454781",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/5010#issuecomment-2247454781",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>