Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#43259 - [mpd] package features seems to base on installed packages

Attached to Project: Arch Linux
Opened by Daniel Wendler (BMRMorph) - Monday, 29 December 2014, 13:39 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 30 December 2014, 16:33 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Today i play a little bit with mpd.
After some tests i also want to play an Audio CD and read about the cdio_paranoia plugin.
So i called "mpd --version" and realize that there is no support for this plugin.
I download the PKGBUILD files and look at it but could not see any reason for not supporting the plugin.
So i call makepkg and got my cdio_paranoia support.
So it seams that the feature set is depending on the installed packages of the building system.
As this could lead to different feature sets depending on who build the package i think this is some kind of bug.

Additional info:
* package version(s): 0.19.7-1

Steps to reproduce:
* install mpd
* do: mpd --version
* download PKGBUILD and build it
* do: src/mpd-0.19.7/src/mpd --version
* see the differences

for me its:

--- system_mpd 2014-12-29 14:38:47.758600789 +0100
+++ compiled_mpd 2014-12-29 14:39:03.922080799 +0100
@@ -10,10 +10,14 @@
simple proxy upnp

Storage plugins:
- local nfs
+ local smbclient nfs
+
+Neighbor plugins:
+ smbclient upnp

Decoders plugins:
[mad] mp3 mp2
+ [mpg123] mp3
[vorbis] ogg oga
[oggflac] ogg oga
[flac] flac
@@ -25,11 +29,13 @@
[faad] aac
[wavpack] wv
[modplug] 669 amf ams dbm dfm dsm far it med mdl mod mtm mt2 okt s3m stm ult umx xm
+ [wildmidi] mid
[ffmpeg] 16sv 3g2 3gp 4xm 8svx aa3 aac ac3 afc aif aifc aiff al alaw amr anim apc ape asf atrac au aud avi avm2 avs bap bfi c93 cak cin cmv cpk daud dct divx dts dv dvd dxa eac3 film flac flc fli fll flx flv g726 gsm gxf iss m1v m2v m2t m2ts m4a m4b m4v mad mj2 mjpeg mjpg mka mkv mlp mm mmf mov mp+ mp1 mp2 mp3 mp4 mpc mpeg mpg mpga mpp mpu mve mvi mxf nc nsv nut nuv oga ogm ogv ogx oma ogg omg opus psp pva qcp qt r3d ra ram rl2 rm rmvb roq rpl rvc shn smk snd sol son spx str swf tgi tgq tgv thp ts tsp tta xa xvid uv uv2 vb vid vob voc vp6 vmd wav webm wma wmv wsaud wsvga wv wve
+ [gme] ay gbs gym hes kss nsf nsfe sap spc vgm vgz
[pcm]

Output plugins:
- shout null fifo pipe alsa ao oss pulse jack httpd recorder
+ shout null fifo pipe alsa ao oss openal pulse jack httpd recorder

Encoder plugins:
null vorbis opus lame wave flac
@@ -38,10 +44,10 @@
[bz2] bz2

Input plugins:
- file alsa archive curl ffmpeg nfs mms
+ file alsa archive curl ffmpeg smbclient nfs mms cdio_paranoia

Playlist plugins:
extm3u m3u pls xspf asx rss soundcloud cue embcue

Protocols:
- file:// http:// https:// mms:// mmsh:// mmst:// mmsu:// gopher:// rtp:// rtsp:// rtmp:// rtmpt:// rtmps:// nfs:// alsa://
+ file:// http:// https:// mms:// mmsh:// mmst:// mmsu:// gopher:// rtp:// rtsp:// rtmp:// rtmpt:// rtmps:// smb:// nfs:// cdda:// alsa://
This task depends upon

Closed by  Doug Newgard (Scimmia)
Tuesday, 30 December 2014, 16:33 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Expected behavior
Comment by Johannes Löthberg (demize) - Monday, 29 December 2014, 14:31 GMT
If you also look at the package or PKGBUILD you’ll see pretty clearly that it doesn’t depend on cdio-paranoia, so this isn’t in any way a bug. If you want it enabled you should phrase it as a feature request instead.
Comment by Daniel Wendler (BMRMorph) - Monday, 29 December 2014, 14:58 GMT
I do not filled the bug because of the missing cdio-paranoia support (or some other feature) but because of the different out coming if you have installed different packages.
Maybe another short example in reverse order. The package maintainer install tomorrow the smbclient package (for what reason ever) and rebuild the mpd.
So the result is that the package supports smbclient input. As this is not an mentioned dependency the package (maybe) break on systems which have not installed smbclient.
Thats why i filled the bugreport.

BTW: i think cdio-paranoia is an wanted feature as in https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/mpd&id=6537646f22fbabbcb4130f835576e862d3b1eee4 was an extra patch for making
mpd compile with cdio-paranoia cleanly and i can not find anythin in the commits why this should not work anymore
Comment by Dave Reisner (falconindy) - Monday, 29 December 2014, 15:01 GMT
If you build in a clean chroot, the depends will be accurate. If you build in a dirty environment, then it's a case of garbage-in, garbage-out.
Comment by Johannes Löthberg (demize) - Monday, 29 December 2014, 15:03 GMT
Most packagers I know of build packages in clean chroots where only the dependencies are installed (the devtools builds in clean chroots by default), so what bug is it that you actually want to be fixed?
Comment by Daniel Wendler (BMRMorph) - Monday, 29 December 2014, 17:58 GMT
So ok then i missunderstood this things and request an closure.

Loading...