Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98207 - app-arch/dump: /bin/install: invalid user `man'
Summary: app-arch/dump: /bin/install: invalid user `man'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-07 03:48 UTC by Lari Korpi
Modified: 2005-09-25 03:33 UTC (History)
4 users (show)

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


Attachments
Fix the owners/groups of binarys and man-pages (dump-0.4.39.ebuild.patch,712 bytes, text/plain)
2005-07-07 04:34 UTC, Christian Heim (RETIRED)
Details
Fix the owners/groups of binarys and man-pages (dump-0.4.39.ebuild.patch,713 bytes, text/plain)
2005-07-07 04:41 UTC, Christian Heim (RETIRED)
Details
Change default {BIN,MAN}OWNER/GROUP (dump-0.4.39.ebuild.patch,748 bytes, text/plain)
2005-07-07 05:09 UTC, Christian Heim (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lari Korpi 2005-07-07 03:48:51 UTC
/bin/install -c -o man -g tty -m 0644 dump.8
/var/tmp/portage/dump-0.4.39/image//usr/share/man/man8
/bin/install: invalid user `man'
make[1]: *** [install] Error 1
make[1]: Leaving directory `/var/tmp/portage/dump-0.4.39/work/dump-0.4b39/dump'
make: *** [install] Error 1

!!! ERROR: app-arch/dump-0.4.39 failed.
!!! Function einstall, Line 524, Exitcode 2
!!! einstall failed
!!! If you need support, post the topmost build error, NOT this status message.

For some reason Dump needs user called 'man' and for some reason I don't have a
user called 'man'. I don't recall doing anything to the users with uid <500 so I
presume that the problem is for some other origin.


Reproducible: Always
Steps to Reproduce:
1. On updated system (2005.0)run 'emerge dump'
2.
3.

Actual Results:  
emerge exits with error.



Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r0,
2.6.11-gentoo i686)
=================================================================
System uname: 2.6.11-gentoo i686 AMD Athlon(tm) MP 2200+
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Jul  4 2005, 21:39:30)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -msse -mfpmath=sse -march=athlon-mp -mcpu=athlon-mp
-minline-all-stringops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -msse -mfpmath=sse -march=athlon-mp -mcpu=athlon-mp
-minline-all-stringops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict userpriv
usersandbox"
GENTOO_MIRRORS="http://trumpetti.ip6.atm.tut.fi/gentoo/
http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo
http://mirror.pudas.net/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://trumpetti.ip6.atm.tut.fi/gentoo-portage"
USE="x86 3dfx 3dnow 3dnowex X alsa apache2 apm arts avi bash-completion berkdb
bitmap-fonts bonobo ccache cdr crypt cups curl eds emacs emboss encode esd fam
foomaticdb fortran gd gdbm gif glgd gnome gnuplot gpm gssapi gstreamer gtk gtk2
gtkhtml guile imagemagick imap imlib ipv6 java jpeg junit kerberos ldap libg++
libwww mad maildir mikmod mmx motif mozilla mp3 mpeg mysql mysqli ncurses nls
nptl nptlonly ogg oggvorbis opengl oss pam pdflib perl php png ppds procmail
python qt quicktime readline ruby samba sasl sdl slang snmp spell ssl svga tcltk
tcpd tetex tiff truetype truetype-fonts type1-fonts uml usb vhosts voodoo3
vorbis xine xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Christian Heim (RETIRED) gentoo-dev 2005-07-07 04:05:18 UTC
Hmm .. seems like your baselayout is a bit broken .. oO (see
http://www.gentoo.org/cgi-bin/viewcvs.cgi/rc-scripts/etc/group?root=gentoo-src&view=markup)

But on the other hand, the ebuild shouldn't even install the files as group man.

By the way, I did a emerge -B =dump-0.4.39 and works without any errors.
Comment 2 Christian Heim (RETIRED) gentoo-dev 2005-07-07 04:08:57 UTC
Wooops ;) Ignore the comment on the man-group. It actually installs them as man:tty.

$ ll /usr/share/man/man8/*dump*
-rw-r--r--  1 man  tty  3.3K Jul  7 13:08 /usr/share/man/man8/dump-rmt.8.gz
-rw-r--r--  1 man  tty  8.4K Jul  7 13:08 /usr/share/man/man8/dump.8.gz

Shouldn't this been installed as root:root as all the other man-pages?
Comment 3 Christian Heim (RETIRED) gentoo-dev 2005-07-07 04:20:38 UTC
econf --with-dumpdatespath=/etc/dumpdates --with-binowner=root \
--with-bingroup=root --with-manowner=root --with-mangroup=root

leads to this:

BINOWNER is root
BINGRP defaults to tty
BINMODE defaults to 0755
MANOWNER defaults to man
MANGRP defaults to tty
MANMODE defaults to 0644
DUMPDATESPATH is /etc/dumpdates

while a manual ./configure leads to this:

BINOWNER is root
BINGRP defaults to tty
BINMODE defaults to 0755
MANOWNER is root
MANGRP defaults to tty
MANMODE defaults to 0644
DUMPDATESPATH is /etc/dumpdates

A possibility to solve this is to hardcode (or even patch/sed the Makefile-vars)
Comment 4 Christian Heim (RETIRED) gentoo-dev 2005-07-07 04:34:33 UTC
Created attachment 62831 [details]
Fix the owners/groups of binarys and man-pages

Maybe something like this, a dev should have a deeper look at it, please :)
Comment 5 Christian Heim (RETIRED) gentoo-dev 2005-07-07 04:41:04 UTC
Created attachment 62832 [details]
Fix the owners/groups of binarys and man-pages
Comment 6 Christian Heim (RETIRED) gentoo-dev 2005-07-07 05:09:10 UTC
Created attachment 62833 [details]
Change default {BIN,MAN}OWNER/GROUP

Why do it on 5+ files if a sed on two files is possible ?! :)
Just changing the default MANOWNER, MANGRP and BINGRP to root in configure and
configure.in.
Comment 7 SpanKY gentoo-dev 2005-09-25 03:33:48 UTC
fixed in 0.4.40