Bug 125159
Summary: | kdebase builds with debug info | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ben Smith <fedora> | ||||||
Component: | rpm | Assignee: | Jeff Johnson <jbj> | ||||||
Status: | CLOSED NOTABUG | QA Contact: | Mike McLean <mikem> | ||||||
Severity: | low | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 2 | ||||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | i686 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2004-06-18 12:09:02 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Ben Smith
2004-06-03 08:08:37 UTC
Created attachment 100818 [details]
head of rpmbuild output
Created attachment 100819 [details]
tail of rpmbuild output
Oops, sorry, forgot to mention I'm building on Core 1 if it makes a difference :) Tried changing '--disable-debug' in specfile to '--enable-debug=no' as ./configure --help suggests, rebuilt, no luck :( it does not have to do with kdebase! If you don't want to build package with debug info, you should have disable it in your $HOME/.rpmmacros, for example: %_topdir /home/than/rpm %_sourcedir %{_topdir}/SOURCES %_specdir %{_topdir}/SPECS %_srcrpmdir %{_topdir}/SRPMS %_rpmdir %{_topdir}/RPMS %_builddir %{_topdir}/BUILD %vendor Red Hat, Inc. %packager Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla> %debug_package %{nil} Sorry but I tried that and it doesn't make a difference. What I'm getting, regardless, is *one* package, built with debug info. What I need is a package without debug info. The error logs don't give any clue as to what the problem could be. I've also upgraded rpmbuild to the FC2 version in case that is the problem. So far it hasn't helped. As far as I can tell this behaviour has changed since test3, which built fine. OK, I've tried so many things trying to get this to work that I'm not *exactly* sure that this is the only solution, but the one thing that has made a difference is to install the redhat-rpm-config package and edit the file '/usr/lib/rpm/redhat/macros'. I changed the variable '%_enable_debug_packages' from '1' to '0'. Now, instead of getting one package with debug info, I'm getting separate -debug packages again. In the course of testing I also upgraded several other packages, so it might also be necessary to upgrade rpm, binutils, and libselinux to the FC2 versions. I'm going to continue testing on a fresh FC1 install to see if I can figure out what the necessary packages (and missing buildreq's) are. it's a rpm issue and not a bug in kdebase. All packages are built by Red Hat with redhat-rpm-config installed, and setting %debug_package %{nil} works iff redhat-rpm-config is installed. Changing %_enable_debug_packages is an alternative means to the same goal. I see no other rpm problem here. Reopen if I'm wrong. |