[Rpm-maint] [PATCH] Make sure that debugsourcefiles.list is generated in the build dir.

2017-07-25 Thread Mark Wielaard
The %_debugsource_template expects the debugsourcefiles.list file
to be in the (current) build dir. Make sure that is always the case
even if find-debuginfo.sh was invoked in a different (sub) directory
by adding the build dir path as explicit argument to -S.

Signed-off-by: Mark Wielaard 
---
 macros.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/macros.in b/macros.in
index 8518228..147db83 100644
--- a/macros.in
+++ b/macros.in
@@ -185,7 +185,7 @@
 %{?_unique_debug_srcs:--unique-debug-src-base 
"%{name}-%{VERSION}-%{RELEASE}.%{_arch}"} \\\
 %{?_find_debuginfo_dwz_opts} \\\
 %{?_find_debuginfo_opts} \\\
-%{?_debugsource_packages:-S debugsourcefiles.list} \\\
+%{?_debugsource_packages:-S 
"%{_builddir}/%{?buildsubdir}/debugsourcefiles.list"} \\\
 "%{_builddir}/%{?buildsubdir}"\
 %{nil}
 
-- 
1.8.3.1

___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


[Rpm-maint] [rpm-software-management/rpm] _debugsource_packages sometimes crashes due to non-existing debugsourcefiles.list (#279)

2017-07-25 Thread Igor Gnatenko
Partially found in #277, although I think it makes sense to track it here 
separately.

```
Processing files: gdb-debugsource-8.0-17.fc27.x86_64
RPM build errors:
error: Could not open %files file 
/builddir/build/BUILD/gdb-8.0/debugsourcefiles.list: No such file or directory
Could not open %files file 
/builddir/build/BUILD/gdb-8.0/debugsourcefiles.list: No such file or directory
```

-- 
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/279___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


[Rpm-maint] [rpm-software-management/rpm] _debuginfo_subpackages doesn't play well with perl (#278)

2017-07-25 Thread Igor Gnatenko
Perl build fails with:

```
Installed (but unpackaged) file(s) found:
   
/usr/lib/debug/usr/lib64/perl5/auto/Compress/Raw/Bzip2/Bzip2.so-5.26.0-395.fc27.x86_64.debug
   
/usr/lib/debug/usr/lib64/perl5/auto/Compress/Raw/Zlib/Zlib.so-5.26.0-395.fc27.x86_64.debug
   /usr/lib/debug/usr/lib64/perl5/auto/Cwd/Cwd.so-5.26.0-395.fc27.x86_64.debug
   
/usr/lib/debug/usr/lib64/perl5/auto/DB_File/DB_File.so-5.26.0-395.fc27.x86_64.debug
   
/usr/lib/debug/usr/lib64/perl5/auto/Data/Dumper/Dumper.so-5.26.0-395.fc27.x86_64.debug
   
/usr/lib/debug/usr/lib64/perl5/auto/Digest/MD5/MD5.so-5.26.0-395.fc27.x86_64.debug
   
/usr/lib/debug/usr/lib64/perl5/auto/Digest/SHA/SHA.so-5.26.0-395.fc27.x86_64.debug
   
/usr/lib/debug/usr/lib64/perl5/auto/Encode/Byte/Byte.so-5.26.0-395.fc27.x86_64.debug
   
/usr/lib/debug/usr/lib64/perl5/auto/Encode/CN/CN.so-5.26.0-395.fc27.x86_64.debug
   
/usr/lib/debug/usr/lib64/perl5/auto/Encode/EBCDIC/EBCDIC.so-5.26.0-395.fc27.x86_64.debug
   
/usr/lib/debug/usr/lib64/perl5/auto/Encode/Encode.so-5.26.0-395.fc27.x86_64.debug
   
/usr/lib/debug/usr/lib64/perl5/auto/Encode/JP/JP.so-5.26.0-395.fc27.x86_64.debug
   
/usr/lib/debug/usr/lib64/perl5/auto/Encode/KR/KR.so-5.26.0-395.fc27.x86_64.debug
   
/usr/lib/debug/usr/lib64/perl5/auto/Encode/Symbol/Symbol.so-5.26.0-395.fc27.x86_64.debug
   
/usr/lib/debug/usr/lib64/perl5/auto/Encode/TW/TW.so-5.26.0-395.fc27.x86_64.debug
   
/usr/lib/debug/usr/lib64/perl5/auto/Encode/Unicode/Unicode.so-5.26.0-395.fc27.x86_64.debug
   
/usr/lib/debug/usr/lib64/perl5/auto/Filter/Util/Call/Call.so-5.26.0-395.fc27.x86_64.debug
   
/usr/lib/debug/usr/lib64/perl5/auto/IPC/SysV/SysV.so-5.26.0-395.fc27.x86_64.debug
   
/usr/lib/debug/usr/lib64/perl5/auto/List/Util/Util.so-5.26.0-395.fc27.x86_64.debug
   
/usr/lib/debug/usr/lib64/perl5/auto/MIME/Base64/Base64.so-5.26.0-395.fc27.x86_64.debug
   
/usr/lib/debug/usr/lib64/perl5/auto/Math/BigInt/FastCalc/FastCalc.so-5.26.0-395.fc27.x86_64.debug
   
/usr/lib/debug/usr/lib64/perl5/auto/Socket/Socket.so-5.26.0-395.fc27.x86_64.debug
   
/usr/lib/debug/usr/lib64/perl5/auto/Storable/Storable.so-5.26.0-395.fc27.x86_64.debug
   
/usr/lib/debug/usr/lib64/perl5/auto/Sys/Syslog/Syslog.so-5.26.0-395.fc27.x86_64.debug
   
/usr/lib/debug/usr/lib64/perl5/auto/Time/HiRes/HiRes.so-5.26.0-395.fc27.x86_64.debug
   
/usr/lib/debug/usr/lib64/perl5/auto/Unicode/Collate/Collate.so-5.26.0-395.fc27.x86_64.debug
   
/usr/lib/debug/usr/lib64/perl5/auto/Unicode/Normalize/Normalize.so-5.26.0-395.fc27.x86_64.debug
   
/usr/lib/debug/usr/lib64/perl5/auto/threads/shared/shared.so-5.26.0-395.fc27.x86_64.debug
   
/usr/lib/debug/usr/lib64/perl5/auto/threads/threads.so-5.26.0-395.fc27.x86_64.debug
```

-- 
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/278___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] _debugsource_packages break tests (#277)

2017-07-25 Thread Igor Gnatenko
cc @mlschroe 

-- 
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/277#issuecomment-317853623___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


[Rpm-maint] [rpm-software-management/rpm] macros: enable debugsource and debuginfo-subpkgs by default (#276)

2017-07-25 Thread Igor Gnatenko
Signed-off-by: Igor Gnatenko 
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/276

-- Commit Summary --

  * macros: enable debugsource and debuginfo-subpkgs by default

-- File Changes --

M macros.in (4)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/276.patch
https://github.com/rpm-software-management/rpm/pull/276.diff

-- 
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/276
___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint