Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 388351 - media-video/mplayer-1.0_rc4_p20110322-r1 - fails on extracting fonts, though they are not requested
Summary: media-video/mplayer-1.0_rc4_p20110322-r1 - fails on extracting fonts, though ...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: https://forums.gentoo.org/viewtopic-t...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-24 15:58 UTC by avx
Modified: 2011-10-24 18:42 UTC (History)
1 user (show)

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


Attachments
environment (environment.gz,28.30 KB, application/x-gzip)
2011-10-24 16:02 UTC, avx
Details

Note You need to log in before you can comment on or make changes to this bug.
Description avx 2011-10-24 15:58:09 UTC
Trying to `emerge mplayer` fails with

--snip--
>>> Emerging (1 of 1) media-video/mplayer-1.0_rc4_p20110322-r1
 * mplayer-1.0_rc4_p20110322.tar.xz RMD160 SHA1 SHA256 size ;-) ...                                                                                    [ ok ]
>>> Unpacking source...
>>> Unpacking mplayer-1.0_rc4_p20110322.tar.xz to /var/tmp/portage/media-video/mplayer-1.0_rc4_p20110322-r1/work
>>> Unpacking font-arial-iso-8859-1.tar.bz2 to /var/tmp/portage/media-video/mplayer-1.0_rc4_p20110322-r1/work
 * ERROR: media-video/mplayer-1.0_rc4_p20110322-r1 failed (unpack phase):
 *   font-arial-iso-8859-1.tar.bz2 does not exist
 * 
 * Call stack:
 *          ebuild.sh, line   91:  Called src_unpack
 *        environment, line 3255:  Called unpack 'font-arial-iso-8859-1.tar.bz2' 'font-arial-iso-8859-2.tar.bz2' 'font-arial-cp1250.tar.bz2'
 *   phase-helpers.sh, line  267:  Called die
 * The specific snippet of code:
 *   		[[ ! -s ${srcdir}${x} ]] && die "${x} does not exist"
 * 
 * If you need support, post the output of 'emerge --info =media-video/mplayer-1.0_rc4_p20110322-r1',
 * the complete build log and the output of 'emerge -pqv =media-video/mplayer-1.0_rc4_p20110322-r1'.
 * The complete build log is located at '/var/tmp/portage/media-video/mplayer-1.0_rc4_p20110322-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/mplayer-1.0_rc4_p20110322-r1/temp/environment'.
 * S: '/var/tmp/portage/media-video/mplayer-1.0_rc4_p20110322-r1/work/mplayer-1.0_rc4_p20110322'
--snap--

It works perfectly with the exact same USE-&CFLAGS on another machine. As you can see by the URL given above, I've already got some input from others, but nothing could solve the problem for me, as of yet.

A pretty obscure "bug", imho.

Reproducible: Always

Steps to Reproduce:
1. emerge {-uDN} mplayer
2.
3.
Actual Results:  
fails with given message. Tries to unpack fonts not needed because of USE=truetype. Merging with USE=-truetype works, though.

Expected Results:  
Should built just fine, as is always did and also does on another machine.

emerge --info mplayer
Portage 2.1.10.31 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.13-r4, 3.0.4-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.0.4-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.1
Timestamp of tree: Mon, 24 Oct 2011 14:15:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.6-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.4_p6-r1, 1.7.9-r2, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r4
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo vmware enlightenment phorcix x-yubikey
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -msse4 -mcx16 -msahf -mpopcnt -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -mtune=native -msse4 -mcx16 -msahf -mpopcnt -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://distfiles.gentoo.org"
LANG="de_DE.utf8"
LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed -Wl,--sort-common"
LINGUAS="de de_DE en en_US"
MAKEOPTS="-j9 --quiet"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_CONFIGROOT="/"
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/gentoo"
PORTDIR_OVERLAY="/var/lib/layman/vmware /var/lib/layman/enlightenment /usr/portage/phorcix /usr/portage/yubikey"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 attr caps crypt idn mmx multilib nls nptl openmp pam pic sse sse2 sse3 ssl ssse3 unicode xcomposite xinerama xrandr" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="*" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="casio_qv" ELIBC="glibc" INPUT_DEVICES="evdev joystick wacom" KERNEL="linux" LINGUAS="de de_DE en en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

