Vít Ondruch wrote on 2020/01/17 0:00:
Hi everybody,

This years schedule does not give us too much freedom, because the
Fedora mass rebuild is scheduled for the 22nd of January, which is in a
few days. There are also some concerns with keyword arguments, but since
I have no idea how problematic this might be, I decided to give it a go.
It seems that nowadays, everybody is able to ask for side tag via
`fedpkg` so I acquired one:

<snip>

Thank you (and thanks to other people) for excellent works to bring
ruby 2.7 into Fedora 32. As Vít says, the rebuilt packages can be seen on:
https://koji.fedoraproject.org/koji/builds?inherited=0&tagID=17977&order=-build_id&latest=1

92 packages were already rebuilt.

Current rebuild leftovers (with regards to library dependency) are:

$ dnf repoquery --disablerepo=\* --enablerepo=koji-ruby27 --qf "%{sourcerpm}" 
--whatrequires "libruby.so.2.6()(64bit)" | sort | uniq | cat -n

     1  graphviz-2.42.2-4.fc32.src.rpm
https://koji.fedoraproject.org/koji/taskinfo?taskID=40688927
gv_ruby.cpp: In function 'void SWIG_RubyInitializeTrackings()':
gv_ruby.cpp:1267:85: error: call of overloaded 'rb_define_virtual_variable(const 
char [21], VALUE (&)(...), NULL)' is ambiguous
 1267 |   rb_define_virtual_variable("SWIG_TRACKINGS_COUNT", 
swig_ruby_trackings_count, NULL);
      |                                                                         
            ^
In file included from /usr/include/ruby/ruby.h:2863,
                 from /usr/include/ruby.h:33,
                 from gv_ruby.cpp:880:
/usr/include/ruby/backward/cxxanyargs.hpp:59:1: note: candidate: 'void 
ruby::backward::cxxanyargs::rb_define_virtual_variable(const char*, VALUE 
(*)(...), void (*)(...))'
   59 | rb_define_virtual_variable(const char *q, type *w, void_type *e)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/ruby/backward/cxxanyargs.hpp:90:1: note: candidate: 'void 
ruby::backward::cxxanyargs::rb_define_virtual_variable(const char*, VALUE 
(*)(...), void (*)(VALUE, ID, VALUE*))'
   90 | rb_define_virtual_variable(const char *q, type *w, rb_gvar_setter_t *e)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~

Looks like this is below and it seems swig needs patching.
https://github.com/swig/swig/issues/1689
https://github.com/swig/swig/pull/1692/commits/00e291b319bd6b58bf061feee3721a58c9c6be32

     2  libprelude-5.1.1-2.fc32.src.rpm
https://koji.fedoraproject.org/koji/taskinfo?taskID=40688760
Looks like the same issue as graphviz.
Prelude.cxx:1263:85: error: call of overloaded 'rb_define_virtual_variable(const 
char [21], VALUE (&)(...), NULL)' is ambiguous

     3  libsbml-5.18.0-9.fc32.src.rpm
https://koji.fedoraproject.org/koji/taskinfo?taskID=40688622
Looks like the same issue as graphviz.
/builddir/build/BUILD/libSBML-5.18.0-Source/build/src/bindings/ruby/libsbml_wrap.cpp:1268:85:
 error: call of overloaded 'rb_define_virtual_variable(const char [21], VALUE 
(&)(...), NULL)' is ambiguous

     4  libsedml-0.4.4-7.fc32.src.rpm
https://koji.fedoraproject.org/koji/taskinfo?taskID=40688515
Looks like the same issue as graphviz.
/builddir/build/BUILD/libSEDML-0.4.4/build/bindings/ruby/libsedml_wrap.cpp:1268:85: 
error: call of overloaded 'rb_define_virtual_variable(const char [21], VALUE 
(&)(...), NULL)' is ambiguous

     5  libyui-bindings-1.1.2-19.fc32.src.rpm
https://koji.fedoraproject.org/koji/taskinfo?taskID=40685537
Looks like the same issue as graphviz.
/builddir/build/BUILD/libyui-bindings-1.1.2/build-x86_64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx:1267:85:
 error: call of overloaded 'rb_define_virtual_variable(const char [21], VALUE 
(&)(...), NULL)' is ambiguous

     6  marisa-0.2.4-42.fc32.src.rpm
https://koji.fedoraproject.org/koji/taskinfo?taskID=40685286
Looks like the same issue as graphviz.
marisa-swig_wrap.cxx:1267:85: error: call of overloaded 
'rb_define_virtual_variable(const char [21], VALUE (&)(...), NULL)' is ambiguous

     7  mlt-6.18.0-2.fc32.src.rpm
