Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mpv emerges fine, but no executable [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
koslowj
Tux's lil' helper
Tux's lil' helper


Joined: 15 Feb 2005
Posts: 84

PostPosted: Sat Dec 29, 2018 1:41 pm    Post subject: mpv emerges fine, but no executable [solved] Reply with quote

After recent updates complained about something related to mpv and the cli useflag, iirc,
I initially unmerged mpv. When I now try to re-emerge it, this seems to be succesful and
ends with the following messages:

'install' finished successfully (0.699s)
Code:
>>> Completed installing mpv-0.27.2 into /var/tmp/portage/media-video/mpv-0.27.2/image/

 * Final size of build directory: 20264 KiB (19.7 MiB)
 * Final size of installed tree:   3640 KiB ( 3.5 MiB)

strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.gold-version
   usr/lib64/libmpv.so.1.25.0

>>> Installing (1 of 1) media-video/mpv-0.27.2::gentoo
 * Updating icons cache ...                                              [ ok ]
 * Updating .desktop files database ...                                  [ ok ]
 * Updating icons cache ...                                              [ ok ]
 * Updating .desktop files database ...                                  [ ok ]
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

But I do not get an mpv executable. "which mpv" doesn't find anything, and searching for
"mpv" only finds directories:

Code:
/root/.config/mpv
/usr/share/mpv
/usr/include/mpv
/usr/portage/media-video/mpv
/var/lib/layman/melpa-stable/app-emacs/mpv
/var/tmp/portage/media-video/mpv-0.16.0-r1/work/mpv-0.16.0/build/mpv
/var/tmp/portage/media-video/mpv-0.16.0-r1/image/etc/mpv
/home/<myuser>/.config/mpv

Here are my use-flags from /etc/portage/make.cnf:

Code:
CHOST="x86_64-pc-linux-gnu"
...
CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="-gnome -kde -minimal alsa cdr dbus dvd ffmpeg flac gtk gtk3 javafx jpeg libmpv lock lua mad mp3 png pulseaudio qt5 session sdl startup-notification tiff thunar udev vorbis X xft xml"

Best regards and a Happy New Year,

-- Jürgen

[Moderator edit: added [code] tags to preserve output layout. -Hu]


Last edited by koslowj on Sat Dec 29, 2018 9:57 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30916
Location: here

PostPosted: Sat Dec 29, 2018 4:00 pm    Post subject: Reply with quote

cli use flag is enabled in mpv package?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
koslowj
Tux's lil' helper
Tux's lil' helper


Joined: 15 Feb 2005
Posts: 84

PostPosted: Sat Dec 29, 2018 9:57 pm    Post subject: Reply with quote

fedeliallalinea wrote:
cli use flag is enabled in mpv package?


It wasn't, and indeed the command <USE="cli" emerge mpv> produced the desired executable.
Thanks! Don't recall having to jump through this hoop before...

P.S. A regular update wants to re-emerge mpv with the "-cli" use flag, why?


Last edited by koslowj on Sat Dec 29, 2018 10:42 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30916
Location: here

PostPosted: Sat Dec 29, 2018 10:12 pm    Post subject: Reply with quote

It's better use /etc/portage/package.use for enable cli use flag to mpv package, because if you use USE="cli" inline with emerge next update cli will be disabled
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
koslowj
Tux's lil' helper
Tux's lil' helper


Joined: 15 Feb 2005
Posts: 84

PostPosted: Sat Dec 29, 2018 10:44 pm    Post subject: Reply with quote

Indeed, as I just found out! Thanks again.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Sat Dec 29, 2018 11:55 pm    Post subject: Reply with quote

koslowj,

That's experience for you.
You get it just after you needed it.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
koslowj
Tux's lil' helper
Tux's lil' helper


Joined: 15 Feb 2005
Posts: 84

PostPosted: Mon Mar 04, 2019 9:28 am    Post subject: Reply with quote

fedeliallalinea wrote:
It's better use /etc/portage/package.use for enable cli use flag to mpv package, because if you use USE="cli" inline with emerge next update cli will be disabled


Well, my package.use contains the line

media-video/mpv cli# required by app-emulation/wine-vanilla-4.0::gentoo[sdl]

but still mpv compiles without producing a binary!? What's the correct syntax to force using the cli use-flag?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30916
Location: here

PostPosted: Mon Mar 04, 2019 10:42 am    Post subject: Reply with quote

What is the output of emerge -pvq media-video/mpv command?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
koslowj
Tux's lil' helper
Tux's lil' helper


Joined: 15 Feb 2005
Posts: 84

PostPosted: Tue Mar 05, 2019 1:01 am    Post subject: Reply with quote

fedeliallalinea wrote:
What is the output of emerge -pvq media-video/mpv command?


The output indeed contains "-cli*" (end of first line):

[ebuild R ] media-video/mpv-0.27.2 USE="X alsa dvd egl iconv jpeg libass libmpv lua opengl pulseaudio sdl uchardet xv zlib (-aqua) -archive -bluray -cdda -cli* (-coreaudio) -cplugins (-cuda) -doc -drm -dvb -encode -gbm -jack (-javascript) -lcms (-libav) -libcaca -luajit -openal -oss (-raspberry-pi) -rubberband -samba (-selinux) -test -tools -v4l -vaapi -vdpau -wayland -zsh-completion" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5"

-- Jürgen
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21633

PostPosted: Tue Mar 05, 2019 2:41 am    Post subject: Reply with quote

That appears to be correct. You enabled the cli# flag, but did not enable the cli flag. There is no cli# flag, so enabling it does nothing. Move the # away from the flag. I would put the comment on a completely separate line, although Portage seems to handle having the comment inline if it is not concatenated directly onto the flag name.
Back to top
View user's profile Send private message
koslowj
Tux's lil' helper
Tux's lil' helper


Joined: 15 Feb 2005
Posts: 84

PostPosted: Thu Mar 07, 2019 8:03 am    Post subject: Reply with quote

Hu wrote:
That appears to be correct. You enabled the cli# flag, but did not enable the cli flag. There is no cli# flag, so enabling it does nothing. Move the # away from the flag. I would put the comment on a completely separate line, although Portage seems to handle having the comment inline if it is not concatenated directly onto the flag name.


OK, I understand what happened: When I manually added the line "media-video/mpv cli" to /etc/portage/package.use, I forgot to add a carriage return. So the next time somethng was added automatically to the file, it was written directly after "cli". This si how "cli#" came about.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum