Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 487124 - media-video/mplayer-sh - fowners vdr:vdr fails
Summary: media-video/mplayer-sh - fowners vdr:vdr fails
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo VDR Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-06 17:09 UTC by Nico Baggus
Modified: 2014-01-22 16:54 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Baggus 2013-10-06 17:09:55 UTC
mplayer was for some reason installed on a system which gets transplanted to a new system.

installing mplayer-sh fails with 'fowner vdr:vdr' while there is no vdr user.
The package clearly depends on vdr-* being installed. But no vdr packages are mentioned in DEPEND/RDEPEND=
I suggest to add >=media-video/vdr-1.6.0
A better package name might be media-plugin/vdr-mplayer 

Reproducible: Always

Steps to Reproduce:
1.just emerge mplayer-sh on a system without vdr.
2.
3.
Actual Results:  

INFO: setup
Package:    media-video/mplayer-sh-0.8.7
Repository: gentoo
Maintainer: vdr@gentoo.org media-tv@gentoo.org
USE:        amd64 elibc_glibc kernel_linux userland_GNU
FEATURES:   preserve-libs sandbox userpriv usersandbox
INFO: prepare
Applying mplayer-sh-0.8.7-parameter-aid.diff ...
ERROR: install
ERROR: media-video/mplayer-sh-0.8.7::gentoo failed (install phase):
  fowners failed

If you need support, post the output of `emerge --info '=media-video/mplayer-sh-0.8.7::gentoo'`,
the complete build log and the output of `emerge -pqv '=media-video/mplayer-sh-0.8.7::gentoo'`.
The complete build log is located at '/var/log/portage/media-video:mplayer-sh-0.8.7:20131005-220545.log'.
For convenience, a symlink to the build log is located at '/var/tmp/portage/media-video/mplayer-sh-0.8.7/temp/build.log'.
The ebuild environment file is located at '/var/tmp/portage/media-video/mplayer-sh-0.8.7/temp/environment'.
Working directory: '/var/tmp/portage/media-video/mplayer-sh-0.8.7/work'
S: '/var/tmp/portage/media-video/mplayer-sh-0.8.7/work'


Expected Results:  
non building or pulling in the vdr environment.

@jer: this is not INVALID either.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-10-06 18:45:23 UTC
(In reply to Nico Baggus from comment #0)
> If you need support, post the output of `emerge --info
> '=media-video/mplayer-sh-0.8.7::gentoo'`,
> the complete build log and the output of `emerge -pqv
> '=media-video/mplayer-sh-0.8.7::gentoo'`.
> The complete build log is located at
> '/var/log/portage/media-video:mplayer-sh-0.8.7:20131005-220545.log'.
> For convenience, a symlink to the build log is located at
> '/var/tmp/portage/media-video/mplayer-sh-0.8.7/temp/build.log'.
> The ebuild environment file is located at
> '/var/tmp/portage/media-video/mplayer-sh-0.8.7/temp/environment'.

Please do.
Comment 2 Nico Baggus 2013-10-06 19:29:35 UTC
f.y.i. i don't need this module.
I just analyzed it's failure.  take it or leave it.

I don't support, but portage needs some fixing.


The Build log HAS BEEN posted, see above.

I will post the supporting  believe info but beleive it's useless..
Unless you can pinpoint evidence you cannot find in what you got
already.........
Comment 3 Nico Baggus 2013-10-06 19:30:30 UTC
Portage 2.2.1 (default/linux/amd64/13.0, gcc-4.6.3, glibc-2.15-r3, 3.10.7-gentoo-r1 x86_64)
=================================================================
System uname: Linux-3.10.7-gentoo-r1-x86_64-AMD_A6-5357M_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.2
KiB Mem:     5470680 total,    261832 free
KiB Swap:    4194300 total,   4194164 free
Timestamp of tree: Sun, 06 Oct 2013 13:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5-r2, 3.2.5-r2
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3, 4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo webapp-experimental ruby sunrise gamerlay voip Local
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA PUEL sun-bcla-java-vm dlj-1.1 skype-eula googleearth AdobeFlash-10 AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mno-tls-direct-seg-refs"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openfire/resources/security/ /usr/share/config /usr/share/gnupg/qualified.txt /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -mno-tls-direct-seg-refs"
DISTDIR="/var/tmp/portdist"
EMERGE_DEFAULT_OPTS="--autounmask-write --keep-going --with-bdeps=y "
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LDFLAGS="-Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude ChangeLog --delete-excluded"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/webapps-experimental /var/lib/layman/ruby /var/lib/layman/sunrise /var/lib/layman/gamerlay /var/lib/layman/voip /usr/local/portage"
SYNC="rsync://core.noci.local/gentoo-portage"
USE="3dnow 3dnowext 3dnowprefetch X X509 a52 aac aalib accessibility acl acpi activefilter ads aio akode akonadi alsa amd64 ao apache2 ati audiofile audit authdaemond automount avahi bash-completion berkdb bl bluetooth bookmarks bzip2 cairo caps cdda cddb cdparanoia cdr cgi chm cli clvm cman consolekit cracklib crypt cscope css cups curl cxx dbus dga directfb djvu dri dts dv dvb dvd dvdr eap-tls encode esd exif exiscan exiscan-acl expat fam fame fastcgi fax fbcon ffmpeg flac foomaticdb fortran fpx frxp gd gdbm ggi gif gimp glib gmp gnokii gphoto2 graphviz gs gsm gstreamer gtk guile hal handbook howl-compat hpn html http httpd ical icecast iconv id3 id3tag idn ieee1394 ilbc imap imlib ipv6 irda ithreads jabber java javascript jbig jingle joystick jpeg jpeg2k justify kde kdeprefix kerberos kipi kqemu ladspa lame laptop lcms ldap libcaca libsamplerate live lm_sensors lmtp loop-aes lua lzma lzo mad mailwrapper matroska mbrola md5sum mdnsresponder-compat memcache mhash mikmod mjpeg mmap mmx mmxext mng modules motif mp2 mp3 mp4 mpeg mplayer mudflap multilib musepack musicbrainz mysql nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh nas ncurses netboot network nls nptl nsplugin obex ocamlopt odbc odk ogg openal openexr opengl openmp oscar oss pam pcre pda pdf phonon php pic plotutils png pnm policykit portaudio postscript ppds pth pulseaudio qt qt3support qt4 quicktime quotas radius rar rdesktop readline real rle rrdtool rtc ruby samba sasl scanner sdl semantic-desktop server session skey slang sndfile snmp span speex spell spf sqlite sqlite3 srs srtp sse sse2 sse3 sse4 sse4_1 sse4_2 sse4a ssl ssse3 subversion svg swat symlink sysfs syslog tcpd theora threads tiff timidity tools truetype tta unicode ups urandom usb utempter v4l v4l2 vcd vde vdpau vim-syntax vnc vorbis wavpack webdav wifi win32codecs winbind wma wmf x264 xanim xattr xfs xine xinerama xml xmlreader xmlrpc xmlwriter xosd xpm xscreensaver xv xvid xvmc yaz yv12 zeroconf zip zlib zrtp" ABI_X86="64" ALSA_CARDS="hda-intel usb-audio" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2 canon casio" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse synaptics joystick aiptek wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver pdfimport scripting-beanshell scripting=javascript wiki-publisher presenter-console presenter-minimizer" LINGUAS="en_GB en_US nl_NL nl en" NGINX_MODULES_HTTP="ssi replace sub scgi rewrite referrer proxy perl memcached gzip gzip_static geo geoip fastcgi dav charset browser auth_basic access" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="arm i386 alpha x86_64" QEMU_USER_TARGETS="alpha i386 x86_64 arm armeb" RUBY_TARGETS="ruby19 ruby18" SANE_BACKENDS="net v4l hpaio" USERLAND="GNU" VIDEO_CARDS="radeon vesa vga fbdev fglrx" XTABLES_ADDONS="account gradm ipp2p ipv4options length2 lscan pknock psd quota2"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2013-10-06 23:38:46 UTC
(In reply to Nico Baggus from comment #2)
> The Build log HAS BEEN posted, see above.

No, the build log is:

'/var/log/portage/media-video:mplayer-sh-0.8.7:20131005-220545.log'

As explained in the emerge command that you did post.
Comment 5 Nico Baggus 2013-10-07 03:46:23 UTC
And it provied hardly (if any) new info....

* Package:    media-video/mplayer-sh-0.8.7
 * Repository: gentoo
 * Maintainer: vdr@gentoo.org media-tv@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> cfg-update-1.8.2-r1: Checksum index is up-to-date ...
>>> Unpacking source...
>>> Unpacking mplayer.sh-0.8.7.tar.gz to /var/tmp/portage/media-video/mplayer-sh-0.8.7/work
>>> Source unpacked in /var/tmp/portage/media-video/mplayer-sh-0.8.7/work
>>> Preparing source in /var/tmp/portage/media-video/mplayer-sh-0.8.7/work ...
 * Applying mplayer-sh-0.8.7-parameter-aid.diff ...                                                                                                       [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-video/mplayer-sh-0.8.7/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-video/mplayer-sh-0.8.7/work ...
>>> Source compiled.
>>> Test phase [not enabled]: media-video/mplayer-sh-0.8.7

>>> Install mplayer-sh-0.8.7 into /var/tmp/portage/media-video/mplayer-sh-0.8.7/image/ category media-video
chown: invalid user: 'vdr:vdr'
 * ERROR: media-video/mplayer-sh-0.8.7::gentoo failed (install phase):
 *   fowners failed
 * 
 * If you need support, post the output of `emerge --info '=media-video/mplayer-sh-0.8.7::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-video/mplayer-sh-0.8.7::gentoo'`.
 * The complete build log is located at '/var/log/portage/media-video:mplayer-sh-0.8.7:20131005-220545.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-video/mplayer-sh-0.8.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/mplayer-sh-0.8.7/temp/environment'.
 * Working directory: '/var/tmp/portage/media-video/mplayer-sh-0.8.7/work'
 * S: '/var/tmp/portage/media-video/mplayer-sh-0.8.7/work'
Comment 6 Joerg Bornkessel (RETIRED) gentoo-dev 2014-01-22 04:48:12 UTC
(In reply to Nico Baggus from comment #0)
> mplayer was for some reason installed on a system which gets transplanted to
> a new system.
> 
> installing mplayer-sh fails with 'fowner vdr:vdr' while there is no vdr user.
> The package clearly depends on vdr-* being installed. But no vdr packages
> are mentioned in DEPEND/RDEPEND=
> I suggest to add >=media-video/vdr-1.6.0
> A better package name might be media-plugin/vdr-mplayer 
> 
> Reproducible: Always
> 

I dont know in what way do you try to install media-video/mplay-sh

in this package is DEPEND="media-tv/gentoo-vdr-scripts" defined
this means, media-tv/gentoo-vdr-scripts will be installed befor
will be media-video/mplay-sh installed

media-tv/gentoo-vdr-scripts add group:user vdr:vdr still in proper way!

i tough you did try to install this package with emerge option -o | --oneshotonly

all mention about to add >=media-video/vdr-1.6.0 in DEPEND/RDEPEND is nonsen
never is this needed to compile or runtime!

all depends are fullfilled...
Comment 7 Nico Baggus 2014-01-22 14:11:37 UTC
mplayer-sh was mentioned in a world file. (not sure why, probably this was done a few years ago when mplayer-sh wasn't bound to vdr? anyway nod other VDR stuff was in the world file or intended on the system.
The world file was copied from a (i868) system in use to a new virgin stage3 (amd64) system
with network configured, and all relevant /etc/portage/packacge.* added. After that 

emerge -1uDN @world

was started to rebuild.
This caused some circular dependencies with f.e. around ImageMagick & around SDL which needed an installation of those without some specific flags which caused the circular dependencies.
After that an

 emerge -1uDN @world 

was done to get everything up to specs. Then it did try to also install the mplayer-sh, which failed in the above way, without resolving the vdr dependencies.
Comment 8 Nico Baggus 2014-01-22 16:54:22 UTC
btw. 
emerge --unmerge mplayer-sh

resolved my problem.