Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217769 - media-video/mplayer-1.0_rc2_p26450: man pages fail to install
Summary: media-video/mplayer-1.0_rc2_p26450: man pages fail to install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 218000 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-04-15 09:00 UTC by Paweł Zaskórski
Modified: 2008-04-17 22:22 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
makefile patch (mplayer-1.0_rc2_p26454-makefile.patch,490 bytes, patch)
2008-04-16 19:25 UTC, Daniel Pielmeier
Details | Diff
ebuild with included patch (mplayer-1.0_rc2_p26454.ebuild,16.00 KB, text/plain)
2008-04-16 19:25 UTC, Daniel Pielmeier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paweł Zaskórski 2008-04-15 09:00:57 UTC
After a successful build stage, emerge fails when try to install mplayer's files.

Reproducible: Always

Steps to Reproduce:
1. emerge -av mplayer
2. 
3.

Actual Results:  
>>> Install mplayer-1.0_rc2_p26450 into /var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/image/ category media-video
install -d /var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/image//usr/bin
install -d /var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/image//usr/share/mplayer
install -d /var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/image//usr/share/man/man1
install -d /var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/image//etc/mplayer
if test -f /var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/image//etc/mplayer/codecs.conf ; then mv -f /var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/image//etc/mplayer/codecs.conf /var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/image//etc/mplayer/codecs.conf.old ; fi
make -C libvo libvo.a
make[1]: Wejście do katalogu `/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/work/mplayer-1.0_rc2_p26450/libvo'
make[1]: `libvo.a' jest aktualne.
make[1]: Opuszczenie katalogu `/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/work/mplayer-1.0_rc2_p26450/libvo'
make -C libao2
make[1]: Wejście do katalogu `/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/work/mplayer-1.0_rc2_p26450/libao2'
make[1]: Nie ma nic do zrobienia w `libs'.
make[1]: Opuszczenie katalogu `/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/work/mplayer-1.0_rc2_p26450/libao2'
make -C libmpcodecs
make[1]: Wejście do katalogu `/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/work/mplayer-1.0_rc2_p26450/libmpcodecs'
make[1]: Nie ma nic do zrobienia w `libs'.
make[1]: Opuszczenie katalogu `/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/work/mplayer-1.0_rc2_p26450/libmpcodecs'
make -C libmpdemux libmpdemux.a
make[1]: Wejście do katalogu `/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/work/mplayer-1.0_rc2_p26450/libmpdemux'
make[1]: `libmpdemux.a' jest aktualne.
make[1]: Opuszczenie katalogu `/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/work/mplayer-1.0_rc2_p26450/libmpdemux'
make -C stream
make[1]: Wejście do katalogu `/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/work/mplayer-1.0_rc2_p26450/stream'
make[1]: Nie ma nic do zrobienia w `libs'.
make[1]: Opuszczenie katalogu `/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/work/mplayer-1.0_rc2_p26450/stream'
make -C libswscale
make[1]: Wejście do katalogu `/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/work/mplayer-1.0_rc2_p26450/libswscale'
make[1]: Nie ma nic do zrobienia w `all'.
make[1]: Opuszczenie katalogu `/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/work/mplayer-1.0_rc2_p26450/libswscale'
make -C libvo libosd.a
make[1]: Wejście do katalogu `/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/work/mplayer-1.0_rc2_p26450/libvo'
make[1]: `libosd.a' jest aktualne.
make[1]: Opuszczenie katalogu `/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/work/mplayer-1.0_rc2_p26450/libvo'
make -C libavformat
make[1]: Wejście do katalogu `/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/work/mplayer-1.0_rc2_p26450/libavformat'
make[1]: Nie ma nic do zrobienia w `all'.
make[1]: Opuszczenie katalogu `/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/work/mplayer-1.0_rc2_p26450/libavformat'
make -C libavcodec
make[1]: Wejście do katalogu `/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/work/mplayer-1.0_rc2_p26450/libavcodec'
make[1]: Nie ma nic do zrobienia w `all'.
make[1]: Opuszczenie katalogu `/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/work/mplayer-1.0_rc2_p26450/libavcodec'
make -C libavutil
make[1]: Wejście do katalogu `/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/work/mplayer-1.0_rc2_p26450/libavutil'
make[1]: Nie ma nic do zrobienia w `all'.
make[1]: Opuszczenie katalogu `/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/work/mplayer-1.0_rc2_p26450/libavutil'
make -C libpostproc
make[1]: Wejście do katalogu `/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/work/mplayer-1.0_rc2_p26450/libpostproc'
make[1]: Nie ma nic do zrobienia w `all'.
make[1]: Opuszczenie katalogu `/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/work/mplayer-1.0_rc2_p26450/libpostproc'
make -C mp3lib
make[1]: Wejście do katalogu `/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/work/mplayer-1.0_rc2_p26450/mp3lib'
make[1]: Nie ma nic do zrobienia w `libs'.
make[1]: Opuszczenie katalogu `/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/work/mplayer-1.0_rc2_p26450/mp3lib'
make -C liba52
make[1]: Wejście do katalogu `/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/work/mplayer-1.0_rc2_p26450/liba52'
make[1]: Nie ma nic do zrobienia w `libs'.
make[1]: Opuszczenie katalogu `/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/work/mplayer-1.0_rc2_p26450/liba52'
make -C libmpeg2
make[1]: Wejście do katalogu `/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/work/mplayer-1.0_rc2_p26450/libmpeg2'
make[1]: Nie ma nic do zrobienia w `libs'.
make[1]: Opuszczenie katalogu `/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/work/mplayer-1.0_rc2_p26450/libmpeg2'
make -C libfaad2
make[1]: Wejście do katalogu `/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/work/mplayer-1.0_rc2_p26450/libfaad2'
make[1]: Nie ma nic do zrobienia w `libs'.
make[1]: Opuszczenie katalogu `/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/work/mplayer-1.0_rc2_p26450/libfaad2'
make -C dvdread
make[1]: Wejście do katalogu `/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/work/mplayer-1.0_rc2_p26450/dvdread'
make[1]: Nie ma nic do zrobienia w `libs'.
make[1]: Opuszczenie katalogu `/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/work/mplayer-1.0_rc2_p26450/dvdread'
make -C libdvdcss
make[1]: Wejście do katalogu `/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/work/mplayer-1.0_rc2_p26450/libdvdcss'
make[1]: Nie ma nic do zrobienia w `libs'.
make[1]: Opuszczenie katalogu `/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/work/mplayer-1.0_rc2_p26450/libdvdcss'
install -m 755 -s mplayer /var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/image//usr/bin
for lang in en pl ; do \
                if test "$lang" = en ; then \
                        install -c -m 644 DOCS/man/en/mplayer.1 /var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/image//usr/share/man/man1/ ; \
                else \
                        install -d /var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/image//usr/share/man/$i/man1 ; \
                        install -c -m 644 DOCS/man/$lang/mplayer.1 /var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/image//usr/share/man/$i/man1/ ; \
                fi ; \
        done
make -C libmpdemux libmpmux.a
make[1]: Wejście do katalogu `/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/work/mplayer-1.0_rc2_p26450/libmpdemux'
make[1]: `libmpmux.a' jest aktualne.
make[1]: Opuszczenie katalogu `/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/work/mplayer-1.0_rc2_p26450/libmpdemux'
install -m 755 -s mencoder /var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/image//usr/bin
for lang in en pl ; 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/pl/man1: Nie ma takiego pliku ani katalogu
make: *** [install-mencoder] Błąd 1
 *
 * ERROR: media-video/mplayer-1.0_rc2_p26450 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 2577:  Called die
 * The specific snippet of code:
 *       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!";
 *  The die message:
 *   Failed to install MPlayer!
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/mplayer-1.0_rc2_p26450/temp/environment'.
 *


