<div style="display: flex; flex-wrap: wrap; white-space: pre-wrap; align-items: center; "><img height="20" width="20" style="border-radius:50%; margin-right: 4px;" decoding="async" src="https://avatars.githubusercontent.com/u/4642619?s=20&v=4" /><strong>xronoc</strong> created an issue <a href="https://github.com/openstreetmap/openstreetmap-website/issues/6300">(openstreetmap/openstreetmap-website#6300)</a></div>
<h3 dir="auto">URL</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">How to reproduce the issue?</h3>
<p dir="auto">On Arch Linux failed to build google-protobuf</p>
<pre class="notranslate"><code class="notranslate">Fetching rtlcss 0.2.1
Installing rails 8.0.2
Installing danger-auto_label 1.3.1
Installing doorkeeper-i18n 5.2.7
Installing doorkeeper-openid_connect 1.8.11
Installing i18n-tasks 1.0.15
Installing teaspoon-mocha 2.3.3
Installing rtlcss 0.2.1
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory:
/usr/lib/ruby/gems/3.4.0/gems/google-protobuf-3.25.8/ext/google/protobuf_c
/usr/bin/ruby extconf.rb
creating Makefile

current directory:
/usr/lib/ruby/gems/3.4.0/gems/google-protobuf-3.25.8/ext/google/protobuf_c
make DESTDIR\= sitearchdir\=./.gem.20250806-47361-vg8bsu
sitelibdir\=./.gem.20250806-47361-vg8bsu clean

current directory:
/usr/lib/ruby/gems/3.4.0/gems/google-protobuf-3.25.8/ext/google/protobuf_c
make DESTDIR\= sitearchdir\=./.gem.20250806-47361-vg8bsu
sitelibdir\=./.gem.20250806-47361-vg8bsu
compiling protobuf.c
compiling convert.c
compiling defs.c
compiling message.c
compiling repeated_field.c
compiling map.c
map.c: In function ‘Map_delete’:
map.c:447:26: warning: passing argument 1 of ‘upb_Map_Delete’ discards ‘const’
qualifier from pointer target type [-Wdiscarded-qualifiers]
  447 |   if (upb_Map_Delete(self->map, key_upb, &val_upb)) {
      |                      ~~~~^~~~~
In file included from defs.h:12,
                 from protobuf.h:29,
                 from convert.h:11,
                 from map.c:8:
ruby-upb.h:1772:38: note: expected ‘upb_Map *’ but argument is of type ‘const upb_Map
*’
 1772 | UPB_API bool upb_Map_Delete(upb_Map* map, upb_MessageValue key,
      |                             ~~~~~~~~~^~~
compiling ruby-upb.c
compiling wrap_memcpy.c
compiling ./third_party/utf8_range/naive.c
compiling ./third_party/utf8_range/range2-neon.c
compiling ./third_party/utf8_range/range2-sse.c
compiling shared_convert.c
shared_convert.c: In function ‘shared_Msgval_IsEqual’:
shared_convert.c:39:1: warning: control reaches end of non-void function
[-Wreturn-type]
   39 | }
      | ^
shared_convert.c: In function ‘shared_Msgval_GetHash’:
shared_convert.c:64:1: warning: control reaches end of non-void function
[-Wreturn-type]
   64 | }
      | ^
compiling shared_message.c
shared_message.c: In function ‘shared_Message_Equal’:
shared_message.c:66:1: warning: control reaches end of non-void function
[-Wreturn-type]
   66 | }
      | ^
