Gentoo Archives: gentoo-user

From: Jack <ostroffjh@×××××××××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] could there be a problem with acct-group/lp?
Date: Wed, 30 Dec 2020 23:33:57
Message-Id: T547GQ33.BIENHF3Q.PMELTLXL@M7MBCYNG.UJURXKC3.FYDSIOE4
In Reply to: [gentoo-user] could there be a problem with acct-group/lp? by n952162
1 On 2020.12.30 17:17, n952162 wrote:
2 > When I try to restore my pkgs, after the --depclean, the emerge
3 > fails. 
4 > It seems like there's an error in the pre-inst script of
5 > acct-group/lp? 
6 > That's need by cups:
7 >
8 > 1270~/adm/gentoo/emerged>sudo cat
9 > /var/tmp/portage/acct-group/lp-0-r1/temp/build.log
10 >  * Package:    acct-group/lp-0-r1
11 >  * Repository: gentoo
12 >  * Maintainer: systemd@g.o printing@g.o
13 >  * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
14 >  * FEATURES:   network-sandbox preserve-libs sandbox userpriv
15 > usersandbox
16 > >>> Unpacking source...
17 > >>> Source unpacked in /var/tmp/portage/acct-group/lp-0-r1/work
18 > >>> Preparing source in /var/tmp/portage/acct-group/lp-0-r1/work ...
19 > >>> Source prepared.
20 > >>> Configuring source in /var/tmp/portage/acct-group/lp-0-r1/work ...
21 > >>> Source configured.
22 > >>> Compiling source in /var/tmp/portage/acct-group/lp-0-r1/work ...
23 > >>> Source compiled.
24 > >>> Test phase [not enabled]: acct-group/lp-0-r1
25 >
26 > >>> Install acct-group/lp-0-r1 into
27 > /var/tmp/portage/acct-group/lp-0-r1/image
28 > >>> Completed installing acct-group/lp-0-r1 into
29 > /var/tmp/portage/acct-group/lp-0-r1/image
30 >
31 >  * Final size of build directory:  4 KiB
32 >  * Final size of installed tree:  20 KiB
33 >
34 >  * checking 1 files for package collisions
35 > >>> Merging acct-group/lp-0-r1 to /
36 > error writing group entry: Invalid argument
37 >  * Adding group 'lp' to your system ...
38 > error writing group entry: Invalid argument
39 >  *  - Groupid: 7
40 > groupadd: group 'lp' already exists
41 This seems to be the basic cause. However, I have no idea what that
42 emerge should do if the group it wants to install does already exist.
43 I can re-emerge this package with no problems. Is this a new install
44 or reinstall? All the logic is in the eclass which does have the
45 comment "Creates the group if it does not exist."
46
47 What happens if you just run "emerge -1 acct-group/lp"? Have you done
48 a successful "emerge -auDvN @system" ? There may well be something
49 else required still missing, but not an explicit dependency because it
50 is part of @system.
51
52 >  * ERROR: acct-group/lp-0-r1::gentoo failed (preinst phase):
53 >  *   (no error message)
54 >  *
55 >  * Call stack:
56 >  *     ebuild.sh, line  125:  Called pkg_preinst
57 >  *   environment, line 1194:  Called acct-group_pkg_preinst
58 >  *   environment, line  360:  Called enewgroup 'lp' '7'
59 >  *   environment, line  735:  Called die
60 >  * The specific snippet of code:
61 >  *               groupadd -r ${opts} "${egroup}" || die
62 >  *
63 >  * If you need support, post the output of `emerge --info
64 > '=acct-group/lp-0-r1::gentoo'`,
65 >  * the complete build log and the output of `emerge -pqv
66 > '=acct-group/lp-0-r1::gentoo'`.
67 >  * The complete build log is located at
68 > '/var/tmp/portage/acct-group/lp-0-r1/temp/build.log'.
69 >  * The ebuild environment file is located at
70 > '/var/tmp/portage/acct-group/lp-0-r1/temp/environment'.
71 >  * Working directory: '/var/tmp/portage/acct-group/lp-0-r1/homedir'
72 >  * S: '/var/tmp/portage/acct-group/lp-0-r1/work'
73 > !!! FAILED preinst: 1
74 >
75 > Then there's this, from emerge --info:
76 >
77 > Password:
78 > Portage 3.0.9 (python 3.8.6-final-0, default/linux/amd64/17.1,
79 > gcc-9.3.0, glibc-2.32-r3, 4.19.72-gentoo x86_64)
80 > =================================================================
81 >                          System Settings
82 > =================================================================
83 > System uname:
84 > Linux-4.19.72-gentoo-x86_64-AMD_A9-9420_RADEON_R5,_5_COMPUTE_CORES_2C+3G-with-glibc2.2.5
85 > KiB Mem:     7672120 total,   1147028 free
86 > KiB Swap:    8388604 total,   8387316 free
87 > Timestamp of repository gentoo: Wed, 30 Dec 2020 20:30:01 +0000
88 > Head commit of repository gentoo:
89 > 19c597e94d94dff08de5c0d8a692f871b75c4130
90 > sh bash 5.0_p18
91 > ld GNU ld (Gentoo 2.34 p6) 2.34.0
92 > app-shells/bash:          5.0_p18::gentoo
93 > dev-lang/perl:            5.30.3::gentoo
94 > dev-lang/python:          2.7.18-r4::gentoo, 3.6.12::gentoo,
95 > 3.7.9::gentoo, 3.8.6::gentoo, 3.9.0::gentoo
96 > dev-util/cmake:           3.17.4-r1::gentoo
97 > sys-apps/baselayout:      2.7::gentoo
98 > sys-apps/openrc:          0.42.1::gentoo
99 > sys-apps/sandbox:         2.20::gentoo
100 > sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
101 > sys-devel/automake:       1.16.2-r1::gentoo
102 > sys-devel/binutils:       2.34-r2::gentoo
103 > sys-devel/gcc:            9.3.0-r2::gentoo
104 > sys-devel/gcc-config:     2.3.2-r1::gentoo
105 > sys-devel/libtool:        2.4.6-r6::gentoo
106 > sys-devel/make:           4.3::gentoo
107 > sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
108 > sys-libs/glibc:           2.32-r3::gentoo
109 > Repositories:
110 >
111 > gentoo
112 >     location: /var/db/repos/gentoo
113 >     sync-type: rsync
114 >     sync-uri: rsync://rsync.gentoo.org/gentoo-portage
115 >     priority: -1000
116 >     sync-rsync-verify-jobs: 1
117 >     sync-rsync-verify-max-age: 24
118 >     sync-rsync-extra-opts:
119 >     sync-rsync-verify-metamanifest: yes
120 >
121 > ACCEPT_KEYWORDS="amd64"
122 > ACCEPT_LICENSE="@FREE"
123 > CBUILD="x86_64-pc-linux-gnu"
124 > CFLAGS="-O2 -pipe"
125 > CHOST="x86_64-pc-linux-gnu"
126 > CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
127 > CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d
128 > /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
129 > /etc/revdep-rebuild
130 > /etc/sandbox.d /etc/terminfo"
131 > CXXFLAGS="-O2 -pipe"
132 > DISTDIR="/var/cache/distfiles"
133 > ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH
134 > PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT
135 > XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME
136 > XDG_RUNTIME_DIR"
137 > FCFLAGS="-O2 -pipe"
138 > FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs
139 > config-protect-if-modified distlocks ebuild-locks fixlafiles
140 > ipc-sandbox
141 > merge-sync multilib-strict network-sandbox news parallel-fetch
142 > pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps
143 > sandbox sfperms strict unknown-features-warn unmerge-logs
144 > unmerge-orphans userfetch userpriv usersandbox usersync xattr"
145 > FFLAGS="-O2 -pipe"
146 > GENTOO_MIRRORS="http://distfiles.gentoo.org"
147 > LANG="C"
148 > LDFLAGS="-Wl,-O1 -Wl,--as-needed"
149 > PKGDIR="/var/cache/binpkgs"
150 > PORTAGE_CONFIGROOT="/"
151 > PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
152 > --omit-dir-times --compress --force --whole-file --delete --stats
153 > --human-readable --timeout=180 --exclude=/distfiles --exclude=/local
154 > --exclude=/packages --exclude=/.git"
155 > PORTAGE_TMPDIR="/var/tmp"
156 > USE="acl amd64 berkdb bzip2 cli crypt dri fortran gdbm iconv ipv6
157 > libglvnd libtirpc multilib ncurses nls nptl openmp pam pcre readline
158 > seccomp split-usr ssl tcpd unicode xattr zlib" ABI_X86="64"
159 > ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem
160 > bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801
161 > hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx
162 > via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core
163 > socache_shmcb unixd actions alias auth_basic authn_alias authn_anon
164 > authn_dbm authn_default authn_file authz_dbm authz_default
165 > authz_groupfile authz_host authz_owner authz_user autoindex cache cgi
166 > cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter
167 > file_cache filter headers include info log_config logio mem_cache mime
168 > mime_magic negotiation rewrite setenvif speling status unique_id
169 > userdir
170 > usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words"
171 > COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
172 > CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc"
173 > GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt
174 > gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver
175 > oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing
176 > tsip
177 > tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux"
178 > LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
179 > ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console
180 > presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1"
181 > OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3 php7-4"
182 > POSTGRES_TARGETS="postgres10 postgres11"
183 > PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python2_7 python3_8"
184 > RUBY_TARGETS="ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="amdgpu
185 > radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options
186 > ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat
187 > logmark ipmark dhcpmac delude chaos account"
188 > Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK,
189 > LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND,
190 > PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
191 >
192 >

Replies

Subject Author
Re: [gentoo-user] could there be a problem with acct-group/lp? Michael <confabulate@××××××××.com>
Re: [gentoo-user] could there be a problem with acct-group/lp? n952162 <n952162@×××.de>