1 |
Hi gentoo users, |
2 |
|
3 |
Got a strange problem. While emerging kde-plasma/kscreenlocker (as part |
4 |
of upgrading to the brand new plasma desktop), the build fails with the |
5 |
following error: |
6 |
|
7 |
* Applying kscreenlocker-5.4.90-no-SUID-no-GUID.patch ... |
8 |
/var/tmp/portage/kde-plasma/kscreenlocker-5.6.2/temp/environment: line |
9 |
1217: |
10 |
/var/portage/tree/kde-plasma/kscreenlocker/files/kscreenlocker-5.4.90-no-SUID-no-GUID.patch: |
11 |
Permission denied |
12 |
|
13 |
I tried to run the ebuild manually and changed all permissions to a+w, |
14 |
but to no avail. (The patch itself applied successfully from the command |
15 |
line.) |
16 |
I don't believe it's a permissions issue. There haven't been any such |
17 |
issues before, and I just did a fresh eix-sync. Should I file a bug? |
18 |
|
19 |
|
20 |
The complete output: |
21 |
|
22 |
* Package: kde-plasma/kscreenlocker-5.6.2 |
23 |
* Repository: gentoo |
24 |
* Maintainer: kde@g.o |
25 |
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux pam userland_GNU |
26 |
* FEATURES: preserve-libs sandbox userpriv usersandbox |
27 |
>>> Unpacking source... |
28 |
>>> Unpacking kscreenlocker-5.6.2.tar.xz to |
29 |
/var/tmp/portage/kde-plasma/kscreenlocker-5.6.2/work |
30 |
>>> Source unpacked in /var/tmp/portage/kde-plasma/kscreenlocker-5.6.2/work |
31 |
>>> Preparing source in |
32 |
/var/tmp/portage/kde-plasma/kscreenlocker-5.6.2/work/kscreenlocker-5.6.2 ... |
33 |
* Applying kscreenlocker-5.4.90-no-SUID-no-GUID.patch ... |
34 |
/var/tmp/portage/kde-plasma/kscreenlocker-5.6.2/temp/environment: line |
35 |
1217: |
36 |
/var/portage/tree/kde-plasma/kscreenlocker/files/kscreenlocker-5.4.90-no-SUID-no-GUID.patch: |
37 |
Permission denied |
38 |
[ !! ] |
39 |
* ERROR: kde-plasma/kscreenlocker-5.6.2::gentoo failed (prepare phase): |
40 |
* patch -p1 failed with |
41 |
/var/portage/tree/kde-plasma/kscreenlocker/files/kscreenlocker-5.4.90-no-SUID-no-GUID.patch |
42 |
* |
43 |
* Call stack: |
44 |
* ebuild.sh, line 133: Called src_prepare |
45 |
* environment, line 3892: Called kde5_src_prepare |
46 |
* environment, line 2853: Called cmake-utils_src_prepare |
47 |
* environment, line 1075: Called |
48 |
_cmake_execute_optionally 'src_prepare' |
49 |
* environment, line 517: Called |
50 |
enable_cmake-utils_src_prepare |
51 |
* environment, line 1535: Called default_src_prepare |
52 |
* phase-functions.sh, line 870: Called __eapi6_src_prepare |
53 |
* environment, line 349: Called eapply |
54 |
'/var/portage/tree/kde-plasma/kscreenlocker/files/kscreenlocker-5.4.90-no-SUID-no-GUID.patch' |
55 |
* environment, line 1282: Called _eapply_patch |
56 |
'/var/portage/tree/kde-plasma/kscreenlocker/files/kscreenlocker-5.4.90-no-SUID-no-GUID.patch' |
57 |
* environment, line 1220: Called __helpers_die 'patch -p1 |
58 |
failed with |
59 |
/var/portage/tree/kde-plasma/kscreenlocker/files/kscreenlocker-5.4.90-no-SUID-no-GUID.patch' |
60 |
* isolated-functions.sh, line 117: Called die |
61 |
* The specific snippet of code: |
62 |
* die "$@" |
63 |
* |
64 |
|
65 |
|
66 |
emerge --info '=kde-plasma/kscreenlocker-5.6.2::gentoo' |
67 |
|
68 |
Portage 2.2.28 (python 2.7.11-final-0, default/linux/amd64/13.0, |
69 |
gcc-4.9.3, glibc-2.22-r4, 4.5.0-gentoo x86_64) |
70 |
================================================================= |
71 |
System Settings |
72 |
================================================================= |
73 |
System uname: |
74 |
Linux-4.5.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-4770_CPU_@_3.40GHz-with-gentoo-2.2 |
75 |
KiB Mem: 8190684 total, 2426472 free |
76 |
KiB Swap: 16777212 total, 15952084 free |
77 |
Timestamp of repository gentoo: Mon, 11 Apr 2016 12:45:01 +0000 |
78 |
sh bash 4.3_p42-r2 |
79 |
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 |
80 |
app-shells/bash: 4.3_p42-r2::gentoo |
81 |
dev-java/java-config: 2.2.0-r3::gentoo |
82 |
dev-lang/perl: 5.22.1::gentoo |
83 |
dev-lang/python: 2.7.11-r2::gentoo, 3.4.3-r7::gentoo, |
84 |
3.5.1-r2::gentoo |
85 |
dev-util/cmake: 3.5.1::gentoo |
86 |
dev-util/pkgconfig: 0.29.1::gentoo |
87 |
sys-apps/baselayout: 2.2::gentoo |
88 |
sys-apps/openrc: 0.20.5::gentoo |
89 |
sys-apps/sandbox: 2.10-r2::gentoo |
90 |
sys-devel/autoconf: 2.13::gentoo, 2.69-r2::gentoo |
91 |
sys-devel/automake: 1.13.4::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo |
92 |
sys-devel/binutils: 2.25.1-r1::gentoo |
93 |
sys-devel/gcc: 4.9.3::gentoo, 5.3.0::gentoo |
94 |
sys-devel/gcc-config: 1.8-r1::gentoo |
95 |
sys-devel/libtool: 2.4.6-r2::gentoo |
96 |
sys-devel/make: 4.1-r1::gentoo |
97 |
sys-kernel/linux-headers: 4.5::gentoo (virtual/os-headers) |
98 |
sys-libs/glibc: 2.22-r4::gentoo |
99 |
Repositories: |
100 |
|
101 |
gentoo |
102 |
location: /var/portage/tree |
103 |
sync-type: rsync |
104 |
sync-uri: rsync://rsync.ru.gentoo.org/gentoo-portage |
105 |
priority: -1000 |
106 |
sync-rsync-extra-opts: --no-p --chmod=g+w |
107 |
|
108 |
telred |
109 |
location: /var/lib/layman/telred |
110 |
masters: gentoo |
111 |
priority: 50 |
112 |
|
113 |
ACCEPT_KEYWORDS="amd64 ~amd64" |
114 |
ACCEPT_LICENSE="* -@EULA" |
115 |
CBUILD="x86_64-pc-linux-gnu" |
116 |
CFLAGS="-O2 -pipe" |
117 |
CHOST="x86_64-pc-linux-gnu" |
118 |
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt |
119 |
/usr/share/themes/oxygen-gtk/gtk-2.0" |
120 |
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d |
121 |
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild |
122 |
/etc/sandbox.d /etc/terminfo" |
123 |
CXXFLAGS="-O2 -pipe" |
124 |
DISTDIR="/var/portage/distfiles" |
125 |
EMERGE_DEFAULT_OPTS="--quiet-build --quiet-unmerge --keep-going" |
126 |
FCFLAGS="-O2 -pipe" |
127 |
FEATURES="assume-digests binpkg-logs config-protect-if-modified |
128 |
distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch |
129 |
preserve-libs protect-owned sandbox sfperms strict unknown-features-warn |
130 |
unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" |
131 |
FFLAGS="-O2 -pipe" |
132 |
GENTOO_MIRRORS="http://distfiles.gentoo.org" |
133 |
LANG="ru_RU.UTF-8" |
134 |
LDFLAGS="-Wl,-O1 -Wl,--as-needed" |
135 |
MAKEOPTS="-j6" |
136 |
PKGDIR="/var/portage/packages" |
137 |
PORTAGE_CONFIGROOT="/" |
138 |
PORTAGE_RSYNC_EXTRA_OPTS="--no-p --chmod=g+w" |
139 |
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times |
140 |
--omit-dir-times --compress --force --whole-file --delete --stats |
141 |
--human-readable --timeout=180 --exclude=/distfiles --exclude=/local |
142 |
--exclude=/packages --exclude=/.git" |
143 |
PORTAGE_TMPDIR="/var/tmp" |
144 |
USE="X alsa amd64 avx berkdb bzip2 cli cracklib cxx dbus dri fortran |
145 |
gdbm iconv icu jpeg lzma mmx modules multilib ncurses nptl opengl openmp |
146 |
pam pcre png qt3support qt5 readline seccomp session sqlite sse sse2 |
147 |
sse3 sse4_1 ssl ssse3 tcpd udev unicode xorg zlib" ABI_X86="32 64" |
148 |
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci |
149 |
emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 |
150 |
intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" |
151 |
APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias |
152 |
auth_basic authn_alias authn_anon authn_dbm authn_default authn_file |
153 |
authz_dbm authz_default authz_groupfile authz_host authz_owner |
154 |
authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir |
155 |
disk_cache env expires ext_filter file_cache filter headers include info |
156 |
log_config logio mem_cache mime mime_magic negotiation rewrite setenvif |
157 |
speling status unique_id userdir usertrack vhost_alias" |
158 |
APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets |
159 |
stage tables krita karbon braindump author" CAMERAS="ptp2" |
160 |
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" |
161 |
CPU_FLAGS_X86="mmx sse sse2 sse3 ssse3 sse4_1 avx" DRACUT_MODULES="lvm" |
162 |
ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 |
163 |
garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver |
164 |
oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate |
165 |
tnt ublox ubx" GRUB_PLATFORMS="pc efi-64" INPUT_DEVICES="evdev keyboard |
166 |
mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 |
167 |
lb216 lcdm001 mtxorb ncurses text" |
168 |
LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" |
169 |
LINGUAS="en ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" |
170 |
PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4 |
171 |
python3_5" RUBY_TARGETS="ruby20" USERLAND="GNU" VIDEO_CARDS="vesa |
172 |
nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options |
173 |
ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat |
174 |
logmark ipmark dhcpmac delude chaos account" |
175 |
Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, |
176 |
PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, |
177 |
USE_PYTHON |
178 |
|
179 |
|
180 |
-- |
181 |
Regards, |
182 |
Yuri K. Shatroff |