Bug 217769 - media-video/mplayer-1.0_rc2_p26450: man pages fail to install
|
Bug#:
217769
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: AMD64
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: media-video@gentoo.org
|
Reported By: p.zaskorski@wp.pl
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: media-video/mplayer-1.0_rc2_p26450: man pages fail to install
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2008-04-15 09:00 0000
|
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
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.
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 an attachment (id=149972) [details]
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
(In reply to comment #10)
> Created an attachment (id=149972) [edit] [details]
> 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