media-video/mplayer-1.0_rc4_p20110322 was built with the following:
USE="X a52 alsa ass dvd dvdnav encode faac iconv jpeg mad mmx mp3 (multilib) network opengl osdmenu png quicktime radio real shm sse sse2 ssse3 theora tremor truetype unicode v4l2 vdpau x264 xinerama xv xvid -3dnow -3dnowext -aalib (-altivec) -amr (-aqua) -bidi -bindist -bl -bluray -bs2b -cddb -cdio -cdparanoia -cpudetection -custom-cpuopts -debug -dga -dirac -directfb -doc -dts -dv -dvb (-dxr3) -enca -esd -faad -fbcon -ftp -ggi -gif -gsm -ipv6 -jack -joystick -jpeg2k -ladspa -libcaca -libmpeg2 -lirc -live -lzo -md5sum -mmxext -mng -mpg123 -nas -nut -openal -oss -pnm -pulseaudio -pvr -rar -rtc -rtmp -samba -schroedinger -sdl -speex -tga -toolame -twolame -v4l (-vidix) -vorbis -vpx (-win32codecs) -xanim -xscreensaver -xvmc -zoran" VIDEO_CARDS="-mga -s3virge -tdfx -vesa"
Comment 1 avx 2011-10-24 16:02:51 UTC
Created attachment 290727 [details]
environment
Comment 2 Mike Gilbert gentoo-dev 2011-10-24 16:58:15 UTC
Your environment file has an empty USE variable, which is very odd:

declare -x USE=""

Are you overriding USE in /etc/portage/bashrc, or /etc/portage/env/media-video/mplayer*?
Comment 3 avx 2011-10-24 18:09:52 UTC
(In reply to comment #2)
> Your environment file has an empty USE variable, which is very odd:
> 
> declare -x USE=""
> 
> Are you overriding USE in /etc/portage/bashrc, or
> /etc/portage/env/media-video/mplayer*?

Let me start with, you sir are my personal hero - at least for the day :)

In fact, I played with /etc/portage/package.env & the corresponding /etc/portage/env/media-video/mplayer. But I've got

> #media-video/mplayer media-video/mplayer
in package.env and thought this would comment it out. IIRC in package.env one shall define a config to read, thus I thought adding a # would comment it.

Either this is a bug, something in portage changed in the meantime or I misunderstood the manpage.

Anyway, I just deleted the file in question and it works again.

Since I guess this was my fault, I'm setting this to resolved->cantfix (change if it's a bug).

Thanks again :)
Comment 4 Mike Gilbert gentoo-dev 2011-10-24 18:32:04 UTC
(In reply to comment #3)

/etc/portage/env is sort of confusing since it contains files for 2 separate features:

1. /etc/portage/env/category/pkg files are processed as per-package bashrc files.

2. /etc/portage/env/* files are referenced by the /etc/portage/package.env file to provide per-package make.conf overrides.

#1 only affects ebuild(1), so it is buggy to use it for environment variables.

#2 affects both ebuild(1) and emerge(1), and is the preferred method for setting environment variables.

Hope that clears it up.
Comment 5 avx 2011-10-24 18:42:36 UTC
Ah, ok, then it was just a misunderstanding.

I thought I could name the file whatever I want and thus chose the same scheme I'll use for my package.{unmask,use}-dirs, so it's more logical and organized to me.

Something like:
/etc/portage/env/cat/app/name.rc
and
/etc/portage/env/cat/app/name.make

would be more logical and less confusing, imho. Alternatively, if it doesn't have a #! in it, it should be treated as make.conf overrides...

Thanks for clarification.