[Rpm-maint] [rpm-software-management/rpm] rpmbuild: make it possible to not include SPEC tag (rpm-4.17 compat behavior) (Issue #2727)

2023-10-17 Thread Denys Vlasenko
For some packages, expanded specfile is so big, it causes srpm headers to exceed 16 mb, which then can't be extracted by old rpms (pre 4.13) - they throw an error, "headerRead failed: hdr data: BAD, no. of bytes(20966277) out of range". The code in question is in build/pack.c: /* Include s

Re: [Rpm-maint] [rpm-software-management/rpm] Drop support for external dependency generator (Issue #2373)

2023-05-11 Thread Denys Vlasenko
The fix which would definitely solve this problem is if rpmbuild would run dependency generators on all CPUs. These days, 8-thread build machines is bare minimum what people use. The hack we are working on basically implements this approach. -- Reply to this email directly or view it on GitHub

Re: [Rpm-maint] [rpm-software-management/rpm] Drop support for external dependency generator (Issue #2373)

2023-05-08 Thread Denys Vlasenko
The startup costs are an issue when you need to start 8000 dependency generators. "Old" dependency generator starts one external script per package. Then, the script can be written to be smart and start 8000 subtasks *in parallel*. It's not possible with the "new" generator. I cooked up an ugl