Adam Spiers (aspiers@suse.com) wrote:
http://en.opensuse.org/openSUSE:Packaging_guidelines#Debuginfo implies that package builds automatically result in -debuginfo packages and that you have to explicitly disable them if you don't want them, but it fails to mention:
1. how -debuginfo packages are automatically built, and 2. how to disable them.
It links to http://old-en.opensuse.org/Packaging/Debuginfo which doesn't really answer either, save fleeting references to /usr/lib/rpm/find-debuginfo.sh.
I found this thread:
http://lists.opensuse.org/opensuse-factory/2012-11/msg00328.html
but it doesn't appear to have a useful conclusion.
Please can someone shed light? Thanks!
Also, I found that unless I have BuildRequires: glibc-devel in my .spec file, I get: [ 14s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/xwrits-2.26 [ 14s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/xwrits-2.26-1.x86_64/usr/X11R6/bi n/xwrits [ 14s] cpio: glibc-2.17/csu: Cannot stat: No such file or directory [ 14s] cpio: glibc-2.17/csu/elf-init.c: Cannot stat: No such file or directory [ 14s] cpio: glibc-2.17/csu/init.c: Cannot stat: No such file or directory [ 14s] cpio: glibc-2.17/sysdeps/x86_64/crti.S: Cannot stat: No such file or directory [ 14s] cpio: glibc-2.17/sysdeps/x86_64/crtn.S: Cannot stat: No such file or directory [ 14s] cpio: glibc-2.17/sysdeps/x86_64/start.S: Cannot stat: No such file or directory and [ 14s] error: Installed (but unpackaged) file(s) found: [ 14s] /usr/X11R6/share/man/man1/xwrits.1 [ 14s] /usr/lib/debug/.build-id/a6/6020909506c53dc47d90c81341daf8b1ae9376 [ 14s] /usr/lib/debug/.build-id/a6/6020909506c53dc47d90c81341daf8b1ae9376.debug [ 14s] /usr/lib/debug/usr/X11R6/bin/xwrits.debug [ 14s] /usr/src/debug/xwrits-2.26/clock.c [ 14s] /usr/src/debug/xwrits-2.26/colorpic.c [ 14s] /usr/src/debug/xwrits-2.26/config.h etc. If debuginfo generation is automatically enabled, shouldn't glibc-devel be automatically required to avoid this? -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org