Your message dated Tue, 12 Feb 2013 04:32:53 +0000
with message-id <[email protected]>
and subject line Bug#676143: fixed in sox 14.4.1-1
has caused the Debian Bug report #676143,
regarding sox: misleading error message
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
676143: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676143
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: sox
Version: 14.3.1-1
Severity: minor
Tags: patch upstream

*** Please type your report below this line ***

The following error message is misleading:

%sox -r441000 -s foo.raw foo.wav
sox FAIL formats: bad input format for file `foo.raw': data encoding was not 
specified

since the encoding (-s) was actually specified. What's missing is
the sample size, but it took me to RTFS to find out what it wanted.
This works:

%sox -r441000 -s -2 foo.raw foo.wav

The patch below changes the wording to make it clearer.

Also, it fixes a bad line break in the help output, since
"floating-point" is an actual value for the argument.

-- System Information:
Debian Release: 6.0.2
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.2 (SMP w/6 CPU cores)
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages sox depends on:
ii  libc6                  2.13-10           Embedded GNU C Library: Shared lib
ii  libgomp1               4.7.0-1           GCC OpenMP (GOMP) support library
ii  libgsm1                1.0.13-3          Shared libraries for GSM speech co
ii  libltdl7               2.2.6b-2          A system independent dlopen wrappe
ii  libmagic1              5.04-5            File type determination library us
ii  libopencore-amrnb0     0.1.2-1           Adaptive Multi Rate speech codec -
ii  libopencore-amrwb0     0.1.2-1           Adaptive Multi-Rate - Wideband spe
ii  libpng12-0             1.2.44-1+squeeze1 PNG library - runtime
ii  libsndfile1            1.0.21-3+squeeze1 Library for reading/writing audio 
ii  libsox-fmt-alsa        14.3.1-1          SoX alsa format I/O library
ii  libsox-fmt-base        14.3.1-1          Minimal set of SoX format librarie
ii  libsox1b               14.3.1-1          SoX library of audio effects and p
ii  zlib1g                 1:1.2.3.4.dfsg-3  compression library - runtime

sox recommends no packages.

Versions of packages sox suggests:
pn  libsox-fmt-all                <none>     (no description available)

-- no debconf information

--- sox-14.3.1/sox-14.3.1/src/formats.c.orig    2012-06-05 02:52:12.000000000 
+0200
+++ sox-14.3.1/sox-14.3.1/src/formats.c 2012-06-05 02:52:16.000000000 +0200
@@ -336,7 +336,7 @@
     return SOX_EOF;
   }
   if (!ft->signal.precision) {
-    lsx_fail_errno(ft,SOX_EFMT,"data encoding was not specified");
+    lsx_fail_errno(ft,SOX_EFMT,"data encoding or sample size was not 
specified");
     return SOX_EOF;
   }
   return SOX_SUCCESS;
--- sox-14.3.1/sox-14.3.1/src/sox.c.orig        2012-06-05 02:43:31.000000000 
+0200
+++ sox-14.3.1/sox-14.3.1/src/sox.c     2012-06-05 02:43:43.000000000 +0200
@@ -1832,8 +1832,9 @@
 "-v|--volume FACTOR       Input file volume adjustment factor (real number)",
 "--ignore-length          Ignore input file length given in header; read to 
EOF",
 "-t|--type FILETYPE       File type of audio",
-"-s/-u/-f/-U/-A/-i/-a/-g  Encoding 
type=signed-integer/unsigned-integer/floating",
-"                         point/mu-law/a-law/ima-adpcm/ms-adpcm/gsm-full-rate",
+"-s/-u/-f/-U/-A/-i/-a/-g  Encoding type=signed-integer/unsigned-integer/",
+"                         floating-point/mu-law/a-law/ima-adpcm/ms-adpcm/",
+"                         gsm-full-rate",
 "-e|--encoding ENCODING   Set encoding (ENCODING in above list)",
 "-b|--bits BITS           Encoded sample size in bits",
 "-1/-2/-3/-4/-8           Encoded sample size in bytes",



--- End Message ---
--- Begin Message ---
Source: sox
Source-Version: 14.4.1-1

We believe that the bug you reported is fixed in the latest version of
sox, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pascal Giard <[email protected]> (supplier of updated sox package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 11 Feb 2013 22:25:36 -0500
Source: sox
Binary: sox libsox2 libsox-fmt-base libsox-fmt-alsa libsox-fmt-ao 
libsox-fmt-mp3 libsox-fmt-oss libsox-fmt-pulse libsox-fmt-all libsox-dev
Architecture: source amd64
Version: 14.4.1-1
Distribution: unstable
Urgency: low
Maintainer: Pascal Giard <[email protected]>
Changed-By: Pascal Giard <[email protected]>
Description: 
 libsox-dev - Development files for the SoX library
 libsox-fmt-all - All SoX format libraries
 libsox-fmt-alsa - SoX alsa format I/O library
 libsox-fmt-ao - SoX Libao format I/O library
 libsox-fmt-base - Minimal set of SoX format libraries
 libsox-fmt-mp3 - SoX MP2 and MP3 format library
 libsox-fmt-oss - SoX OSS format I/O library
 libsox-fmt-pulse - SoX PulseAudio format I/O library
 libsox2    - SoX library of audio effects and processing
 sox        - Swiss army knife of sound processing
Closes: 672567 676143
Changes: 
 sox (14.4.1-1) unstable; urgency=low
 .
   * New upstream release.
     - Fixed misleading error message (closes: #676143).
     - Fixed early termination on Ogg Vorbis files with a non-power of two
       number of channels (closes: #672567).
   * [debian/source/format]:
     - Finally switched to dpkg-source 3.0 (quilt) format!
   * [debian/rules]:
     - No longer using CDBS and depricated makefiles, fixes lintian warnings
       "debian-rules-uses-deprecated-makefile".
     - Added multiarch support.
   * [debian/control]:
     - Added Vcs-Git and Vcs-Browser pointing to upstream VCS.
     - Added Pre-Depends on multiarch-support for libsox3, does not seem to
       required for the other packages (contradiction in the documentation?),
       fixes lintian warning "missing-pre-dependency-on-multiarch-support".
     - Bumped Standards-Version to 3.9.3, no changes needed.
     - Set Multi-Arch on the shared libraries where appropriate.
     - Set Section to libs for all libsox* but libsox-dev.
   * [debian/patches/01_default_audio_driver_fallback.patch]:
     - Removed, fixed upstream.
   * [debian/compat]:
     - Bumped to 9 to automatically use dpkg-buildflags, fixes lintian warnings
       "hardening-no-relro" and some "hardening-no-fortify-functions" (there
       are still 5 false positives on the latter though).
   * [debian/watch]:
     - Updated watch file, thanks to Bart Martens <[email protected]>.
   * [debian/README.source]:
     - Updated to reflect the much simplified packaging and usage of quilt.
Checksums-Sha1: 
 2b5d67ae51f6106f5d7c1146260cdc60f750ad31 1952 sox_14.4.1-1.dsc
 71f05afc51e3d9b03376b2f98fd452d3a274d595 1111653 sox_14.4.1.orig.tar.gz
 ce2af189283cea60adab6bf751b56b899e8893c0 13774 sox_14.4.1-1.debian.tar.gz
 57e3a59ed4dd550e68d07c0a7cb766c880e7a1a0 136476 sox_14.4.1-1_amd64.deb
 d8e047de1bd367a345320b4e6a0c3a8398a8c548 300342 libsox2_14.4.1-1_amd64.deb
 a02af9f022a11da6f0bf89b9516b26c189be3467 70406 
libsox-fmt-base_14.4.1-1_amd64.deb
 168c6af06769245e6825a053a04b28f4aa3c34ec 47364 
libsox-fmt-alsa_14.4.1-1_amd64.deb
 f39b023868f9c072b917012facc583e3cebc92f5 43568 libsox-fmt-ao_14.4.1-1_amd64.deb
 9e4190fcbe5e9c834a9915c849bf9b3924d94d8c 53850 
libsox-fmt-mp3_14.4.1-1_amd64.deb
 55d36aac6fca12db81ebacb293c50e0dccb1fdb1 44054 
libsox-fmt-oss_14.4.1-1_amd64.deb
 b926d6f81b23abb5ff80e3bbf77574cf37b03c72 43452 
libsox-fmt-pulse_14.4.1-1_amd64.deb
 71d2e6736ae06a4ed5054c3727f1e071a35cfc6b 40506 
libsox-fmt-all_14.4.1-1_amd64.deb
 e39d27f40bcd90be4886dc10dab1920d0adb79fa 467490 libsox-dev_14.4.1-1_amd64.deb
Checksums-Sha256: 
 8b2546bad0c366f12b048d13bbb495453d8b62bb268864c6d96e57b20598570c 1952 
sox_14.4.1-1.dsc
 9a8c2c6fe51e608da346a157e111508a957af9e3ecf3de26781d36e9a67fa89b 1111653 
sox_14.4.1.orig.tar.gz
 32d6a409e8f0df72145696299b8581d1d27569c11112f834590d0057f036c49f 13774 
sox_14.4.1-1.debian.tar.gz
 cce5366a432510b6c32f8fed77ba94312a7634a1f66d7263fe654ee979ca5e8d 136476 
sox_14.4.1-1_amd64.deb
 16f3cf432307ab54bdb56e467f3b73ea1da7512c06dca5e6529a1fecd538f51f 300342 
libsox2_14.4.1-1_amd64.deb
 3a95022c69d6afa6f9669b1a3664b1e011ab8293d73720b659799ba120699c49 70406 
libsox-fmt-base_14.4.1-1_amd64.deb
 a2ba6222a78e8bb101546e11e642825a17943f7a4159526c60165295c84eec9e 47364 
libsox-fmt-alsa_14.4.1-1_amd64.deb
 02efcbf26ae9c15e735ad444cb992e0c81d236a0e00dc1a6536ed678ab3da343 43568 
libsox-fmt-ao_14.4.1-1_amd64.deb
 eda210c4a473ad4f0935cee5bad574530ea82712d69ca6b1db9a8847830a2c2c 53850 
libsox-fmt-mp3_14.4.1-1_amd64.deb
 ed10cab21ea1cd0eb3cf4e972bed414032fc7a56f9a027ba8fd3971fed6be794 44054 
libsox-fmt-oss_14.4.1-1_amd64.deb
 10b64966ab262a1dce508a61ac97442d94c4937a74fd666bd683ce9d5cb1999c 43452 
libsox-fmt-pulse_14.4.1-1_amd64.deb
 3b14ec6c6eef50b511a73cc1af9b0167801fc85f0107062ce208703bffe1c2f5 40506 
libsox-fmt-all_14.4.1-1_amd64.deb
 64c2b51a60a1c1482cb135a5c25e0c30716581000dedceaad2cea4da492678b0 467490 
libsox-dev_14.4.1-1_amd64.deb
Files: 
 5b3fcd2669f4e130683817ed071fbd2c 1952 sound optional sox_14.4.1-1.dsc
 670307f40763490a2bc0d1f322071e7a 1111653 sound optional sox_14.4.1.orig.tar.gz
 aa80ef8b61fc76323f6a0aeb2a4a2fcf 13774 sound optional 
sox_14.4.1-1.debian.tar.gz
 c062c08768845a8a875772526bfb7a7c 136476 sound optional sox_14.4.1-1_amd64.deb
 f2e10c67fcda2af02659be24f755816b 300342 libs optional 
libsox2_14.4.1-1_amd64.deb
 35d16f0f1e85eed939d4604fc0622730 70406 libs optional 
libsox-fmt-base_14.4.1-1_amd64.deb
 30bd88c81351f35a48cccc91ca330f1b 47364 libs optional 
libsox-fmt-alsa_14.4.1-1_amd64.deb
 4f78fc2e53bb9f51b2a5c04ad0eee294 43568 libs optional 
libsox-fmt-ao_14.4.1-1_amd64.deb
 919d3ccfb395dc9480bf8e0b0a82e50a 53850 libs optional 
libsox-fmt-mp3_14.4.1-1_amd64.deb
 fdc5523a7ded96349df3978a70c2920e 44054 libs optional 
libsox-fmt-oss_14.4.1-1_amd64.deb
 546b068dabacb8ac3283803a096b62df 43452 libs optional 
libsox-fmt-pulse_14.4.1-1_amd64.deb
 947ee3e38e7f196b2e33374c58b11de9 40506 libs optional 
libsox-fmt-all_14.4.1-1_amd64.deb
 60d2fcb9b0568d841dc358ec37a48ddd 467490 libdevel optional 
libsox-dev_14.4.1-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlEZxE0ACgkQ1Lfd97FsypWORACgwcV7mmKrcR2BfxYOUKhCjE4q
VAIAoKH1bCQr5Jotfop8yCw1Oj/qZGMO
=3J0l
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to