Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 328875 - media-libs/libdca can't read large files by default
Summary: media-libs/libdca can't read large files by default
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-18 22:00 UTC by Richard C
Modified: 2010-07-24 11:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard C 2010-07-18 22:00:04 UTC
When trying to convert a DTS audio track to AC3 with the dcadec utility (part of libdca) I get the following error: 

"Value too large for defined data type - could not open file xxxxxxxxxxx" 

After adding the following CFLAGS to make.conf and re-emerging libdca, the dcadec application works correctly:

CFLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"



Reproducible: Always

Steps to Reproduce:
1. Get a large DTS file to be converted to AC3 (> 2GB)
2. Run the command "dcadec -c -o wavall >/dev/null"
3.

Actual Results:  
"Value too large for defined data type - could not open file largefile.dts" 

Expected Results:  
No errors found

libdca should have large file support by default as the rest of the applications in the system.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-07-24 11:14:37 UTC
appended largefile flags...