Re: [Rpm-maint] [rpm-software-management/rpm] Change the shebang of pythondistdeps.py to Python 3 (#212)
well, I think we should have some configure switch which interpreter to use for all of python scripts... But this PR as it is a bit ugly.. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/212#issuecomment-299013392___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] Change the shebang of pythondistdeps.py to Python 3 (#212)
This makes no sense, /usr/bin/python is usually the linked to the binary of the default python version in use on distros, so hardcoding the version makes no sense. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/212#issuecomment-299013062___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] Create binary rpm packages in parallel? (better multiple CPU core utilization) (#211)
Yes its quite feasible to package binary *.rpm files in parallel. The hardest problem is choosing a framework for parallelization: OMP, or pthreads or (in RPM5) yarn. A general framework for parallelization is needed, with queues and thread pools and output serialization etc, is needed because there are many simple loops in RPM that would benefit from being done in parallel. FWIW: Using OMP on the rpmbuild loop would be the least intrusive but perhaps hardest to maintain (compared to plain pthreads or yarn from pigz). (aside) Before attempting parallelization, there are some costly "sanity checks" on file manifests in rpm build that are quadratic or worse that should be studied and fixed (at least in RPM5: I suspect there are some in RPM4 too but haven't measured recently). Run cache grind on a kernel build (which has lots of files) to see what I am talking about, -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/211#issuecomment-298955256___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] Change the shebang of pythondistdeps.py to Python 3 (#212)
Conan-Kudo approved this pull request. I don't have a problem with this. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/212#pullrequestreview-36056750___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] rpm --verify always show Group ownership change in AIX operating system (#210)
Yes, # id uid=0(root) gid=0(system) groups=0(system),2(bin),3(sys),7(security),8(cron),10(audit),11(lp) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/210#issuecomment-298853687___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
[Rpm-maint] [rpm-software-management/rpm] Create binary rpm packages in parallel? (better multiple CPU core utilization) (#211)
Hello, I'd like to ask your opinion on the idea of creating binary rpms in parallel. It seems possible: I looked at packageBinaries() and it has a straightforward for loop with no obvious dependencies between iterations. Each iteration could be in its own thread via pthreads. The reason I would like to do this is that we use rpm in Yocto project, and a) making binary rpms is a part of image building process in Yocto; there's generally no common package feed, so a lot of time is spent on building rpms on the local machine. b) some of the source packages produce a lot of very small binary packages; for instance we package glibc locales, or perl modules separately. In embedded world constraining disk space usage is important, so this has to be done. This makes rpm building really slow - several minutes or more, as it iterates over them one by one. Opinions? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/211___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] rpm --verify always show Group ownership change in AIX operating system (#210)
So in AIX, gid 0 is simply called "system" instead of "root"? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/210#issuecomment-298847637___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint