Gentoo Archives: gentoo-user

From: Alexander Kapshuk <alexander.kapshuk@×××××.com>
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Problems with update of smplayer (needs mplayer2?)
Date: Sat, 04 Oct 2014 17:58:10
Message-Id: CAJ1xhMWhvU-APwZhBQp7eZgVz6kURuOLmrGs0vbjsiNUrrM5pw@mail.gmail.com
In Reply to: Re: [gentoo-user] Problems with update of smplayer (needs mplayer2?) by meino.cramer@gmx.de
1 On Sat, Oct 4, 2014 at 8:50 PM, <meino.cramer@×××.de> wrote:
2 > Alexander Kapshuk <alexander.kapshuk@×××××.com> [14-10-04 19:36]:
3 >> On Sat, Oct 4, 2014 at 3:33 PM, <meino.cramer@×××.de> wrote:
4 >> > Volker Armin Hemmann <volkerarmin@××××××××××.com> [14-10-04 14:24]:
5 >> >> Am 04.10.2014 um 04:55 schrieb meino.cramer@×××.de:
6 >> >> > Hi,
7 >> >> >
8 >> >> > While updateing my world ;) an update of smplayer was announced.
9 >> >> >
10 >> >> > The update failed with:
11 >> >> >
12 >> >> > ...
13 >> >> > ...
14 >> >> > x86_64-pc-linux-gnu-gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I. -march=native -O2 -pipe -msse3 -ggdb -D_REENTRANT -I/usr/include/alsa -I/usr/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include -I/usr/include/libdvdread -c -o libmpdemux/aviheader.o libmpdemux/aviheader.c
15 >> >> > libmpdemux/aviheader.c: In function 'read_avi_header':
16 >> >> > libmpdemux/aviheader.c:600:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
17 >> >> > fread(&magic, 6, 1, fp);
18 >> >> > ^
19 >> >> > libmpdemux/aviheader.c:605:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
20 >> >> > fread(&priv->idx_size, sizeof(priv->idx_size), 1, fp);
21 >> >> > ^
22 >> >> > libmpdemux/aviheader.c:616:10: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
23 >> >> > fread(idx, sizeof(AVIINDEXENTRY), 1, fp);
24 >> >> > ^
25 >> >> > x86_64-pc-linux-gnu-gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I. -march=native -O2 -pipe -msse3 -ggdb -D_REENTRANT -I/usr/include/alsa -I/usr/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include -I/usr/include/libdvdread -c -o libmpdemux/aviprint.o libmpdemux/aviprint.c
26 >> >> > x86_64-pc-linux-gnu-gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I. -march=native -O2 -pipe -msse3 -ggdb -D_REENTRANT -I/usr/include/alsa -I/usr/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include -I/usr/include/libdvdread -c -o libmpdemux/demuxer.o libmpdemux/demuxer.c
27 >> >> > libmpdemux/demuxer.c:48:2: error: #error MP_INPUT_BUFFER_PADDING_SIZE is too small!
28 >> >> > #error MP_INPUT_BUFFER_PADDING_SIZE is too small!
29 >> >> > ^
30 >> >> > make: *** [libmpdemux/demuxer.o] Error 1
31 >> >> > * ERROR: media-video/mplayer2-2.0_p20130428-r1::gentoo failed (compile phase):
32 >> >> > * emake failed
33 >> >> > *
34 >> >> > * If you need support, post the output of `emerge --info '=media-video/mplayer2-2.0_p20130428-r1::gentoo'`,
35 >> >> > * the complete build log and the output of `emerge -pqv '=media-video/mplayer2-2.0_p20130428-r1::gentoo'`.
36 >> >> > * The complete build log is located at '/var/tmp/portage/media-video/mplayer2-2.0_p20130428-r1/temp/build.log'.
37 >> >> > * The ebuild environment file is located at '/var/tmp/portage/media-video/mplayer2-2.0_p20130428-r1/temp/environment'.
38 >> >> > * Working directory: '/var/tmp/portage/media-video/mplayer2-2.0_p20130428-r1/work/mplayer2-2.0_p20130428'
39 >> >> > * S: '/var/tmp/portage/media-video/mplayer2-2.0_p20130428-r1/work/mplayer2-2.0_p20130428'
40 >> >> >
41 >> >> >>>> Failed to emerge media-video/mplayer2-2.0_p20130428-r1, Log file:
42 >> >> >
43 >> >> > I am confused...why does smplayer pulls mplayer2?
44 >> >> >
45 >> >> > solfire:>eix mplayer2
46 >> >> > * media-video/mplayer2
47 >> >> > Available versions: 2.0_p20130126 2.0_p20130428-r1 ~2.0_p20131009 **9999 {3dnow 3dnowext +X +a52 +alsa altivec aqua bluray bs2b cddb +cdio cpudetection debug directfb doc +dts +dv dvb +dvd +dvdnav +enca +faad fbcon ftp gif +iconv ipv6 jack joystick jpeg ladspa lcms +libass libcaca lirc mad md5sum +mmx mmxext mng +mp3 +network nut +opengl oss png pnm portaudio +postproc pulseaudio pvr (+)quvi radio +rar +rtc samba sdl selinux +shm +speex sse sse2 ssse3 symlink tga +theora +threads +unicode v4l vcd vdpau +vorbis xanim xinerama +xscreensaver +xv xvid yuv4mpeg KERNEL="linux"}
48 >> >> > Homepage: http://www.mplayer2.org/
49 >> >> > Description: Media Player for Linux
50 >> >> >
51 >> >> >
52 >> >> > I will mail any other logfile if wanted...I dont want to pollute the
53 >> >> > mailing list in beforehand... :)
54 >> >> >
55 >> >> > Thank you very much in advance for any help!
56 >> >> >
57 >> >> > Best regards,
58 >> >> > mcc
59 >> >> >
60 >> >> >
61 >> >> >
62 >> >> >
63 >> >> have a look at the ebuilds. Probably caused by some useflag interaction.
64 >> >> Btw, is that smplayer or smplayer2?
65 >> >>
66 >> >
67 >> >
68 >> > From above:
69 >> >> > While updateing my world ;) an update of smplayer was announced.
70 >> >
71 >> >
72 >> > /root>emerge --update --newuse --deep --with-bdeps=y @world --tree --keep-going -va
73 >> >
74 >> >
75 >> > These are the packages that would be merged, in reverse order:
76 >> >
77 >> > Calculating dependencies... done!
78 >> > [ebuild U ] media-video/smplayer-14.3.0 [0.8.5] USE="-debug" LINGUAS="-ar_SY -bg -ca -cs -da -de -el_GR -en_US -es -et -eu -fi -fr -gl -he_IL -hr -hu -it -ja -ka -ko -ku -lt -mk -ms_MY -nl -pl -pt -pt_BR -ro_RO -ru_RU -sk -sl_SI -sr -sv -th -tr -uk_UA -vi_VN -zh_CN -zh_TW" 0 kB
79 >> > [ebuild N ] media-video/mplayer2-2.0_p20130428-r1 USE="X alsa cdio dvb dvd dvdnav enca gif iconv ipv6 jack jpeg ladspa libass mmx mp3 network opengl png postproc quvi shm sse sse2 threads unicode v4l vdpau xscreensaver xv -3dnow -3dnowext (-altivec) (-aqua) -bluray -bs2b -cddb -cpudetection -debug -directfb -doc -ftp -joystick -lcms -libcaca -lirc -md5sum -mmxext -mng -oss -pnm -portaudio -pulseaudio -pvr -radio -samba (-selinux) -ssse3 -symlink -tga -vcd -xinerama -yuv4mpeg" 0 kB
80 >> >
81 >> > Total: 2 packages (1 upgrade, 1 new), Size of downloads: 0 kB
82 >> >
83 >> >
84 >>
85 >> Going by what is said about mplayer2 in this Gentoo forum post dated
86 >> July 2014, https://forums.gentoo.org/viewtopic-t-996386.html?sid=501b6e84ba5ae3bd7296efd193a166c5,
87 >> mplayer2 has not seen active development for about 12 months at least.
88 >> As I found myself having to decide if I wanted mplayer2 installed on
89 >> my system when updating the world set the other day, I decided against
90 >> it. I just removed smplayer from my system altogether, which reduced
91 >> the amount of packages wanting to be updated or installed as new
92 >> slots, which was the case with mplayer2.
93 >> There may be other viable avenues available as well. I opted for the
94 >> one that seemed the easiest for me.
95 >>
96 >
97 >
98 > Hi Alexander,
99 >
100 > again the question:
101 >
102 > Why is mplayer2 (not mplayer) pulled in by smplayer on a system
103 > where mplayer2 is not installed and mplayer is installed?
104 >
105 > Best regards,
106 > mcc
107 >
108 >
109 >
110
111 Looks like the smplayer maintainers were trying to fix some
112 installation bugs, by turning USE-flag dependencies for mplayer and
113 mplayer2 of and on.
114 cd /usr/portage/media-video/smplayer/
115 grep mplayer2 *
116 ChangeLog: Another attempt to fix USE-flag dependencies for mplayer
117 and mplayer2.
118 ChangeLog: Attempt to fix installation with mplayer2 (bug #507588).
119 ChangeLog: Turn off update checker (bug #479902); prefer mplayer over
120 mplayer2 again,
121 ChangeLog: remove old; prefer mplayer2 (bug #452440)
122 ChangeLog: mplayer2[libass] -> mplayer2[ass] (bug #383945)
123 ChangeLog: Support mplayer or mplayer2, bug 361115
124 smplayer-14.3.0.ebuild: media-video/mplayer2[${COMMON_USE}]
125 smplayer-14.9.0.ebuild: media-video/mplayer2[${COMMON_USE}]