[opensuse-buildservice] debuginfo not stripped for HEAD Kernel backported to openSUSE 11.0
Hi, I have created a branch of Kernel:HEAD in order to have backports to openSUSE 11.0: http://download.opensuse.org/repositories/home:/hennichodernich:/branches:/K... I now encountered the problem that the debuginfo is not stripped from the kernel modules, making the packages awfully large. I have the same problem with a "rpmbuild --rebuild kernel-pae.nosrc.rpm" on my local machine, for 2.6.29 kernels, this worked quite well, but now, something seems to have changed. best regards Henning -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2009-07-18 13:51:04 +0200, hnch@gmx.net wrote:
Hi,
I have created a branch of Kernel:HEAD in order to have backports to openSUSE 11.0:
http://download.opensuse.org/repositories/home:/hennichodernich:/branches:/K...
I now encountered the problem that the debuginfo is not stripped from the kernel modules, making the packages awfully large.
I have the same problem with a "rpmbuild --rebuild kernel-pae.nosrc.rpm" on my local machine, for 2.6.29 kernels, this worked quite well, but now, something seems to have changed.
The Kernel:HEAD project has a <debuginfo /> flag in its project meta but your project hasn't such a flag. Run "osc meta prj home:hennichodernich:branches:Kernel -e" and add "<debuginfo><enable /></debuginfo>". Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Samstag, 18. Juli 2009 schrieb Marcus Hüwe:
On 2009-07-18 13:51:04 +0200, hnch@gmx.net wrote:
Hi,
I have created a branch of Kernel:HEAD in order to have backports to openSUSE 11.0:
http://download.opensuse.org/repositories/home:/hennichodernich:/ branches:/Kernel:/HEAD/openSUSE_11.0/
I now encountered the problem that the debuginfo is not stripped from the kernel modules, making the packages awfully large.
I have the same problem with a "rpmbuild --rebuild kernel-pae.nosrc.rpm" on my local machine, for 2.6.29 kernels, this worked quite well, but now, something seems to have changed.
The Kernel:HEAD project has a <debuginfo /> flag in its project meta but your project hasn't such a flag. Run "osc meta prj home:hennichodernich:branches:Kernel -e" and add "<debuginfo><enable /></debuginfo>".
Thanks a lot. But I'm wondering how to achieve this behaviour for the "rpmbuild --rebuild" approach? Via a "--define" argument to rpmbuild? I've had a look at the /usr/lib/rpm/macros and that looked quite reasonable to me. BTW: Does anyone know a RPM reference that is not completely outdated like Maximum RPM? I nowhere found an explanation what e.g. "%if 0%{?__debug_package:1}" means. best regards Henning -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi, it's me again, Am Samstag, 18. Juli 2009 schrieb Marcus Hüwe:
On 2009-07-18 13:51:04 +0200, hnch@gmx.net wrote:
I now encountered the problem that the debuginfo is not stripped from the kernel modules, making the packages awfully large.
The Kernel:HEAD project has a <debuginfo /> flag in its project meta but your project hasn't such a flag. Run "osc meta prj home:hennichodernich:branches:Kernel -e" and add "<debuginfo><enable /></debuginfo>".
I tried this, but now build fails completely: Warning: spec file parser line 52: can't expand %(...) Warning: spec file parser line 135: can't expand %(...) Warning: spec file parser line 237: can't expand %(...) Warning: spec file parser line 246: can't expand %(...) Warning: spec file parser line 254: can't expand %(...) Warning: spec file parser line 268: can't expand %(...) Warning: spec file parser line 283: can't expand %(...) Warning: spec file parser line 304: can't expand %(...) Warning: spec file parser line 305: can't expand %(...) Warning: spec file parser line 337: can't expand %(...) Warning: spec file parser line 364: can't expand %(...) Warning: spec file parser line 368: can't expand %(...) Warning: spec file parser line 409: can't expand %(...) Warning: spec file parser line 441: can't expand %(...) Warning: spec file parser line 458: can't expand %(...) Warning: spec file parser line 479: can't expand %(...) Warning: spec file parser line 489: can't expand %(...) Warning: spec file parser line 493: can't expand %(...) Warning: spec file parser line 494: can't expand %(...) Warning: spec file parser line 500: can't expand %(...) Warning: spec file parser line 505: can't expand %(...) Warning: spec file parser line 523: can't expand %(...) Warning: spec file parser line 524: can't expand %(...) Warning: spec file parser line 527: can't expand %(...) Warning: spec file parser line 528: can't expand %(...) Warning: spec file parser line 529: can't expand %(...) Warning: spec file parser line 531: can't expand %(...) Warning: spec file parser line 537: can't expand %(...) Warning: spec file parser line 538: can't expand %(...) Warning: spec file parser line 539: can't expand %(...) Warning: spec file parser line 545: can't expand %(...) Warning: spec file parser line 546: can't expand %(...) Warning: spec file parser line 547: can't expand %(...) Warning: spec file parser line 548: can't expand %(...) Warning: spec file parser line 549: can't expand %(...) Warning: spec file parser line 552: can't expand %(...) Warning: spec file parser line 553: can't expand %(...) Warning: spec file parser line 569: can't expand %(...) Warning: spec file parser line 587: can't expand %(...) Warning: spec file parser line 602: can't expand %(...) Warning: spec file parser line 604: can't expand %(...) Warning: spec file parser line 612: can't expand %(...) Warning: spec file parser line 613: can't expand %(...) Warning: spec file parser line 614: can't expand %(...) Warning: spec file parser line 618: can't expand %(...) Warning: spec file parser line 659: can't expand %(...) Warning: spec file parser line 660: can't expand %(...) Warning: spec file parser line 663: can't expand %(...) Warning: spec file parser line 671: can't expand %(...) Warning: spec file parser line 672: can't expand %(...) Warning: spec file parser line 709: can't expand %(...) Warning: spec file parser line 730: can't expand %(...) Warning: spec file parser line 749: can't expand %(...) Warning: spec file parser line 773: can't expand %(...) Warning: spec file parser line 806: can't expand %(...) Warning: spec file parser line 807: can't expand %(...) Warning: spec file parser line 814: can't expand %(...) ----------------------------------------------------------------- I have the following modifications for kernel-pae.spec: 75c75 < Release: <RELEASE> ---
Release: 58.1 77c77 < Release: 0
Release: 58.1
----- building kernel-pae.spec (user abuild) ----------------------------------------------------------------- ----------------------------------------------------------------- + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --define 'disturl obs://build.opensuse.org/home:hennichodernich:branches:Kernel:HEAD/openSUSE_11.0/0139277d60fc62bfe1652a7d834dba71-kernel-pae' /usr/src/packages/SOURCES/kernel-pae.spec error: syntax error in expression error: /usr/src/packages/SOURCES/kernel-pae.spec:86: parseExpressionBoolean returns -1 error: Package has no %description: kernel-pae System halted. I get the same result when calling "osc build openSUSE_11.0 i586 kernel-pae.spec". Is it a problem with rpm 4.2.2, which is unable to expand shell macros? I tried backporting Factory's RPM version (home:hennichodernich:backports/rpm), but this fails with a linker error: gcc -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -O2 -fno-strict-aliasing -ffunction-sections -fPIC -DPIC -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -fno-strict-aliasing -Wl,-Bsymbolic-functions -ffunction-sections -o .libs/debugedit debugedit.o hashtab.o ../rpmdb/.libs/librpmdb.so /usr/src/packages/BUILD/rpm-4.4.2.3/rpmio/.libs/librpmio.so -lm -ldl -lz -llzma /usr/src/packages/BUILD/rpm-4.4.2.3/popt/.libs/libpopt.so ../popt/.libs/libpopt.so -lrt -lpthread -lbz2 debugedit.o: In function `edit_dwarf2_line': debugedit.c:(.text.edit_dwarf2_line+0x622): undefined reference to `elf_flagdata' Looks like libelf is not linked in. (Strangely enough, backporting this package using "rpmbuild --rebuild" works fine as long as xz,libselinux and libsepol are provided via individual backports.) best regards Henning -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Samstag, 18. Juli 2009 schrieb Henning Paul:
I get the same result when calling "osc build openSUSE_11.0 i586 kernel-pae.spec". Is it a problem with rpm 4.2.2, which is unable to expand shell macros? I tried backporting Factory's RPM version (home:hennichodernich:backports/rpm), but this fails with a linker error:
I finally managed to backport rpm 4.2.2.3 to 11.0, this solved my problems with the kernel-pae packages. best regards Henning -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Henning Paul
-
hnch@gmx.net
-
Marcus Hüwe