Bug 265221 - syslog-ng fails to build due to debuginfo issue
Summary: syslog-ng fails to build due to debuginfo issue
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: syslog-ng
Version: rawhide
Hardware: All
OS: All
medium
low
Target Milestone: ---
Assignee: Douglas E. Warner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 304121
Blocks: fedora-ia64 F8Target
TreeView+ depends on / blocked
 
Reported: 2007-08-29 20:44 UTC by Jesse Keating
Modified: 2013-01-10 02:37 UTC (History)
6 users (show)

Fixed In Version: 2.0.7-1.fc8
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-01-18 23:56:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jesse Keating 2007-08-29 20:44:55 UTC
http://koji.fedoraproject.org/koji/getfile?taskID=137630&name=build.log

+ /usr/lib/rpm/find-debuginfo.sh /builddir/build/BUILD/syslog-ng-2.0.5
extracting debug info from
/var/tmp/syslog-ng-2.0.5-2.fc8-root-kojibuilder/sbin/syslog-ng
/usr/lib/rpm/debugedit: canonicalization unexpectedly shrank by one character
error: Bad exit status from /var/tmp/rpm-tmp.98114 (%install)

Comment 1 Warren Togami 2007-10-22 16:08:56 UTC
http://www.redhat.com/archives/fedora-cvs-commits/2006-September/msg00425.html
Here is the checkin where this error check was added to RPM.

Comment 2 Doug Chapman 2007-10-24 01:09:24 UTC
Seeing the same issue when trying to build for ia64.


Comment 3 Panu Matilainen 2008-01-09 06:41:32 UTC
This appears to be sufficient to fix the build:

--- syslog-ng.spec      17 Dec 2007 14:58:04 -0000      1.32
+++ syslog-ng.spec      9 Jan 2008 06:40:24 -0000
@@ -60,6 +60,8 @@
 %{__sed} -i  's|^#!/usr/local/bin/perl|#!%{__perl}|' contrib/relogger.pl
 chmod -c a-x contrib/syslog2ng
 
+# force regeneration to avoid broken paths from upstream (#265221)
+touch src/cfg-grammar.y
 
 %build
 %configure \


Comment 4 Douglas E. Warner 2008-01-09 13:44:11 UTC
Panu, thanks for the patch.  I'll have an updated syslog-ng package out 
shortly.

Comment 5 Fedora Update System 2008-01-11 22:21:23 UTC
syslog-ng-2.0.7-1.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update syslog-ng'

Comment 6 Fedora Update System 2008-01-11 22:24:59 UTC
syslog-ng-2.0.7-1.fc7 has been pushed to the Fedora 7 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update syslog-ng'

Comment 7 Fedora Update System 2008-01-18 23:56:06 UTC
syslog-ng-2.0.7-1.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2008-01-18 23:56:30 UTC
syslog-ng-2.0.7-1.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.