[Rpm-maint] [rpm-software-management/rpm] rpmbuild output is garbled (#794)

2019-07-15 Thread Vít Ondruch
Recently, presumably since RPM 4.15.0.beta.1 landed in Fedora Rawhide, the rpmbuild output is garbled. E.g.: ~~~ ... snip ... 1) Process.clock_getres matches the clock in practice for Process::CLOCK_PROCESS_CPUTIME_ID FAILED Expected 1 not to equal 1

[Rpm-maint] [rpm-software-management/rpm] "absolute symlink" warning or error? (#793)

2019-07-15 Thread Vít Ondruch
When I build package, I get following errors: ~~~ ... snip ... error: Installed (but unpackaged) file(s) found: /usr/lib/debug/usr/lib64/ruby/enc/trans/cesu_8.so-2.7.0-0.1.git0c6c937904.fc31.x86_64.debug /usr/lib64/ruby/enc/trans/cesu_8.so /usr/share/ruby/logger/errors.rb

[Rpm-maint] [rpm-software-management/rpm] Test %dnl such that %dnl line contents influences its expansion (#792)

2019-07-15 Thread pavlinamv
You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-management/rpm/pull/792 -- Commit Summary -- * Test %dnl such that its contents influences its expansion -- File Changes -- M tests/data/macros.testfile (6) M tests/rpmmacro.at (15)

Re: [Rpm-maint] [rpm-software-management/rpm] %_build_cpu is untranslated in macros file (#791)

2019-07-15 Thread Michael Schroeder
Btw, what's `_build_arch` and how is it different from `_arch` or `_build_cpu`? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] %_build_cpu is untranslated in macros file (#791)

2019-07-15 Thread ニール・ゴンパ
@mlschroe Most of our Rust packages do, yes. ``` ExclusiveArch: %{rust_arches} BuildArch: noarch ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] %_build_cpu is untranslated in macros file (#791)

2019-07-15 Thread Michael Schroeder
Do you have a "BuildArch: noarch" line in your spec file? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] %_build_cpu is untranslated in macros file (#791)

2019-07-15 Thread ニール・ゴンパ
Hmm, we do have the problem, but it doesn’t seem to trip up our `ExclusiveArch` usage, and I don’t know why… ``` [ngompa@localhost ~]$ mock -r fedora-30-ppc64le --init --forcearch=ppc64le INFO: mock.py version 1.4.16 starting (python version = 3.7.3)... Start: init plugins INFO: selinux disabled

Re: [Rpm-maint] [rpm-software-management/rpm] %_build_cpu is untranslated in macros file (#791)

2019-07-15 Thread ニール・ゴンパ
@mlschroe But `/usr/lib/rpm/platform/ppc64le-linux/macros` defines `%_build_cpu` as `ppc64le`, so I *shouldn’t* see that. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] %_build_cpu is untranslated in macros file (#791)

2019-07-15 Thread Michael Schroeder
I just checked Rawhide's rpm, and it contains: ``` %_host powerpc64le-redhat-linux-gnu %_host_aliasppc64le-redhat-linux-gnu%{nil} %_host_cpu powerpc64le %_host_vendor redhat ``` So I'm pretty sure you'll also observe this on Fedora. -- You are

Re: [Rpm-maint] [rpm-software-management/rpm] %_build_cpu is untranslated in macros file (#791)

2019-07-15 Thread Michael Schroeder
I don't know. The value of _host_cpu comes straight from autoconf. Maybe fedora has some patch to tweak it. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: