Skip to content

TagLib 2 Build Fails On Ubuntu #151

@mslinn

Description

@mslinn
$ sudo apt install libtag1-dev
$ gem install taglib-ruby --version '>= 2' 2> taglib.error

These are the contents of taglib.error:

ERROR:  Error installing taglib-ruby:
	ERROR: Failed to build gem native extension.

    current directory: /home/mslinn/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/taglib-ruby-2.0.0/ext/taglib_base
/home/mslinn/.rbenv/versions/3.2.2/bin/ruby extconf.rb
checking for -lstdc++... yes
checking for -ltag... yes
creating Makefile

current directory: /home/mslinn/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/taglib-ruby-2.0.0/ext/taglib_base
make DESTDIR\= sitearchdir\=./.gem.20250116-526038-88k24 sitelibdir\=./.gem.20250116-526038-88k24 clean

current directory: /home/mslinn/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/taglib-ruby-2.0.0/ext/taglib_base
make DESTDIR\= sitearchdir\=./.gem.20250116-526038-88k24 sitelibdir\=./.gem.20250116-526038-88k24
compiling taglib_base_wrap.cxx
taglib_base_wrap.cxx: In function ΓÇÿvoid SWIG_RubyInitializeTrackings()ΓÇÖ:
taglib_base_wrap.cxx:1274:29: warning: ΓÇÿvoid ruby::backward::cxxanyargs::rb_define_virtual_variable(const char*, VALUE (*)(...), void (*)(...))ΓÇÖ is deprecated: Use of ANYARGS in this function is deprecated [-Wdeprecated-declarations]
 1274 |   rb_define_virtual_variable("SWIG_TRACKINGS_COUNT",
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
 1275 |                              VALUEFUNC(swig_ruby_trackings_count),
      |                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1276 |                              SWIG_RUBY_VOID_ANYARGS_FUNC((rb_gvar_setter_t*)NULL));
      |                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/mslinn/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/internal/anyargs.h:83,
                 from /home/mslinn/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/ruby.h:27,
                 from /home/mslinn/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby.h:38,
                 from taglib_base_wrap.cxx:875:
/home/mslinn/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/backward/cxxanyargs.hpp:73:1: note: declared here
   73 | rb_define_virtual_variable(const char *q, type *w, void_type *e)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