linking shared-object google/protobuf_c.so
/usr/bin/ld: /tmp/ccgR2EWy.ltrans1.ltrans.o: in function `jsonenc_putbytes':
/usr/include/bits/string_fortified.h:29:(.text+0x366): undefined reference to
`__wrap_memcpy'
/usr/bin/ld: /tmp/ccgR2EWy.ltrans1.ltrans.o: relocation R_X86_64_PC32 against undefined
hidden symbol `__wrap_memcpy' can not be used when making a shared object
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make: *** [Makefile:268: protobuf_c.so] Error 1

make failed, exit code 2

Gem files will remain installed in /usr/lib/ruby/gems/3.4.0/gems/google-protobuf-3.25.8
for inspection.
Results logged to
/usr/lib/ruby/gems/3.4.0/extensions/x86_64-linux/3.4.0/google-protobuf-3.25.8/gem_make.out

  /usr/lib/ruby/3.4.0/rubygems/ext/builder.rb:126:in 'Gem::Ext::Builder.run'
  /usr/lib/ruby/3.4.0/rubygems/ext/builder.rb:52:in 'block in Gem::Ext::Builder.make'
  /usr/lib/ruby/3.4.0/rubygems/ext/builder.rb:44:in 'Array#each'
  /usr/lib/ruby/3.4.0/rubygems/ext/builder.rb:44:in 'Gem::Ext::Builder.make'
/usr/lib/ruby/3.4.0/rubygems/ext/ext_conf_builder.rb:44:in
'Gem::Ext::ExtConfBuilder.build'
/usr/lib/ruby/3.4.0/rubygems/ext/builder.rb:195:in
'Gem::Ext::Builder#build_extension'
/usr/lib/ruby/3.4.0/rubygems/ext/builder.rb:229:in 'block in
Gem::Ext::Builder#build_extensions'
  /usr/lib/ruby/3.4.0/rubygems/ext/builder.rb:226:in 'Array#each'
/usr/lib/ruby/3.4.0/rubygems/ext/builder.rb:226:in
'Gem::Ext::Builder#build_extensions'
  /usr/lib/ruby/3.4.0/rubygems/installer.rb:844:in 'Gem::Installer#build_extensions'
/usr/lib/ruby/gems/3.4.0/gems/bundler-2.6.2/lib/bundler/rubygems_gem_installer.rb:111:in
'Bundler::RubyGemsGemInstaller#build_extensions'
/usr/lib/ruby/gems/3.4.0/gems/bundler-2.6.2/lib/bundler/rubygems_gem_installer.rb:30:in
'Bundler::RubyGemsGemInstaller#install'
/usr/lib/ruby/gems/3.4.0/gems/bundler-2.6.2/lib/bundler/source/rubygems.rb:205:in
'Bundler::Source::Rubygems#install'
/usr/lib/ruby/gems/3.4.0/gems/bundler-2.6.2/lib/bundler/installer/gem_installer.rb:55:in
'Bundler::GemInstaller#install'
/usr/lib/ruby/gems/3.4.0/gems/bundler-2.6.2/lib/bundler/installer/gem_installer.rb:17:in
'Bundler::GemInstaller#install_from_spec'
/usr/lib/ruby/gems/3.4.0/gems/bundler-2.6.2/lib/bundler/installer/parallel_installer.rb:133:in
'Bundler::ParallelInstaller#do_install'
/usr/lib/ruby/gems/3.4.0/gems/bundler-2.6.2/lib/bundler/installer/parallel_installer.rb:124:in
'block in Bundler::ParallelInstaller#worker_pool'
/usr/lib/ruby/gems/3.4.0/gems/bundler-2.6.2/lib/bundler/worker.rb:62:in
'Bundler::Worker#apply_func'
/usr/lib/ruby/gems/3.4.0/gems/bundler-2.6.2/lib/bundler/worker.rb:57:in 'block in
Bundler::Worker#process_queue'
  <internal:kernel>:168:in 'Kernel#loop'
/usr/lib/ruby/gems/3.4.0/gems/bundler-2.6.2/lib/bundler/worker.rb:54:in
'Bundler::Worker#process_queue'
/usr/lib/ruby/gems/3.4.0/gems/bundler-2.6.2/lib/bundler/worker.rb:90:in 'block (2
levels) in Bundler::Worker#create_threads'

An error occurred while installing google-protobuf (3.25.8), and Bundler
cannot continue.

In Gemfile:
  dartsass-sprockets was resolved to 3.0.0, which depends on
    dartsass-ruby was resolved to 3.0.2, which depends on
      sass-embedded was resolved to 1.64.2, which depends on
        google-protobuf
                                                                                       
openstreetmap-website git:master  54s
</code></pre>
<p dir="auto">Does anybody install openstreetmap-website on arch recently ?</p>
<h3 dir="auto">Screenshot(s) or anything else?</h3>
<p dir="auto"><em>No response</em></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/6300">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLLKVJPTGYNBHQB6QDD3MJ2T7AVCNFSM6AAAAACDJHEYFCVHI2DSMVQWIX3LMV43ASLTON2WKOZTGI4TQMJZG44DAOA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLLT7OMUEHTCQXTMDAD3MJ2T7A5CNFSM6AAAAACDJHEYFCWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHMJFUBGA.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/6300</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/6300",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/6300",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>