https://koji.fedoraproject.org/koji/taskinfo?taskID=40685147
nothing provides libpoppler.so.84()(64bit) needed by 
gdal-libs-2.3.2-14.fc32.x86_64
Looks like gdal needs rebuilding for poppler first.

     8  nbdkit-1.17.5-1.fc32.src.rpm
https://koji.fedoraproject.org/koji/taskinfo?taskID=40688690
x86_64 test fails (ramdomly, perhaps), and armv7hl test seems to be hanging, 
out of my hands.

     9  openbabel-2.4.1-26.fc32.src.rpm
https://koji.fedoraproject.org/koji/taskinfo?taskID=40684400
Looks like the same issue as graphviz.
/builddir/build/BUILD/openbabel-openbabel-2-4-1/scripts/ruby/openbabel-ruby.cpp:1267:85:
 error: call of overloaded 'rb_define_virtual_variable(const char [21], VALUE 
(&)(...), NULL)' is ambiguous

    10  rubygem-bootsnap-1.3.2-3.fc31.src.rpm
https://koji.fedoraproject.org/koji/taskinfo?taskID=40683765
Test suite fails.
/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:72:in `require': no 
implicit conversion of String into Integer (TypeError)
        from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:72:in 
`require'
        from 
/builddir/build/BUILD/bootsnap-1.3.2/usr/share/gems/gems/bootsnap-1.3.2/lib/bootsnap/compile_cache/iseq.rb:1:in
 `<top (required)>'
Note that build for ruby 2.6 seems successful:
https://koji.fedoraproject.org/koji/taskinfo?taskID=40691394

    11  rubygem-curb-0.9.10-1.fc32.src.rpm
https://koji.fedoraproject.org/koji/taskinfo?taskID=40683311
Some test failure.

    12  rubygem-ffi-1.10.0-3.fc31.src.rpm
https://koji.fedoraproject.org/koji/taskinfo?taskID=40683095
Failures:
  1) String tests MemoryPointer#get_string returns a tainted string
     Failure/Error: expect(str.tainted?).to be true
       expected true
            got false
     # ./spec/ffi/string_spec.rb:22:in `block (2 levels) in <top (required)>'
  2) String tests String returned by a method is tainted
     Failure/Error: expect(str).to be_tainted
       expected `"test".tainted?` to return true, got false
     # ./spec/ffi/string_spec.rb:32:in `block (2 levels) in <top (required)>'

ruby 2.7 changed behavior for security model (almost deprecated security model),
some.tainted? always returns false.
https://github.com/ffi/ffi/commit/7ce0a9adee3212c0beac42ca7bd6b07aa97bdb90

By the way I tried the latest 1.12.1, however some test seems to fail:
https://koji.fedoraproject.org/koji/taskinfo?taskID=40683810

    13  rubygem-ox-2.12.0-1.fc32.src.rpm
https://koji.fedoraproject.org/koji/taskinfo?taskID=40681637
Some test failure, I have not investigated deeply yet.

    14  rubygem-qpid_messaging-1.39.0-4.fc31.src.rpm
DEBUG util.py:596:  No matching package to install: 'qpid-cpp-client-devel'
DEBUG util.py:596:  Not all dependencies satisfied
Looks line qpid-cpp is retired, someone needs taking care of depending package
maintainership.

    15  rubygem-thin-1.7.2-11.fc31.src.rpm
https://koji.fedoraproject.org/koji/taskinfo?taskID=40654299
One test failure, I don't know well.
Failures:
  1) Thin::Server should set lower maximum_connections size when too large
     Failure/Error: @server.maximum_connections.should < 100_000
       expected: < 100000
            got:   100000
     # ./spec/server_spec.rb:21:in `block (2 levels) in <top (required)>'


    16  subversion-1.12.2-3.fc32.src.rpm
https://koji.fedoraproject.org/koji/taskinfo?taskID=40681152
Well, some linkage or macro expanding error??
/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:92:in `require': 
/builddir/build/BUILD/subversion-1.12.2/subversion/bindings/swig/ruby/libsvn_swig_ruby/.l
ibs/libsvn_swig_ruby-1.so.0: undefined symbol: assert - 
/builddir/build/BUILD/subversion-1.12.2/subversion/bindings/swig/ruby/.ext/svn/ext/core.so
 (LoadError)

    17  weechat-2.4-4.fc32.src.rpm
https://koji.fedoraproject.org/koji/taskinfo?taskID=40681027
So, rebuilding srpm failed, I don't want to touch this.
DEBUG util.py:596:  curl: (22) The requested URL returned error: 404 Not Found
DEBUG util.py:744:  Child return code was: 22
_______________________________________________
ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org
To unsubscribe send an email to ruby-sig-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/ruby-sig@lists.fedoraproject.org

Reply via email to