Bug 118990 - python path broken
Summary: python path broken
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: unspecified
Hardware: Other All
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Dr. Werner Fink
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-27 10:03 UTC by Dirk Mueller
Modified: 2005-10-06 17:05 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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