Bug 446914

Summary: PAN package fails to re-build on Fedora 9
Product: [Fedora] Fedora Reporter: Pavel Polischouk <pavel.polischouk>
Component: panAssignee: Alexander Dalloz <alex>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 9CC: mpeters
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-21 18:50:08 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 Flags
A patch fixing PAN compilation: missing includes none

Description Pavel Polischouk 2008-05-16 16:42:14 UTC
Description of problem:
PAN 0.132 code is incompatible with GCC 4.3.0, mostly failing to include the
needed system headers.

Version-Release number of selected component (if applicable):
pan-0.132-2.fc8.x86_64

How reproducible:
Always

Steps to Reproduce:
1. rpmbuild --rebuild pan-0.132-2.fc8.src.rpm
2. Observe compilation errors
  
Actual results:
Multiple compilation errors, mostly due to missing #include <stdlib.h> and other
system headers.

Expected results:
Should re-build properly.

Additional info:
Attached the patch to fix the compilation

Comment 1 Pavel Polischouk 2008-05-16 16:42:14 UTC
Created attachment 305708 [details]
A patch fixing PAN compilation: missing includes

Comment 2 Pavel Polischouk 2008-05-16 17:56:33 UTC
Debugged the problem further. It happens when trying to load a huge tasks.nzb
(around 95000 lines). When the file is split into two parts by copying and
removing extra <file>...</file> sections, each part loads successfully.
This most likely means state corruption in nzb parser by certain input.

Comment 3 Pavel Polischouk 2008-05-21 18:36:06 UTC
Please disregard the previous comment, added it here by mistake instead of
another bug.

Comment 4 Pavel Polischouk 2008-05-21 18:50:08 UTC

*** This bug has been marked as a duplicate of 433970 ***