Skip to main content
Topic: mpg123 config is wrong (Read 180 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

mpg123 config is wrong

Hi,

Looking at the mpg123 PKGBUILD ...

Code: [Select]
./configure \
  --enable-int-quality

However such an option does not exist!

Code: [Select]
$ ./configure --help
[...]
  --disable-messages      no error/warning messages on the console
  --enable-runtime-tables calculate tables at runtime saving size at the
                          expense of additional computation at load time
  --disable-new-huffman   new huffman decoding scheme by Taihei (faster on
                          modern CPUs at least, so on by default)
  --disable-int-quality   use rounding instead of fast truncation for integer
                          output, where possible
  --disable-16bit         no 16 bit integer output
  --disable-8bit          no 8 bit integer output
  --disable-32bit         no 32 bit integer output (also 24 bit)
  --disable-real          no real (floating point) output
[...]

Only "--disable-int-quality" is proposed.  :-\  ::)

Re: mpg123 config is wrong

Reply #1
I think it's probably valid being the inverse, I'd guess it is written like that in --help to indicate which is the default but it might be explicitly specified due to the default having changed in the past, or likely to change in future:
https://www.gnu.org/software/autoconf/manual/autoconf-2.67/html_node/Package-Options.html
And these sort of issues often originate from the Arch Linux PKGBUILD as does this one, so that would be the place to report it:
https://gitlab.archlinux.org/archlinux/packaging/packages/mpg123/-/blob/main/PKGBUILD?ref_type=heads
Most likely it's just wasting a few bytes in the PKGBUILD, don't know for sure though, you should probably investigate further before reporting it.