Summary: | media-video/mplayer-1.0_rc2_p26450: man pages fail to install | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Paweł Zaskórski <p.zaskorski> |
Component: | New packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | andrey.melentyev, billie, gentoo, pesa, pva |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
makefile patch
ebuild with included patch |
Description
Paweł Zaskórski
2008-04-15 09:00:57 UTC
Hmm, missing polish man page? My Polish is a little rusty. Please translate "Nie ma takiego pliku ani katalogu" (I guess it's "No such file or directory"). I have the same problem. install -m 755 -s mencoder /var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/image//usr/bin for lang in en cs ; do \ if test "$lang" = en ; then \ cd /var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/image//usr/share/man/man1 && ln -sf mplayer.1 mencoder.1 ; \ else \ cd /var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/image//usr/share/man/$lang/man1 && ln -sf mplayer.1 mencoder.1 ; \ fi ; \ done /bin/sh: line 4: cd: /var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/image//usr/share/man/cs/man1: není souborem ani adresářem make: *** [install-mencoder] Error 1 [31;01m*[0m [31;01m*[0m ERROR: media-video/mplayer-1.0_rc2_p26450 failed. [31;01m*[0m Call stack: [31;01m*[0m ebuild.sh, line 49: Called src_install [31;01m*[0m environment, line 2587: Called die [31;01m*[0m The specific snippet of code: [31;01m*[0m make prefix="${D}/usr" BINDIR="${D}/usr/bin" LIBDIR="${D}/usr/$(get_libdir)" CONFDIR="${D}/etc/mplayer" DATADIR="${D}/usr/share/mplayer" MANDIR="${D}/usr/share/man" install || die "Failed to install MPlayer!"; [31;01m*[0m The die message: [31;01m*[0m Failed to install MPlayer! Same here with german manpages. Removing LINGAUS="de" from the make.conf solves the problem. (In reply to comment #2) > My Polish is a little rusty. Please translate "Nie ma takiego pliku ani > katalogu" (I guess it's "No such file or directory"). Exactly! :) It seems to be a problem with missing language-depending man pages. Same here with spanish manpages. Same with LINGUAS="ru" I don't have any LINGUAS specified in make.conf and it still does not compile properly. It compiles fine for me with USE="-gtk" and I don't like this. The same for LINGUAS="cs" Created attachment 149972 [details, diff] makefile patch I think we got it now that there is a problem with the localized man pages. So no need to spam the inbox of other people on this bug, unless you have a solution to this of course. Btw. the the GUI problem which could be temporary resolved by USE="-gtk" is another bug #217757. There is already a newer snapshot in the tree which should fix this problem. Unfortunately the problem with the man pages is not fixed there! A look at recent changes to the Makefile shows that there are some variable changes for the man pages and some were forgotten! I have attached a patch for the Makefile and an updated ebuild which includes this patch Regards, Daniel Created attachment 149974 [details]
ebuild with included patch
(In reply to comment #10) > Created an attachment (id=149972) [edit] > makefile patch Daniel, you're the man. > I think we got it now that there is a problem with the localized man pages. So > no need to spam the inbox of other people on this bug, unless you have a > solution to this of course. ++ > A look at recent changes to the Makefile shows that there are some variable > changes for the man pages and some were forgotten! Thanks for digging that up, I knew that's where the problem was, just hadn't had time to find it. > I have attached a patch for the Makefile and an updated ebuild which includes > this patch Yet another commit: mplayer-1.0_rc2_p26454-r1 *** Bug 218000 has been marked as a duplicate of this bug. *** Okay, this should be fixed now, and ready to close (just the man pages issue). Can those with LINGUAS more than en test and report back? Successfully works for me, here. (In reply to comment #14) > Okay, this should be fixed now, and ready to close (just the man pages issue). > Can those with LINGUAS more than en test and report back? Successfully works > for me, here. Was about to report, that this bug is fixed for me. Thank you, guys, for fixing this bug. (In reply to comment #14) > Can those with LINGUAS more than en test and report back? Successfully works > for me, here. It works for me too (with LINGUAS="pl"). Thanks! thanks, all, closing as fixed |