Re: [Rpm-maint] [rpm-software-management/rpm] 4.18.99: rpmbuild no longer recognises shell globs in %files?樂 (Issue #2649)

2023-09-08 Thread Michal Domonkos
Closed #2649 as not planned. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/2649#event-10319459976 You are receiving this because you are subscribed to this thread. Message ID: ___

Re: [Rpm-maint] [rpm-software-management/rpm] 4.18.99: rpmbuild no longer recognises shell globs in %files?樂 (Issue #2649)

2023-09-08 Thread Tomasz Kłoczko
OK so it may mean that my patch fixes only install target in case of use off-source-tree build and because python module was installed in wrong location (on building rpm 4.17.0) stil something else around. Other thing is that even with broken %_arch "%{_arch}" string was used in path name and

Re: [Rpm-maint] [rpm-software-management/rpm] 4.18.99: rpmbuild no longer recognises shell globs in %files?樂 (Issue #2649)

2023-09-08 Thread Michal Domonkos
Well, if you look at the output above, `%{_arch}` is included verbatim which means it was not expanded at SPEC parse time. Globs indeed have nothing to do with this. -- Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] 4.18.99: rpmbuild no longer recognises shell globs in %files?樂 (Issue #2649)

2023-09-08 Thread Tomasz Kłoczko
I've deleted all %_arch comments and opened separated ticket to keep those two thing separated. I don't thing that shell globs are somehow related to %_arch issue when it is used off-source-tree build. -- Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] 4.18.99: rpmbuild no longer recognises shell globs in %files?樂 (Issue #2649)

2023-09-08 Thread Michal Domonkos
Closed #2649 as completed. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/2649#event-10315224845 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint

Re: [Rpm-maint] [rpm-software-management/rpm] 4.18.99: rpmbuild no longer recognises shell globs in %files?樂 (Issue #2649)

2023-09-08 Thread Michal Domonkos
This is apparently because of the `%{_arch}` macro being undefined and thus unexpanded and used literally when matching files on disk. There's the other issue #2650 that you've opened which has more information. -- Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] 4.18.99: rpmbuild no longer recognises shell globs in %files?樂 (Issue #2649)

2023-09-08 Thread Tomasz Kłoczko
This issue may be related to https://github.com/rpm-software-management/rpm/issues/1749 -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/2649#issuecomment-1711263408 You are receiving this because you are subscribed to this thread.

Re: [Rpm-maint] [rpm-software-management/rpm] 4.18.99: rpmbuild no longer recognises shell globs in %files?樂 (Issue #2649)

2023-09-08 Thread Tomasz Kłoczko
Files rpmrc, platform and macros are mot in source tree and they are generated to `${CMAKE_BINARY_DIR}` in cace of off-source tree build. Here is the patch which fixes this issue ```patch --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -162,7 +162,9 @@ install(CODE "execute_process(COMMAND

Re: [Rpm-maint] [rpm-software-management/rpm] 4.18.99: rpmbuild no longer recognises shell globs in %files?樂 (Issue #2649)

2023-09-08 Thread Tomasz Kłoczko
I just realised that %_arch macro is not defined as well and I see in %install ```console Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.TkXan3 + umask 022 + cd /home/tkloczko/rpmbuild/BUILD + '[' '/home/tkloczko/rpmbuild/BUILDROOT/rpm-4.18.99-2.fc35.%{_arch}' '!=' / ']' + rm -rf

[Rpm-maint] [rpm-software-management/rpm] 4.18.99: rpmbuild no longer recognises shell globs in %files?樂 (Issue #2649)

2023-09-08 Thread Tomasz Kłoczko
After build first time rpm 4.18.99 I've tested building it with itself and I found new rpm no longer accepts shell globs in %files RPM build errors: File not found: /home/tkloczko/rpmbuild/BUILDROOT/rpm-4.18.99-2.fc35.%{_arch}/usr/lib/rpm/*.{req,prov} File not found: