Bug 118990

Summary: python path broken
Product: [openSUSE] SUSE Linux 10.1 Reporter: Dirk Mueller <dmueller>
Component: BasesystemAssignee: Dr. Werner Fink <werner>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Dirk Mueller 2005-09-27 10:03:30 UTC
* Fri Sep 23 2005 - jmatejek@suse.cz 
 
- fixed to build with gcc's new buffer overflow checking 
- added patch from https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169046 
 
 
this commit broke "rpmlint":  
 
+ PYTHONPATH=. 
+ PYTHONPATH=.:/usr/share/rpmlint 
+ exec python -u 
-O /usr/share/rpmlint/rpmlint.py /mounts/dist/full/full-i386/suse/i586/gcc.rpm 
Traceback (most recent call last): 
  File "/usr/share/rpmlint/rpmlint.py", line 12, in ? 
    import AbstractCheck 
ImportError: No module named AbstractCheck 
 
 
it seems PYTHONPATH is no longer working
Comment 1 Dirk Mueller 2005-09-27 10:43:41 UTC
fixed by 
 
------------------------------------------------------------------ 
Mon Sep 26 15:40:20 CEST 2005 - jmatejek@suse.cz 
 
- replaced the previous patch with a new one 
    - it now tries to use canonical_file_name(), falling back to realpath() 
      and eventually readlink 
    - canonical_file_name() branch now sets the buffer length