Code Monkey home page Code Monkey logo

Comments (9)

kdudka avatar kdudka commented on August 10, 2024

We might consider using the brew download-build facility instead of fetching Brew download URLs directly. It would probably resolve this issue as a side effect.

from modulemd-tools.

FrostyX avatar FrostyX commented on August 10, 2024

@kdudka, @mcurlej are you guys planning to work on this issue?

from modulemd-tools.

kdudka avatar kdudka commented on August 10, 2024

I will definitely not be able to look closer at it this week and would prefer if @mcurlej reviewed it first anyway.

from modulemd-tools.

mcurlej avatar mcurlej commented on August 10, 2024

@kdudka Will plan this for our next sprint next week, to fix this.

from modulemd-tools.

kdudka avatar kdudka commented on August 10, 2024

It seems that modular builds are not going away from RHEL. Could we please prioritize this ticket?

It would help to make modular builds reproducible for tools and services that need it.

from modulemd-tools.

fivaldi avatar fivaldi commented on August 10, 2024

@kdudka Thanks for reporting the issue. I tried reproducing it with the inputs from you. With EL 8.5 I didn't went into the issue. It seems like a transitional error for 8.4. Unfortunately, I couldn't back track the root cause. :-/

As for brew download-build, this would be possible, as bld2repo tool has koji dependency for accessing the Koji session. Anyway, it doesn't download all the RPMs within the tag, so the first step has to be getting build-required packages from the build. After this, individual RPMs are downloaded, which would have to be done the same way with brew download-build.

Or, did I misunderstand your idea?

from modulemd-tools.

kdudka avatar kdudka commented on August 10, 2024

I tried reproducing it with the inputs from you. With EL 8.5 I didn't went into the issue. It seems like a transitional error for 8.4. Unfortunately, I couldn't back track the root cause. :-/

Could you please tell us what exactly you tried and what exactly the outcome was?

The commands mentioned in #42 (comment) still work on my Fedora 34 VM.

Anyway, it doesn't download all the RPMs within the tag, so the first step has to be getting build-required packages from the build.

Yes. I believe that bld2repo already does it.

After this, individual RPMs are downloaded, which would have to be done the same way with brew download-build.

Nope. brew download-build -a x86_64 -a noarch python2-2.7.18-2.module+el8.4.0+9193+f3daf6ef downloads also python2-libs-2.7.18-2.module+el8.4.0+9193+f3daf6ef.x86_64.rpm, which the mentioned bld2repo command does not download. python2-libs-2.7.18-2.module+el8.4.0+9193+f3daf6ef.x86_64.rpm needs to be downloaded to prevent the subsequent mock command from failing.

from modulemd-tools.

fivaldi avatar fivaldi commented on August 10, 2024

@kdudka There's a PR #51 which should fix the issue. As of brew download-build, I didn't found an API for it in koji. So I think it would be unsafe to use the CLI and implement it via a shell cmd call. Wdyt?

from modulemd-tools.

kdudka avatar kdudka commented on August 10, 2024

Thank you for fixing it! So this appeared to be an implementation bug of bld2repo in the end. I get the expected results with #51. The command stated in #42 (comment) now downloads additional 24 RPMs, as expected:

PyYAML-debugsource-3.12-16.module+el8.1.0+3111+de3f2d8e.x86_64.rpm
babel-2.5.1-9.module+el8.1.0+3111+de3f2d8e.noarch.rpm
python2-Cython-debuginfo-0.28.1-7.module+el8.1.0+3111+de3f2d8e.x86_64.rpm
python2-bson-3.6.1-11.module+el8.1.0+3446+c3d52da3.x86_64.rpm
python2-coverage-4.5.1-4.module+el8.1.0+3111+de3f2d8e.x86_64.rpm
python2-debuginfo-2.7.18-2.module+el8.4.0+9193+f3daf6ef.x86_64.rpm
python2-docs-2.7.16-2.module+el8.1.0+3111+de3f2d8e.noarch.rpm
python2-libs-2.7.18-2.module+el8.4.0+9193+f3daf6ef.x86_64.rpm
python2-lxml-debuginfo-4.2.3-3.module+el8.1.0+3111+de3f2d8e.x86_64.rpm
python2-numpy-debuginfo-1.14.2-15.module+el8.4.0+9287+299307c7.x86_64.rpm
python2-numpy-f2py-1.14.2-15.module+el8.4.0+9287+299307c7.x86_64.rpm
python2-pip-wheel-9.0.3-18.module+el8.3.0+7707+eb4bba01.noarch.rpm
python2-psycopg2-debug-debuginfo-2.7.5-7.module+el8.1.0+3111+de3f2d8e.x86_64.rpm
python2-pymongo-debuginfo-3.6.1-11.module+el8.1.0+3446+c3d52da3.x86_64.rpm
python2-scipy-1.0.0-20.module+el8.1.0+3323+7ac3e00f.x86_64.rpm
python2-setuptools-39.0.1-12.module+el8.3.0+7075+8484f0d0.noarch.rpm
python2-test-2.7.18-2.module+el8.4.0+9193+f3daf6ef.x86_64.rpm
python2-tools-2.7.18-2.module+el8.4.0+9193+f3daf6ef.x86_64.rpm
python2-wheel-wheel-0.31.1-2.module+el8.1.0+3725+aac5cd17.noarch.rpm
python-nose-docs-1.3.7-30.module+el8.1.0+3111+de3f2d8e.noarch.rpm
python-psycopg2-debuginfo-2.7.5-7.module+el8.1.0+3111+de3f2d8e.x86_64.rpm
python-psycopg2-debugsource-2.7.5-7.module+el8.1.0+3111+de3f2d8e.x86_64.rpm
python-psycopg2-doc-2.7.5-7.module+el8.1.0+3111+de3f2d8e.x86_64.rpm
python-pymongo-debuginfo-3.6.1-11.module+el8.1.0+3446+c3d52da3.x86_64.rpm

I believe this issue can be closed with the merge of #51.

from modulemd-tools.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.