Bug 265221

Summary: syslog-ng fails to build due to debuginfo issue
Product: [Fedora] Fedora Reporter: Jesse Keating <jkeating>
Component: syslog-ngAssignee: Douglas E. Warner <silfreed>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: medium    
Version: rawhideCC: dcantrell, dchapman, jose.p.oliveira.oss, pmatilai, pvrabec, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 2.0.7-1.fc8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-18 23:56:10 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:
Bug Depends On: 304121    
Bug Blocks: 163350, 235704    

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.