taglib_base_wrap.cxx: In function ΓÇÿvoid SWIG_RubyIterateTrackings(void (*)(void*, VALUE))ΓÇÖ:
taglib_base_wrap.cxx:1331:13: warning: ΓÇÿint ruby::backward::cxxanyargs::rb_st_foreach(st_table*, int (*)(...), st_data_t)ΓÇÖ is deprecated: Use of ANYARGS in this function is deprecated [-Wdeprecated-declarations]
 1331 |   st_foreach(swig_ruby_trackings,
In file included from /home/mslinn/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/internal/intern/hash.h:26,
                 from /home/mslinn/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/backward/cxxanyargs.hpp:16:
/home/mslinn/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/st.h:142:20: note: declared here
  142 | #define st_foreach rb_st_foreach
      |                    ^~~~~~~~~~~~~
/home/mslinn/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/backward/cxxanyargs.hpp:432:1: note: in expansion of macro ΓÇÿst_foreachΓÇÖ
  432 | st_foreach(st_table *q, int_type *w, st_data_t e)
      | ^~~~~~~~~~
taglib_base_wrap.cxx: At global scope:
taglib_base_wrap.cxx:2073:43: error: ΓÇÿoffset_tΓÇÖ is not a member of ΓÇÿTagLibΓÇÖ
 2073 | VALUE taglib_offset_t_to_ruby_int(TagLib::offset_t off) {
      |                                           ^~~~~~~~
taglib_base_wrap.cxx: In function ΓÇÿint SWIG_AsVal_unsigned_SS_long(VALUE, long unsigned int*)ΓÇÖ:
taglib_base_wrap.cxx:2194:18: warning: ΓÇÿVALUE ruby::backward::cxxanyargs::rb_rescue(VALUE (*)(...), VALUE, VALUE (*)(...), VALUE)ΓÇÖ is deprecated: Use of ANYARGS in this function is deprecated [-Wdeprecated-declarations]
 2194 |     if (rb_rescue(VALUEFUNC(SWIG_AUX_NUM2ULONG), (VALUE)a, VALUEFUNC(SWIG_ruby_failed), 0) != Qnil) {
      |         ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mslinn/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/backward/cxxanyargs.hpp:260:1: note: declared here
  260 | rb_rescue(type *q, VALUE w, type *e, VALUE r)
      | ^~~~~~~~~
taglib_base_wrap.cxx: In function ΓÇÿint SWIG_AsVal_long(VALUE, long int*)ΓÇÖ:
taglib_base_wrap.cxx:2247:18: warning: ΓÇÿVALUE ruby::backward::cxxanyargs::rb_rescue(VALUE (*)(...), VALUE, VALUE (*)(...), VALUE)ΓÇÖ is deprecated: Use of ANYARGS in this function is deprecated [-Wdeprecated-declarations]
 2247 |     if (rb_rescue(VALUEFUNC(SWIG_AUX_NUM2LONG), (VALUE)a, VALUEFUNC(SWIG_ruby_failed), 0) != Qnil) {
      |         ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mslinn/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/backward/cxxanyargs.hpp:260:1: note: declared here
  260 | rb_rescue(type *q, VALUE w, type *e, VALUE r)
      | ^~~~~~~~~
taglib_base_wrap.cxx: In function ΓÇÿint SWIG_AsVal_unsigned_SS_long_SS_long(VALUE, long long unsigned int*)ΓÇÖ:
taglib_base_wrap.cxx:2319:18: warning: ΓÇÿVALUE ruby::backward::cxxanyargs::rb_rescue(VALUE (*)(...), VALUE, VALUE (*)(...), VALUE)ΓÇÖ is deprecated: Use of ANYARGS in this function is deprecated [-Wdeprecated-declarations]
 2319 |     if (rb_rescue(VALUEFUNC(SWIG_AUX_NUM2ULL), (VALUE)a, VALUEFUNC(SWIG_ruby_failed), 0) != Qnil) {
      |         ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mslinn/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/backward/cxxanyargs.hpp:260:1: note: declared here
  260 | rb_rescue(type *q, VALUE w, type *e, VALUE r)
      | ^~~~~~~~~
taglib_base_wrap.cxx: In function ΓÇÿint SWIG_AsVal_long_SS_long(VALUE, long long int*)ΓÇÖ:
taglib_base_wrap.cxx:2372:18: warning: ΓÇÿVALUE ruby::backward::cxxanyargs::rb_rescue(VALUE (*)(...), VALUE, VALUE (*)(...), VALUE)ΓÇÖ is deprecated: Use of ANYARGS in this function is deprecated [-Wdeprecated-declarations]
 2372 |     if (rb_rescue(VALUEFUNC(SWIG_AUX_NUM2LL), (VALUE)a, VALUEFUNC(SWIG_ruby_failed), 0) != Qnil) {
      |         ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mslinn/.rbenv/versions/3.2.2/include/ruby-3.2.0/ruby/backward/cxxanyargs.hpp:260:1: note: declared here
  260 | rb_rescue(type *q, VALUE w, type *e, VALUE r)
      | ^~~~~~~~~
taglib_base_wrap.cxx: In function ΓÇÿVALUE _wrap_Tag_join_tag_values(int, VALUE*, VALUE)ΓÇÖ:
taglib_base_wrap.cxx:2984:25: error: ΓÇÿjoinTagValuesΓÇÖ is not a member of ΓÇÿTagLib::TagΓÇÖ
 2984 |   result = TagLib::Tag::joinTagValues((TagLib::StringList const &)*arg1);
      |                         ^~~~~~~~~~~~~
taglib_base_wrap.cxx: In function ΓÇÿVALUE _wrap_File_find__SWIG_0(int, VALUE*, VALUE)ΓÇÖ:
taglib_base_wrap.cxx:3305:11: error: ΓÇÿoffset_tΓÇÖ is not a member of ΓÇÿTagLibΓÇÖ
 3305 |   TagLib::offset_t arg3 ;
      |           ^~~~~~~~
taglib_base_wrap.cxx:3313:11: error: ΓÇÿoffset_tΓÇÖ is not a member of ΓÇÿTagLibΓÇÖ
 3313 |   TagLib::offset_t result;
      |           ^~~~~~~~
taglib_base_wrap.cxx:3332:3: error: ΓÇÿarg3ΓÇÖ was not declared in this scope; did you mean ΓÇÿarg4ΓÇÖ?
 3332 |   arg3 = static_cast< TagLib::offset_t >(val3);
      |   ^~~~
      |   arg4
taglib_base_wrap.cxx:3332:31: error: ΓÇÿoffset_tΓÇÖ in namespace ΓÇÿTagLibΓÇÖ does not name a type
 3332 |   arg3 = static_cast< TagLib::offset_t >(val3);
      |                               ^~~~~~~~
taglib_base_wrap.cxx:3337:3: error: ΓÇÿresultΓÇÖ was not declared in this scope; did you mean ΓÇÿvresultΓÇÖ?
 3337 |   result = (TagLib::offset_t)(arg1)->find((TagLib::ByteVector const &)*arg2,arg3,(TagLib::ByteVector const &)*arg4);
      |   ^~~~~~
      |   vresult
taglib_base_wrap.cxx:3337:21: error: ΓÇÿoffset_tΓÇÖ is not a member of ΓÇÿTagLibΓÇÖ
 3337 |   result = (TagLib::offset_t)(arg1)->find((TagLib::ByteVector const &)*arg2,arg3,(TagLib::ByteVector const &)*arg4);
      |                     ^~~~~~~~
taglib_base_wrap.cxx:3339:42: error: ΓÇÿtaglib_offset_t_to_ruby_intΓÇÖ cannot be used as a function
 3339 |     vresult = taglib_offset_t_to_ruby_int(result);
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
taglib_base_wrap.cxx: In function ΓÇÿVALUE _wrap_File_find__SWIG_1(int, VALUE*, VALUE)ΓÇÖ:
taglib_base_wrap.cxx:3351:11: error: ΓÇÿoffset_tΓÇÖ is not a member of ΓÇÿTagLibΓÇÖ
 3351 |   TagLib::offset_t arg3 ;
      |           ^~~~~~~~
taglib_base_wrap.cxx:3357:11: error: ΓÇÿoffset_tΓÇÖ is not a member of ΓÇÿTagLibΓÇÖ
 3357 |   TagLib::offset_t result;
      |           ^~~~~~~~
taglib_base_wrap.cxx:3376:3: error: ΓÇÿarg3ΓÇÖ was not declared in this scope; did you mean ΓÇÿarg2ΓÇÖ?
 3376 |   arg3 = static_cast< TagLib::offset_t >(val3);
      |   ^~~~
      |   arg2
taglib_base_wrap.cxx:3376:31: error: ΓÇÿoffset_tΓÇÖ in namespace ΓÇÿTagLibΓÇÖ does not name a type
 3376 |   arg3 = static_cast< TagLib::offset_t >(val3);
      |                               ^~~~~~~~
taglib_base_wrap.cxx:3377:3: error: ΓÇÿresultΓÇÖ was not declared in this scope; did you mean ΓÇÿvresultΓÇÖ?
 3377 |   result = (TagLib::offset_t)(arg1)->find((TagLib::ByteVector const &)*arg2,arg3);
      |   ^~~~~~
      |   vresult
taglib_base_wrap.cxx:3377:21: error: ΓÇÿoffset_tΓÇÖ is not a member of ΓÇÿTagLibΓÇÖ
 3377 |   result = (TagLib::offset_t)(arg1)->find((TagLib::ByteVector const &)*arg2,arg3);
      |                     ^~~~~~~~
taglib_base_wrap.cxx:3379:42: error: ΓÇÿtaglib_offset_t_to_ruby_intΓÇÖ cannot be used as a function
 3379 |     vresult = taglib_offset_t_to_ruby_int(result);
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
taglib_base_wrap.cxx: In function ΓÇÿVALUE _wrap_File_find__SWIG_2(int, VALUE*, VALUE)ΓÇÖ:
taglib_base_wrap.cxx:3394:11: error: ΓÇÿoffset_tΓÇÖ is not a member of ΓÇÿTagLibΓÇÖ
 3394 |   TagLib::offset_t result;
      |           ^~~~~~~~
taglib_base_wrap.cxx:3409:3: error: ΓÇÿresultΓÇÖ was not declared in this scope; did you mean ΓÇÿvresultΓÇÖ?
 3409 |   result = (TagLib::offset_t)(arg1)->find((TagLib::ByteVector const &)*arg2);
      |   ^~~~~~
      |   vresult
taglib_base_wrap.cxx:3409:21: error: ΓÇÿoffset_tΓÇÖ is not a member of ΓÇÿTagLibΓÇÖ
 3409 |   result = (TagLib::offset_t)(arg1)->find((TagLib::ByteVector const &)*arg2);
      |                     ^~~~~~~~
taglib_base_wrap.cxx:3411:42: error: ΓÇÿtaglib_offset_t_to_ruby_intΓÇÖ cannot be used as a function
 3411 |     vresult = taglib_offset_t_to_ruby_int(result);
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
taglib_base_wrap.cxx: In function ΓÇÿVALUE _wrap_File_rfind__SWIG_0(int, VALUE*, VALUE)ΓÇÖ:
taglib_base_wrap.cxx:3500:11: error: ΓÇÿoffset_tΓÇÖ is not a member of ΓÇÿTagLibΓÇÖ
 3500 |   TagLib::offset_t arg3 ;
      |           ^~~~~~~~
taglib_base_wrap.cxx:3508:11: error: ΓÇÿoffset_tΓÇÖ is not a member of ΓÇÿTagLibΓÇÖ
 3508 |   TagLib::offset_t result;
      |           ^~~~~~~~
taglib_base_wrap.cxx:3527:3: error: ΓÇÿarg3ΓÇÖ was not declared in this scope; did you mean ΓÇÿarg4ΓÇÖ?
 3527 |   arg3 = static_cast< TagLib::offset_t >(val3);
      |   ^~~~
      |   arg4
taglib_base_wrap.cxx:3527:31: error: ΓÇÿoffset_tΓÇÖ in namespace ΓÇÿTagLibΓÇÖ does not name a type
 3527 |   arg3 = static_cast< TagLib::offset_t >(val3);
      |                               ^~~~~~~~
taglib_base_wrap.cxx:3532:3: error: ΓÇÿresultΓÇÖ was not declared in this scope; did you mean ΓÇÿvresultΓÇÖ?
 3532 |   result = (TagLib::offset_t)(arg1)->rfind((TagLib::ByteVector const &)*arg2,arg3,(TagLib::ByteVector const &)*arg4);
      |   ^~~~~~
      |   vresult
taglib_base_wrap.cxx:3532:21: error: ΓÇÿoffset_tΓÇÖ is not a member of ΓÇÿTagLibΓÇÖ
 3532 |   result = (TagLib::offset_t)(arg1)->rfind((TagLib::ByteVector const &)*arg2,arg3,(TagLib::ByteVector const &)*arg4);
      |                     ^~~~~~~~
taglib_base_wrap.cxx:3534:42: error: ΓÇÿtaglib_offset_t_to_ruby_intΓÇÖ cannot be used as a function
 3534 |     vresult = taglib_offset_t_to_ruby_int(result);
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
taglib_base_wrap.cxx: In function ΓÇÿVALUE _wrap_File_rfind__SWIG_1(int, VALUE*, VALUE)ΓÇÖ:
taglib_base_wrap.cxx:3546:11: error: ΓÇÿoffset_tΓÇÖ is not a member of ΓÇÿTagLibΓÇÖ
 3546 |   TagLib::offset_t arg3 ;
      |           ^~~~~~~~
taglib_base_wrap.cxx:3552:11: error: ΓÇÿoffset_tΓÇÖ is not a member of ΓÇÿTagLibΓÇÖ
 3552 |   TagLib::offset_t result;
      |           ^~~~~~~~
taglib_base_wrap.cxx:3571:3: error: ΓÇÿarg3ΓÇÖ was not declared in this scope; did you mean ΓÇÿarg2ΓÇÖ?
 3571 |   arg3 = static_cast< TagLib::offset_t >(val3);
      |   ^~~~
      |   arg2
taglib_base_wrap.cxx:3571:31: error: ΓÇÿoffset_tΓÇÖ in namespace ΓÇÿTagLibΓÇÖ does not name a type
 3571 |   arg3 = static_cast< TagLib::offset_t >(val3);
      |                               ^~~~~~~~
taglib_base_wrap.cxx:3572:3: error: ΓÇÿresultΓÇÖ was not declared in this scope; did you mean ΓÇÿvresultΓÇÖ?
 3572 |   result = (TagLib::offset_t)(arg1)->rfind((TagLib::ByteVector const &)*arg2,arg3);
      |   ^~~~~~
      |   vresult
taglib_base_wrap.cxx:3572:21: error: ΓÇÿoffset_tΓÇÖ is not a member of ΓÇÿTagLibΓÇÖ
 3572 |   result = (TagLib::offset_t)(arg1)->rfind((TagLib::ByteVector const &)*arg2,arg3);
      |                     ^~~~~~~~
taglib_base_wrap.cxx:3574:42: error: ΓÇÿtaglib_offset_t_to_ruby_intΓÇÖ cannot be used as a function
 3574 |     vresult = taglib_offset_t_to_ruby_int(result);
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
taglib_base_wrap.cxx: In function ΓÇÿVALUE _wrap_File_rfind__SWIG_2(int, VALUE*, VALUE)ΓÇÖ:
taglib_base_wrap.cxx:3589:11: error: ΓÇÿoffset_tΓÇÖ is not a member of ΓÇÿTagLibΓÇÖ
 3589 |   TagLib::offset_t result;
      |           ^~~~~~~~
taglib_base_wrap.cxx:3604:3: error: ΓÇÿresultΓÇÖ was not declared in this scope; did you mean ΓÇÿvresultΓÇÖ?
 3604 |   result = (TagLib::offset_t)(arg1)->rfind((TagLib::ByteVector const &)*arg2);
      |   ^~~~~~
      |   vresult
taglib_base_wrap.cxx:3604:21: error: ΓÇÿoffset_tΓÇÖ is not a member of ΓÇÿTagLibΓÇÖ
 3604 |   result = (TagLib::offset_t)(arg1)->rfind((TagLib::ByteVector const &)*arg2);
      |                     ^~~~~~~~
taglib_base_wrap.cxx:3606:42: error: ΓÇÿtaglib_offset_t_to_ruby_intΓÇÖ cannot be used as a function
 3606 |     vresult = taglib_offset_t_to_ruby_int(result);
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
taglib_base_wrap.cxx: In function ΓÇÿVALUE _wrap_File_insert__SWIG_0(int, VALUE*, VALUE)ΓÇÖ:
taglib_base_wrap.cxx:3705:11: error: ΓÇÿoffset_tΓÇÖ is not a member of ΓÇÿTagLibΓÇÖ
 3705 |   TagLib::offset_t arg3 ;
      |           ^~~~~~~~
taglib_base_wrap.cxx:3731:3: error: ΓÇÿarg3ΓÇÖ was not declared in this scope; did you mean ΓÇÿarg4ΓÇÖ?
 3731 |   arg3 = static_cast< TagLib::offset_t >(val3);
      |   ^~~~
      |   arg4
taglib_base_wrap.cxx:3731:31: error: ΓÇÿoffset_tΓÇÖ in namespace ΓÇÿTagLibΓÇÖ does not name a type
 3731 |   arg3 = static_cast< TagLib::offset_t >(val3);
      |                               ^~~~~~~~
taglib_base_wrap.cxx: In function ΓÇÿVALUE _wrap_File_insert__SWIG_1(int, VALUE*, VALUE)ΓÇÖ:
taglib_base_wrap.cxx:3748:11: error: ΓÇÿoffset_tΓÇÖ is not a member of ΓÇÿTagLibΓÇÖ
 3748 |   TagLib::offset_t arg3 ;
      |           ^~~~~~~~
taglib_base_wrap.cxx:3771:3: error: ΓÇÿarg3ΓÇÖ was not declared in this scope; did you mean ΓÇÿarg2ΓÇÖ?
 3771 |   arg3 = static_cast< TagLib::offset_t >(val3);
      |   ^~~~
      |   arg2
taglib_base_wrap.cxx:3771:31: error: ΓÇÿoffset_tΓÇÖ in namespace ΓÇÿTagLibΓÇÖ does not name a type
 3771 |   arg3 = static_cast< TagLib::offset_t >(val3);
      |                               ^~~~~~~~
taglib_base_wrap.cxx: In function ΓÇÿVALUE _wrap_File_remove_block__SWIG_0(int, VALUE*, VALUE)ΓÇÖ:
taglib_base_wrap.cxx:3888:11: error: ΓÇÿoffset_tΓÇÖ is not a member of ΓÇÿTagLibΓÇÖ
 3888 |   TagLib::offset_t arg2 ;
      |           ^~~~~~~~
taglib_base_wrap.cxx:3909:3: error: ΓÇÿarg2ΓÇÖ was not declared in this scope; did you mean ΓÇÿarg3ΓÇÖ?
 3909 |   arg2 = static_cast< TagLib::offset_t >(val2);
      |   ^~~~
      |   arg3
taglib_base_wrap.cxx:3909:31: error: ΓÇÿoffset_tΓÇÖ in namespace ΓÇÿTagLibΓÇÖ does not name a type
 3909 |   arg2 = static_cast< TagLib::offset_t >(val2);
      |                               ^~~~~~~~
taglib_base_wrap.cxx: In function ΓÇÿVALUE _wrap_File_remove_block__SWIG_1(int, VALUE*, VALUE)ΓÇÖ:
taglib_base_wrap.cxx:3925:11: error: ΓÇÿoffset_tΓÇÖ is not a member of ΓÇÿTagLibΓÇÖ
 3925 |   TagLib::offset_t arg2 ;
      |           ^~~~~~~~
taglib_base_wrap.cxx:3943:3: error: ΓÇÿarg2ΓÇÖ was not declared in this scope; did you mean ΓÇÿarg1ΓÇÖ?
 3943 |   arg2 = static_cast< TagLib::offset_t >(val2);
      |   ^~~~
      |   arg1
taglib_base_wrap.cxx:3943:31: error: ΓÇÿoffset_tΓÇÖ in namespace ΓÇÿTagLibΓÇÖ does not name a type
 3943 |   arg2 = static_cast< TagLib::offset_t >(val2);
      |                               ^~~~~~~~
taglib_base_wrap.cxx: In function ΓÇÿVALUE _wrap_File_seek__SWIG_0(int, VALUE*, VALUE)ΓÇÖ:
taglib_base_wrap.cxx:4114:11: error: ΓÇÿoffset_tΓÇÖ is not a member of ΓÇÿTagLibΓÇÖ
 4114 |   TagLib::offset_t arg2 ;
      |           ^~~~~~~~
taglib_base_wrap.cxx:4135:3: error: ΓÇÿarg2ΓÇÖ was not declared in this scope; did you mean ΓÇÿarg3ΓÇÖ?
 4135 |   arg2 = static_cast< TagLib::offset_t >(val2);
      |   ^~~~
      |   arg3
taglib_base_wrap.cxx:4135:31: error: ΓÇÿoffset_tΓÇÖ in namespace ΓÇÿTagLibΓÇÖ does not name a type
 4135 |   arg2 = static_cast< TagLib::offset_t >(val2);
      |                               ^~~~~~~~
taglib_base_wrap.cxx: In function ΓÇÿVALUE _wrap_File_seek__SWIG_1(int, VALUE*, VALUE)ΓÇÖ:
taglib_base_wrap.cxx:4151:11: error: ΓÇÿoffset_tΓÇÖ is not a member of ΓÇÿTagLibΓÇÖ
 4151 |   TagLib::offset_t arg2 ;
      |           ^~~~~~~~
taglib_base_wrap.cxx:4169:3: error: ΓÇÿarg2ΓÇÖ was not declared in this scope; did you mean ΓÇÿarg1ΓÇÖ?
 4169 |   arg2 = static_cast< TagLib::offset_t >(val2);
      |   ^~~~
      |   arg1
taglib_base_wrap.cxx:4169:31: error: ΓÇÿoffset_tΓÇÖ in namespace ΓÇÿTagLibΓÇÖ does not name a type
 4169 |   arg2 = static_cast< TagLib::offset_t >(val2);
      |                               ^~~~~~~~
taglib_base_wrap.cxx: In function ΓÇÿVALUE _wrap_File_tell(int, VALUE*, VALUE)ΓÇÖ:
taglib_base_wrap.cxx:4260:11: error: ΓÇÿoffset_tΓÇÖ is not a member of ΓÇÿTagLibΓÇÖ
 4260 |   TagLib::offset_t result;
      |           ^~~~~~~~
taglib_base_wrap.cxx:4271:3: error: ΓÇÿresultΓÇÖ was not declared in this scope; did you mean ΓÇÿvresultΓÇÖ?
 4271 |   result = (TagLib::offset_t)((TagLib::File const *)arg1)->tell();
      |   ^~~~~~
      |   vresult
taglib_base_wrap.cxx:4271:21: error: ΓÇÿoffset_tΓÇÖ is not a member of ΓÇÿTagLibΓÇÖ
 4271 |   result = (TagLib::offset_t)((TagLib::File const *)arg1)->tell();
      |                     ^~~~~~~~
taglib_base_wrap.cxx:4273:42: error: ΓÇÿtaglib_offset_t_to_ruby_intΓÇÖ cannot be used as a function
 4273 |     vresult = taglib_offset_t_to_ruby_int(result);
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
taglib_base_wrap.cxx: In function ΓÇÿVALUE _wrap_File_length(int, VALUE*, VALUE)ΓÇÖ:
taglib_base_wrap.cxx:4286:11: error: ΓÇÿoffset_tΓÇÖ is not a member of ΓÇÿTagLibΓÇÖ
 4286 |   TagLib::offset_t result;
      |           ^~~~~~~~
taglib_base_wrap.cxx:4297:3: error: ΓÇÿresultΓÇÖ was not declared in this scope; did you mean ΓÇÿvresultΓÇÖ?
 4297 |   result = (TagLib::offset_t)(arg1)->length();
      |   ^~~~~~
      |   vresult
taglib_base_wrap.cxx:4297:21: error: ΓÇÿoffset_tΓÇÖ is not a member of ΓÇÿTagLibΓÇÖ
 4297 |   result = (TagLib::offset_t)(arg1)->length();
      |                     ^~~~~~~~
taglib_base_wrap.cxx:4299:42: error: ΓÇÿtaglib_offset_t_to_ruby_intΓÇÖ cannot be used as a function
 4299 |     vresult = taglib_offset_t_to_ruby_int(result);
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
taglib_base_wrap.cxx: In function ΓÇÿVALUE _wrap_FileRef_clear_file_type_resolvers(int, VALUE*, VALUE)ΓÇÖ:
taglib_base_wrap.cxx:4703:20: error: ΓÇÿclearFileTypeResolversΓÇÖ is not a member of ΓÇÿTagLib::FileRefΓÇÖ
 4703 |   TagLib::FileRef::clearFileTypeResolvers();
      |                    ^~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:232: taglib_base_wrap.o] Error 1

make failed, exit code 2

Gem files will remain installed in /home/mslinn/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/taglib-ruby-2.0.0 for inspection.
Results logged to /home/mslinn/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/extensions/x86_64-linux/3.2.0/taglib-ruby-2.0.0/gem_make.out

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions