Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 550438

Summary: dev-lang/python-exec: configure should call AC_SYS_LARGEFILE
Product: Gentoo Linux Reporter: SpanKY <vapier>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: mgorny
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 471102    

Description SpanKY gentoo-dev 2015-05-26 06:36:01 UTC
the current python code uses 32bit filesystem funcs which can lead to random failures on some filesystems.  please add AC_SYS_LARGEFILE to the configure after the call to AC_USE_SYSTEM_EXTENSIONS to fix.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-05-26 07:27:51 UTC
Could you provide some article explaining why? Out of pure curiosity, since python-exec is never going to read more than ~50 bytes out of a file.
Comment 2 SpanKY gentoo-dev 2015-05-26 07:48:18 UTC
please see the blocking bug.  it isn't just about read/write; stat fails too.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-05-26 09:35:13 UTC
+*python-exec-2.0.2 (26 May 2015)
+
+  26 May 2015; Michał Górny <mgorny@gentoo.org> +python-exec-2.0.2.ebuild:
+  Version bump. The new version updates script comments (bug #524342), fixes
+  off-by-one error in file reading, and enables largefile support (bug #550438).