Expected Results:  
Successful mplayer installation.

arrakis ~ # emerge --info
Portage 2.1.5_rc3 (default-linux/amd64/2007.0, gcc-4.2.3, glibc-2.7-r2, 2.6.24-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3200+
Timestamp of tree: Tue, 15 Apr 2008 07:30:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.12
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer -finline-functions"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer -finline-functions"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="pl"
LC_ALL="pl_PL.UTF8"
LDFLAGS=""
LINGUAS="pl"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip S3TC X a52 aac acl alsa amd64 apache2 bash-completion berkdb branding bzip2 cairo cdparanoia cdr cli colordiff cracklib crypt css dbus divx dri dvd dvdnav dvdr dvdread emerald encode exif extras ffmpeg firefox flac fontconfig ftp gd gdbm gecko geoip gif gimp gnome gnutls gpg gphoto2 gtk gzip hal iconv id3tag imagemagick ipv6 jabber javascript jpeg jpeg2k lame libnotify lm_sensors lzo lzw maps matroska mbox midi mmx mmxext mng mp3 mp4 mplayer mplayer-bin mudflap musepack musicbrainz mysql nautilus ncurses nls nowin nptl nptlonly nsplugin nvidia ogg opengl openmp pam pcre pdf perl php png python qt3support qt4 query-browser quicktime readline realmedia scenarios session slang sou spl sqlite sqlite3 srt sse sse2 ssl startup-notification svg symlink tcpd theora thunderbird tiff trayicon truetype unicode usb vcd vim-syntax vorbis wma wmf wmp workbench x264 xcomposite xorg xscreensaver xv xvid zip zlib zsh-completion" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="alias auth_basic auth_digest autoindex authn_dbm authn_file authz_host authz_user deflate dir filter headers log_config mime mime_magic setenvif negotiation rewrite status userdir" APACHE2_MPMS="worker" CAMERAS="sony_dscf1" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="nvidia none"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Paweł Zaskórski 2008-04-15 09:06:36 UTC
Hmm, missing polish man page?
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-04-15 16:38:50 UTC
My Polish is a little rusty. Please translate "Nie ma takiego pliku ani katalogu" (I guess it's "No such file or directory").
Comment 3 Tomáš Hlušička 2008-04-15 17:21:42 UTC
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!
Comment 4 Joël Bohnes 2008-04-15 17:54:09 UTC
Same here with german manpages.
Removing LINGAUS="de" from the make.conf solves the problem.
Comment 5 Paweł Zaskórski 2008-04-15 18:28:31 UTC
(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.
Comment 6 _MuStY_ 2008-04-16 10:28:27 UTC
Same here with spanish manpages.
Comment 7 Andrey Melentyev 2008-04-16 13:00:35 UTC
Same with LINGUAS="ru"
Comment 8 Piotr 2008-04-16 13:31:35 UTC
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.
Comment 9 Petr Kopecky 2008-04-16 18:47:05 UTC
The same for LINGUAS="cs"
Comment 10 Daniel Pielmeier gentoo-dev 2008-04-16 19:25:23 UTC
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
Comment 11 Daniel Pielmeier gentoo-dev 2008-04-16 19:25:55 UTC
Created attachment 149974 [details]
ebuild with included patch
Comment 12 Steve Dibb (RETIRED) gentoo-dev 2008-04-16 20:02:44 UTC
(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
Comment 13 Steve Dibb (RETIRED) gentoo-dev 2008-04-16 21:18:58 UTC
*** Bug 218000 has been marked as a duplicate of this bug. ***
Comment 14 Steve Dibb (RETIRED) gentoo-dev 2008-04-17 17:19:22 UTC
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.
Comment 15 Peter Volkov (RETIRED) gentoo-dev 2008-04-17 17:57:08 UTC
(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.
Comment 16 Paweł Zaskórski 2008-04-17 18:44:33 UTC
(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!
Comment 17 Steve Dibb (RETIRED) gentoo-dev 2008-04-17 22:22:50 UTC
thanks, all, closing as fixed