Bug 1833083

Summary: shntool: cannot split 24-bit flac files
Product: [Fedora] Fedora Reporter: Timothy Redaelli <tredaelli>
Component: shntoolAssignee: Felix Kaechele <felix>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: felix, mike
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: shntool-3.0.10-23.fc31 shntool-3.0.10-23.fc32 shntool-3.0.10-23.fc30 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-16 03:10:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Timothy Redaelli 2020-05-07 18:46:38 UTC
If you try to split a 24-bit flac file you have the following error:

shnsplit: warning: unsupported format 0xfffe (Unknown) while processing file

Debian maintainers backported an upstream (?) commit in order to fix that bug https://github.com/max619/shntool/commit/cfd06e4ed and I suggest to do the same

Comment 1 Felix Kaechele 2020-05-07 18:51:51 UTC
Thanks for the report. I'll pull in that patch shortly.

Comment 2 Fedora Update System 2020-05-07 19:51:09 UTC
FEDORA-2020-c420b0d0bd has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-c420b0d0bd

Comment 3 Fedora Update System 2020-05-07 19:51:10 UTC
FEDORA-2020-9fc00fddb5 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-9fc00fddb5

Comment 4 Fedora Update System 2020-05-07 19:51:14 UTC
FEDORA-2020-5aa387d866 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2020-5aa387d866

Comment 5 Fedora Update System 2020-05-08 04:10:15 UTC
FEDORA-2020-c420b0d0bd has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-c420b0d0bd`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-c420b0d0bd

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2020-05-08 04:52:33 UTC
FEDORA-2020-5aa387d866 has been pushed to the Fedora 30 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-5aa387d866`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-5aa387d866

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2020-05-08 05:09:01 UTC
FEDORA-2020-9fc00fddb5 has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-9fc00fddb5`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-9fc00fddb5

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Michael Cronenworth 2020-05-09 03:14:43 UTC
I tried to use the patched package, but it is still failing.

$ shnsplit -f /foo/bar.cue -t "%n %t" -o flac ./original.wav 
shnsplit: warning: discarding initial zero-valued split point
Splitting [./original.wav] (39:39.909) --> [01 Foobar.flac] (1:39.667) :   0% ERROR
shnsplit: warning: error while transferring 52743600 bytes of data
shnsplit: warning: child encoder process 5842 had non-zero exit status 1
shnsplit: error: failed to split file

It's not processing the data correctly as if I use WAV output (drop the -o flag) the split works, but the output is garbage.

Comment 9 Fedora Update System 2020-05-16 03:10:38 UTC
FEDORA-2020-9fc00fddb5 has been pushed to the Fedora 31 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2020-05-16 03:39:08 UTC
FEDORA-2020-c420b0d0bd has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2020-05-16 04:20:52 UTC
FEDORA-2020-5aa387d866 has been pushed to the Fedora 30 stable repository.
If problem still persists, please make note of it in this bug report.