Dne 01. 11. 23 v 14:31 Pavel Valena napsal(a):


On Wed, Nov 1, 2023 at 10:07 AM Vít Ondruch <vondr...@redhat.com> wrote:


    Dne 31. 10. 23 v 23:45 Mamoru TASAKA napsal(a):
    > Pavel Valena wrote on 2023/11/01 3:42:
    >> On Fri, Oct 27, 2023 at 12:36 PM Vít Ondruch <vondr...@redhat.com>
    >> wrote:
    >>
    >>>
    >>> Dne 26. 10. 23 v 18:26 Pavel Valena napsal(a):
    >>>
    >>>
    >>>
    >>> On Wed, Oct 25, 2023 at 4:31 PM Vít Ondruch <vondr...@redhat.com>
    >>> wrote:
    >>>
    >>>>
    >>>> Dne 25. 10. 23 v 16:11 Mamoru TASAKA napsal(a):
    >>>>> Hi, Vít:
    >>>>>
    >>>>> Vít Ondruch wrote on 2023/10/24 23:07:
    >>>>>> Hi,
    >>>>>>
    >>>>>> I am back again with updated version of Ruby, this time
    c44d65427e.
    >>>>>> Please see the changes in the upstream PR and test the build
    >>>>>> (currently in progress) here:
    >>>>>>
    >>>>>> https://koji.fedoraproject.org/koji/taskinfo?taskID=108034430
    >>>>>>
    >>>>>> Apart of fixes for the "user install gems" discussed in
    other parts
    >>>>>> of this thread, there is fix for the
    "TestYJIT#test_bug_19316" test
    >>>>>> failure (which is not important on itself, just a few of
    you were
    >>>>>> involved, thx!). I have not noticed anything else outstanding.
    >>>>>>
    >>>>>> As always, please give it a try and I am looking forward to
    your
    >>>>>> feedback.
    >>>>
    >>>
    >>> Hello,
    >>>
    >>> this time I'm getting strange build errors in my COPR like:
    >>>
    >>> ```
    >>>
    /builddir/build/BUILD/ruby-3.3.0-c44d65427e/redhat-linux-build/ruby:
    >>> error while loading shared libraries: libruby.so.3.3: cannot open
    >>> shared
    >>> object file: No such file or directory
    >>> ```
    >>> https://gist.github.com/pvalena/63a91bca8ddf40c275f1f218b9a265a9
    >>> https://copr.fedorainfracloud.org/coprs/build/6565734


    Oh, I can finally see the error. So this would be the right place to
    take a look at to get a whole picture:

    
https://download.copr.fedorainfracloud.org/results/pvalena/ruby-testing/fedora-rawhide-x86_64/06565734-ruby/builder-live.log.gz


    >>>
    >>> Not sure if that's something on my side... It's not a random
    error
    >>> though.
    >>> Strangely enough, I can't reproduce it locally (local build is
    >>> fine), even
    >>> in the same buildroot.
    >>>
    >>>
    >>> Sorry, not sure what is going on and the links you have shared
    don't
    >>> provide enough context. The rawhide builds are either complete
    or they
    >>> failed with different issue then the Gist.
    >>>
    >>
    >> I believe the error is really there, but I might be mistaken to
    >> consider it
    >> most important part of the log.
    >> It's in between the
    >>
    ----------------------------------------------------------------------;
    >> here f.e. in fedora-rawhide-x86_64:
    >>
    >> ~~~
    >>   Invoking
    >>
    `/builddir/build/BUILD/ruby-3.3.0-c44d65427e/redhat-linux-build/ruby
    >> -rrubygems /builddir/build/BUILD/ruby-3.3.0-c44d65427e/bin/gem
    >> --backtrace
    >> build lib/bundler/bundler.gemspec` failed with output:
    >>
    ----------------------------------------------------------------------
    >>
    /builddir/build/BUILD/ruby-3.3.0-c44d65427e/redhat-linux-build/ruby:
    >> error while loading shared libraries: libruby.so.3.3: cannot
    open shared
    >> object file: No such file or directory
    >>
    ----------------------------------------------------------------------
    >> # ./spec/bundler/support/helpers.rb:202:in `sys_exec'
    >> # ./spec/bundler/support/helpers.rb:165:in `gem_command'
    >> # ./spec/bundler/support/helpers.rb:343:in `with_built_bundler'
    >> # ./spec/bundler/support/helpers.rb:304:in `block (2 levels) in
    >> system_gems'
    >> # ./spec/bundler/support/helpers.rb:300:in `each'
    >> # ./spec/bundler/support/helpers.rb:300:in `block in system_gems'
    >> # ./spec/bundler/support/helpers.rb:357:in `block in
    with_gem_path_as'
    >> # ./spec/bundler/support/helpers.rb:371:in
    `without_env_side_effects'
    >> # ./spec/bundler/support/helpers.rb:352:in `with_gem_path_as'
    >> # ./spec/bundler/support/helpers.rb:298:in `system_gems'
    >> # ./spec/bundler/spec_helper.rb:92:in `block (2 levels) in <top
    >> (required)>'
    >> ~~~
    >>
    >> Yes, it's very strange - and it happens every time I try. But I'm
    >> fine with
    >> it as long as no one else experiences the issue :).
    >>
    >> Builds so far:
    >>
    https://copr.fedorainfracloud.org/coprs/pvalena/ruby-testing/build/6565230/

    >>
    >>
    https://copr.fedorainfracloud.org/coprs/pvalena/ruby-testing/build/6567675/

    >>
    >>
    https://copr.fedorainfracloud.org/coprs/pvalena/ruby-testing/build/6565734/

    >>
    >>
    https://copr.fedorainfracloud.org/coprs/pvalena/ruby-testing/build/6565235/

    >>
    >>
    https://copr.fedorainfracloud.org/coprs/pvalena/ruby-testing/build/6582818/

    >>
    >>
    >> It didn't happen with previous builds though....
    >
    >
    > Looking at your copr setting, you have enabled "--with
    bundler_tests" on
    > x86_64 arch only:
    >
    > ```
    > Modified fedora-rawhide-x86_64:
    >     Mock options: --with bundler_tests
    > ```
    > and correspondingly build is failing on
    >
    > + make -C redhat-linux-build test-bundler-parallel


    Good catch! Thank you for providing second (third?) pair of eyes.
    It is
    indeed good idea to test Bundler. Now who will only fix this? :D


Good catch indeed. Thanks for looking into this, I totally forgot I have enabled it, as the tests did just work :]. I'm afraid I don't have any spare cycles to look into this though.


https://bugs.ruby-lang.org/issues/19984


Vít


Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
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
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to