[opensuse-buildservice] debuginfo package creation

I have problems understanding the logic behind the debug(info|source) package creation on the build service. - Why would I want not to create them? - Why there is a need for a BS specific option? I can add a "%debug_package" line on a per-package basis - Why games and emulation repos don't create debug packages, making bigger packages, while mozilla repo creates them? Even funnier the case of KDE:KDE4:Factory:Desktop, where debug packages are created for 11.0 and Factory but aren't for older distro versions. Thanks. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

On Freitag 07 November 2008 18:36:41 Cristian Morales Vega wrote:
it increases the build result a lot. We do not want to create them by default, if the packager does not want them (nor bugreports) about it anyway. We may get later also on disc quotas, so project/package owners can decide if they want more packages or debuginfo instead on their own. bye adrian -- Adrian Schroeter SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

2008/11/9 Adrian Schröter <adrian@suse.de>:
The thing is that if I want to build a package for games, since debuginfo packages are disabled, I end with a rpmlint warning saying there are unstripped binaries. So what should I do to fix the warning? I could add a %debug_package line to the spec file, but the day the games repo decides to enable debug packages my package would not build anymore. I could add '-s' to LDFLAGS (not sure it will work always so easily), but if someday debug packages are enabled my -debuginfo package would be empty since debug information would be stripped before the rpm macro searchs for it.

On Freitag 07 November 2008 18:36:41 Cristian Morales Vega wrote:
it increases the build result a lot. We do not want to create them by default, if the packager does not want them (nor bugreports) about it anyway. We may get later also on disc quotas, so project/package owners can decide if they want more packages or debuginfo instead on their own. bye adrian -- Adrian Schroeter SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

2008/11/9 Adrian Schröter <adrian@suse.de>:
The thing is that if I want to build a package for games, since debuginfo packages are disabled, I end with a rpmlint warning saying there are unstripped binaries. So what should I do to fix the warning? I could add a %debug_package line to the spec file, but the day the games repo decides to enable debug packages my package would not build anymore. I could add '-s' to LDFLAGS (not sure it will work always so easily), but if someday debug packages are enabled my -debuginfo package would be empty since debug information would be stripped before the rpm macro searchs for it.
participants (2)
-
Adrian Schröter
-
Cristian Morales Vega